Giter Club home page Giter Club logo

ansible-awx-cli's Introduction

Ansible AWX CLI container

Table of contents


What is it?

This repository contains the CLI for Ansible AWX / Tower, made easily available in a container image.

The container image can be found on the Docker Hub.

Versioning

The versioning of this project follows the one of the official awxkit library.

Running the container

This container can be run using the following command:

docker run --rm \
  -t docker.io/ppodgorsek/ansible-awx-cli:latest \
  awx {{ CLI arguments }}

For example, triggering a job template can be done as follows:

docker run --rm \
  -t docker.io/ppodgorsek/ansible-awx-cli:latest \
  awx job_templates launch 'Job name CHANGEME' --conf.host='https://changeme' --conf.token='changeme' --filter=status --monitor -f human

All official AWX CLI arguments can be used. The complete list can be found in AWX CLI's official documentation.

Continuous integration

Azure DevOps

It is possible to run the project within an Azure DevOps pipeline by relying on a simple script, as the Docker@2 task currently only allows to build and push images:

- script: |
    docker run --rm -t docker.io/ppodgorsek/ansible-awx-cli:latest awx {{ CLI arguments }}
  displayName: Ansible AWX

Please contribute!

Have you found an issue? Do you have an idea for an improvement? Feel free to contribute by submitting it on the GitHub project.

ansible-awx-cli's People

Contributors

ppodgorsek avatar

Stargazers

 avatar

Watchers

 avatar

ansible-awx-cli's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.