Skip to main content
Question

Ansible - missing arguments

  • March 24, 2023
  • 4 replies
  • 337 views

Forum|alt.badge.img+1


 I have the same issue described in https://next.nutanix.com/discussion-forum-14/ansible-missing-aruments-41627
This post have 10 replies but I can’t see them.

To test,  I have written values of nutanix_host, nutanix_password, nutanix_username are directly in dem playbook. No way.

 

What is the solution ?

thanx a lot

This topic has been closed for replies.

4 replies

JoseNutanix
Nutanix Employee
Forum|alt.badge.img+5
  • Nutanix Employee
  • March 25, 2023

It shows 0 comments for me. 
 

Have a look to this file to see where those values can be included. 

https://github.com/nutanixdev/nutanix-devstation/blob/main/examples/ansible/iaas/iaas.yml


Forum|alt.badge.img+1
  • Author
  • Adventurer
  • March 30, 2023

I configured demo playbook https://www.nutanix.dev/2022/08/05/getting-started-with-the-nutanix-ansible-module/#elementor-toc__heading-anchor-5 with nutanix_host, nutanix_password and nutanix_username parameters

It always gives error : missing required arguments: nutanix_host, nutanix_password, nutanix_username

 


JoseNutanix
Nutanix Employee
Forum|alt.badge.img+5
  • Nutanix Employee
  • March 30, 2023

The steps describe in the blog post work. Not sure where the mistake is, but make sure you have the right structure for the folders and file names describe in the post.


Forum|alt.badge.img+1
  • Author
  • Adventurer
  • April 11, 2023

You are right. Thank you