Upload files to "playbooks"
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
- name: copy changed collector.py to all servers
|
||||||
|
hosts: servers
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: coping script
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: /root/collector.py
|
||||||
|
dest: /home/porygon/collector.py
|
||||||
Reference in New Issue
Block a user