Blog
Thoughts on engineering, design, and building great products.
Extending Ansible: Filter, Lookup, and C...
DevOpsAnsible
Extending Ansible: Filter, Lookup, and Callback Plugins
Modules extend the work done on the host; plugins extend Ansible itself, running on the control node. This article: filter plugins (transform data in Jinja2), lookup plugins (fetch external data), callback plugins (customize output), and the module vs plugin distinction.
K
KaiMay 23, 2026· 11 viewsWriting a Custom Module in Python
DevOpsAnsible
Writing a Custom Module in Python
Deep dive: write your own Ansible module in Python. Understand AnsibleModule, argument_spec, exit_json/fail_json, supporting check_mode, and the pattern for achieving idempotency. This is where the mechanism from Article 1 (shipping a module over SSH) comes full circle.
K
KaiMay 23, 2026· 14 views