Default variable details

Some of debops.docker_server default variables have more extensive configuration than simple strings or lists, here you can find documentation and examples for them.


The docker_server__default_pip_packages and docker_server__pip_packages list variables define what PyPI packages will be installed in the Python virtualenv environment controlled by the debops.docker_server role. You can specify either package names as string, or YAML dictionaries with specific parameters:

Required. The name of the PyPI package to install.
Optional. If specified, install the specified version of the PyPI package instead of the latest one.
Optional. If not specified or present, the package will be installed in the Python virtualenv. If absent, the package will be removed from the Python virtualenv.
path and src
Optional. If specified together, the role will create a symlink at the path location (should specify an absolute path) to the src file or directory.

For example usage, see the default variables mentioned above.