From e829ca802bb5819f78b8b2032c43eb04840eec23 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sun, 12 Mar 2017 22:07:28 +0100 Subject: fixed authorized_keys --- new_inventory.ini.sample | 2 +- roles/install_arch/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/new_inventory.ini.sample b/new_inventory.ini.sample index 5bda407..792ee30 100644 --- a/new_inventory.ini.sample +++ b/new_inventory.ini.sample @@ -5,4 +5,4 @@ hetzner_webservice_username= hetzner_webservice_password= rescue_authorized_key= -authorized_keys='["", ""]' +authorized_keys=["", ""] diff --git a/roles/install_arch/tasks/main.yml b/roles/install_arch/tasks/main.yml index 2590b56..5b351f1 100644 --- a/roles/install_arch/tasks/main.yml +++ b/roles/install_arch/tasks/main.yml @@ -92,7 +92,7 @@ key: '{{ item }}' path: /mnt/root/.ssh/authorized_keys user: root - with_items: authorized_keys + with_items: '{{ authorized_keys }}' - name: enable sshd command: /usr/bin/arch-chroot /mnt /usr/bin/systemctl enable sshd.service -- cgit v1.2.3-54-g00ecf