From c5e189efc170d1ba8d9b7ab0e7491ae991f8d733 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Thu, 25 Jan 2018 18:14:37 +0100 Subject: update ssh keys --- roles/update_ssh_keys/tasks/main.yml | 7 +++++++ setup_fastd.yml | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 roles/update_ssh_keys/tasks/main.yml 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 -- cgit v1.2.3-54-g00ecf