Begin migration to v2 Step 2
This commit is contained in:
parent
b91292576f
commit
a7140e5a84
37 changed files with 19 additions and 74 deletions
|
@ -16,8 +16,7 @@
|
|||
src: "{{ item.src }}"
|
||||
dest: "protonmail/{{ item.dest }}"
|
||||
loop:
|
||||
- { src: 'docker-compose.yml.j2', dest: 'docker-compose.yml' }
|
||||
register: protonmail_copy_templates_results
|
||||
- { src: 'docker-compose.yml', dest: 'docker-compose.yml' }
|
||||
|
||||
- name: Create protonmail network
|
||||
community.docker.docker_network:
|
||||
|
@ -35,5 +34,5 @@
|
|||
project_src: protonmail
|
||||
state: present
|
||||
pull: always
|
||||
restarted: "{{ protonmail.initialized and (protonmail_copy_templates_results.changed or protonmail_copy_files_results.changed) }}"
|
||||
recreate: "{{ 'always' if protonmail.initialized and protonmail_copy_files_results.changed else 'auto' }}"
|
||||
become: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue