1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

typos/tweaks in detected_network.yml

This commit is contained in:
A Holt 2017-11-10 11:39:20 -05:00 committed by GitHub
parent 340f425456
commit 2a1b18d8ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,25 +15,25 @@
device_gw: "{{ discovered_wan_iface }}"
when: ansible_default_ipv4.gateway is defined
- name: RedHat network detection
- name: Red Hat network detection (redhat)
include_tasks: detected_redhat.yml
when: is_redhat
- name: check to see if dhcpcd is installed and active - Can Fail
- name: Check to see if dhcpcd is installed and active - Can Fail
shell: systemctl is-enabled dhcpcd
register: dhcpcd_test
ignore_errors: True
- name: setting dhcpcd_test results
- name: Setting dhcpcd_test results
set_fact:
dhcpcd_result: "{{ dhcpcd_test.stdout }}"
- name: check /etc/network/interfaces for gateway
- name: Check /etc/network/interfaces for gateway
shell: grep {{ device_gw }} /etc/network/interfaces | wc -l
when: is_debuntu
register: wan_file
- name: setting wan_in_interfaces
- name: Setting wan_in_interfaces
set_fact:
wan_in_interfaces: True
when: is_debuntu and wan_file.stdout|int >= 0
@ -105,7 +105,7 @@
ignore_errors: True
changed_when: false
- name: Calulate number of LAN interfaces including WiFi
- name: Calculate number of LAN interfaces including WiFi
set_fact:
num_lan_interfaces: "{{ num_lan_interfaces_result.stdout|int }}"
@ -166,7 +166,7 @@
iiab_lan_iface: "{{ iiab_wireless_lan_iface }}"
when: iiab_wireless_lan_iface is defined and nobridge is defined
- name: in VM disable LAN - needs local_vars entry to activate
- name: In VM disable LAN - needs local_vars entry to activate
set_fact:
iiab_lan_iface: none
no_net_restart: True