Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- # Testing how variables work in the vars section of a playbook
- - hosts: ‘{{ myhosts }}’ # variable myhosts is a directive in the file hosts
- remote_user: ansible
- become: yes # become a root user on remote host
- become_method: sudo # having sudo privileges
- connection: ssh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement