21 lines
339 B
Python
21 lines
339 B
Python
if node.os == 'arch':
|
|
filename = '/etc/bird.conf'
|
|
else:
|
|
filename = '/etc/bird/bird.conf'
|
|
|
|
files = {
|
|
filename: {
|
|
'content_type': 'mako',
|
|
'triggers': {
|
|
'svc_systemd:bird:reload',
|
|
},
|
|
},
|
|
}
|
|
|
|
svc_systemd = {
|
|
'bird': {
|
|
'needs': {
|
|
f'file:{filename}',
|
|
},
|
|
},
|
|
}
|