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

View file

@ -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=*'