Added Role to add GW Admin SSH Keys

This commit is contained in:
Bastian 2018-02-25 23:08:31 +01:00
parent f0d4dc051d
commit af77b4f71a
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
- name: Deploy Admin Keys from vault_root_sshkeys
authorized_key:
user: root
state: present
key: "{{ item }}"
with_items: "{{ vault_root_sshkeys }}"

View File

@ -10,6 +10,7 @@
- name: Setup gateway servers - name: Setup gateway servers
hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net] hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net]
roles: roles:
- gw-admin-ssh-keys
- batman - batman
- bird - bird
- fastd - fastd