|
|
@ -26,23 +26,23 @@ |
|
|
|
group: wheel |
|
|
|
group: wheel |
|
|
|
mode: '0644' |
|
|
|
mode: '0644' |
|
|
|
|
|
|
|
|
|
|
|
- name: Create custom PHP config file for each containers |
|
|
|
- name: Create custom PHP config file for each containers |
|
|
|
with_items: "{{ wh_docker }}" |
|
|
|
with_items: "{{ wh_docker }}" |
|
|
|
file: |
|
|
|
file: |
|
|
|
path: "{{ wh_docker_root_dir }}/wordpress/{{ item.wh_docker_name }}/custom.ini" |
|
|
|
path: "{{ wh_docker_root_dir }}/wordpress/{{ item.wh_docker_name }}/custom.ini" |
|
|
|
state: touch |
|
|
|
state: touch |
|
|
|
owner: bin |
|
|
|
owner: bin |
|
|
|
group: wheel |
|
|
|
group: wheel |
|
|
|
mode: '0644' |
|
|
|
mode: '0644' |
|
|
|
|
|
|
|
|
|
|
|
- name: Create custom CRON config file for each containers |
|
|
|
- name: Create custom CRON config file for each containers |
|
|
|
with_items: "{{ wh_docker }}" |
|
|
|
with_items: "{{ wh_docker }}" |
|
|
|
file: |
|
|
|
file: |
|
|
|
path: "{{ wh_docker_root_dir }}/wordpress/{{ item.wh_docker_name }}/custom_cron" |
|
|
|
path: "{{ wh_docker_root_dir }}/wordpress/{{ item.wh_docker_name }}/custom_cron" |
|
|
|
state: touch |
|
|
|
state: touch |
|
|
|
owner: bin |
|
|
|
owner: bin |
|
|
|
group: wheel |
|
|
|
group: wheel |
|
|
|
mode: '0644' |
|
|
|
mode: '0644' |
|
|
|
|
|
|
|
|
|
|
|
- name: Restart Docker |
|
|
|
- name: Restart Docker |
|
|
|
service: name=docker state=restarted |
|
|
|
service: name=docker state=restarted |
|
|
|