File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ A node.js wrapper for the [ansible](http://linux.die.net/man/1/ansible) command
1717Then:
1818
1919``` js
20- var AnsibleCli = require (' ansible-cli-js' );
20+ var ansibleCli = require (' ansible-cli-js' );
2121
2222```
2323
@@ -26,8 +26,8 @@ var AnsibleCli = require('ansible-cli-js');
2626With promise:
2727
2828``` js
29- var Options = AnsibleCli .Options () ;
30- var Ansible = new AnsibleCli .Ansible ;
29+ var Options = ansibleCli .Options ;
30+ var Ansible = ansibleCli .Ansible ;
3131
3232var options = new Options (
3333 /* currentWorkingDirectory */ ' ping'
@@ -49,7 +49,7 @@ With callback:
4949
5050``` js
5151
52- ansibleCli .command (' ansible all -m ping --inventory-file=./inventory --connection=local' , function (err , data ) {
52+ ansible .command (' ansible all -m ping --inventory-file=./inventory --connection=local' , function (err , data ) {
5353 console .log (' data = ' , data);
5454});
5555
Original file line number Diff line number Diff line change 11{
22 "name" : " ansible-cli-js" ,
3- "version" : " 2.0.1 " ,
3+ "version" : " 2.0.2 " ,
44 "description" : " A node.js wrapper for the ansible command" ,
55 "main" : " dist/index.js" ,
66 "typings" : " dist/index" ,
You can’t perform that action at this time.
0 commit comments