changed lineinfile to pure shell command due to race condition on adding
items to tmp/authorized_keys
This commit is contained in:
parent
afa75b9cdb
commit
f5d470c31a
@ -53,8 +53,5 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Build authorized keys
|
- name: Build authorized keys
|
||||||
lineinfile:
|
shell: echo "{{ nova_pub.stdout }}" | tee -a /tmp/authorized_keys
|
||||||
dest: "/tmp/authorized_keys"
|
|
||||||
line: "{{ nova_pub.stdout }}"
|
|
||||||
create: "yes"
|
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
Loading…
x
Reference in New Issue
Block a user