Skip to content

Commit

Permalink
Remove explicit permission for site directory
Browse files Browse the repository at this point in the history
Fixes #1311

The `mode` option was set in #1270
for linting purposes. However, this can result in the permissions
changing on local site files causing them to appear as changed in Git.

Since this directory is guaranteed to exist, we don't need to set
`mode`. The purpose of this task is just to set the owner + group
recursively.
  • Loading branch information
swalkinshaw committed Oct 27, 2021
1 parent f89ae25 commit 49b85e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion roles/wordpress-install/tasks/directories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
path: "{{ www_root }}/{{ item.key }}"
owner: "{{ web_user }}"
group: "{{ web_group }}"
mode: '0755'
state: directory
recurse: yes
with_dict: "{{ wordpress_sites }}"

0 comments on commit 49b85e2

Please sign in to comment.