From 325e06cdc0dbdb03cd3ec7a0c2b87433b4fb0e97 Mon Sep 17 00:00:00 2001 From: Gregor Michels Date: Tue, 10 Jan 2023 00:37:45 +0100 Subject: [PATCH] playbook_provision_gateway: add base file functionality a file in "base" will be distributed to all gateways but can still be overriden by a device specific file in $inventory_hostname. This should enable some config sharing --- playbook_provision_gateway.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbook_provision_gateway.yml b/playbook_provision_gateway.yml index ce0875e..042acab 100644 --- a/playbook_provision_gateway.yml +++ b/playbook_provision_gateway.yml @@ -22,6 +22,7 @@ group: root mode: 0600 with_fileglob: + - "templates/gateways/base/etc/config/*" - "templates/gateways/{{ inventory_hostname }}/etc/config/*" notify: - "reload {{ item | basename }}" @@ -34,6 +35,7 @@ group: root mode: 0600 with_fileglob: + - "templates/gateways/base/etc/frr/*" - "templates/gateways/{{ inventory_hostname }}/etc/frr/*" notify: - restart frr