Professional Documents
Culture Documents
Ansible - Sibelius
HANDSON
----------------------------------------------------------------------
Registered Variable:
----------------------------------------------------------------------
echo "[group1]" > myhosts
echo "host01 ansible_ssh_user=ubuntu" >> myhosts
vi test.yml
---
- name: copy files
hosts: all
tasks:
- copy: src=afile.txt dest=/home/ubuntu/afile_copy.txt
:wq