- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Re: Using inputs in catalog item
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 01:13 PM
07-15-2022 01:13 PM
Using inputs in catalog item
I am creating a catalog item (instance) with multiple input options. In the “ADD CATALOG ITEM” dialog,
when I get to the “Configuration Wizard” stage, it takes me to the “Create Instance” page, where I add a provisioning workflow (ansible) in the “Automation” stage. When I click “Complete”, I see the JSON output. I was wondering if it’s possible to access data from that provisioning workflow in the JSON code? I would like to replace some variables in ansible workflow with the custom inputs.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 08:48 AM
07-19-2022 08:48 AM
Re: Using inputs in catalog item
You can just use the customOptions and other variables in your ansible. Ansible — Morpheus Docs documentation
{{ morpheus['customOptions']['username'] }}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 09:00 AM
07-19-2022 09:00 AM
Re: Using inputs in catalog item
and as @mreed mentioned and wrote about, can inject the variables using command options vs setting them in playbook Morpheus 5.4.3 Ansible Enhancements