@ipcrm/sdm-pack-ansible
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-201909271549 • Public • Published

@ipcrm/sdm-pack-ansible

Using this pack you can schedule Ansible goals in the SDM. This can be used with Ansible Engine, for either playbooks or adhoc commands.

Example adhoc:

    const ansible = new AnsibleEngine()
        .with({
            args: ["-m", "ping", "localhost"],
        });

Example Plabook execution:

    const ansiblePlaybook = new AnsibleEngine()
        .with({
            playbook: "test.yaml",
        });

See the type docs for details on how to customize the AnsibleEngine goal.

Getting started

See the Developer Quick Start to jump straight to creating an SDM.

Contributing

Contributions to this project from community members are encouraged and appreciated. Please review the Contributing Guidelines for more information. Also see the Development section in this document.

Code of conduct

This project is governed by the Code of Conduct. You are expected to act in accordance with this code by participating. Please report any unacceptable behavior to code-of-conduct@atomist.com.

Documentation

Please see docs.atomist.com for developer documentation.

Connect

Follow @atomist and The Composition blog related to SDM.

Support

General support questions should be discussed in the #support channel in the Atomist community Slack workspace.

If you find a problem, please create an issue.

Development

You will need to install Node.js to build and test this project.

Build and test

Install dependencies.

$ npm install

Use the build package script to compile, test, lint, and build the documentation.

$ npm run build

Release

Releases are handled via the Atomist SDM. Just press the 'Approve' button in the Atomist dashboard or Slack.


Created by Atomist. Need Help? Join our Slack workspace.

Dependencies (0)

    Dev Dependencies (15)

    Package Sidebar

    Install

    npm i @ipcrm/sdm-pack-ansible

    Weekly Downloads

    0

    Version

    0.1.0-201909271549

    License

    Apache-2.0

    Unpacked Size

    156 kB

    Total Files

    17

    Last publish

    Collaborators

    • ipcrm