Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.05 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.05 KB

Role Name

An ansible role to configure Yggdrasil.

Role Variables

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.

Example Playbook

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_private_key: ghi
    yggdrasil_listen:
      - tcp://0.0.0.0:12345
    yggdrasil_peers:
      - tcp://my.friendly.peer.com:23456
  roles:
     - yggdrasil