Commit baded88e by John Jarvis

force set to yes for key file update

parent a4e0042f
...@@ -102,9 +102,13 @@ ...@@ -102,9 +102,13 @@
# authorized_keys2 used here so that personal # authorized_keys2 used here so that personal
# keys can be copied to authorized_keys # keys can be copied to authorized_keys
# force is set to yes here, otherwise the keys
# won't update if they haven't changed on teh github
# side
- name: copy github key[s] to .ssh/authorized_keys2 - name: copy github key[s] to .ssh/authorized_keys2
get_url: get_url:
url=https://github.com/{{ item.name }}.keys url=https://github.com/{{ item.name }}.keys
force=yes
dest=/home/{{ item.name }}/.ssh/authorized_keys2 mode=0640 dest=/home/{{ item.name }}/.ssh/authorized_keys2 mode=0640
owner={{ item.name }} owner={{ item.name }}
when: item.github is defined when: item.github is defined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment