21 lines
664 B
YAML
21 lines
664 B
YAML
---
|
|
# this file included in a loop, called seperately for each community
|
|
# => configure fastd for one community here
|
|
# make a difference between gates an meshing-only servers
|
|
# hash describing community expected as "mf_com"; also expected: "f_ssh_keyfile"
|
|
|
|
- name: ensure fastd config dir - {{mf_com.abbreviation}}
|
|
file: path=/etc/fastd/{{mf_com.abbreviation}}VPN/peers
|
|
state=directory mode=0750
|
|
|
|
#- debug: var=mf_com
|
|
|
|
#- debug: var=f_ssh_keyfile
|
|
|
|
- name: include either gate ...
|
|
include: mwu-m-fastd-com-g.yml
|
|
when: fastd_config == 'gate'
|
|
|
|
- name: ... or meshing-only style
|
|
include: mwu-m-fastd-com-o.yml
|
|
when: fastd_config == 'meshing-only'
|