mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-03-02 10:42:09 +07:00
Add a default serial on handler restart
This commit is contained in:
@@ -8,6 +8,7 @@ mysql_vendor: 'mariadb'
|
||||
mysql_root_password: 'change_me_NOW'
|
||||
mysql_notify_restart: true
|
||||
mysql_upstream_apt_src: false
|
||||
mysql_serial_restart: 1
|
||||
|
||||
# -------------------------------------
|
||||
# Configuration
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
- name: restart mysql
|
||||
action: service name=mysql state=restarted enabled=yes
|
||||
when: mysql_notify_restart
|
||||
serial: {{ mysql_serial_restart }}
|
||||
|
||||
Reference in New Issue
Block a user