configurations-ansible/roles/yggdrasil/tasks/update_peers.yml

14 lines
429 B
YAML
Raw Normal View History

- name: Update yggdrasil.conf with peers
replace:
path: /etc/yggdrasil.conf
regexp: '\bPeers:\s*((?:(?!\bPeers\b).|\n)+?)\](?!:)'
replace: '
Peers: [\n
\t tls://[2001:470:1f13:e56::64]:39575 \n
\t tls://s2.i2pd.xyz:39575 \n
\t tls://51.255.223.60:54232 \n
\t tls://45.147.198.155:6010 \n
\t tls://gutsche.tech:8889 \n
\t tls://ygg.mkg20001.io:443 \n
]'