mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +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
|
||||
#### Start network layout
|
||||
|
||||
- include_tasks: ifcfg_mods.yml
|
||||
- name: Redhat networking
|
||||
include_tasks: ifcfg_mods.yml
|
||||
tags:
|
||||
- network
|
||||
- network
|
||||
when: is_redhat and not installing
|
||||
|
||||
- include_tasks: NM-debian.yml
|
||||
- name: NetworkManager in use
|
||||
include_tasks: NM-debian.yml
|
||||
tags:
|
||||
- network
|
||||
- network
|
||||
when: is_debuntu and network_manager_result == "enabled"
|
||||
#and not installing
|
||||
|
||||
- include_tasks: sysd-net-debian.yml
|
||||
- name: systemd-networkd in use
|
||||
include_tasks: sysd-netd-debian.yml
|
||||
tags:
|
||||
- network
|
||||
- network
|
||||
when: is_debuntu and systemd_network_result == "enabled"
|
||||
#and not installing
|
||||
|
||||
- include_tasks: rpi_debian.yml
|
||||
- name: RPi's have dhcpcd in use
|
||||
include_tasks: rpi_debian.yml
|
||||
tags:
|
||||
- network
|
||||
- network
|
||||
when: is_debuntu and is_rpi
|
||||
#and not installing
|
||||
|
||||
- include_tasks: debian.yml
|
||||
- name: Not RPi, Not NetworkManager, Not systemd-networkd in use
|
||||
include_tasks: debian.yml
|
||||
tags:
|
||||
- network
|
||||
- network
|
||||
when: not is_rpi and network_manager_result != "enabled" and systemd_network_result != "enabled" and is_debuntu
|
||||
#and not installing
|
||||
|
||||
# this is moving
|
||||
- name: Record iiab_wan_device
|
||||
lineinfile: dest=/etc/iiab/iiab.env
|
||||
regexp='^IIAB_WAN_DEVICE=*'
|
||||
|
@ -121,7 +126,7 @@
|
|||
state=present
|
||||
when: not installing
|
||||
tags:
|
||||
- network
|
||||
- network
|
||||
|
||||
- name: Record iiab_lan_device
|
||||
lineinfile: dest=/etc/iiab/iiab.env
|
||||
|
@ -130,15 +135,15 @@
|
|||
state=present
|
||||
when: not installing
|
||||
tags:
|
||||
- network
|
||||
- network
|
||||
|
||||
#### end network layout
|
||||
- include_tasks: restart.yml
|
||||
when: not installing
|
||||
tags:
|
||||
- network
|
||||
- named
|
||||
- dhcpd
|
||||
- dnsmasq
|
||||
- squid
|
||||
- AP
|
||||
- network
|
||||
- named
|
||||
- dhcpd
|
||||
- dnsmasq
|
||||
- squid
|
||||
- AP
|
||||
|
|
Loading…
Reference in a new issue