Commit e6284612 by Han Su Kim

Merge pull request #1631 from edx/han/release-fix-geturl

replace geturl with a shell out to curl - to fix broken certificate mana...
parents 2190b81c 24a84cd9
...@@ -115,10 +115,16 @@ ...@@ -115,10 +115,16 @@
# won't update if they haven't changed on the github # won't update if they haven't changed on the github
# side # side
- name: copy github key[s] to .ssh/authorized_keys2 - name: copy github key[s] to .ssh/authorized_keys2
get_url: > shell: >
url=https://github.com/{{ item.name }}.keys curl https://github.com/{{ item.name }}.keys -o /home/{{ item.name }}/.ssh/authorized_keys2
force=yes sudo_user: "{{ item.name }}"
dest=/home/{{ item.name }}/.ssh/authorized_keys2 mode=0640 when: item.github is defined and item.get('state', 'present') == 'present'
with_items: user_info
- name: set permissions on .ssh/authorized_keys2
file: >
dest=/home/{{ item.name }}/.ssh/authorized_keys2
mode=0640
owner={{ item.name }} owner={{ item.name }}
when: item.github is defined and item.get('state', 'present') == 'present' when: item.github is defined and item.get('state', 'present') == 'present'
with_items: user_info with_items: user_info
......
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