mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
111
This commit is contained in:
@ -20,6 +20,9 @@
|
||||
- mailu2-webmail-1
|
||||
- HomeAssistant
|
||||
- mosquitto-mosquitto-1
|
||||
- gitlab
|
||||
- semaphore-app-1
|
||||
- semaphore-db-1
|
||||
tasks:
|
||||
|
||||
- name: Get ruleset
|
||||
@ -58,7 +61,7 @@
|
||||
# - 180
|
||||
|
||||
- name: Stop mailu containers
|
||||
command: "docker pause {{ containers | join(' ') }}"
|
||||
command: "docker stop {{ containers | join(' ') }}"
|
||||
become: true
|
||||
ignore_errors: true
|
||||
when: inventory_hostname in groups['raspberry']
|
@ -3,15 +3,15 @@
|
||||
hosts: containers
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- include_tasks: stop_containers.yaml
|
||||
name: Stop Containers
|
||||
when: inventory_hostname in groups['raspberrypi5']
|
||||
- name: Pause for 60 seconds
|
||||
ansible.builtin.pause:
|
||||
seconds: 60
|
||||
# - include_tasks: stop_containers.yaml
|
||||
# name: Stop Containers
|
||||
# when: inventory_hostname in groups['raspberrypi5']
|
||||
# - name: Pause for 60 seconds
|
||||
# ansible.builtin.pause:
|
||||
# seconds: 60
|
||||
|
||||
- include_tasks: sync_container_data.yaml
|
||||
name: Sync Container Data
|
||||
# - include_tasks: sync_container_data.yaml
|
||||
# name: Sync Container Data
|
||||
- include_tasks: reconfigure_nginx.yaml
|
||||
name: Reconfigure nginx proxy manager
|
||||
loop:
|
||||
|
Reference in New Issue
Block a user