Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/projectpotos/ansible-role-potos_template
- Owner: projectpotos
- License: gpl-3.0
- Created: 2022-10-31T10:25:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-16T19:55:33.000Z (6 months ago)
- Last Synced: 2024-11-11T00:11:53.127Z (3 months ago)
- Topics: ansible, ansible-role, potos, template
- Language: Jinja
- Homepage: https://potos.dev
- Size: 189 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
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)