scripts/ansible
Paul Walko 6951498b63 add dnsmasq 2021-07-17 11:12:23 -04:00
..
files lots o updates 2021-07-15 15:45:20 -04:00
templates add dnsmasq 2021-07-17 11:12:23 -04:00
README.md lots o updates 2021-07-15 15:45:20 -04:00
handlers.yml add dnsmasq 2021-07-17 11:12:23 -04:00
hosts.cfg lots o updates 2021-07-15 15:45:20 -04:00
main.yml add dnsmasq 2021-07-17 11:12:23 -04:00

README.md

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