An ansible role to configure Yggdrasil.
Variable | Default | Description |
---|---|---|
yggdrasil_generate_configuration | yes | whether the configuration should be autogenerated if missing |
yggdrasil_manage_configuration | no | whether the configuration should be rendered using other variables |
yggdrasil_config_path | /etc/yggdrasil.conf | the path where the config file should be stored |
Other variables have their names directly derived from the original names in yggdrasil config file, see defaults/main.yml for a comprehensive list.
There is not much that really needs to be set, apart from the encryption and signing keys.
- hosts: servers
vars:
yggdrasil_manage_configuration: yes
yggdrasil_public_key: def
yggdrasil_private_key: ghi
yggdrasil_listen:
- tcp://0.0.0.0:12345
yggdrasil_peers:
- tcp://my.friendly.peer.com:23456
roles:
- yggdrasil