client: skip create_users_keys.yml when rolling_update

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 eac207091b)
pull/5133/head
Guillaume Abrioux 2020-03-04 16:33:46 +01:00
parent b9e397ebaf
commit 9a574562e2
1 changed files with 3 additions and 1 deletions

View 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