Fix: Right permission for the host directory of wordpress

This commit is contained in:
Amritanshu Agrawal 2023-01-02 12:23:26 +05:30
parent 77d5fa8eda
commit 67750b459d

View File

@ -14,13 +14,13 @@
source: pull source: pull
force_source: yes force_source: yes
- name: Ensure SSH Directory exists - name: Ensure Host Directory exists
file: file:
path: "/var/lib/{{ http_host }}" path: "/var/lib/{{ http_host }}"
state: directory state: directory
group: www-data group: www-data
owner: www-data owner: www-data
mode: 0700 mode: 0655
- name: Create Wordpress container - name: Create Wordpress container
docker_container: docker_container: