Let's clear the things up regarding static and dynamic inventories. This tutorial will be definitely for you if you want the clarity and the knowledge to write your own dynamic a static inventories.
Github: https://github.com/r3ap3rpy/ansibler/...
Patreon: / r3ap3rpy