- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Accessing command options in ansible tasks
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 12:19 PM
07-15-2022 12:19 PM
Accessing command options in ansible tasks
I’m developing workflows that use ansible tasks to provision a launched VM. In the Create Instance dialog, I get the the Automation stage, and when I select my workflow, a field pops up for each Ansible task that says “Command Options”
I can’t find anything in the docs that explains what format to use here enter data, or how to access that data in ansible when I do. Can anyone point me in the right direction?
- Tags:
- Ansible
- automation

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2022 08:02 AM
11-22-2022 08:02 AM
Re: Accessing command options in ansible tasks
If this field actually worked (hint: it doesn’t), then you would enter arguments here exactly as you would if you were running the ‘ansible-playbook’ command on the command line. You could ad-hoc add verbosity with ‘-vvv’ or add an extravar with ‘-e myvar=myvalue’ or other things.
Again, that’s IF this worked at invocation time, but right now it seems to completely ignore these arguments. You CAN enter these arguments in the same field in the underlying task, but ad-hoc at time of invocation is broken.