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