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.
docker_server__pip_packages¶
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:
name
- Required. The name of the PyPI package to install.
version
- Optional. If specified, install the specified version of the PyPI package instead of the latest one.
state
- Optional. If not specified or
present
, the package will be installed in the Python virtualenv. Ifabsent
, the package will be removed from the Python virtualenv. path
andsrc
- Optional. If specified together, the role will create a symlink at the
path
location (should specify an absolute path) to thesrc
file or directory.
For example usage, see the default variables mentioned above.