aboutsummaryrefslogtreecommitdiff
path: root/tnet/bird-gen.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tnet/bird-gen.yml')
-rw-r--r--tnet/bird-gen.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tnet/bird-gen.yml b/tnet/bird-gen.yml
new file mode 100644
index 0000000..4a3e19d
--- /dev/null
+++ b/tnet/bird-gen.yml
@@ -0,0 +1,11 @@
+- name: Generate Bird configuration
+ hosts: tnet
+ connection: local
+ gather_facts: False
+ tasks:
+ - file:
+ path: files/{{ inventory_hostname }}
+ state: directory
+ - template:
+ src: bird.conf.j2
+ dest: files/{{ inventory_hostname }}/bird.conf