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

Update mysql/tasks/main.yml

This commit is contained in:
A Holt 2020-01-23 23:36:15 -05:00 committed by GitHub
parent ea783c54f9
commit 447a08e80b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}"