Code Monkey home page Code Monkey logo

ansible-role-skeleton's Introduction

Skeleton for Ansible Roles

This is a skeleton for creating ansible roles according to [Ansible Playbooks Best Practices Directory Layout] (https://docs.ansible.com/ansible/latest/playbooks_best_practices.html#directory-layout).

Tasks:

  • Task 1
  • Task 2
  • Task 3

This role supportes following remote hosts:

  • ubuntu
  • etc

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development.

Prerequisites

You will need following software/roles to use it:

Ansible
Give examples

Installing

Clone the skeleton into your ansible role folder.

git clone https://github.com/ohdearaugustin/ansible-role-skeleton

And modify it as you need it.

Usage

If you want to apply this variables to a host group create a file group_vars/your-group.yml e.g. Replace your-group with the host group name which you created in the Ansible hosts file (do not confuse with /etc/hosts...).

Role Variables

This paragraph will explain the used variables of the role. Following Variables are used by the Role:

example_var1: example1
example_var2: example2

Following represent the default values for specfic variables:

example_var1: default_value1
example_var2: default_value2

These variables have to been, otherwise the role won't be functional.

example_var1: example1
example_var2: example2

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone who's code was used
  • Inspiration
  • etc

ansible-role-skeleton's People

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.