parent
554df475b3
commit
386798b10d
1 changed files with 2 additions and 35 deletions
@ -1,38 +1,5 @@ |
|||||||
Ansible role for deploy node-exporter packages and services. You can add custom ports via variables bellow. |
Ansible role for deploy transmission. |
||||||
|
|
||||||
This role is developed with Ansible 2.9.6 and tested on Ubuntu 20.04 LTS. |
This role is developed with Ansible 2.15.0 and tested on Ubuntu 20.04 LTS. |
||||||
|
|
||||||
## Role Variables |
|
||||||
|
|
||||||
| Variable | Required | Default | Comments | |
|
||||||
| -------- | -------- | ------- | -------- | |
|
||||||
| `additional_ports` | No | `{}` | Add aditional ports while using this role | |
|
||||||
|
|
||||||
## Requirements |
|
||||||
|
|
||||||
Ansible.posix collection |
|
||||||
|
|
||||||
To install it, use the following command: |
|
||||||
|
|
||||||
```yaml |
|
||||||
ansible-galaxy collection install ansible.posix |
|
||||||
``` |
|
||||||
|
|
||||||
## Run node-exporter role with default settings |
|
||||||
```yaml |
|
||||||
roles: |
|
||||||
- sw-node-exporter |
|
||||||
``` |
|
||||||
|
|
||||||
## Run node-exporter role with custom variables |
|
||||||
```yaml |
|
||||||
roles: |
|
||||||
- sw-node-exporter |
|
||||||
vars: |
|
||||||
- additional_ports: |
|
||||||
- 80/tcp |
|
||||||
- 443/tcp |
|
||||||
- 25565/udp |
|
||||||
``` |
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in new issue