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>
pull/5123/head
Guillaume Abrioux 2020-03-04 16:33:46 +01:00 committed by Dimitri Savineau
parent 71f55bd54d
commit eac207091b
1 changed files with 3 additions and 1 deletions

View File

@ -4,4 +4,6 @@
- name: include create_users_keys.yml - name: include create_users_keys.yml
include_tasks: create_users_keys.yml include_tasks: create_users_keys.yml
when: user_config | bool when:
- user_config | bool
- not rolling_update | default(False) | bool