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
983701eb
Commit
983701eb
authored
5 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
moving unpriviliged user handling of ansible to test stage only
parent
e948d83b
No related branches found
No related tags found
2 merge requests
!310
Gpu2
,
!304
Gpu
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
CICD/ansible.cfg
+0
-2
0 additions, 2 deletions
CICD/ansible.cfg
with
3 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
2
View file @
983701eb
...
...
@@ -108,13 +108,13 @@ ansible_create_cluster_stage:
-
echo "ansible_create_cluster_stage"
-
bash -x ./CICD/ansible_create_cluster_script.sh
-
cd CICD
-
ansible-playbook -i files/inventory.$STACKNAME --key-file ../gc_key.pem --skip-tags
monitoring
master_playbook.yml
-
ansible-playbook -i files/inventory.$STACKNAME --key-file ../gc_key.pem --skip-tags
SiteSpecific
master_playbook.yml
-
sleep
15
-
echo uglyuglyfix
-
ansible -i files/inventory.$STACKNAME --key-file ../gc_key.pem -b -a "systemctl restart slurmdbd" ManagementNodes
-
sleep
60
-
echo do it again
-
ansible-playbook -i files/inventory.$STACKNAME --key-file ../gc_key.pem --skip-tags
monitoring
master_playbook.yml
-
ansible-playbook -i files/inventory.$STACKNAME --key-file ../gc_key.pem --skip-tags
SiteSpecific
master_playbook.yml
tests
:
...
...
@@ -134,6 +134,7 @@ tests:
-
grep -qv "I could not find any resouces tagged with project_name:" ./files/inventory.$STACKNAME
#fail if inventory file is empty
-
ansible -m ping -i files/inventory.$STACKNAME --key-file ../gc_key.pem all
-
ansible -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "sudo ls" all
-
echo -e '[defaults]\r\nallow_world_readable_tmpfiles = True' > ansible.cfg
# Need to find a better check for sinfo
#- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "find /opt/ -name sinfo -type f" ManagementNodes
#- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "find /opt/ -name squeue -type f" ManagementNodes
...
...
This diff is collapsed.
Click to expand it.
CICD/ansible.cfg
deleted
100644 → 0
+
0
−
2
View file @
e948d83b
[defaults]
allow_world_readable_tmpfiles
=
True
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
3c4f7435
·
4 years ago
mentioned in commit
3c4f7435
mentioned in commit 3c4f743548d13da828e3752bc6786573a66a77ce
Toggle commit list
Andreas Hamacher
@handreas
mentioned in commit
377e69d7
·
4 years ago
mentioned in commit
377e69d7
mentioned in commit 377e69d7663ebcd6eb56f5f98b87f8f178283033
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