Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-factory
Manage
Activity
Members
Labels
Plan
Issues
61
Issue boards
Milestones
Wiki
Code
Merge requests
11
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
rc
hpc-factory
Commits
3fe956c8
Commit
3fe956c8
authored
1 year ago
by
Eesaan Atluri
Browse files
Options
Downloads
Patches
Plain Diff
Add role to install LBNL Node Health Check tool
parent
6ba43b6a
No related branches found
Branches containing commit
No related tags found
2 merge requests
!63
Fix compute and GPU img builds
,
!57
Feat install nhc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/install_nhc/tasks/main.yml
+36
-0
36 additions, 0 deletions
ansible/roles/install_nhc/tasks/main.yml
with
36 additions
and
0 deletions
ansible/roles/install_nhc/tasks/main.yml
0 → 100644
+
36
−
0
View file @
3fe956c8
---
-
name
:
Download the rpm
ansible.builtin.get_url
:
url
:
"
{{
nhc_download_url
}}"
dest
:
"
{{
nhc_download_path
}}"
-
name
:
Clone the NHC config repo
ansible.builtin.git
:
repo
:
"
{{
nhc_git_repo
}}"
dest
:
"
{{
nhc_git_repo_path
}}"
-
name
:
Install NHC
ansible.builtin.yum
:
name
:
"
{{
nhc_download_path
}}"
state
:
latest
-
name
:
Create test files to ensure that a file on GPFS is readable
ansible.builtin.file
:
path
:
"
{{
item
}}"
state
:
touch
loop
:
-
/data/.nhc-test
-
/scratch/.nhc-test
-
name
:
Copy config files
ansible.builtin.copy
:
src
:
"
{{
nhc_git_repo_path
}}/{{
item.src
}}"
dest
:
"
{{
item.dest
}}"
owner
:
root
group
:
root
mode
:
'
0644'
remote_src
:
true
loop
:
-
{
src
:
'
nhc/nhc.conf'
,
dest
:
'
/etc/nhc/'
}
-
{
src
:
'
nhc/nhc.etc.sysconfig'
,
dest
:
'
/etc/sysconfig/nhc/'
}
This diff is collapsed.
Click to expand it.
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