scripts/ansible/README.md

20 lines
705 B
Markdown
Raw Permalink Normal View History

2021-07-15 15:44:37 -04:00
Usage:
```
export GANDI_API_KEY=mykey
ansible-playbook main.yml -i hosts.cfg --extra-vars "gandi_api_key=$GANDI_API_KEY" --limit=cabinet
```
2020-12-31 12:48:53 -05:00
2023-09-06 11:03:54 -04:00
Additional variables:
- `gandi_api_key`: gandi api key for dynamic dns (only for hosts with non-static IPs)
- `dma_auth`: smtp password to be used by dma (for sending mail)
2019-08-25 14:17:20 -04:00
Assumes:
2023-09-06 11:03:54 -04:00
- OS (Debian) has been installed and IPs have been configured in hosts.cfg
- Host is already trusted via ssh and can be ssh'd into using keys
- Passwordless sudo is enabled for the user ansible uses
- ZFS and Docker already already configured on applicable hosts
- Special mounts such as /media-vtluug already have their folder created.
- Any additional users have been created