Carica file su 'ansible'
This commit is contained in:
8
ansible/Copy_Local_to_Remote.yml
Normal file
8
ansible/Copy_Local_to_Remote.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
- name: Playbook to copy local file fo remote
|
||||
hosts: webservers
|
||||
tasks:
|
||||
- name: copying file with playbook
|
||||
become: true
|
||||
copy:
|
||||
src: /home/corrado/test
|
||||
dest: /etc/test
|
||||
Reference in New Issue
Block a user