Creating a decision environment
Similar to execution environments (EEs), which you learned about in Chapter 13, Ansible follows suit in the EDA architecture by supporting decision environments (DEs). The concepts of the DE are nearly identical to what was explained about EEs, with the main difference being the Ansible dependencies needed inside the container to run a rulebook versus a playbook. They’re intended to be a fully packaged containerized environment that holds all your dependencies to execute a given rulebook, which includes system packages, Python libraries, and Ansible collections.
Unlike in the AWX chapter (Chapter 13), where you reused an existing EE, in this chapter, you will use a custom DE that has our dependencies packaged appropriately. The key dependencies are the Python library (pynautobot), the Ansible collection (nautobot-ansible), and the default EDA-specific dependencies (such as the ansible-rulebook executable).
Since the creation of EEs and...