Advanced Playbooks Features

As you write more playbooks and roles, you might have some special use cases. For example, you may want to execute “dry runs” of your playbooks (Validating tasks: check mode and diff mode), ask playbook users to supply information (Interactive input: prompts), retrieve information from an external datastore or API (Lookup Plugins), or change the way Ansible handles failures (Error handling in playbooks). The topics listed on this page cover these use cases and many more. If you cannot achieve your goals with basic Ansible concepts and actions, browse through these topics for help with your use case.