support ovirt4 as a built-in inventory source

see: https://github.com/ansible/ansible-tower/issues/6522
This commit is contained in:
Ryan Petrello
2017-10-10 14:38:44 -04:00
committed by Matthew Jones
parent 4510cd11db
commit 74f2509482
11 changed files with 394 additions and 3 deletions
+10
View File
@@ -821,6 +821,16 @@ OPENSTACK_HOST_FILTER = r'^.+$'
OPENSTACK_EXCLUDE_EMPTY_GROUPS = True
OPENSTACK_INSTANCE_ID_VAR = 'openstack.id'
# ---------------------
# ----- oVirt4 -----
# ---------------------
OVIRT4_ENABLED_VAR = 'status'
OVIRT4_ENABLED_VALUE = 'up'
OVIRT4_GROUP_FILTER = r'^.+$'
OVIRT4_HOST_FILTER = r'^.+$'
OVIRT4_EXCLUDE_EMPTY_GROUPS = True
OVIRT4_INSTANCE_ID_VAR = 'id'
# ---------------------
# ----- Foreman -----
# ---------------------