mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
name the tasks
This commit is contained in:
parent
e83d65ea7b
commit
1775c77265
1 changed files with 24 additions and 19 deletions
|
@ -84,36 +84,41 @@
|
||||||
|
|
||||||
#### end services
|
#### end services
|
||||||
#### Start network layout
|
#### Start network layout
|
||||||
|
- name: Redhat networking
|
||||||
- include_tasks: ifcfg_mods.yml
|
include_tasks: ifcfg_mods.yml
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
when: is_redhat and not installing
|
when: is_redhat and not installing
|
||||||
|
|
||||||
- include_tasks: NM-debian.yml
|
- name: NetworkManager in use
|
||||||
|
include_tasks: NM-debian.yml
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
when: is_debuntu and network_manager_result == "enabled"
|
when: is_debuntu and network_manager_result == "enabled"
|
||||||
#and not installing
|
#and not installing
|
||||||
|
|
||||||
- include_tasks: sysd-net-debian.yml
|
- name: systemd-networkd in use
|
||||||
|
include_tasks: sysd-netd-debian.yml
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
when: is_debuntu and systemd_network_result == "enabled"
|
when: is_debuntu and systemd_network_result == "enabled"
|
||||||
#and not installing
|
#and not installing
|
||||||
|
|
||||||
- include_tasks: rpi_debian.yml
|
- name: RPi's have dhcpcd in use
|
||||||
|
include_tasks: rpi_debian.yml
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
when: is_debuntu and is_rpi
|
when: is_debuntu and is_rpi
|
||||||
#and not installing
|
#and not installing
|
||||||
|
|
||||||
- include_tasks: debian.yml
|
- name: Not RPi, Not NetworkManager, Not systemd-networkd in use
|
||||||
|
include_tasks: debian.yml
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
when: not is_rpi and network_manager_result != "enabled" and systemd_network_result != "enabled" and is_debuntu
|
when: not is_rpi and network_manager_result != "enabled" and systemd_network_result != "enabled" and is_debuntu
|
||||||
#and not installing
|
#and not installing
|
||||||
|
|
||||||
|
# this is moving
|
||||||
- name: Record iiab_wan_device
|
- name: Record iiab_wan_device
|
||||||
lineinfile: dest=/etc/iiab/iiab.env
|
lineinfile: dest=/etc/iiab/iiab.env
|
||||||
regexp='^IIAB_WAN_DEVICE=*'
|
regexp='^IIAB_WAN_DEVICE=*'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue