changed lineinfile to pure shell command due to race condition on adding

items to tmp/authorized_keys
This commit is contained in:
Jacob Wagner 2014-09-03 16:07:54 -05:00
parent afa75b9cdb
commit f5d470c31a

View File

@ -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