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