docs: add command to verify changes

This commit is contained in:
David Kilias 2022-11-11 20:28:59 +01:00
parent 0f11db3f64
commit 865901f86d

View file

@ -3,21 +3,30 @@
This call lists all hosts defined in the inventory: This call lists all hosts defined in the inventory:
```bash ```bash
ansible -i inventory.yml all --list-hosts ansible all --list-hosts
``` ```
## Setup ## Setup
```bash ```bash
ansible-galaxy install -r requirements.yml ansible-galaxy install -r requirements.yml
``` ```
## Call with ## Call with
```bash ```bash
ansible-playbook -i inventory.yml --ask-vault-pass main.yml ansible-playbook --ask-vault-pass main.yml
``` ```
You need to provide a user with sudo rights and the vault password. You need to provide a user with sudo rights and the vault password.
## Verify Changes
```bash
ansible-lint main.yml
ansible-playbook --ask-vault-pass main.yml --check --diff
```
## HTTPS ingress configuration ## HTTPS ingress configuration
HTTPS ingress is controlled by the server [holmium](https://wiki.netz39.de/admin:servers:holmium) and forwarded to the configured servers. HTTPS ingress is controlled by the server [holmium](https://wiki.netz39.de/admin:servers:holmium) and forwarded to the configured servers.