New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ansible-playbook-cli-js

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansible-playbook-cli-js

A node.js wrapper for the ansible-playbook command

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
increased by53.33%
Maintainers
1
Weekly downloads
 
Created
Source

ansible-playbook-cli-js

A node.js wrapper for the ansible-playbook command

NPM NPM

Installation

Step 1: Prerequisites

The aws command line interface must be installed and accessible in the path

Step 2: Installation

npm install ansible-playbook-cli-js

Then:

var AnsiblePlaybookCli = require('ansible-playbook-cli-js');

Usage

With promise

var ansiblePlaybookCli = new AnsiblePlaybookCli({
});

ansiblePlaybookCli.command('??').then(function (data) {
  console.log('data = ', data); 
});

//data = {

With callback:


ansiblePlaybookCli.command('??', function (err, data) {
  console.log('data = ', data);
});

//data = {

  • ??
ansiblePlaybookCli.command('?? --instance-ids i-789b3ba7').then(function (data) {
  console.log('data = ', data); 
});


//


or with options

ansiblePlaybookCli.command('??', { 'instance-ids': 'i-789b3ba7' }).then(function (data) {
  console.log('data = ', data); 
});

Keywords

FAQs

Package last updated on 05 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc