From 2a269c8f0da3be0fe18e2870ca315292801b9d8b Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Sat, 18 Sep 2021 16:56:24 +0000 Subject: [PATCH] autofs: Set custom marker when editing sshd config --- roles/autofs/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/autofs/tasks/main.yml b/roles/autofs/tasks/main.yml index 71dc38f..756d120 100644 --- a/roles/autofs/tasks/main.yml +++ b/roles/autofs/tasks/main.yml @@ -67,6 +67,7 @@ block: | Match User root AuthorizedKeysFile .ssh/authorized_keys + marker: "# {mark} ANSIBLE MANAGED BLOCK (root user)" notify: restart sshd - name: move user cache from home directory to tmpfs