From fcee4bd006dd8d0059adc67bade8da0858bcbc67 Mon Sep 17 00:00:00 2001 From: mdreyer31 Date: Wed, 14 Apr 2021 14:35:50 +0200 Subject: [PATCH] more restricted permissons --- tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index e2519ee..9790408 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -46,7 +46,7 @@ dest: "/etc/docker/daemon.json" owner: "root" group: "root" - mode: "0644" + mode: "0640" when: docker__default_daemon_json | d() or docker__daemon_json | d() - name: Install Docker @@ -96,7 +96,7 @@ dest: "/etc/systemd/system/docker.service.d/options.conf" owner: "root" group: "root" - mode: "0644" + mode: "0640" register: docker__register_daemon_flags when: docker__daemon_flags | d() notify: ["Restart Docker"] @@ -107,7 +107,7 @@ dest: "/etc/systemd/system/docker.service.d/environment.conf" owner: "root" group: "root" - mode: "0644" + mode: "0640" register: docker__register_daemon_environment when: docker__daemon_environment | d() notify: ["Restart Docker"] @@ -118,7 +118,7 @@ dest: "/etc/systemd/system/docker.service.d/custom.conf" owner: "root" group: "root" - mode: "0644" + mode: "0640" register: docker__register_custom_override when: docker__systemd_override | d() notify: ["Restart Docker"]