15 lines
431 B
YAML
15 lines
431 B
YAML
---
|
|
- name: Get the path of tripleo undercloud config file
|
|
hiera: name="tripleo_undercloud_conf_file"
|
|
|
|
- name: Gather undercloud.conf values
|
|
validations_read_ini:
|
|
path: "{{ tripleo_undercloud_conf_file }}"
|
|
section: DEFAULT
|
|
key: local_interface
|
|
ignore_missing_file: true
|
|
register: local_interface
|
|
|
|
- name: Look for DHCP responses
|
|
script: files/rogue_dhcp.py {{ local_interface.value|default('eth1', true) }}
|