AETHER-918 Initial commit of BIRD role
Change-Id: I00d3d893c2c571bb69aac3580f27e26afa0313fb
diff --git a/tasks/main.yml b/tasks/main.yml
new file mode 100644
index 0000000..3e9f150
--- /dev/null
+++ b/tasks/main.yml
@@ -0,0 +1,21 @@
+---
+# bird tasks/main.yml
+#
+# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
+# SPDX-License-Identifier: Apache-2.0
+
+- name: include OS-specific vars
+ include_vars: "{{ ansible_os_family }}.yml"
+
+- name: include OS-specific tasks
+ include_tasks: "{{ ansible_os_family }}.yml"
+
+- name: Create BIRD configuration from template
+ template:
+ src: "bird.conf.j2"
+ dest: "/etc/bird/bird.conf"
+ owner: "{{ bird_username }}"
+ group: "{{ bird_groupname }}"
+ mode: 0640
+ notify:
+ - reload-bird