As we have established in previous chapters, managing a text-based inventory can be a pain. There are chances that a manually managed inventory can consist of stale data that can impact our applications. Ansible provides dynamic inventory to address this.
Ansible's GitHub repository has scripts for various infrastructure providers, including a script for DigitalOcean (https://github.com/ansible/ansible/blob/devel/contrib/inventory/digital_ocean.py).