Skip to content

Commit 62778b3

Browse files
committed
tidy slurm_tools
1 parent 6c390cf commit 62778b3

File tree

3 files changed

+6
-32
lines changed

3 files changed

+6
-32
lines changed
Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,12 @@
1-
stackhpc.slurm_openstack_tools.pytools
1+
slurm_tools
22
=========
33

4-
Installs python-based tools from https://github.com/stackhpc/slurm-openstack-tools.git into `/opt/slurm-tools/bin/`.
5-
6-
Requirements
7-
------------
4+
Install python-based tools from https://github.com/stackhpc/slurm-openstack-tools.git into `/opt/slurm-tools/bin/`.
85

96
Role Variables
107
--------------
118

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).
13-
`pytools_gitref`: Optional. Git branch, version, commit etc to install. Default `master`.
14-
`pytools_user`: User to install as. Default `root`.
15-
16-
Dependencies
17-
------------
18-
None.
19-
20-
Example Playbook
21-
----------------
22-
23-
- hosts: compute
24-
tasks:
25-
- import_role:
26-
name: stackhpc.slurm_openstack_tools.pytools
27-
28-
29-
License
30-
-------
31-
32-
Apache-2.0
33-
34-
Author Information
35-
------------------
36-
9+
- `pytools_editable`: Optional bool. Whether to install the package using `pip`'s
10+
editable mode (installing source to `/opt/slurm-tools/src`). Default `false`.
11+
- `pytools_gitref`: Optional. Git branch/tag/commit etc to install. Default `master`.
12+
- `pytools_user`: Optional user to install as. Default `root`.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
# defaults file for pytools
32
pytools_editable: false
43
pytools_gitref: master
54
pytools_user: root

ansible/roles/slurm_tools/tasks/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@
3131
state: latest
3232
become: true
3333
become_user: "{{ pytools_user }}"
34-
# become_flags: -H #'-s /bin/bash' # as has shell specified as /sbin/nologin

0 commit comments

Comments
 (0)