From dd2ed851abcea763d7d09dd446893de5c9b07eff Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Wed, 14 Apr 2021 09:18:10 +0530 Subject: [PATCH] Support FQCN in openshift inventory (#85) * Added support FQCN ``redhat.openshift`` support for inventory plugin Signed-off-by: Abhijeet Kasurde --- changelogs/fragments/fqcn_inventory.yml | 2 ++ plugins/inventory/openshift.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/fqcn_inventory.yml diff --git a/changelogs/fragments/fqcn_inventory.yml b/changelogs/fragments/fqcn_inventory.yml new file mode 100644 index 0000000..6282aec --- /dev/null +++ b/changelogs/fragments/fqcn_inventory.yml @@ -0,0 +1,2 @@ +minor_changes: +- openshift - inventory plugin supports FQCN ``redhat.openshift``. diff --git a/plugins/inventory/openshift.py b/plugins/inventory/openshift.py index b44eab3..7871bd5 100644 --- a/plugins/inventory/openshift.py +++ b/plugins/inventory/openshift.py @@ -22,7 +22,7 @@ DOCUMENTATION = ''' plugin: description: token that ensures this is a source file for the 'openshift' plugin. required: True - choices: ['openshift'] + choices: ['openshift', 'community.okd.openshift'] connections: description: - Optional list of cluster connection settings. If no connections are provided, the default