mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update mysql/tasks/main.yml
This commit is contained in:
parent
ea783c54f9
commit
447a08e80b
1 changed files with 2 additions and 5 deletions
|
@ -14,7 +14,6 @@
|
||||||
- php{{ php_version }}-xmlrpc
|
- php{{ php_version }}-xmlrpc
|
||||||
state: present
|
state: present
|
||||||
when: is_debuntu | bool
|
when: is_debuntu | bool
|
||||||
#tags: download
|
|
||||||
|
|
||||||
- name: Install php{{ php_version }}-xml (ubuntu or debian 9+)
|
- name: Install php{{ php_version }}-xml (ubuntu or debian 9+)
|
||||||
package:
|
package:
|
||||||
|
@ -44,15 +43,12 @@
|
||||||
- php-xmlrpc
|
- php-xmlrpc
|
||||||
state: present
|
state: present
|
||||||
when: not is_debuntu
|
when: not is_debuntu
|
||||||
#tags: download
|
|
||||||
|
|
||||||
- include_tasks: centos.yml
|
- include_tasks: centos.yml
|
||||||
when: ansible_distribution == "CentOS"
|
when: ansible_distribution == "CentOS"
|
||||||
#tags: download
|
|
||||||
|
|
||||||
- include_tasks: fedora.yml
|
- include_tasks: fedora.yml
|
||||||
when: ansible_distribution == "Fedora"
|
when: ansible_distribution == "Fedora"
|
||||||
#tags: download
|
|
||||||
|
|
||||||
|
|
||||||
# 2019-07-03 @jvonau @holta: the next 50 lines (6 stanzas) double MariaDB's
|
# 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!)
|
- 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:
|
copy:
|
||||||
force: yes
|
force: yes
|
||||||
backup: no
|
backup: yes
|
||||||
src: /lib/systemd/system/mariadb.service
|
src: /lib/systemd/system/mariadb.service
|
||||||
dest: /etc/systemd/system/
|
dest: /etc/systemd/system/
|
||||||
when: mariadb_unit_file.stat.exists
|
when: mariadb_unit_file.stat.exists
|
||||||
|
@ -178,6 +174,7 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
when: not mysql_enabled
|
when: not mysql_enabled
|
||||||
|
|
||||||
|
|
||||||
- name: Add 'mysql' variable values to {{ iiab_ini_file }}
|
- name: Add 'mysql' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
path: "{{ iiab_ini_file }}"
|
path: "{{ iiab_ini_file }}"
|
||||||
|
|
Loading…
Reference in a new issue