node-ansible
node-ansible copied to clipboard
Programmatic interface in Node.js for executing Ansible ad-hoc commands and playbooks
Translated to typescript and removed lots of security warnings.
remove quote from --privateKey
getting an unreachable error when I try to execute ansible playbook using private key and the log shows an entry like : 'Error: Using /etc/ansible/ansible.cfg as config file\n\nPLAY [all] *********************************************************************\n\nTASK...
Add `--become` support to AdHoc command. ```command.asBecome();``` **outputs** ``` ansible local -m shell -a "echo 'hello'" --become ```
Manually, the playbook runs fine using a configuration yaml file for an autoplugin. But not using node-ansible. I'm using the cwd option to set /mypath_to_playbook. Error: [WARNING]: * Failed to...
Is this project still maintained?
Hi all, I'm the new primary maintainer for this project. Thanks to @shaharke for the opportunity to contribute towards this project! Although I've been using and integrating open-source software for...
Sometimes I need to specify multiple inventories, e.g. `ansible-playbook -i inventory/common -i inventory/web playbooks/foo.yml`. Added support for that.
Hi Team, Thanks for the splendid node package for ansible. I am having issues while specifying askPass and askSudoPass method. It gives me the below error. Let me know if...
if I do var command = new Ansible.AdHoc().module('setup').hosts('localhost'); var promise = command.exec(); The result isn't directly parseable as json by example output begin by ``` localhost | SUCCESS => {...