Merge "Fix the DHCP validations"
This commit is contained in:
@@ -13,8 +13,10 @@
|
||||
groups:
|
||||
- pre-introspection
|
||||
tasks:
|
||||
- name: Install python-virtualenv
|
||||
package: name=python-virtualenv state=present
|
||||
- name: Install scapy
|
||||
pip: name=scapy state=present virtualenv=/tmp/validations-venv
|
||||
pip: name=scapy version=2.3.2 state=present virtualenv=/tmp/validations-venv
|
||||
- name: Look up the introspection interface
|
||||
ini: path=/etc/ironic-inspector/inspector.conf section=firewall key=dnsmasq_interface
|
||||
register: interface
|
||||
|
||||
@@ -18,7 +18,9 @@
|
||||
hiera: name="tripleo_undercloud_conf_file"
|
||||
- name: Gather undercloud.conf values
|
||||
undercloud_conf: undercloud_conf_path={{ tripleo_undercloud_conf_file }}
|
||||
- name: Install python-virtualenv
|
||||
package: name=python-virtualenv state=present
|
||||
- name: Install scapy
|
||||
pip: name=scapy state=present virtualenv=/tmp/validations-venv
|
||||
pip: name=scapy version=2.3.2 state=present virtualenv=/tmp/validations-venv
|
||||
- name: Look for DHCP responses
|
||||
script: files/rogue_dhcp.py {{ undercloud_conf.DEFAULT.local_interface|default('eth1') }}
|
||||
|
||||
Reference in New Issue
Block a user