mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update detected_redhat.yml
This commit is contained in:
parent
394a308d72
commit
4986aef070
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
has_ifcfg_gw: "{{ item|trim }}"
|
has_ifcfg_gw: "{{ item|trim }}"
|
||||||
when: ifcfg_gw_device.stdout_lines is defined and item|trim != "" and item|trim != "/etc/sysconfig/network-scripts/ifcfg-LAN"
|
when: ifcfg_gw_device.stdout_lines is defined and item|trim != "" and item|trim != "/etc/sysconfig/network-scripts/ifcfg-LAN"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ ifcfg_gw_device.stdout_lines }}"
|
- "{{ ifcfg_gw_device.stdout_lines }}"
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
|
||||||
# returns path
|
# returns path
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
has_wifi_gw: "{{ item|trim }}"
|
has_wifi_gw: "{{ item|trim }}"
|
||||||
when: ifcfg_WAN_wifi.changed and item|trim != ""
|
when: ifcfg_WAN_wifi.changed and item|trim != ""
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ ifcfg_WAN_wifi.stdout_lines }}"
|
- "{{ ifcfg_WAN_wifi.stdout_lines }}"
|
||||||
|
|
||||||
- name: Finding device for WiFi AP gateway - Can Fail
|
- name: Finding device for WiFi AP gateway - Can Fail
|
||||||
shell: egrep -rn DEVICE /etc/sysconfig/network-scripts/{{ has_wifi_gw }} | gawk -F '=' '{print $2}'
|
shell: egrep -rn DEVICE /etc/sysconfig/network-scripts/{{ has_wifi_gw }} | gawk -F '=' '{print $2}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue