Check Mode (“Dry Run”) — Ansible Documentation
docs.ansible.com › ansible › 2Dec 01, 2020 · The --diff option to ansible-playbook works great with --check (detailed above) but can also be used by itself. When this flag is supplied, if any templated files on the remote system are changed, and the ansible-playbook CLI will report back the textual changes made to the file (or, if used with --check, the changes that would have been made).
ansible-playbook — Ansible Documentation
docs.ansible.com › cli › ansible-playbookDec 21, 2021 · --syntax-check perform a syntax check on the playbook, but do not execute it--vault-id the vault identity to use--vault-password-file,--vault-pass-file vault password file--version show program’s version number, config file location, configured module search path, module location, executable location and exit-C,--check