Ansible roles
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.
 
 
 
 
 
 

16 lines
474 B

---
- name: Deploy docker-compose YML file
with_items: "{{ wp_docker }}"
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 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