Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/projectpotos/ansible-role-potos_template

Role to use as template for new roles of Potos Linux Clients.
https://github.com/projectpotos/ansible-role-potos_template

ansible ansible-role potos template

Last synced: about 1 month ago
JSON representation

Role to use as template for new roles of Potos Linux Clients.

Awesome Lists containing this project

README

        

# Ansible Role - potos\_template

Role to use as template for new roles of Potos Linux Clients.

[![Test](https://github.com/projectpotos/ansible-role-potos_template/actions/workflows/test.yml/badge.svg)](https://github.com/projectpotos/ansible-role-potos_template/actions/workflows/test.yml)

## Example Playbook

As this role is tested via Molecule one can use [that
playbook](./molecule/default/converge.yml) as a starting point:

```yaml
---

- name: Converge
hosts: all
gather_facts: yes
tasks:
- name: run role
ansible.builtin.include_role:
name: 'ansible-role-potos_template'
```

## Role Variables

The default variables are defined in [defaults/main.yml](./defaults/main.yml):

```yaml
---

# Example variable
potos_template_example_var: 'hello world!'

# List of items used for action xyz
potos_template_example_list: []

```

Another option is to use `ansible-doc` to read the argument specification:

```sh
ansible-doc --type role -r . main ansible-role-potos_template
```

## Requirements

N/A

## License

See [LICENSE](./LICENSE)

## Author Information

[Project Potos](https://github.com/projectpotos)