mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
upt playbook
This commit is contained in:
parent
f4114f3ea5
commit
e1c283d6cc
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']
|
Loading…
x
Reference in New Issue
Block a user