From 95386d60755059e980a4cb722bf45e69b0c68514 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 17 Apr 2018 15:01:00 +0530 Subject: [PATCH] Correct module name in vcenter_license.py (#37672) (#37728) Module name should be vcenter_license not vmware_license. (cherry picked from commit 0214a8538235c42a3a77131b1d43643e571fca40) Signed-off-by: Abhijeet Kasurde --- changelogs/fragments/vcenter_license.yaml | 2 ++ lib/ansible/modules/cloud/vmware/vcenter_license.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/vcenter_license.yaml diff --git a/changelogs/fragments/vcenter_license.yaml b/changelogs/fragments/vcenter_license.yaml new file mode 100644 index 00000000000..ab40fe8094f --- /dev/null +++ b/changelogs/fragments/vcenter_license.yaml @@ -0,0 +1,2 @@ +minor_changes: +- Updated example in vcenter_license module. diff --git a/lib/ansible/modules/cloud/vmware/vcenter_license.py b/lib/ansible/modules/cloud/vmware/vcenter_license.py index e324b667d62..8cef1d5b992 100644 --- a/lib/ansible/modules/cloud/vmware/vcenter_license.py +++ b/lib/ansible/modules/cloud/vmware/vcenter_license.py @@ -70,7 +70,7 @@ EXAMPLES = r''' delegate_to: localhost - name: Remove an (unused) vCenter license - vmware_license: + vcenter_license: hostname: '{{ vcenter_hostname }}' username: '{{ vcenter_username }}' password: '{{ vcenter_password }}'