Deprecated module (Ansible)

A deprecated module is an Ansible module that has been marked for removal in a future ansible-core or Collection release. Ansible prints a deprecation warning when a Playbook uses it, naming the version in which it will be removed and, usually, its replacement.

Deprecation warnings are easy to ignore because the Playbook still works. Then the removal version ships, and the Playbook fails during an upgrade or a migration to Red Hat AAP. Deprecated arguments and changed defaults cause the same problem in a less visible way.

Steampunk Spotter finds deprecated modules and arguments before execution and shows the replacement, across every Playbook. That makes upgrades plannable instead of a series of production surprises.

Deprecated modules can be found two ways: by running Playbooks and collecting the warnings, or with static checks that compare every module call with the target ansible-core and Collection versions. Static checks also find issues in Playbooks that rarely run.