| Argument | Description | Values |
|---|---|---|
|
A hostname, a list of hostnames, or a group the playbook is run against. |
Hostname, list of hostnames, or group |
|
(device_role) Overwrites the |
Device role name |
|
(false, true) Runs all upgrades defined in the various roles. |
|
|
(false, true) Skips installs and most time-costly operations (never interferes with |
|
|
(false, "true", "redeploy", "purge", "backup", "only", "stop") Deploys the VM or CT from the stats given in NetBox. If |
|
|
(undefined, role name) Skips non-vital tasks from all other roles (useful for debugging). |
|
|
(false, true) Allows optional serial execution of the roles. |
|
|
(false, true) Prohibits the restoration of the guest on failures. |
|
| Argument | Description | Values |
|---|---|---|
|
(false, int) Set for each role in its vars; determines the port of the role’s dedicated Prometheus exporter. |
|
|
(false, true) Skips the guest setup and only updates the Prometheus configuration on the target host. |
|
| Argument | Description | Values |
|---|---|---|
|
(false, true) Whether the node should be drained or not. |
|
|
(false, true) Whether the node should be undrained or not. |
|
|
(string) If set, allows the node to join the cluster defined in NetBox. |
String value |
| Argument | Description | Values |
|---|---|---|
|
(false, true) Adds the local SSH key from |
|
ansible-playbook playbooks/generic-playbook.yml -e "target=semaphore"
ansible-playbook playbooks/generic-playbook.yml -e "target=semaphore upgrade=true"