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