From 447a08e80b79eb69eff9e369aa73b24c964d5623 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 23 Jan 2020 23:36:15 -0500 Subject: [PATCH] Update mysql/tasks/main.yml --- roles/mysql/tasks/main.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/roles/mysql/tasks/main.yml b/roles/mysql/tasks/main.yml index f366745fd..f54b6b38b 100644 --- a/roles/mysql/tasks/main.yml +++ b/roles/mysql/tasks/main.yml @@ -14,7 +14,6 @@ - php{{ php_version }}-xmlrpc state: present when: is_debuntu | bool - #tags: download - name: Install php{{ php_version }}-xml (ubuntu or debian 9+) package: @@ -44,15 +43,12 @@ - php-xmlrpc state: present when: not is_debuntu - #tags: download - include_tasks: centos.yml when: ansible_distribution == "CentOS" - #tags: download - include_tasks: fedora.yml when: ansible_distribution == "Fedora" - #tags: download # 2019-07-03 @jvonau @holta: the next 50 lines (6 stanzas) double MariaDB's @@ -68,7 +64,7 @@ - name: Copy pkg's /lib/systemd/system/mariadb.service to /etc/systemd/system/ to be customized (CREATES TIMESTAMPED BACKUPS OF /etc/systemd/system/mariadb.service e.g. IF OPERATOR CUSTOMIZED IT, EVEN DESPITE WARNING BELOW!) copy: force: yes - backup: no + backup: yes src: /lib/systemd/system/mariadb.service dest: /etc/systemd/system/ when: mariadb_unit_file.stat.exists @@ -178,6 +174,7 @@ state: stopped when: not mysql_enabled + - name: Add 'mysql' variable values to {{ iiab_ini_file }} ini_file: path: "{{ iiab_ini_file }}"