On 11.05.2018 22:42, js.a wrote:
Ok guys, I got the point "--check doesn't make any changes to the
system"
after making more tests with tasks coupling (Task2 relies on previous
executed Task1), --check mode will never work for these cases.
Therefore, i
will change my test pipeline to discard dry-run mode which has been
thought
to do a "Functional test".
An alternative to make check work involves some code changes.
You have "check_mode: no" to make a task run in check_mode.
You can also check if Ansible run in check mode to skip some task,
"when: not ansible_check_mode"
--
Kai Stian Olstad
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/ca0c25e17a1499486e12459f15cbf5a9%40olstad.com.
For more options, visit https://groups.google.com/d/optout.