Begin migration to v2 Step 2
This commit is contained in:
parent
b91292576f
commit
a7140e5a84
37 changed files with 19 additions and 74 deletions
|
@ -10,13 +10,11 @@
|
|||
src: "{{ item.src }}"
|
||||
dest: "n8n/{{ item.dest }}"
|
||||
loop:
|
||||
- { src: 'docker-compose.yml.j2', dest: 'docker-compose.yml' }
|
||||
register: n8n_copy_templates_results
|
||||
- { src: 'docker-compose.yml', dest: 'docker-compose.yml' }
|
||||
|
||||
- name: Update and restart container
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: n8n
|
||||
state: present
|
||||
pull: always
|
||||
restarted: "{{ n8n_copy_templates_results.changed }}"
|
||||
become: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue