Skip to content

Build Your Own

Everything before this section is about using Ansible. This section is about extending it — writing a module when no built-in one fits, and packaging your own modules, roles, and plugins into something distributable.

Read in this order

  1. Build a Custom Module — a real, non-trivial module using AnsibleModule, with check mode, diff mode, and idempotency
  2. ArgumentSpec, Check Mode, Idempotency, and Diff — each piece of the module contract in depth
  3. Build a Collection From Zero — namespace, galaxy.yml, packaging the module above with a role, building, installing, and publishing

Next

Continue to Production Engineering.