This commit is contained in:
jaydee
2023-12-06 15:18:07 +01:00
parent e176463b90
commit fd22cf7a1a
2 changed files with 38 additions and 15 deletions

View File

@ -1,7 +1,10 @@
- hosts: containers
name: Stop mailu
- hosts: datacenter
name: Modify nginx configs
vars:
apps:
- Home Assistant
tasks:
- name: Copy archive
ansible.builtin.shell: 'scp -i .ssh/id_rsa333 /share/Data/dockers-{{ ansible_date_time.date }}.tar.gz jaydee@192.168.77.246/share/'
ignore_errors: yes
when: inventory_hostname in groups['nas']
- include: reconfigure_heimdall.yaml app={{ item }}
name: lala
with_items:
- "{{ apps }}"