fix the case on grep as it matters
This commit is contained in:
parent
75d1b3c715
commit
8d188f2e17
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@
|
||||||
- ifcfg
|
- ifcfg
|
||||||
|
|
||||||
- name: get interface uuid
|
- name: get interface uuid
|
||||||
shell: nmcli -f "DEVICE,UUID" c show --active | grep -E '^eth|^br|^em|^eno|^enp'
|
shell: nmcli -f "DEVICE,UUID" c show --active | grep -E '^eth|^br|^em|^eno|^enP'
|
||||||
register: if_uuid
|
register: if_uuid
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: 'if_uuid.stdout == ""'
|
failed_when: 'if_uuid.stdout == ""'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue