I am testing version compatibility with molecule and for the combination
python 3.8 x ansible latest x debian
molecule breaks in the instance creation step with
TASK [Wait for instance(s) creation to complete] *******************************
FAILED - RETRYING: Wait for instance(s) creation to complete (300 retries left).
failed: [localhost] (item=None) => {"attempts": 2, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
fatal: [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=6 changed=3 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
https://travis-ci.com/ckaserer/ansible-role-example/jobs/256557752
In order to debug further, I need to set the no_log: false
.
Any ideas on how to set no_log to true for molecule's own internal playbooks?
I tried with MOLECULE_DEBUG
, but that did not do the trick.
Searching molecule's doc did not give any results either.
running molecule with
molecule --debug test
also does not set the molecule playbook variable for no_log to false
no_log: true
butno_log: false
. In your current context, this is normally done by using the--debug
option to molecule (see example for ansible provisionner and docker drivercreate.yml
playbook). I use this every day almost without problems. I suggest you retry and investigate why it does not work as expected on your installation. – Afterpiecemolecule --debug test
that still does not show me the details that I need. travis-ci.com/ckaserer/ansible-role-example/jobs/257811789 – DecorousMOLECULE_NO_LOG
. at least not in molecule, version 2.22 – Decorousdebug
andno_log
.no_log
should only be used to mask sensitive data and is not affected by thedebug
flag in molecule. – Decorousmolecule.yml
file, underprovisioner:
addlog: true
will give you more output. – Lester