Re: [ansible-project] Re: gather facts fails when inventory contains vault variable

2020-12-17 Thread Umesha A
No. As root_user and root_password On Thu, 17 Dec 2020, 11:12 Roberto Paz, wrote: > Have you stored the variables in the vault file as ?: > vault_root_user: x > vaule_root_password: y > > El miércoles, 16 de diciembre de 2020 a la(s) 12:30:25 UTC-6, > umesha...@gmail.com escribió: > >>

[ansible-project] gather facts fails when inventory contains vault variable

2020-12-16 Thread Umesha A
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 v

Re: [ansible-project] Comparing 2 nested dictionaries and print the difference

2020-12-10 Thread Umesha A
Thank you so much. On Thursday, December 10, 2020 at 3:22:58 PM UTC-5 vbo...@gmail.com wrote: > On Thu, 10 Dec 2020 11:14:05 -0800 (PST) > Umesha A wrote: > > > ... 2 nested dictionaries to compare > > This is a simple difference of (expected - actual) with com

[ansible-project] Comparing 2 nested dictionaries and print the difference

2020-12-10 Thread Umesha A
HI I have 2 nested dictionaries to compare and print their result. How can this be done ? Any thoughts ? I want to check if there are any databases and tables are missing or additonal tables are present by comparing the following 2 nested dictionaries. expected_dbs: 'database1':