netz39-infra-ansible/README.md
Alexander Dahl 9f3d91bd1c readme: Remove host list
This list has proven to be hard to maintain (not because it is
especially difficult, but people simply tend to forget it).  So we give
some hints instead now and avoid duplicate information.

Suggested-by: Stefan Haun <tux@netz39.de>
References: !55
2022-07-24 16:49:35 +02:00

19 lines
382 B
Markdown

# Ansible configuration for the Netz39 infrastructure
This call lists all hosts defined in the inventory:
```bash
ansible -i inventory.yml all --list-hosts
```
## Setup
```bash
ansible-galaxy install -r requirements.yml
```
## Call with
```bash
ansible-playbook -i inventory.yml --ask-vault-pass main.yml
```
You need to provide a user with sudo rights and the vault password.