387f3bbf6b
* add list of legacy gateways (temporarily) * change backend-scripts branch to ansible * Role server-basic: ensure ffmwu config directory is present * Role service-fastd: add fastd-status script * role service-fastd-mesh: add templating for fastd peer limit configuration
30 lines
550 B
YAML
30 lines
550 B
YAML
---
|
|
- name: install fastd packages
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items:
|
|
- fastd
|
|
- git
|
|
|
|
- name: mask legacy service fastd
|
|
systemd:
|
|
name: fastd
|
|
masked: yes
|
|
|
|
- name: write systemd unit fastd@.service
|
|
template:
|
|
src: fastd@.service.j2
|
|
dest: /etc/systemd/system/fastd@.service
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
notify: reload systemd
|
|
|
|
- name: copy fastd status script
|
|
copy:
|
|
src: fastd-status
|
|
dest: /usr/local/bin/fastd-status
|
|
owner: root
|
|
group: root
|
|
mode: 0755
|