Dynamic inventory: do not set network_interface
The same variable is used in Bifrost for a different purpose. Change-Id: I3c9023a428314a83c0627496a7c488814efd837b
This commit is contained in:
parent
72b267e90d
commit
5821a662f5
@ -316,6 +316,11 @@ def main():
|
||||
if len(groups[group]['hosts']) == 0:
|
||||
del groups[group]
|
||||
|
||||
# FIXME(dtantsur): there is a conflict between the Bifrost's and the node's
|
||||
# network_interface. Drop the node's one for now.
|
||||
for host, items in hostvars.items():
|
||||
items.pop('network_interface', None)
|
||||
|
||||
# General Data Conversion
|
||||
|
||||
inventory = {'_meta': {'hostvars': hostvars}}
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes the Bifrost inventory plugin to not set the ``network_interface``
|
||||
variable since it conflicts with the Bifrost's variable with a different
|
||||
meaning.
|
Loading…
Reference in New Issue
Block a user