mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
run netplan.yml if Ubuntu 18.04 or higher
This commit is contained in:
parent
c1c467fc43
commit
0682b03931
1 changed files with 9 additions and 8 deletions
|
@ -100,42 +100,43 @@
|
||||||
- name: Redhat networking
|
- name: Redhat networking
|
||||||
include_tasks: ifcfg_mods.yml
|
include_tasks: ifcfg_mods.yml
|
||||||
when: is_redhat
|
when: is_redhat
|
||||||
#and not installing
|
#and not installing
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
|
|
||||||
- name: Netplan in use on Ubuntu 18
|
- name: Netplan in use on Ubuntu 18.04+
|
||||||
include_tasks: netplan.yml
|
include_tasks: netplan.yml
|
||||||
when: is_ubuntu_18
|
when: is_ubuntu and not is_ubuntu_16
|
||||||
#and not installing
|
#when: is_ubuntu_18
|
||||||
|
#and not installing
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
|
|
||||||
- name: NetworkManager in use
|
- name: NetworkManager in use
|
||||||
include_tasks: NM-debian.yml
|
include_tasks: NM-debian.yml
|
||||||
when: is_debuntu and network_manager_active
|
when: is_debuntu and network_manager_active
|
||||||
#and not installing
|
#and not installing
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
|
|
||||||
- name: systemd-networkd in use
|
- name: systemd-networkd in use
|
||||||
include_tasks: sysd-netd-debian.yml
|
include_tasks: sysd-netd-debian.yml
|
||||||
when: is_debuntu and systemd_networkd_active
|
when: is_debuntu and systemd_networkd_active
|
||||||
#and not installing
|
#and not installing
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
|
|
||||||
- name: RPi's have dhcpcd in use
|
- name: RPi's have dhcpcd in use
|
||||||
include_tasks: rpi_debian.yml
|
include_tasks: rpi_debian.yml
|
||||||
when: is_debuntu and is_rpi
|
when: is_debuntu and is_rpi
|
||||||
#and not installing
|
#and not installing
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
|
|
||||||
- name: Not RPi, Not NetworkManager, Not systemd-networkd in use
|
- name: Not RPi, Not NetworkManager, Not systemd-networkd in use
|
||||||
include_tasks: debian.yml
|
include_tasks: debian.yml
|
||||||
when: (not is_rpi and not network_manager_active and not systemd_networkd_active and is_debuntu) or is_ubuntu_16
|
when: (not is_rpi and not network_manager_active and not systemd_networkd_active and is_debuntu) or is_ubuntu_16
|
||||||
#and not installing
|
#and not installing
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue