blob: 3e9f1500e7e5f930f3b29e92594c519eb6dc6d65 [file] [log] [blame]
Hyunsun Moonc49a8642020-11-11 14:58:47 -08001---
2# bird tasks/main.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7- name: include OS-specific vars
8 include_vars: "{{ ansible_os_family }}.yml"
9
10- name: include OS-specific tasks
11 include_tasks: "{{ ansible_os_family }}.yml"
12
13- name: Create BIRD configuration from template
14 template:
15 src: "bird.conf.j2"
16 dest: "/etc/bird/bird.conf"
17 owner: "{{ bird_username }}"
18 group: "{{ bird_groupname }}"
19 mode: 0640
20 notify:
21 - reload-bird