Browse Source

Merge "Fix ansible deprecation warnings"

changes/29/625929/1
Zuul 6 months ago
parent
commit
a6c67fa482
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      tasks/galera_install_apt.yml
  2. 1
    1
      tasks/galera_setup.yml

+ 1
- 1
tasks/galera_install_apt.yml View File

@@ -84,7 +84,7 @@
84 84
   apt:
85 85
     update_cache: yes
86 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 88
   register: update_apt_cache
89 89
   until: update_apt_cache is success
90 90
   retries: 5

+ 1
- 1
tasks/galera_setup.yml View File

@@ -59,7 +59,7 @@
59 59
   command: "/usr/bin/mysql_upgrade"
60 60
   register: galera_mysql_upgrade
61 61
   changed_when:
62
-    - not galera_mysql_upgrade.stdout | search("already upgraded")
62
+    - not galera_mysql_upgrade.stdout is search("already upgraded")
63 63
   until: galera_mysql_upgrade is success
64 64
   retries: 3
65 65
   delay: 10

Loading…
Cancel
Save