From bf1bd4f75c2f2993b25a6310a7fc72ada5eb87a0 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 ed9b9372747a..06f02a821dce 100644 --- a/awx_collection/plugins/modules/license.py +++ b/awx_collection/plugins/modules/license.py @@ -52,7 +52,12 @@ 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