summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2022-05-11 11:17:30 +0200
committerJonathan Bauer2022-05-11 11:17:30 +0200
commit3584ffa562c10fe4dea0471c9f335bcff3835786 (patch)
treecb14de87acd61364ffef020cd401a043e01eb860
parentswitch to downloader-cmake-refactor (diff)
downloadansible-dracut-3584ffa562c10fe4dea0471c9f335bcff3835786.tar.gz
ansible-dracut-3584ffa562c10fe4dea0471c9f335bcff3835786.tar.xz
ansible-dracut-3584ffa562c10fe4dea0471c9f335bcff3835786.zip
CentOS-7: add deps for cmake refactor
-rw-r--r--slx-builder/tasks/distro/CentOS-7.yml51
1 files changed, 31 insertions, 20 deletions
diff --git a/slx-builder/tasks/distro/CentOS-7.yml b/slx-builder/tasks/distro/CentOS-7.yml
index 64e5656..bebcdbe 100644
--- a/slx-builder/tasks/distro/CentOS-7.yml
+++ b/slx-builder/tasks/distro/CentOS-7.yml
@@ -1,24 +1,35 @@
---
-- name: CentOS-7 | Install packages
+- name: CentOS-7 | Install default packages
yum:
- name: "{{ packages }}"
- state: latest
- update_cache: yes
- vars:
- packages:
- - kernel-devel
- - fuse-devel
- - jansson-devel
- - glib2-devel
- - pixman-devel
- - libewf-devel
- - afflib-devel
- - device-mapper
- - wget
- - systemd-networkd
- - systemd-resolved
- - kexec-tools
- - kmod-devel
- - haveged
+ name:
+ - kernel-devel
+ - glib2-devel
+ - pixman-devel
+ - libewf-devel
+ - afflib-devel
+ - fuse-devel
+ - device-mapper
+ - wget
+ - kexec-tools
+ - kmod-devel
+ - haveged
+ - cmake
+ - cmake3
+ - centos-release-scl
+ - redhat-lsb
+ state: latest
+ update_cache: yes
+ tags:
+ - always
+
+# need a second task since 'centos-release-scl' configures a new repo
+- name: CentOS-7 | Install developer toolset version 7 from SCL
+ yum:
+ name:
+ - devtoolset-7
+ - devtoolset-7-libatomic-devel
+ - llvm-toolset-7-git-clang-format
+ state: latest
+ update_cache: yes
tags:
- always