EvoBSD/roles/ospf/tasks/main.yml
Jérémy Dubois e29e0e9e62 Ansible-lint and yamllint again
Lot of truthy variables, indentation and trailing spaces
2020-06-01 11:37:15 +02:00

23 lines
550 B
YAML

---
- name: Deploy ospf check scripts
template:
src: "{{ item }}.j2"
dest: /usr/share/scripts/{{ item }}
with_items:
- "ospfd-check-peers.sh"
- "ospf6d-check-peers.sh"
when: group_names | select('search','ospf') | list | count > 0
tags:
- ospf
- name: Cron job for ospf check scripts is installed
cron:
name: "{{ item }} check"
job: "/bin/sh /usr/share/scripts/{{ item }}-check-peers.sh"
with_items:
- ospfd
- ospf6d
when: group_names | select('search','ospf') | list | count > 0
tags:
- ospf