Check mode for a tasks in converge.yml in molecule #537
Unanswered
Kritika-Bhateja-03
asked this question in
Q&A
Replies: 1 comment
-
Since I've run into this page on my quest to figure out the same thing, here is what I figured out... Putting the following lines in provisioner:
name: ansible
options:
check: true This is documented in the molecule documentation, but it is not necessarily obvious - https://ansible.readthedocs.io/projects/molecule/configuration/#provisioner The key is the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have written a role and proceeding with testing it using molecule.
I want to run my converge.yml in check mode. I tried below options but not working -
scenario:
name: default
test_sequence:
Passed "check" in test sequence but didnt work out for me.
provisioner:
name: ansible
config_options:
defaults:
check_mode: true
This also dint work for me.
If anyone could suggest way out for this.
Beta Was this translation helpful? Give feedback.
All reactions