feat: remove Caddy network connection task from Seafile Ansible playbook
This commit is contained in:
parent
15117e2356
commit
3a5056aa00
@ -61,15 +61,6 @@
|
||||
- .env.j2
|
||||
register: seafile_configs
|
||||
|
||||
- name: Ensure containers are on the caddy network
|
||||
ansible.builtin.command: docker network connect caddy_default seafile
|
||||
register: connect_network
|
||||
changed_when: connect_network.rc == 0
|
||||
failed_when:
|
||||
- connect_network.rc != 0
|
||||
- "'already exists' not in connect_network.stderr"
|
||||
when: seafile_configs.changed
|
||||
|
||||
- name: Stop Seafile service
|
||||
ansible.builtin.command: docker compose -f "{{ seafile_service_dir }}/docker-compose.yml" down --remove-orphans
|
||||
when: seafile_configs.changed
|
||||
|
Loading…
x
Reference in New Issue
Block a user