Skip to content

Instantly share code, notes, and snippets.

Sending:
-------------------------------------
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
administrator$ ansible -u michael -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 | SUCCESS => {
"changed": false,
"ping": "pong"
}
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