Add Ansible ad-hoc
clementblaise opened this issue · comments
Hi,
Would it make sense to add the ad hoc module in this repo?
I really like how this repo enable to use playbook with go and I would like to use the mechanism for ad-hoc command. I'm wondering if I should create a new repo or if is something we could add here.
Hi @clementblaise
thanks you very much for ideas!
What you mean is to run ad-hoc modules through ansible
command, such is described on that link https://docs.ansible.com/ansible/latest/user_guide/intro_adhoc.html, isn't it?
It would be really interesting to include other ways to interact with ansible ecosystem such ansible, ansible-galaxy,...
The package uses ansible-playbook
command instead of ansible
and since they are not the same functionality, I would keep them separately. I could work on how to run ansible
command, which it lets you to use ad-hoc modules.
You are welcome to create a PR :)
Yes exactly I'm talking about this module.
Had the idea to separate the ansible
command as well, alright I will work on it !
I also need ad-hoc,like this command:
ansible all -m ping
PR #29
@clementblaise version 1.0.0 already published . you can execute ansible adhoc command using that version
read the upgrade guide please
Thanks you @apenella I will integrate it into my project