On 4/2/20 9:35 AM, lolO lolO wrote:
> Hello all !
> 
> it's been a while i have troubles with the shell module:
> as a command is correctly executed in console (even launched as the user awx)
> 
> /git push [email protected]:savetogit/devbackupdesconfigs.git/
> 
> but fails through the playbook execution with the output
> 
> i've already tried a lot of changes (character protection, command line in 
> variable, local script)
> same issue
> the output is
> ssh: Could not resolve hostname savetogit.skylab.local: Name or service not 
> know
> 
> any idea why such a parsing?

How does your playbook / task look like? In the Git URL above you have 
savetogit.skylab.local,
but below you say you want to push to skylab.local.

Regards
           Racke

> 
> ---
> the aim is to push to a remote git (skylab.local)
> as the user 'savetogit'
> this works perfectly ion console
> 
> thanks
> 
> -- 
> 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
> [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/b56dcee9-4b31-4c7e-b03c-41c824c3e024%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/b56dcee9-4b31-4c7e-b03c-41c824c3e024%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/83b57d21-d4fa-9468-7353-ee0b0e2b54ac%40linuxia.de.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to