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
|
||||
|
||||
- name: Build authorized keys
|
||||
lineinfile:
|
||||
dest: "/tmp/authorized_keys"
|
||||
line: "{{ nova_pub.stdout }}"
|
||||
create: "yes"
|
||||
shell: echo "{{ nova_pub.stdout }}" | tee -a /tmp/authorized_keys
|
||||
delegate_to: localhost
|
||||
|
Loading…
Reference in New Issue
Block a user