22 lines
528 B
YAML
22 lines
528 B
YAML
---
|
|
- name: Copy service folder
|
|
ansible.builtin.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/"
|