summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-12-18 12:48:10 +0000
committerGerrit Code Review <review@openstack.org>2018-12-18 12:48:10 +0000
commita6c67fa482072ba8ddc76485a03a7e5747661257 (patch)
tree7b47fa52ff72ee287eb2988937b9abf36b909fca
parenta498ba1837cd93e8fd9355fa0c140827746e239b (diff)
parent0f23dc604af1440cb3e0157a348d9b1935b911c6 (diff)
Merge "Fix ansible deprecation warnings"
-rw-r--r--tasks/galera_install_apt.yml2
-rw-r--r--tasks/galera_setup.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/tasks/galera_install_apt.yml b/tasks/galera_install_apt.yml
index b957305..793565e 100644
--- a/tasks/galera_install_apt.yml
+++ b/tasks/galera_install_apt.yml
@@ -84,7 +84,7 @@
84 apt: 84 apt:
85 update_cache: yes 85 update_cache: yes
86 when: 86 when:
87 - add_galera_repo | changed or add_percona_repo is changed 87 - add_galera_repo is changed or add_percona_repo is changed
88 register: update_apt_cache 88 register: update_apt_cache
89 until: update_apt_cache is success 89 until: update_apt_cache is success
90 retries: 5 90 retries: 5
diff --git a/tasks/galera_setup.yml b/tasks/galera_setup.yml
index 2df8daf..d1a13a9 100644
--- a/tasks/galera_setup.yml
+++ b/tasks/galera_setup.yml
@@ -59,7 +59,7 @@
59 command: "/usr/bin/mysql_upgrade" 59 command: "/usr/bin/mysql_upgrade"
60 register: galera_mysql_upgrade 60 register: galera_mysql_upgrade
61 changed_when: 61 changed_when:
62 - not galera_mysql_upgrade.stdout | search("already upgraded") 62 - not galera_mysql_upgrade.stdout is search("already upgraded")
63 until: galera_mysql_upgrade is success 63 until: galera_mysql_upgrade is success
64 retries: 3 64 retries: 3
65 delay: 10 65 delay: 10