1
0
Fork 0
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:
Jerry Vonau 2017-11-22 22:57:38 -06:00
parent e83d65ea7b
commit 1775c77265

View file

@ -84,36 +84,41 @@
#### end services
#### Start network layout
- include_tasks: ifcfg_mods.yml
- name: Redhat networking
include_tasks: ifcfg_mods.yml
tags:
- network
when: is_redhat and not installing
- include_tasks: NM-debian.yml
- name: NetworkManager in use
include_tasks: NM-debian.yml
tags:
- 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
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
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
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=*'