Skip to content

Commit

Permalink
Disable chown site directory task by default (#1452)
Browse files Browse the repository at this point in the history
Vagrant creates synced folders with the `web_user`/`web_group`
(`vagrant`/`www-data`) already via the `Vagrantfile`. This task can be
slow, and since it's redundant, it's being disabled by default.

In case this task is needed, the `chown_site_directory` variable can be
set to true in `group_vars/development/main.yml`
  • Loading branch information
swalkinshaw authored Dec 11, 2022
1 parent 7676f8b commit 514b794
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/wordpress-install/tasks/directories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@
loop: "{{ wordpress_sites | dict2items }}"
loop_control:
label: "{{ item.key }}"
when: chown_site_directory | default(false)

0 comments on commit 514b794

Please sign in to comment.