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
2c36a629
Commit
2c36a629
authored
5 years ago
by
Luhan Cheng
Browse files
Options
Downloads
Patches
Plain Diff
fix config_repos
Former-commit-id:
a2f47ee1
parent
46f7409b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CICD/plays/allnodes.yml
+3
-2
3 additions, 2 deletions
CICD/plays/allnodes.yml
roles/config_repos/tasks/main.yml
+5
-2
5 additions, 2 deletions
roles/config_repos/tasks/main.yml
with
8 additions
and
4 deletions
CICD/plays/allnodes.yml
+
3
−
2
View file @
2c36a629
...
@@ -22,10 +22,11 @@
...
@@ -22,10 +22,11 @@
strategy
:
free
strategy
:
free
roles
:
roles
:
# - { role: disable_selinux, tags: [ disableselinux ] }
# - { role: disable_selinux, tags: [ disableselinux ] }
-
{
role
:
etcHosts
,
tags
:
[
networking
]
}
-
{
role
:
config_repos
,
tags
:
[
repos
]
}
-
{
role
:
upgrade
}
-
{
role
:
upgrade
}
-
{
role
:
set_password
}
-
{
role
:
set_password
}
-
{
role
:
etcHosts
,
tags
:
[
networking
]
}
# - { role: config_repos, tags: [ repos ] }
-
hosts
:
'
DesktopNodes,ComputeNodes,LoginNodes,ManagementNodes'
-
hosts
:
'
DesktopNodes,ComputeNodes,LoginNodes,ManagementNodes'
vars_files
:
vars_files
:
...
...
This diff is collapsed.
Click to expand it.
roles/config_repos/tasks/main.yml
+
5
−
2
View file @
2c36a629
---
---
-
name
:
make sure out repo server is resolvable
-
name
:
make sure out repo server is resolvable
lineinfile
:
dest=/etc/hosts line="118.138.244.7 consistency0"
lineinfile
:
become
:
true
dest
:
/etc/hosts
line
:
"
118.138.244.7
consistency0"
owner
:
root
group
:
root
#- name: remove default repos
#- name: remove default repos
...
...
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