Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
75d04efa
Commit
75d04efa
authored
7 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
update the hpcsystems role to include the naggy_quota cronjob and update the tools via pip
parent
55e2e3c7
No related branches found
No related tags found
1 merge request
!127
update the hpcsystems role to include the naggy_quota cronjob and update the tools via pip
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/hpcsystems/tasks/main.yml
+22
-7
22 additions, 7 deletions
roles/hpcsystems/tasks/main.yml
with
22 additions
and
7 deletions
roles/hpcsystems/tasks/main.yml
+
22
−
7
View file @
75d04efa
...
...
@@ -6,6 +6,7 @@
-
openldap-devel
-
python-pip
-
git
-
python-virtualenv
become
:
true
become_user
:
root
when
:
ansible_os_family == "RedHat"
...
...
@@ -19,21 +20,26 @@
become_user
:
root
when
:
ansible_os_family == "Debian"
-
name
:
install merypytools
pip
:
name
:
"
git+https://gitlab.erc.monash.edu.au/hpc-team/mercpytools.git#egg=mercpytools"
extra_args
:
"
--upgrade"
become
:
true
become_user
:
root
-
name
:
create install dir
file
:
name={{ item }} state=directory owner={{ ansible_user }}
with_items
:
-
"
/usr/local/hpcsystem"
-
"
/usr/local/hpcsystem_config"
-
"
/usr/local/virtualenvs/mercpytools"
become
:
true
become_user
:
root
-
name
:
upgrade pip
pip
:
virtualenv
:
"
/usr/local/virtualenvs/mercpytools"
name
:
"
pip"
extra_args
:
"
--upgrade"
-
name
:
install mercpytools
pip
:
virtualenv
:
"
/usr/local/virtualenvs/mercpytools"
name
:
"
git+https://gitlab.erc.monash.edu.au/hpc-team/mercpytools.git#egg=mercpytools"
extra_args
:
"
--upgrade"
-
name
:
install hpcsystem
git
:
...
...
@@ -46,3 +52,12 @@
repo
:
git@gitlab.erc.monash.edu.au:hpc-team/m3_hpcsystem_config.git
dest
:
/usr/local/hpcsystem_config
accept_hostkey
:
True
-
name
:
cron job to check quotas
cron
:
name
:
"
Naggy
quota
cron
job"
value
:
'
/usr/local/hpcsystem/naggy_quota.sh'
hour
:
16
minute
:
23
become
:
true
become_user
:
root
This diff is collapsed.
Click to expand it.
Chris Hines
@chines
mentioned in commit
1336e777
·
4 years ago
mentioned in commit
1336e777
mentioned in commit 1336e77721d407e5b8e06c513de03a8a76001c70
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment