Skip to content

Commit

Permalink
ansible: fix up release-centos6
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Mar 26, 2020
1 parent cf54d9c commit a9408eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ansible/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ hosts:
ubuntu1604-armv7l-2: {ip: 212.47.234.107}

- softlayer:
centos6-x64-1: {ip: 169.62.77.228}
centos6-x64-1: {ip: 50.97.245.10}



Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/baselayout/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
when: "os == 'centos6'"
yum:
disable_gpg_check: true
name: "devtoolset-2-gcc,devtoolset-2-gcc-c++"
name: "devtoolset-2-gcc,devtoolset-2-gcc-c++,devtoolset-2-binutils"
state: present

- name: remove fortune from login shells
Expand Down
7 changes: 6 additions & 1 deletion ansible/roles/baselayout/tasks/partials/repo/centos6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

- name: centos6 | install ius
yum:
name: "https://centos{{ ansible_distribution_major_version }}.iuscommunity.org/ius-release.rpm"
name: "https://repo.ius.io/ius-release-el{{ ansible_distribution_major_version }}.rpm "
state: present

- name: centos6 | install scl for devtoolset-6
yum:
name: centos-release-scl
state: present

- name: centos6 | install devtoolset-2 repo
Expand Down

0 comments on commit a9408eb

Please sign in to comment.