Skip to content

Instantly share code, notes, and snippets.

@mykeylynx
Created August 28, 2018 23:46
Show Gist options
  • Save mykeylynx/ce8726872e0b5c4ef5ffa60ce2486d41 to your computer and use it in GitHub Desktop.
Save mykeylynx/ce8726872e0b5c4ef5ffa60ce2486d41 to your computer and use it in GitHub Desktop.
administrator$ ansible -i '192.168.102.226,' -m ping all
[DEPRECATION WARNING]: ANSIBLE_HOSTS option, The variable is misleading as it can be a list of hosts and/or paths to inventory sources , use ANSIBLE_INVENTORY instead. This feature
will be removed in version 2.8. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
The authenticity of host '192.168.102.226 (192.168.102.226)' can't be established.
ECDSA key fingerprint is SHA256:ouMDPkZklF4Zb8yT/T952DR+n/YQ04TwNJk/sME8X40.
Are you sure you want to continue connecting (yes/no)? yes
192.168.102.226 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Warning: Permanently added '192.168.102.226' (ECDSA) to the list of known hosts.\r\nPermission denied (publickey,password,keyboard-interactive).\r\n",
"unreachable": true
}
Benchmarc-Server:ansible administrator$ ansible -i '192.168.102.226,' -m ping all -k
[DEPRECATION WARNING]: ANSIBLE_HOSTS option, The variable is misleading as it can be a list of hosts and/or paths to inventory sources , use ANSIBLE_INVENTORY instead. This feature
will be removed in version 2.8. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
SSH password:
192.168.102.226 | UNREACHABLE! => {
"changed": false,
"msg": "Authentication failed.",
"unreachable": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment