forked from FF-RGB/ansible
Added Role to add GW Admin SSH Keys
This commit is contained in:
parent
f0d4dc051d
commit
af77b4f71a
8
roles/gw-admin-ssh-keys/tasks/main.yml
Normal file
8
roles/gw-admin-ssh-keys/tasks/main.yml
Normal 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 }}"
|
1
site.yml
1
site.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user