mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
7 lines
283 B
YAML
7 lines
283 B
YAML
- hosts: containers
|
|
name: Stop mailu
|
|
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'] |