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
512 B

---
- name: Copy service folder
copy:
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 service folder
# copy:
# src: "{{ item }}/docker-compose.yml"
# dest: /tmp/docker-compose.yml
# with_items: "{{ services }}"
- name: Start NGINX
community.docker.docker_compose:
project_src: "/services/nginx-npm/"