]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
client: skip create_users_keys.yml when rolling_update
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Mar 2020 15:33:46 +0000 (16:33 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 6 Mar 2020 15:10:03 +0000 (16:10 +0100)
There's no need to run this part of the role when upgrading clients
node. Let's skip it when rolling_update.yml is being run.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit eac207091b0574e16084c62e71372b510f25de6b)

roles/ceph-client/tasks/main.yml

index 18cab7ea6e857a235b398e8e43034ecd41fb9819..eb0f272cb89a39f7757f6f5ba0a355ca1fbc04f4 100644 (file)
@@ -4,4 +4,6 @@
 
 - name: include create_users_keys.yml
   include_tasks: create_users_keys.yml
-  when: user_config | bool
+  when:
+    - user_config | bool
+    - not rolling_update | default(False) | bool