1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-07-22 18:49:32 -04:00 committed by GitHub
parent e3b17ca3f1
commit 772a200a5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@
first_run: True
when: not NewInstall.stat.exists
# we need to inialize the ini file and only write the location and version sections once and only
# We need to inialize the ini file and only write the location and version sections once and only
# once to preserve the install date and git hash.
- name: Write iiab_ini.yml for the first time
include_tasks: first_run.yml
@ -131,15 +131,15 @@
python_path: /usr/local/lib/python2.7/dist-packages/
when: is_debuntu
# for various reasons the mysql service can not be enabled on fedora 20,
# but 'mariadb', which is its real name can
# on fedora 18 we need to use 'mysqld'
# For various reasons the mysql service can not be enabled on fedora 20,
# but 'mariadb', which is its real name can.
# On Fedora 18 we need to use 'mysqld'
- name: Set mysqld_service to mariadb by default
- name: Set mysql_service to mariadb by default
set_fact:
mysql_service: mariadb
- name: Set mysqld_service to mysqld etc (Fedora 18)
- name: Set mysql_service to mysqld etc (Fedora 18)
set_fact:
mysql_service: mysqld
no_NM_reload: True
@ -165,7 +165,7 @@
include_tasks: hostname.yml
when: FQDN_changed
- name: Add version section
- name: Add 'runtime' to list of services at /etc/iiab/iiab.ini
ini_file:
dest: "{{ iiab_config_file }}"
section: runtime