From c834d84098a462a903aa89ea505ec1bb221da882 Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 11 Nov 2022 17:49:55 +0100 Subject: [PATCH] configure ssh for ansible user --- tasks/ssh.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/ssh.yml b/tasks/ssh.yml index 03cfffb..a28afdb 100644 --- a/tasks/ssh.yml +++ b/tasks/ssh.yml @@ -12,6 +12,7 @@ mode: 0700 with_items: - "{{user.name}}" + - ansible - name: copy ssh config for user become: true @@ -25,6 +26,7 @@ owner: "{{ item }}" with_items: - "{{ user.name }}" + - ansible - name: ensure root ssh directory exist become: true file: