Hi,
When running in with the --check mode flag, Ansible sets a magic variable ansible_check_mode to true.
Should it be possible to also set it to true using an extra var like:
ansible-playbook -i inventories/Dev playbook.yml -e 'ansible_check_mode=true' ?
I tried setting it with the extra var and it did not turn on check mode.
My intended use-case is as part of a Jenkins job that has a checkbox parameter that toggles check mode.