Ansible configuration for the Netz39 infrastructure
Alexander Dahl
e29311c4ed
When working on !54 it became obvious playbooks could be structured better in this project. Therefor we move the tasks supposed to be run for _all_ hosts to a separate file. The *main.yml* file should only import other playbooks from now on, should not define tasks anymore. |
||
---|---|---|
roles | ||
templates | ||
.editorconfig | ||
.yamllint | ||
all.yml | ||
inventory.yml | ||
krypton.yml | ||
main.yml | ||
oganesson.yml | ||
platon.yml | ||
pottwal.yml | ||
proxmox.yml | ||
radon.yml | ||
README.md | ||
requirements.yml | ||
tau.yml | ||
unicorn.yml |
Ansible configuration for the Netz39 infrastructure
This call lists all hosts defined in the inventory:
ansible -i inventory.yml all --list-hosts
Setup
ansible-galaxy install -r requirements.yml
Call with
ansible-playbook -i inventory.yml --ask-vault-pass main.yml
You need to provide a user with sudo rights and the vault password.