mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
upt playbook
This commit is contained in:
@ -3,6 +3,19 @@
|
|||||||
ignore_unreachable: false
|
ignore_unreachable: false
|
||||||
vars:
|
vars:
|
||||||
arch_name: docker_mailu2_data
|
arch_name: docker_mailu2_data
|
||||||
|
containers:
|
||||||
|
- nginx-app-1
|
||||||
|
- heimdall
|
||||||
|
- mailu2-admin-1
|
||||||
|
- mailu2-antispam-1
|
||||||
|
- mailu2-antivirus-1
|
||||||
|
- mailu2-fetchmail-1
|
||||||
|
- mailu2-front-1
|
||||||
|
- mailu2-imap-1
|
||||||
|
- mailu2-oletools-1
|
||||||
|
- mailu2-redis-1
|
||||||
|
- mailu2-resolver-1
|
||||||
|
- mailu2-smtp-1
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Get ruleset
|
- name: Get ruleset
|
||||||
@ -41,19 +54,8 @@
|
|||||||
# - 180
|
# - 180
|
||||||
|
|
||||||
- name: Stop mailu containers
|
- name: Stop mailu containers
|
||||||
command: docker pause {{ item }}
|
command: "docker pause {{ containers | join(' ') }}"
|
||||||
become: true
|
become: true
|
||||||
when: inventory_hostname in groups['raspberry']
|
when: inventory_hostname in groups['raspberry']
|
||||||
loop:
|
loop:
|
||||||
- nginx-app-1
|
|
||||||
- heimdall
|
|
||||||
- mailu2-admin-1
|
|
||||||
- mailu2-antispam-1
|
|
||||||
- mailu2-antivirus-1
|
|
||||||
- mailu2-fetchmail-1
|
|
||||||
- mailu2-front-1
|
|
||||||
- mailu2-imap-1
|
|
||||||
- mailu2-oletools-1
|
|
||||||
- mailu2-redis-1
|
|
||||||
- mailu2-resolver-1
|
|
||||||
- mailu2-smtp-1
|
|
Reference in New Issue
Block a user