1
0
Fork 0

Begin migration to v2

This commit is contained in:
Florian RICHER 2024-07-14 21:39:23 +02:00
parent 93cbcd29fb
commit b91292576f
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
15 changed files with 30 additions and 30 deletions

View file

@ -27,9 +27,9 @@
register: cloud_copy_templates_results
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: cloud
state: present
pull: true
pull: always
restarted: "{{ cloud_copy_files_results.changed or cloud_copy_templates_results.changed }}"
become: true

View file

@ -25,9 +25,9 @@
become: true
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: dolibarr
state: present
pull: true
pull: always
restarted: "{{ dolibarr_copy_templates_results.changed }}"
become: true

View file

@ -15,9 +15,9 @@
register: gitea_copy_templates_results
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: gitea
state: present
pull: true
pull: always
restarted: "{{ gitea_copy_templates_results.changed }}"
become: true

View file

@ -14,9 +14,9 @@
register: home_assistant_copy_templates_results
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: home_assistant
state: present
pull: true
pull: always
restarted: "{{ home_assistant_copy_templates_results.changed }}"
become: true

View file

@ -20,9 +20,9 @@
register: matrix_copy_templates_results
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: matrix
state: present
pull: true
pull: always
restarted: "{{ matrix_copy_files_results.changed or matrix_copy_templates_results.changed }}"
become: true

View file

@ -14,9 +14,9 @@
register: metrics_copy_templates_results
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: metrics
state: present
pull: true
pull: always
restarted: "{{ metrics_copy_templates_results.changed }}"
become: true

View file

@ -14,9 +14,9 @@
register: n8n_copy_templates_results
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: n8n
state: present
pull: true
pull: always
restarted: "{{ n8n_copy_templates_results.changed }}"
become: true

View file

@ -14,9 +14,9 @@
register: portfolio_copy_templates_results
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: portfolio
state: present
pull: true
pull: always
restarted: "{{ portfolio_copy_templates_results.changed }}"
become: true

View file

@ -31,9 +31,9 @@
when: not protonmail.initialized
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: protonmail
state: present
pull: true
pull: always
restarted: "{{ protonmail.initialized and (protonmail_copy_templates_results.changed or protonmail_copy_files_results.changed) }}"
become: true

View file

@ -14,9 +14,9 @@
register: ryot_copy_templates_results
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: ryot
state: present
pull: true
pull: always
restarted: "{{ ryot_copy_templates_results.changed }}"
become: true

View file

@ -21,9 +21,9 @@
dest: "traefik/config/dynamic_conf.yml"
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: traefik
state: present
pull: true
pull: always
restarted: "{{ traefik_copy_templates_results.changed }}"
become: true

View file

@ -34,9 +34,9 @@
become: true
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: vaultwarden
state: present
pull: true
pull: always
restarted: "{{ vaultwarden_copy_templates_results.changed }}"
become: true

View file

@ -14,9 +14,9 @@
register: watchtower_copy_templates_results
- name: Force update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: watchtower
state: present
pull: true
pull: always
restarted: "{{ watchtower_copy_templates_results.changed }}"
become: true

View file

@ -14,9 +14,9 @@
register: whoami_copy_templates_results
- name: Force update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: whoami
state: present
pull: true
pull: always
restarted: "{{ whoami_copy_templates_results.changed }}"
become: true

View file

@ -14,9 +14,9 @@
register: wireguard_copy_templates_results
- name: Update and restart container
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: wireguard
state: present
pull: true
pull: always
restarted: "{{ wireguard_copy_templates_results.changed }}"
become: true