blob: 50958e711345afff1158ac03f9fd30416fe85f90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
- name: Build nginx-proxy compose dirs
ansible.builtin.file:
state: directory
dest: '{{ nginx_proxy_base }}/{{ item.path }}'
with_filetree: '../templates'
when: item.state == 'directory'
- name: Build nginx-proxy compose files
ansible.builtin.template:
src: '{{ item.src }}'
dest: '{{ nginx_proxy_base }}/{{ item.path }}'
with_filetree: '../templates'
when: item.state == 'file'
notify:
- (Re)start nginx-proxy
|