Re: [ansible-project] ansible tower - command works BUT playbook fails to connect to the host via ssh

2020-06-12 Thread Thanh Nguyen Duc
Try to run with sudo?

Sent from my iPhone

> On Jun 12, 2020, at 23:55, Stefan Hornburg (Racke)  wrote:
> 
> On 6/12/20 5:31 PM, Laci wrote:
>> In my ansible tower I can execute a command successfully on a remote server, 
>> however when I try to run a playbook I get:
>> 
>> {
>> "msg": "Failed to connect to the host via ssh: Warning: Permanently 
>> added 'hostname,10.1.4.66' (ECDSA) to the list
>> of known hosts.\r\nPermission denied 
>> (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).",
>> "unreachable": true,
>> "changed": false
>> }
>> 
>> Seems to be a weird issue, did someone saw and solved this before?
> 
> This group is dedicated to Ansible itself, not Tower or AWX.
> 
> Please contact RedHat support.
> 
> Regards
>Racke
> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to
>> ansible-project+unsubscr...@googlegroups.com 
>> .
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/7ea6e452-bd00-408f-a1eb-36378bff57deo%40googlegroups.com
>> .
> 
> 
> -- 
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/b6428221-639a-5a9e-f0d2-506515df0792%40linuxia.de.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6558A5DB-373C-4747-A220-1D5A020CDB63%40gmail.com.


Re: [ansible-project] ansible tower - command works BUT playbook fails to connect to the host via ssh

2020-06-12 Thread Stefan Hornburg (Racke)
On 6/12/20 5:31 PM, Laci wrote:
> In my ansible tower I can execute a command successfully on a remote server, 
> however when I try to run a playbook I get:
> 
> {
>     "msg": "Failed to connect to the host via ssh: Warning: Permanently added 
> 'hostname,10.1.4.66' (ECDSA) to the list
> of known hosts.\r\nPermission denied 
> (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).",
>     "unreachable": true,
>     "changed": false
> }
> 
> Seems to be a weird issue, did someone saw and solved this before?

This group is dedicated to Ansible itself, not Tower or AWX.

Please contact RedHat support.

Regards
Racke

> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to
> ansible-project+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/7ea6e452-bd00-408f-a1eb-36378bff57deo%40googlegroups.com
> .


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b6428221-639a-5a9e-f0d2-506515df0792%40linuxia.de.


signature.asc
Description: OpenPGP digital signature


[ansible-project] ansible tower - command works BUT playbook fails to connect to the host via ssh

2020-06-12 Thread Laci
In my ansible tower I can execute a command successfully on a remote 
server, however when I try to run a playbook I get:

{
"msg": "Failed to connect to the host via ssh: Warning: Permanently 
added 'hostname,10.1.4.66' (ECDSA) to the list of known 
hosts.\r\nPermission denied 
(publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).",
"unreachable": true,
"changed": false
}

Seems to be a weird issue, did someone saw and solved this before?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7ea6e452-bd00-408f-a1eb-36378bff57deo%40googlegroups.com.