mysql: properly reload systemd

This commit is contained in:
Jérémy Lecour 2018-04-15 23:58:31 +02:00
parent 48dad83c4f
commit ae6e376048
4 changed files with 11 additions and 4 deletions

View File

@ -17,6 +17,7 @@ The **patch** part changes incrementally at each release.
### Fixed
* 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)
### Security

View File

@ -15,7 +15,8 @@
state: restarted
- name: reload systemd
command: systemctl daemon-reload
systemd:
daemon_reload: yes
- name: Restart minifirewall
command: /etc/init.d/minifirewall restart

View File

@ -15,5 +15,5 @@
state: restarted
- name: reload systemd
command: systemctl daemon-reload
systemd:
daemon_reload: yes

View File

@ -35,4 +35,9 @@
src: mariadb.systemd.j2
dest: /etc/systemd/system/mariadb.service.d/evolinux.conf
force: yes
notify: reload systemd
register: mariadb_systemd_override
- name: reload systemd
systemd:
daemon_reload: yes
when: mariadb_systemd_override.changed