Error: When upgrading from Automation Platform 2.0 or prior, either automationhub_api_token or generate_automationhub_token must be specified.
Issue
-
Getting error while upgrading Automation hub using AAP2.2 bundle.
TASK [ansible.automation_platform_installer.preflight : Preflight check - Ensure hub token option is set on upgrade from 2.0 or prior] *** skipping: [node] => {"changed": false, "skip_reason": "Conditional result was False"} skipping: [node] => {"changed": false, "skip_reason": "Conditional result was False"} skipping: [node] => {"changed": false, "skip_reason": "Conditional result was False"} fatal: [node]: FAILED! => {"changed": false, "msg": "When upgrading from Automation Platform 2.0 or prior, either automationhub_api_token or generate_automationhub_token must be specified"}
Environment
- Automation Hub
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.