mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 06:51:10 +03:00
Fix CloudForms enabled & id variable names
On Cloudforms (Version 2.0 at least), the dictionary that gets passed to the inventory_import has a top-level 'cloudforms' dictionary element that contains the 'id' and 'power_state' rather than those elements being at the top-level of the dictionary. This change adds in the 'cloudforms' into the expected name.
This commit is contained in:
parent
1899795d08
commit
079abc162f
@ -834,12 +834,12 @@ SATELLITE6_GROUP_PATTERNS = ["{app}-{tier}-{color}", "{app}-{color}", "{app}", "
|
||||
# ---------------------
|
||||
# ----- CloudForms -----
|
||||
# ---------------------
|
||||
CLOUDFORMS_ENABLED_VAR = 'power_state'
|
||||
CLOUDFORMS_ENABLED_VAR = 'cloudforms.power_state'
|
||||
CLOUDFORMS_ENABLED_VALUE = 'on'
|
||||
CLOUDFORMS_GROUP_FILTER = r'^.+$'
|
||||
CLOUDFORMS_HOST_FILTER = r'^.+$'
|
||||
CLOUDFORMS_EXCLUDE_EMPTY_GROUPS = True
|
||||
CLOUDFORMS_INSTANCE_ID_VAR = 'id'
|
||||
CLOUDFORMS_INSTANCE_ID_VAR = 'cloudforms.id'
|
||||
|
||||
# ---------------------
|
||||
# ----- Custom -----
|
||||
|
Loading…
Reference in New Issue
Block a user