pvc-ansible/roles/pvc/tasks/frr.yml

24 lines
371 B
YAML
Raw Normal View History

2023-09-01 15:42:19 -04:00
---
- name: install frr packages
apt:
name:
- frr
state: latest
- name: install frr configuration
template:
src: frr/{{ item }}.j2
dest: /etc/frr/{{ item }}
with_items:
- daemons
- frr.conf
notify: restart frr
ignore_errors: true
- name: disable services
service:
name: "{{ item }}"
enabled: no
with_items:
- frr