- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Re: Using inputs in catalog item
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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