scripts/ansible/README.md

34 lines
798 B
Markdown

Usage:
```
export GANDI_API_KEY=mykey
ansible-playbook main.yml -i hosts.cfg --extra-vars "gandi_api_key=$GANDI_API_KEY" --limit=cabinet
```
All additional variables:
- `gandi_api_key`: gandi api key for dynamic dns
- `dma_auth`: smtp password to be used by dma
Assumes:
- All:
- 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 server:
- ZFS is configured with a volume at /bigdata
- Media server:
- Create /media-vtluug folder ??? TODO!!
- Remote:
- users have already been created
- Laptop/etc:
- Manually configure ssh and tor
- TODO:
- fix for network-online.target debian 10 bug
- add samba stuff for fogcutter