upt playbook

This commit is contained in:
jaydee 2023-08-28 11:16:49 +02:00
parent f4114f3ea5
commit e1c283d6cc

7
playbooks/test.yaml Normal file
View File

@ -0,0 +1,7 @@
- hosts: containers
name: Stop mailu
tasks:
- name: Copy archive
ansible.builtin.shell: 'scp /share/Data/dockers-{{ ansible_date_time.date }}.tar.gz jaydee@192.168.77.246/share/'
ignore_errors: yes
when: inventory_hostname in groups['nas']