Hii

On Tue, 27 Jul 2021 at 21:29, Vikram S <vikramsunda...@gmail.com> wrote:

> When i run the script with -vvvv option, below is what is displayed for the 
> TASK which creates custom variable. Unfortunately, i  don't have the option 
> to provide the difference in the data sets as i uninstalled ansible and did a 
> fresh installation hoping that may fix this issue. So whatever info i had 
> seen earlier is lost.

So, the installation procedure you've chosen is getting in the way.
>From terms like "Uninstalling", "fresh installation" etc I take it
that you are using some OS package manager to install ansible/python.
In order to diagnose potential differences between ansible versions,
you should have two environments that ONLY differ in their ansible
version.
I found that python virtualenvs are a great way to do this. They allow
you to have multiple ansible versions next to each other, potentially
multiplied by whatever python version(s) you might have (for example
through pyenv).
So, my suggestion is to set up two virtualenvs with the ansible
versions you suspect differ, and then run the exact same
playbook/inventory/etc, and then compare output.
See 
https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-and-upgrading-ansible-with-pip

Dick

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMpqPUJRFUMcYEvBJnfigU_K0tSBZ_s7bRXvDm648amUg%40mail.gmail.com.

Reply via email to