From 772a200a5ccd3a91eec54fe17ab86086d60269cb Mon Sep 17 00:00:00 2001 From: A Holt Date: Sun, 22 Jul 2018 18:49:32 -0400 Subject: [PATCH] Update main.yml --- roles/0-init/tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/0-init/tasks/main.yml b/roles/0-init/tasks/main.yml index 9673811a2..749910ef3 100644 --- a/roles/0-init/tasks/main.yml +++ b/roles/0-init/tasks/main.yml @@ -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