forked from evolix/ansible-roles
mysql: properly reload systemd
This commit is contained in:
parent
48dad83c4f
commit
ae6e376048
|
@ -17,6 +17,7 @@ The **patch** part changes incrementally at each release.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
* mysql: use check_mode for apg command (Fix --check)
|
* mysql: use check_mode for apg command (Fix --check)
|
||||||
|
* mysql/mysql-oracle: properly reload systemd
|
||||||
* packweb-apache: use check_mode for apg command (Fix --check)
|
* packweb-apache: use check_mode for apg command (Fix --check)
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: reload systemd
|
- name: reload systemd
|
||||||
command: systemctl daemon-reload
|
systemd:
|
||||||
|
daemon_reload: yes
|
||||||
|
|
||||||
- name: Restart minifirewall
|
- name: Restart minifirewall
|
||||||
command: /etc/init.d/minifirewall restart
|
command: /etc/init.d/minifirewall restart
|
||||||
|
|
|
@ -15,5 +15,5 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: reload systemd
|
- name: reload systemd
|
||||||
command: systemctl daemon-reload
|
systemd:
|
||||||
|
daemon_reload: yes
|
||||||
|
|
|
@ -35,4 +35,9 @@
|
||||||
src: mariadb.systemd.j2
|
src: mariadb.systemd.j2
|
||||||
dest: /etc/systemd/system/mariadb.service.d/evolinux.conf
|
dest: /etc/systemd/system/mariadb.service.d/evolinux.conf
|
||||||
force: yes
|
force: yes
|
||||||
notify: reload systemd
|
register: mariadb_systemd_override
|
||||||
|
|
||||||
|
- name: reload systemd
|
||||||
|
systemd:
|
||||||
|
daemon_reload: yes
|
||||||
|
when: mariadb_systemd_override.changed
|
||||||
|
|
Loading…
Reference in a new issue