From 6849da2e8d63fcc23d1f958edf48f29d502d2b97 Mon Sep 17 00:00:00 2001 From: davidl Date: Wed, 26 Jul 2023 10:53:47 +0200 Subject: [PATCH] vvv --- create_user_ssh/add_authorized_key | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 create_user_ssh/add_authorized_key diff --git a/create_user_ssh/add_authorized_key b/create_user_ssh/add_authorized_key new file mode 100644 index 0000000..f39d0ec --- /dev/null +++ b/create_user_ssh/add_authorized_key @@ -0,0 +1,7 @@ +- hosts: "{{ host }}" + vars: + - name: Set up multiple authorized keys + ansible.posix.authorized_key: + user: deploy + state: present + key: '{{ key }}' \ No newline at end of file