archf / ansible-common

Ansible meta role to perform basic configuration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-common

A meta role to perform basic configuration.

Ansible requirements

Ansible version

Minimum required ansible version is 2.2.

Ansible role dependencies

  • packages
  • openssh-server
  • accounts
  • ntpd

Installation

Install with Ansible Galaxy

ansible-galaxy install archf.common

Basic usage is:

- hosts: all
  roles:
    - role: archf.common

Install with git

If you do not want a global installation, clone it into your roles_path.

git clone git@github.com:archf/ansible-common.git /path/to/roles_path

But I often add it as a submdule in a given playbook_dir repository.

git submodule add git@github.com:archf/ansible-common.git <playbook_dir>/roles/common

As the role is not managed by Ansible Galaxy, you do not have to specify the github user account.

Basic usage is:

- hosts: all
  roles:
  - role: common

User guide

This is a meta role to perform basic configuration. It contains no tasks and its sole purpose is to tie together the roles listed as dependencies below.

License

MIT.

Author Information

Felix Archambault.


Please do not edit this file. This role README.md was generated using the 'ansidoc' python tool available on pypi!

Installation:

pip3 install ansidoc

Basic usage:

Validate output by running a dry-run (will output result to stdout)

ansidoc --dry-run <rolepath>

Generate you role readme file. Will write a README.md file under <rolepath>/README.md.

ansidoc <rolepath>

Also usable programatically from Sphinx.

About

Ansible meta role to perform basic configuration.