Enabling or disabling check mode for Ansible tasks
There are two options:
- Force a task to run in check mode, even when the playbook is called without
--check
. This is calledcheck_mode: yes
. - Force a task to run in normal mode and make changes to the system, even when the playbook is called with
--check
. This is calledcheck_mode: no
.
Comments
Post a Comment