Skip to content
Snippets Groups Projects
Commit 6ad59da4 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Merge branch 'feat-paramterize-centos-repos' into 'main'

FEAT: paramaterize centos repos

See merge request rc/hpc-factory!205
parents 971a0bdd cd4a3038
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......@@ -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 }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment