Compare commits

..

No commits in common. "bd503eaa0d4402e92c12f4f4dc1fa3d12869f9f5" and "29d3197bfcc747154d2f654cc8255c1a36b438d9" have entirely different histories.

2 changed files with 5 additions and 17 deletions

View file

@ -57,22 +57,10 @@
group: sonny
mode: '0755'
- name: Stop current containers
community.docker.docker_compose_v2:
project_src: '{{ syncthing_app_dir }}'
state: stopped
- name: Pull missing image
community.docker.docker_compose_v2:
project_src: '{{ syncthing_app_dir }}'
pull: missing
- name: Remove dangling containers
community.docker.docker_compose_v2:
project_src: '{{ syncthing_app_dir }}'
remove_orphans: true
- name: Start container
community.docker.docker_compose_v2:
project_src: '{{ syncthing_app_dir }}'
state: present
remove_orphans: true
state: restarted
pull: always
wait: true

View file

@ -7,4 +7,4 @@ Name={{ network_interface }}
Address={{ lan_ip }}/{{ lan_prefix }}
Gateway={{ lan_gateway }}
DNS={{ lan_dns }}
IgnoreCarrierLoss=yes
IgnoreCarrierLoss=true