Advertisement
Guest User

Untitled

a guest
Jun 16th, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. - hosts: HOSTNAME.austin.ibm.com
  2. tasks:
  3. - name: Change Root Password
  4. user: name=root update_password=always password=passw0rd1
  5.  
  6. ubuntu@ans-test:/etc/ansible$ sudo ansible-playbook -s password.yml
  7. sudo: unable to resolve host ans-test
  8.  
  9. PLAY [HOSTNAME.austin.ibm.com] **************************************************
  10.  
  11. TASK [setup] *******************************************************************
  12. The authenticity of host 'HOSTNAME.austin.ibm.com (9.3.214.197)' can't be established.
  13. ECDSA key fingerprint is SHA256:pX3FVgOCBmVTy29IbM+uPQkKYDa3GBehj4t1BekZxGw.
  14. Are you sure you want to continue connecting (yes/no)? yes
  15. fatal: [arlz197.austin.ibm.com]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true}
  16. to retry, use: --limit @password.retry
  17.  
  18. PLAY RECAP *********************************************************************
  19. HOSTNAME.austin.ibm.com : ok=0 changed=0 unreachable=1 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement