Question

Ansible - missing arguments

  • 24 March 2023
  • 4 replies
  • 227 views

Badge +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 comments

4 replies

Userlevel 4
Badge +5

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

Badge +1

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

 

Userlevel 4
Badge +5

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.

Badge +1

You are right. Thank you