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
|
- name: restart networking
|
||||||
systemd: name=networking state=restarted enabled=yes
|
command: ifup {{ if_lan }}
|
||||||
listen: restart networking
|
listen: "bring up LAN interface"
|
||||||
when: not run_in_installer|default(false)|bool
|
when: not run_in_installer|default(false)|bool
|
||||||
|
|
||||||
- name: start firewalld
|
- name: start firewalld
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
template:
|
template:
|
||||||
src: interfaces-static.j2
|
src: interfaces-static.j2
|
||||||
dest: /etc/network/interfaces.d/static
|
dest: /etc/network/interfaces.d/static
|
||||||
notify: "restart networking"
|
notify: "bring up LAN interface"
|
||||||
|
|
||||||
- name: install firewalld package
|
- name: install firewalld package
|
||||||
apt: name=firewalld state=latest
|
apt: name=firewalld state=latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue