Fix double when statements
Fixing a bug that indroduced duplicate when statements in Ief28c6bed8daa38120207de61aba327c9fe49d3a. Change-Id: I189325d2d8de17680a08ab1fefb2fe6628f58612
This commit is contained in:
parent
1b74c307e9
commit
33e5ca3eb6
@ -42,9 +42,10 @@
|
||||
- - "{{ keystone_system_user_home }}/.ssh/authorized_keys"
|
||||
- "{{ keystone_system_user_home }}/.ssh/id_rsa"
|
||||
- "{{ keystone_system_user_home }}/.ssh/id_rsa.pub"
|
||||
when: keystone_recreate_keys | bool
|
||||
when:
|
||||
- keystone_recreate_keys | bool
|
||||
- "{{ inventory_hostname == ansible_play_hosts[0] }}"
|
||||
delegate_to: "{{ item[0] }}"
|
||||
when: "{{ inventory_hostname == ansible_play_hosts[0] }}"
|
||||
|
||||
- name: Create the keystone system user
|
||||
user:
|
||||
|
Loading…
x
Reference in New Issue
Block a user