|
|
|
@ -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 |
|
|
|
|