From 0760ee57a67b2b48dc34822217b5b4d9c26cb95b Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 5 May 2021 14:53:03 -0700 Subject: [PATCH] openvpn / server: make the ccd dir idempotent Right now this task makes the ccd dir as 0755 and root.root, but then a later task syncs this from batcave01 and it gets 2755 and root.sysadmin-main. Just change this to match so we are more idempotent. Signed-off-by: Kevin Fenzi --- roles/openvpn/server/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/openvpn/server/tasks/main.yml b/roles/openvpn/server/tasks/main.yml index eb59cc2fe9..9287842687 100644 --- a/roles/openvpn/server/tasks/main.yml +++ b/roles/openvpn/server/tasks/main.yml @@ -12,9 +12,9 @@ - name: Create the /etc/openvpn/server/ccd/ directory file: > dest=/etc/openvpn/server/ccd/ - mode=0755 + mode=2755 owner=root - group=root + group=sysadmin-main state=directory tags: - openvpn