Skip to content

Commit

Permalink
ansible: name for git package differs on centos7
Browse files Browse the repository at this point in the history
When trying to ansible test-rackspace-centos7-x64-1 I found that it
can't install git, because that's 1.8, and it has git216 installed.
So, git can't be shared by all centos7 platforms, the name differs, move
into a more specific package list.

PR-URL: #2262
  • Loading branch information
sam-github committed Apr 9, 2020
1 parent bec0ae2 commit fa08ea2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ansible/roles/baselayout/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@ packages: {
'ccache,git2u,gcc-c++,devtoolset-6,sudo', # even need gcc on centos6 so ccache has symlinks
],

# centos-release-scl is required to enable SCLo but we do it manually in
# partials/repo/centos7.yml for arm64
centos7_arm64: ['git'], # git2u not available for aarch64 (yet)
centos7_x64: ['git2u','centos-release-scl',], # centos-release-scl is required to enable SCLo
# but we do it manually in partials/repo/centos7.yml for arm64
centos7_x64: ['git2u,centos-release-scl'],
centos7_ppc64: ['git'],

centos7: [
'bzip2-devel,openssl-devel,ccache,gcc-c++,devtoolset-6,sudo,git,devtoolset-6-libatomic-devel,zlib-devel,libffi-devel,devtoolset-8,devtoolset-8-libatomic-devel',
'bzip2-devel,openssl-devel,ccache,gcc-c++,devtoolset-6,sudo,devtoolset-6-libatomic-devel,zlib-devel,libffi-devel,devtoolset-8,devtoolset-8-libatomic-devel',
],

aix: [
Expand Down

0 comments on commit fa08ea2

Please sign in to comment.