gabriel becker
1 year ago
2 changed files with 14 additions and 14 deletions
@ -1,21 +1,21 @@
|
||||
--- |
||||
- name: Copy service folder |
||||
copy: |
||||
src: "{{ services_dir }}/nginx" |
||||
src: "{{ services_dir }}/nginx-npm" |
||||
dest: /services/ |
||||
|
||||
- name: Copy nginx subfolder file |
||||
copy: |
||||
src: "{{ item }}/nginx.conf" |
||||
dest: "/nginx.../{{ item }}.config.conf" |
||||
with_items: "{{ 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: Copy service folder |
||||
# copy: |
||||
# src: "{{ item }}/docker-compose.yml" |
||||
# dest: /tmp/docker-compose.yml |
||||
# with_items: "{{ services }}" |
||||
|
||||
- name: Start Docker compose |
||||
- name: Start NGINX |
||||
community.docker.docker_compose: |
||||
project_src: "/services/nginx/" |
||||
project_src: "/services/nginx-npm/" |
||||
|
Loading…
Reference in new issue