add 'pro config' feature
This commit is contained in:
1 parent
2a6201bdfa
commit
3de1cd1c9b
5 files changed
+113
-6
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Ansible Role : ubuntu_pro
|
||||
|
||||
An Ansible Role that registers host on [Ubuntu Pro](https://ubuntu.com/pro).
|
||||
An Ansible Role that registers and configures host with [Ubuntu Pro](https://ubuntu.com/pro).
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -10,11 +10,25 @@ 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`.
|
||||
The only mandatory variable is `ubuntu_pro_token`.
|
||||
|
||||
```yaml
|
||||
ubuntu_pro_token: <ubuntu_pro_token>
|
||||
```
|
||||
| Variable | Description | Type | Mandatory | Default Value |
|
||||
|--------------------------------------------|----------------------------------|--------|-----------|---------------|
|
||||
| `ubuntu_pro_token` | Ubuntu Pro token | String | YES | None |
|
||||
||||||
|
||||
| `ubuntu_pro_config.http_proxy` | HTTP Proxy | String | NO | None |
|
||||
| `ubuntu_pro_config.http_proxy` | HTTPS Proxy | String | NO | None |
|
||||
| `ubuntu_pro_config.apt_http_proxy` | APT HTTP Proxy | String | NO | None |
|
||||
| `ubuntu_pro_config.apt_https_proxy` | APT HTTPS Proxy | String | NO | None |
|
||||
| `ubuntu_pro_config.ua_apt_http_proxy` | UA APT HTTP Proxy | String | NO | None |
|
||||
| `ubuntu_pro_config.ua_apt_https_proxy` | UA APT HTTPS Proxy | String | NO | None |
|
||||
| `ubuntu_pro_config.gloabl_apt_http_proxy` | Global APT HTTP Proxy | String | NO | None |
|
||||
| `ubuntu_pro_config.global_apt_https_proxy` | Global APT HTTPS Proxy | String | NO | None |
|
||||
| `ubuntu_pro_config.update_messaging_timer` | Update Messaging Timer | Int | NO | `21600` |
|
||||
| `ubuntu_pro_config.update_status_timer` | Update Status Timer | Int | NO | `43200` |
|
||||
| `ubuntu_pro_config.metering_timer` | Metering Timer | Int | NO | `14400` |
|
||||
|
||||
You can find more information about `ubuntu_pro_config.*` variables on [Ubuntu Pro Client README](https://github.com/canonical/ubuntu-advantage-client#readme).
|
||||
|
||||
## Dependencies
|
||||
|
||||
@@ -41,4 +55,4 @@ MIT / BSD
|
||||
|
||||
## Author Information
|
||||
|
||||
This role was created in October 2022 by [Sebastien Thebert](https://github.com/sebthebert).
|
||||
This role was created in October 2022 by [Sebastien Thebert](https://github.com/sebthebert).
|
||||
Reference in new issue
Block a user