Ok,i do use variable and i am able to find out which one is causing issue, now question is from ansible-facts output how can i remove some key, value pairs.
The documentation for the setup module ( https://docs.ansible.com/ansible/latest/modules/setup_module.html#setup-module ) has a few options for this. you can use “gather_subset” or the “filter” arguments to gather specific pieces of information. I’m not sure, from just your description, what elements you are trying to access. Do you want just 1 value? When you say you want to remove some values, do you mean that you want to remove these values and display all of the other values? Or are you trying to only use the values you want to remove? If you have a playbook snippet to post along with the question it may go a long way towards being able to help.