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.
22 lines
493 B
22 lines
493 B
1 year ago
|
---
|
||
|
- name: Copy service folder
|
||
|
copy:
|
||
|
src: "{{ services_dir }}/nginx"
|
||
|
dest: /services/
|
||
|
|
||
|
- name: Copy nginx subfolder file
|
||
|
copy:
|
||
|
src: "{{ item }}/nginx.conf"
|
||
|
dest: "/nginx.../{{ item }}.config.conf"
|
||
|
with_items: "{{ services }}"
|
||
|
|
||
|
- name: Copy service folder
|
||
|
copy:
|
||
|
src: "{{ item }}/docker-compose.yml"
|
||
|
dest: /tmp/docker-compose.yml
|
||
|
with_items: "{{ services }}"
|
||
|
|
||
|
- name: Start Docker compose
|
||
|
community.docker.docker_compose:
|
||
|
project_src: "/services/nginx/"
|