mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-03-22 12:22:10 +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_root_password: 'change_me_NOW'
|
||||||
mysql_notify_restart: true
|
mysql_notify_restart: true
|
||||||
mysql_upstream_apt_src: false
|
mysql_upstream_apt_src: false
|
||||||
|
mysql_serial_restart: 1
|
||||||
|
|
||||||
# -------------------------------------
|
# -------------------------------------
|
||||||
# Configuration
|
# Configuration
|
||||||
|
|||||||
@@ -3,3 +3,4 @@
|
|||||||
- name: restart mysql
|
- name: restart mysql
|
||||||
action: service name=mysql state=restarted enabled=yes
|
action: service name=mysql state=restarted enabled=yes
|
||||||
when: mysql_notify_restart
|
when: mysql_notify_restart
|
||||||
|
serial: {{ mysql_serial_restart }}
|
||||||
|
|||||||
Reference in New Issue
Block a user