gather facts fails when inventory contains vault variable

Hi All,

With the following inventory file, gather facts gives error. The inventory file has root_password which is defined in vault and I am passing vault-id in command line. Any ideas ? I am able to access the root_password and root_user within playbook, so there is no issue with vault-id parameter.

Thanks for your help,
Umesha.

Inventory file:

Have you stored the variables in the vault file as ?:
vault_root_user: xxxxx
vaule_root_password: yyyyy

No. As
root_user and root_password