Now configuring magic-router as well

This commit is contained in:
2021-11-12 00:36:16 +01:00
parent a306d9e56c
commit 35590f4e59
6 changed files with 70 additions and 7 deletions

View File

@@ -7,4 +7,12 @@
template:
src: templates/netplan.yaml
dest: /etc/netplan/00-static.yaml
notify: netplanapply
notify: netplanapply
when: ansible_host != "magic-router"
- name: "install static config for magic router"
copy:
src: files/magic_router_netplan.yaml
dest: /etc/netplan/00-static.yaml
notify: netplanapply
when: ansible_host == "magic-router"