aboutsummaryrefslogtreecommitdiff
path: root/tnet/bird-deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tnet/bird-deploy.yml')
-rw-r--r--tnet/bird-deploy.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/tnet/bird-deploy.yml b/tnet/bird-deploy.yml
index ed7cecf..9759c01 100644
--- a/tnet/bird-deploy.yml
+++ b/tnet/bird-deploy.yml
@@ -1,9 +1,9 @@
- hosts: tnet_bird
tasks:
- become: yes
- copy:
- dest: "/etc/bird/{{ item }}"
+ template:
src: "{{ inventory_hostname }}/{{ item }}"
+ dest: "/etc/bird/{{ item }}"
owner: bird
group: bird
mode: 0640
@@ -23,4 +23,3 @@
systemd:
name: bird
state: reloaded
-