Files
ansible-role-ubuntu_pro/README.md
T

44 lines
910 B
Markdown

# Ansible Role : ubuntu_pro
An Ansible Role that registers host on [Ubuntu Pro](https://ubuntu.com/pro).
## Requirements
This role uses [Role Argument Validation](https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#role-argument-validation) introduced with **Ansible 2.11**.
Ubuntu Pro is only available for every **Ubuntu LTS releases from 16.04 LTS**.
## Roles Variables
The only mandatory variable for this role is `ubuntu_pro_token`.
```yaml
ubuntu_pro_token: <ubuntu_pro_token>
```
## Dependencies
None.
## Example Playbook
`ansible-playbook -i inventory.ini -e ubuntu_pro_token=<your_token> ubuntu_pro.yml`
with `ubuntu_pro.yml` :
```yaml
# ubuntu_pro.yml
- hosts: ubuntu_servers
roles:
- sebthebert.ubuntu_pro
```
## License
MIT / BSD
## Author Information
This role was created in October 2022 by [Sebastien Thebert](https://github.com/sebthebert).