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
|
|
|
|
|
|
|
All additional variables:
|
|
|
|
- `gandi_api_key`: gandi api key for dynamic dns
|
|
|
|
- `dma_auth`: smtp password to be used by dma
|
2020-03-25 22:48:33 -04:00
|
|
|
|
2019-08-25 14:17:20 -04:00
|
|
|
Assumes:
|
|
|
|
|
2019-12-03 23:11:20 -05:00
|
|
|
- All:
|
2019-09-02 01:29:24 -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
|
2019-08-25 14:17:20 -04:00
|
|
|
|
2019-09-02 01:29:24 -04:00
|
|
|
- ZFS server:
|
2021-07-15 15:44:37 -04:00
|
|
|
- ZFS is configured with a volume at /bigdata
|
2019-08-25 14:17:20 -04:00
|
|
|
|
2019-09-02 01:29:24 -04:00
|
|
|
- Media server:
|
2021-07-15 15:44:37 -04:00
|
|
|
- Create /media-vtluug folder ??? TODO!!
|
2019-08-25 14:17:20 -04:00
|
|
|
|
2019-09-02 01:29:24 -04:00
|
|
|
- Remote:
|
2021-07-15 15:44:37 -04:00
|
|
|
- users have already been created
|
2020-12-27 00:13:34 -05:00
|
|
|
|
2020-12-27 04:22:18 -05:00
|
|
|
- Laptop/etc:
|
2020-12-28 22:12:31 -05:00
|
|
|
- Manually configure ssh and tor
|
2020-12-27 04:22:18 -05:00
|
|
|
|
2020-12-27 00:13:34 -05:00
|
|
|
- TODO:
|
|
|
|
- fix for network-online.target debian 10 bug
|
2021-07-15 15:44:37 -04:00
|
|
|
- add samba stuff for fogcutter
|