You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
|
|
|
|
- name: Create folders for each containers
|
|
|
|
with_items: "{{ wp_docker }}"
|
|
|
|
file:
|
|
|
|
path: "{{ wp_docker_root_dir }}/{{ item.wp_docker_name }}"
|
|
|
|
state: directory
|
|
|
|
owner: bin
|
|
|
|
group: wheel
|
|
|
|
mode: '0644'
|
|
|
|
- name: Deploy docker-compose YML file
|
|
|
|
with_items: "{{ wp_docker }}"
|
|
|
|
template:
|
|
|
|
src: docker-compose.yml.j2
|
|
|
|
dest: "{{ wp_docker_root_dir }}/{{ item.wp_docker_name }}/docker-compose.yml"
|
|
|
|
owner: bin
|
|
|
|
group: wheel
|
|
|
|
mode: '0644'
|
|
|
|
|
|
|
|
# - name: Launch PhpMyAdmin containers
|
|
|
|
# with_items: "{{ wp_docker }}"
|
|
|
|
# command: "docker-compose up -d -f {{ wp_docker_root_dir }}/pma_{{ item.wp_docker_name }}/docker-compose.yml"
|
|
|
|
|
|
|
|
# - name: Launch Wordpress containers
|
|
|
|
# with_items: "{{ wp_docker }}"
|
|
|
|
# command: "docker-compose up -d -f {{ wp_docker_root_dir }}/{{ item.wp_docker_name }}/docker-compose.yml"
|
|
|
|
|
|
|
|
# - name: Send an welcome email message
|
|
|
|
# TODO
|