diff options
-rw-r--r-- | roles/update_ssh_keys/tasks/main.yml | 7 | ||||
-rw-r--r-- | setup_fastd.yml | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/roles/update_ssh_keys/tasks/main.yml b/roles/update_ssh_keys/tasks/main.yml new file mode 100644 index 0000000..206e442 --- /dev/null +++ b/roles/update_ssh_keys/tasks/main.yml @@ -0,0 +1,7 @@ +--- +- name: update authorized_keys + authorized_key: + key: '{{ item }}' + path: /root/.ssh/authorized_keys + user: root + with_items: '{{ authorized_keys }}' diff --git a/setup_fastd.yml b/setup_fastd.yml index 64e2e01..a47f63f 100644 --- a/setup_fastd.yml +++ b/setup_fastd.yml @@ -24,6 +24,7 @@ - install_babeld - install_fastd #- install_monitoring + - update_ssh_keys - install_admin_packages - name: install openvpn uplink hosts: mullvad_uplink @@ -42,6 +43,7 @@ - install_wireguard_backbone - install_babeld - install_openvpn + - update_ssh_keys - install_admin_packages - name: setup ffrl hosts: ffrl_uplink @@ -61,4 +63,5 @@ - install_babeld - setup_ffrl_tunnel #- install_monitoring + - update_ssh_keys - install_admin_packages |