From b55a0996201be5ab7727d7254932bcf483ba4e09 Mon Sep 17 00:00:00 2001 From: Pablo Hess Date: Wed, 23 Aug 2023 16:20:47 -0300 Subject: [PATCH] Clarify that the license module requires fetching subs prior (#14351) Co-authored-by: Pablo N. Hess --- awx_collection/plugins/modules/license.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/awx_collection/plugins/modules/license.py b/awx_collection/plugins/modules/license.py index ed9b937274..06f02a821d 100644 --- a/awx_collection/plugins/modules/license.py +++ b/awx_collection/plugins/modules/license.py @@ -52,7 +52,12 @@ EXAMPLES = ''' license: manifest: "/tmp/my_manifest.zip" -- name: Attach to a pool +- name: Use the subscriptions module to fetch subscriptions from Red Hat or Red Hat Satellite + subscriptions: + username: "my_satellite_username" + password: "my_satellite_password" + +- name: Attach to a pool (requires fetching subscriptions at least once before) license: pool_id: 123456