remove unused file, add inventory conditional
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
create_inventory: false
|
create_inventory: true
|
||||||
|
|
||||||
run_stage_two: false
|
run_stage_two: false
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
# Create new inventory file
|
# Create new inventory file
|
||||||
- name: create inventory file
|
- name: create inventory file
|
||||||
|
when: create_inventory | bool
|
||||||
block:
|
block:
|
||||||
- name: get bridge IP
|
- name: get bridge IP
|
||||||
shell: ip -o -4 ad li | grep {{ bridge_name }} | awk '{print $4}' | cut -d '/' -f 1
|
shell: ip -o -4 ad li | grep {{ bridge_name }} | awk '{print $4}' | cut -d '/' -f 1
|
||||||
|
|||||||
Reference in New Issue
Block a user