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:
7
playbooks/test.yaml
Normal file
7
playbooks/test.yaml
Normal 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']
|
Reference in New Issue
Block a user