Skip to content
Snippets Groups Projects
Commit c136cd29 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

config repos should be more robust with ubuntu

parent 40ed5108
No related branches found
No related tags found
1 merge request!293Ubuntu
......@@ -105,7 +105,7 @@ build_cluster_cicd:
- openstack stack list
- bash -x ./CICD/heat/heatcicdwrapper.sh create_or_update $STACKNAME
after_script:
- sleep 30 # artifically wait a bit to give the nodes time to boot
- sleep 20 # artifically wait a bit to give the nodes time to boot
# only:
# changes: #https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges
# - "heat/*HOT*.yaml"
......
......@@ -6,7 +6,7 @@
line: "118.138.244.7 consistency0"
owner: root
group: root
when: ansible_os_family == 'RedHat'
#- name: remove default repos
# file:
......@@ -39,10 +39,12 @@
- monashhpc_base.repo
- monashhpc_others.repo
- epel.repo
when: ansible_os_family == 'RedHat'
- name: get enabled repos
#shell: yum repolist | grep -v "repo id" | grep -v "Loaded plugins" | head -n -1 | cut -f 1 -d '/' | sed -s 's/\!//'
shell: yum repolist all | grep enabled | cut -f 1 -d '/' | sed -s 's/\!//'
when: ansible_os_family == 'RedHat'
register: repolist
check_mode: no
changed_when: False
......@@ -55,6 +57,7 @@
become: true
become_user: root
ignore_errors: true
when: ansible_os_family == 'RedHat'
#- name: Enable epel
......
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