Hi Mat

no_log is not existent on any task on my playbook, i think it's hard coded
in

https://github.com/ansible-collections/community.vmware/

If anyone has a work around please share...

Thanks again


On Tue, Jul 19, 2022 at 6:54 PM Matt Martz <[email protected]> wrote:

> You have to remove `no_log: true` from the task, if you don't want
> `no_log` to hide the message.
>
> On Tue, Jul 19, 2022 at 5:51 PM A.T <[email protected]> wrote:
>
>>
>> Hi Ansible peeps,
>>
>> I have this environment to automate VMware with Ansible
>>
>> Is there any way to alter this behaviour to allow the task to display
>> error, I can't seem to debug this way.
>>
>> TASK [Adding ESXi host "esxi01-mgmt-aet.ictms.lab" to vCenter . . .]
>> ***************************************************************************************************
>> *fatal: [localhost -> localhost]: FAILED! => {"censored": "the output has
>> been hidden due to the fact that 'no_log: true' was specified for this
>> result", "changed": false}*
>>
>> PLAY RECAP
>> *************************************************************************************************************************************************************
>> localhost                  : ok=0    changed=0    unreachable=0
>>  failed=1    skipped=0    rescued=0    ignored=0
>>
>> (ansible3.0) [root@lsgmsauto baremetalesxi]# pip3 list
>> Package                            Version
>> ---------------------------------- -----------
>> ansible                            3.0.0
>> ansible-base                       2.10.17
>> certifi                            2022.5.18.1
>> cffi                               1.15.0
>> chardet                            4.0.0
>> charset-normalizer                 2.0.12
>> cryptography                       37.0.2
>> idna                               3.3
>> Jinja2                             3.0.3
>> lxml                               4.9.0
>> MarkupSafe                         2.0.1
>> nsx-policy-python-sdk              3.1.5.0.0
>> nsx-python-sdk                     3.1.5.0.0
>> nsx-vmc-aws-integration-python-sdk 3.1.5.0.0
>> nsx-vmc-policy-python-sdk          3.1.5.0.0
>> packaging                          21.3
>> pip                                21.3.1
>> pycparser                          2.21
>> pyOpenSSL                          22.0.0
>> pyparsing                          3.0.9
>> python-hpilo                       4.4.3
>> pyvmomi                            7.0.3
>> PyYAML                             6.0
>> requests                           2.27.1
>> setuptools                         39.2.0
>> six                                1.16.0
>> urllib3                            1.26.9
>> vapi-client-bindings               3.8.0
>> vapi-common-client                 2.34.0
>> vapi-runtime                       2.34.0
>> vmc-client-bindings                1.59.0
>> vmc-draas-client-bindings          1.19.0
>> vSphere-Automation-SDK             1.77.0
>> --
>> Ahmed M. Ibrahim El-Tahir
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CANK-7ifz9PWYYoDC0EL6qQC_KiPLKCfD85TMW9VKNaRqVCxOKw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CANK-7ifz9PWYYoDC0EL6qQC_KiPLKCfD85TMW9VKNaRqVCxOKw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Matt Martz
> @sivel
> sivel.net
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAD8N0v_MO5s%2BXfxZn2qGY30e5Cb4KwN1fGVw0ano3iccLe%2BS7w%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAD8N0v_MO5s%2BXfxZn2qGY30e5Cb4KwN1fGVw0ano3iccLe%2BS7w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Ahmed M. Ibrahim El-Tahir
Oracle Certified Professional

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CANK-7iem9KWXOwQXA2Mn4L29qcWKJb_3REoCcsc3OJhNg3b0Mw%40mail.gmail.com.

Reply via email to