Commit 91feffac by Kevin Falcone

Remove old / unlisted ssh keys

parent ad900a93
...@@ -138,6 +138,7 @@ ...@@ -138,6 +138,7 @@
- name: Get github key(s) and update the authorized_keys file - name: Get github key(s) and update the authorized_keys file
authorized_key: authorized_key:
user: "{{ item.name }}" user: "{{ item.name }}"
exclusive: yes
key: "https://github.com/{{ item.name }}.keys" key: "https://github.com/{{ item.name }}.keys"
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