Compare commits
No commits in common. "bd503eaa0d4402e92c12f4f4dc1fa3d12869f9f5" and "29d3197bfcc747154d2f654cc8255c1a36b438d9" have entirely different histories.
bd503eaa0d
...
29d3197bfc
2 changed files with 5 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ Name={{ network_interface }}
|
|||
Address={{ lan_ip }}/{{ lan_prefix }}
|
||||
Gateway={{ lan_gateway }}
|
||||
DNS={{ lan_dns }}
|
||||
IgnoreCarrierLoss=yes
|
||||
IgnoreCarrierLoss=true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue