You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installs python-based tools from https://github.com/stackhpc/slurm-openstack-tools.git into `/opt/slurm-tools/bin/`.
5
-
6
-
Requirements
7
-
------------
4
+
Install a python package into a venv.
8
5
9
6
Role Variables
10
7
--------------
8
+
-`pytools_python_package`: Optional. Name of `dnf` python package to use. Default `python3`.
9
+
-`pytools_venv_path`: Required. Path to install at, e.g. `/opt/mytool`.
10
+
-`pytools_venv_command`: Optional. Command to run to create venv. Default uses the `pytools_python_package` python's `venv` module.
11
+
-`pytools_pip_name`: Required. Name or URL of python package to install, passed to [ansible.builtin.pip:name](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/pip_module.html#parameter-name).
12
+
-`pytools_editable`: Optional. Whether to install the package using `pip`'s editable mode (installing source to `{{ pytools_venv_path/src }}`). Bool, default `false`.
13
+
-`pytools_user`: Optional. User to install as. Default `root`.
11
14
12
-
`pytools_editable`: Optional. Whether to install the package using `pip`'s editable mode (installing source to `/opt/slurm-tools/src`) - `true` or `false` (default).
0 commit comments