Fix ending up with no link on WAN interface.
This commit is contained in:
parent
3059ba0cd6
commit
c06aa6e519
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
- name: restart networking
|
||||
systemd: name=networking state=restarted enabled=yes
|
||||
listen: restart networking
|
||||
command: ifup {{ if_lan }}
|
||||
listen: "bring up LAN interface"
|
||||
when: not run_in_installer|default(false)|bool
|
||||
|
||||
- name: start firewalld
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
template:
|
||||
src: interfaces-static.j2
|
||||
dest: /etc/network/interfaces.d/static
|
||||
notify: "restart networking"
|
||||
notify: "bring up LAN interface"
|
||||
|
||||
- name: install firewalld package
|
||||
apt: name=firewalld state=latest
|
||||
|
|
Loading…
Add table
Reference in a new issue