GithubHelp home page GithubHelp logo

aukgit / ansible-collection-ansible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mafalb/ansible-collection-ansible

0.0 1.0 0.0 144 KB

Ansible collection for ansible related things like testing with molecule.

License: GNU General Public License v3.0

Shell 100.00%

ansible-collection-ansible's Introduction

Ansible Collection - mafalb.ansible

master master branch
dev dev branch

A collection for ansible related things.

We recommend to set INTERPRETER_PYTHON to auto to avoid confusion between python 2 and 3.

For reference here is the link to the source code for INTERPRETER_PYTHON_DISTRO_MAP lib/ansible/config/base.yml

Roles

Playbooks

There are two standalone playbooks that could help with develop ansible things. One playbook that creates a new collection from a template and one playbook that creates a new role.

collection-init.yml

Initialize a new collection:

$ pwd
.../ansible_collections
$ ansible-playbook mafalb/ansible/playbooks/collection-init.yml -e collection=mafalb.squid

necessary variables

collection

author

optional variables

skeleton_path

role-init.yml

Initialize a new role inside a collection

$ pwd
.../ansible_collections/mafalb/squid/roles
$ ansible-playbook playbooks/role-init.yml -e role=mafalb.squid.testrole

Initialize a new role outside a collection

$ pwd
.../anywhere/outside/a/collection
$ ansible-playbook playbooks/role-init.yml -e role=mafalb.testrole

Mandatory variables:

role can take two formats

mafalb.collection_name.role_name for initializing inside a collection

mafalb.role_name for initializing a classic standalone role


author

Optional variables:

skeleton_path: path to skeleton defaults to a skeleton shipped with this collection

license: GPLv3 specify the license, defaults to GPLv3

License

GPLv3

ansible-collection-ansible's People

Contributors

mafalb avatar

Watchers

 avatar

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.