Running Ansible Programmatically Learn how to use Python to add dynamic inventory, variables and get more control over how you use Ansible! The Use Case I've recently had a need to run Ansible programmatically. In this case, I was spinning up EC2 servers for potential customers of what usually is an on-premise application. These servers are used for trials, but can easily be turned into a paid-for