]> git.phdru.name Git - ansible.git/commitdiff
Fix: Set `directory_mode` for recursive copying
authorOleg Broytman <phd@phdru.name>
Sun, 4 Aug 2019 09:28:42 +0000 (12:28 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 4 Aug 2019 09:28:42 +0000 (12:28 +0300)
playbooks/debian/roles/apache/tasks/main.yml
playbooks/debian/roles/firewall/tasks/main.yml
playbooks/debian/roles/logcheck/tasks/main.yml
playbooks/debian/roles/remove-systemd/tasks/main.yml

index ebe880cfb83628bfd429ea7fcee1627a1a4cddac..ac576c061c6a2cd2c23bbe08bebcfbd9288a9934 100644 (file)
@@ -42,6 +42,7 @@
         dest: /usr/local/apache2
         owner: root
         group: www-data
+        directory_mode: '0755'
         mode: '0644'
 
     - name: Enable config
index 0015e8162292b5522cd5ed68ab086b52746d25b4..ed406eeaf157c6b6a08025f26778594c0418d7d4 100644 (file)
@@ -14,6 +14,7 @@
     dest: /
     owner: root
     group: root
+    directory_mode: '0750'
     mode: '0750'
     force: no
   register: etc
index e72afeb8ef94e8c651ab95d3883e5587a5199daa..81a2b553b740ccd9c362e3f582bde503c7d2c814 100644 (file)
@@ -24,5 +24,6 @@
     dest: "/etc/logcheck/ignore.d.{{ item }}"
     owner: root
     group: logcheck
+    directory_mode: '0750'
     mode: 0640
   loop: ['server', 'workstation']
index 1739c6c874df95be0a3c8a7e38935532535028af..ae26cd5c3da5c57cf2fede68c796574111a5f77b 100644 (file)
@@ -5,6 +5,7 @@
     dest: /
     owner: root
     group: root
+    directory_mode: '0750'
     mode: '0640'
     force: no