Fix mariadb role when used with check mode
This patch adds check_mode: false to tasks in restart_services.yml which just checking some WSREP status and if port is UP. Closes-Bug: #2052501 Change-Id: I92a591900d85138a87991a18dd4339efd053ef1b
This commit is contained in:
parent
1b96b89df0
commit
d0b93a631d
@ -23,6 +23,7 @@
|
||||
timeout: 60
|
||||
search_regex: "MariaDB"
|
||||
register: check_mariadb_port
|
||||
check_mode: false
|
||||
until: check_mariadb_port is success
|
||||
retries: 10
|
||||
delay: 6
|
||||
@ -41,6 +42,7 @@
|
||||
retries: 10
|
||||
delay: 6
|
||||
no_log: true
|
||||
check_mode: false
|
||||
when:
|
||||
# NOTE(yoctozepto): we don't want to wait for new nodes to fully sync
|
||||
# with an existing cluster as this could take time
|
||||
|
5
releasenotes/notes/bug-2052501-6dfd9e5443fdc6d1.yaml
Normal file
5
releasenotes/notes/bug-2052501-6dfd9e5443fdc6d1.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes mariadb role deployment when using Ansible check mode.
|
||||
`LP#2052501 <https://bugs.launchpad.net/kolla-ansible/+bug/2052501>`__
|
Loading…
Reference in New Issue
Block a user