Skip to content

Commit

Permalink
ansible: fix centos7 x64 ansible errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash Cripps committed May 12, 2021
1 parent 0bbb151 commit 87fde45
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion ansible/roles/baselayout/tasks/partials/repo/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@
- name: centos7 | install ius
when: "arch != 'arm64' and arch != 'ppc64'"
yum:
name: "https://centos{{ ansible_distribution_major_version }}.iuscommunity.org/ius-release.rpm"
name: "https://repo.ius.io/ius-release-el7.rpm"
state: present

- name: centos7 | Add CloudLinux
when: "arch != 'arm64' and arch != 'ppc64'"
yum_repository:
name: CloudLinux
description: "Source for devtoolset-6"
baseurl: https://repo.cloudlinux.com/cloudlinux/7/sclo/devtoolset-6/x86_64/
gpgcheck: no
state: present


Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/baselayout/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ packages: {
# centos-release-scl is required to enable SCLo but we do it manually in
# partials/repo/centos7.yml for arm64
centos7_arm64: ['git,python3'], # git2u not available for aarch64 (yet)
centos7_x64: ['devtoolset-6-libatomic-devel,git2u,centos-release-scl'],
centos7_x64: ['devtoolset-6-libatomic-devel,git222,centos-release-scl,python3'],
centos7_ppc64: ['cmake3,devtoolset-6-libatomic-devel,git,python3'],

centos7: [
Expand Down

0 comments on commit 87fde45

Please sign in to comment.