diff options
author | Chad Ferman <chadwick.ferman@gmail.com> | 2024-06-14 19:38:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 19:38:37 +0200 |
commit | 31a086b11a9bfe1047336ec3e2bac642c912da8c (patch) | |
tree | 4020e7944ad0f64b26276da16c9344e18c655596 /awx_collection | |
parent | Fix notification name search (#15231) (diff) | |
download | awx-31a086b11a9bfe1047336ec3e2bac642c912da8c.tar.xz awx-31a086b11a9bfe1047336ec3e2bac642c912da8c.zip |
Add OpenShift Virtualization Inventory source option (#15047)
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
Diffstat (limited to 'awx_collection')
-rw-r--r-- | awx_collection/plugins/modules/inventory_source.py | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/awx_collection/plugins/modules/inventory_source.py b/awx_collection/plugins/modules/inventory_source.py index 216ebce3d8..76f1d4234e 100644 --- a/awx_collection/plugins/modules/inventory_source.py +++ b/awx_collection/plugins/modules/inventory_source.py @@ -42,7 +42,8 @@ options: source: description: - The source to use for this group. - choices: [ "scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "controller", "insights", "terraform" ] + choices: [ "scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "controller", "insights", "terraform", + "openshift_virtualization" ] type: str source_path: description: @@ -170,7 +171,22 @@ def main(): # # How do we handle manual and file? The controller does not seem to be able to activate them # - source=dict(choices=["scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "controller", "insights", "terraform"]), + source=dict( + choices=[ + "scm", + "ec2", + "gce", + "azure_rm", + "vmware", + "satellite6", + "openstack", + "rhv", + "controller", + "insights", + "terraform", + "openshift_virtualization", + ] + ), source_path=dict(), source_vars=dict(type='dict'), enabled_var=dict(), |