diff --git a/roles/docker_wordpress/tasks/main.yml b/roles/docker_wordpress/tasks/main.yml index 80573ca..9d05863 100644 --- a/roles/docker_wordpress/tasks/main.yml +++ b/roles/docker_wordpress/tasks/main.yml @@ -26,23 +26,23 @@ group: wheel mode: '0644' - - name: Create custom PHP config file for each containers - with_items: "{{ wh_docker }}" - file: - path: "{{ wh_docker_root_dir }}/wordpress/{{ item.wh_docker_name }}/custom.ini" - state: touch - owner: bin - group: wheel - mode: '0644' - - - name: Create custom CRON config file for each containers - with_items: "{{ wh_docker }}" - file: - path: "{{ wh_docker_root_dir }}/wordpress/{{ item.wh_docker_name }}/custom_cron" - state: touch - owner: bin - group: wheel - mode: '0644' + - name: Create custom PHP config file for each containers + with_items: "{{ wh_docker }}" + file: + path: "{{ wh_docker_root_dir }}/wordpress/{{ item.wh_docker_name }}/custom.ini" + state: touch + owner: bin + group: wheel + mode: '0644' + + - name: Create custom CRON config file for each containers + with_items: "{{ wh_docker }}" + file: + path: "{{ wh_docker_root_dir }}/wordpress/{{ item.wh_docker_name }}/custom_cron" + state: touch + owner: bin + group: wheel + mode: '0644' - name: Restart Docker service: name=docker state=restarted