A template for an ansible role which configures some GNU/Linux subsystem or service. A brief description of the role goes here.
Any pre-requisites that may not be covered by Ansible itself or the role should
be mentioned here. For instance, if the role uses the EC2 module, it may be a
good idea to mention in this section that the boto
package is required.
A description of all input variables (i.e. variables that are defined in
defaults/main.yml
) for the role should go here as these form an API of the
role.
Variables that are not intended as input, like variables defined in
vars/main.yml
, variables that are read from other roles and/or the global
scope (ie. hostvars, group vars, etc.) can be also mentioned here but keep in
mind that as these are probably not part of the role API they may change during
the lifetime.
Example of setting the variables:
template_foo: "oof"
template_bar: "baz"
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: all
vars:
template_foo: "foo foo!"
template_bar: "progress bar"
roles:
- linux-system-roles.template
Whenever possible, please prefer MIT.
An optional section for the role authors to include contact information, or a website (HTML is not allowed).