March 2019
Intermediate to advanced
412 pages
9h 49m
English
Since the early days of its existence, Ansible has supported check mode, a mode of operation that will pretend to make changes to a system without actually changing the system. Check mode is useful for testing whether a change will actually happen, or whether a system state has drifted since the last Ansible run. Check mode depends on modules to support it and return data as if it had actually completed the change. Supporting check mode in our module requires two changes; the first is to indicate that the module supports check mode, and the second is to detect when check mode is active and return data before execution.
Read now
Unlock full access