Guest User

Untitled

a guest
Apr 15th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. 1 ---
  2. 2 vars:
  3. 3 - pass: a_password
  4. 4 - ansible_user: grahamn
  5. 5 - ansible_ssh_pass: "{{ pass }}"
  6.  
  7. ansible -m command -a"uname" -ihosts local_vms
  8.  
  9. ansible -vvv -i hosts -m command -auname local_vms --ssh-common-args="PasswordAuthentication=yes"
Add Comment
Please, Sign In to add comment