Merge "delete delimiter from init fernet condition check"
This commit is contained in:
commit
aa64cd384e
@ -2,8 +2,8 @@
|
||||
- name: Initialise fernet key authentication
|
||||
command: "docker exec -t keystone_fernet kolla_keystone_bootstrap {{ keystone_username }} {{ keystone_groupname }}"
|
||||
register: fernet_create
|
||||
changed_when: "{{ fernet_create.stdout.find('localhost | SUCCESS => ') != -1 and (fernet_create.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||
until: "(fernet_create.stdout.split()[2] == 'SUCCESS') or (fernet_create.stdout.find('Key repository is already initialized') != -1)"
|
||||
changed_when: fernet_create.stdout.find('localhost | SUCCESS => ') != -1 and (fernet_create.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed
|
||||
until: fernet_create.stdout.split()[2] == 'SUCCESS' or fernet_create.stdout.find('Key repository is already initialized') != -1
|
||||
retries: 10
|
||||
delay: 5
|
||||
run_once: True
|
||||
|
Loading…
Reference in New Issue
Block a user