From bd83904d446597821d613ad2c8710ba7580dfd0d Mon Sep 17 00:00:00 2001 From: binary Date: Mon, 8 Feb 2021 14:55:48 +0100 Subject: Using subdirectory for task names breaks ansible on openbsd --- roles/sshd/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/sshd/tasks/main.yml b/roles/sshd/tasks/main.yml index db46aad..ef19c9b 100644 --- a/roles/sshd/tasks/main.yml +++ b/roles/sshd/tasks/main.yml @@ -26,7 +26,7 @@ var: keys - name: synchronize ssh keys - ansible.posix.authorized_key: + authorized_key: user: "{{ item.path | dirname | basename }}" state: present key: "{{ lookup('file', item.path) }}" -- cgit v1.2.3