Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-factory
Manage
Activity
Members
Labels
Plan
Issues
75
Issue boards
Milestones
Wiki
Code
Merge requests
13
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
6ad59da4
Commit
6ad59da4
authored
4 weeks ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Plain Diff
Merge branch 'feat-paramterize-centos-repos' into 'main'
FEAT: paramaterize centos repos See merge request
!205
parents
971a0bdd
cd4a3038
No related branches found
No related tags found
1 merge request
!205
FEAT: paramaterize centos repos
Pipeline
#14392
passed with stage
in 1 hour, 58 minutes, and 12 seconds
Changes
2
Pipelines
7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/group_vars/all
+3
-0
3 additions, 0 deletions
ansible/group_vars/all
ansible/roles/fix_centos_repo/tasks/main.yaml
+1
-1
1 addition, 1 deletion
ansible/roles/fix_centos_repo/tasks/main.yaml
with
4 additions
and
1 deletion
ansible/group_vars/all
+
3
−
0
View file @
6ad59da4
...
...
@@ -89,3 +89,6 @@
node_exporter_user: node_exporter
node_exporter_group: node_exporter
node_exporter_port: 9100
# CentOS Repo
centos_base_url: "http://vault.centos.org"
This diff is collapsed.
Click to expand it.
ansible/roles/fix_centos_repo/tasks/main.yaml
+
1
−
1
View file @
6ad59da4
...
...
@@ -15,6 +15,6 @@
ansible.builtin.replace
:
path
:
"
{{
item
}}"
regexp
:
'
^#baseurl=http://mirror.centos.org'
replace
:
'
baseurl=
http://vault.centos.org
'
replace
:
'
baseurl=
{{
centos_base_url
}}
'
backup
:
yes
with_items
:
"
{{
repo_files.stdout_lines
}}"
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