Guidelines for playbook: Module dependencies

Intro

There are cases, where a playbook task requires a specific python module in order to run. There are two types of modules:

  • Modules installed from pip
    For example, the panos_op task requires the modules pan-python/pandevice/xmltodict

  • Modules installed from python files
    (need to copy /home/indeni/.ansible/plugins/modules)
    For example, the panos_log task requires the panos_log.py file.


Development

For testing purposes, modules will be added manually.

Before a pull request is opened, need to open a JIRA ticket in order to add the required modules to the Triton process.

 

Deployment

As part of Indeni Installation, Triton will deal with both module types.