Merge pull request 'docs: add command to verify changes' (!112) from add-verification-docs into master

Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/112
This commit is contained in:
Stefan Haun 2022-11-12 15:43:51 +01:00
commit 029838344c

View file

@ -3,7 +3,7 @@
This call lists all hosts defined in the inventory:
```bash
ansible -i inventory.yml all --list-hosts
ansible all --list-hosts
```
## Setup
@ -29,11 +29,18 @@ ansible-vault edit group_vars/all/vault
## Call with
```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.
## Verify Changes
```bash
ansible-lint main.yml
ansible-playbook --ask-vault-pass main.yml --check --diff
```
## HTTPS ingress configuration
HTTPS ingress is controlled by the server [holmium](https://wiki.netz39.de/admin:servers:holmium) and forwarded to the configured servers.