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:
commit
029838344c
1 changed files with 9 additions and 2 deletions
11
README.md
11
README.md
|
@ -3,7 +3,7 @@
|
||||||
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
|
||||||
|
@ -29,11 +29,18 @@ ansible-vault edit group_vars/all/vault
|
||||||
## 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.
|
||||||
|
|
Loading…
Reference in a new issue