diff --git a/playbooks/test.yaml b/playbooks/test.yaml new file mode 100644 index 0000000..6b79b5e --- /dev/null +++ b/playbooks/test.yaml @@ -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'] \ No newline at end of file