Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-10 Thread reg...@gmail.com
*Also i can see it is trying connection with user root although i have defined new user to login to the managed hosts.* First, I would check if the user can login to that server normally. If not, Ansible won't be able to connect either. :) When you run the playbook are you running it logged in

[ansible-project] Re: Execute python module from ansible?

2021-06-08 Thread reg...@gmail.com
Ehh - this post - I meant to link above :) https://serverfault.com/questions/769898/running-python-script-on-anisble On Wednesday, June 9, 2021 at 12:15:38 AM UTC-4 reg...@gmail.com wrote: > Are you using the shell module to send the command line? Perhaps try using > the full path

[ansible-project] Re: Execute python module from ansible?

2021-06-08 Thread reg...@gmail.com
Are you using the shell module to send the command line? Perhaps try using the full path to the python interpreter you want to use. Often '/usr/bin/python' is a link to /usr/bin/python2 or /usr/bin/python3 There may be a more elegant way as well, just a thought though. I'm a bit curious also, I

[ansible-project] Ansible Zpool Module

2021-05-20 Thread reg...@gmail.com
I was looking around for a zpool module that would work with Solaris. I did find this and there appears to be one in development that was supposedly moved to the community collection, but I can't seem to find anything. There is a ZFS module, but I'm looking for one to work with zpools specific