The old URL is no longer reachable, causing build failures for packer
builds.
Molecule requirement has been changed to "molecule[docker]", due
to a breaking change introduced in molecule 3.1.1, where docker was
moved out of the default module.
rpm_key blocks added for direct installs of packages in CentOS 8, as
not having these GPG keys in place is now an error condition.
Issue: IT-20979
Change-Id: I837419c2cd92f0ec19849f0a4da3ec5c36b2cb5e
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
update_cache: yes
when: ansible_distribution == 'Ubuntu'
become: true
+ - rpm_key:
+ state: present
+ key: https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8
+ when: ansible_os_family == 'RedHat'
+ become: true
- name: Install EPEL repository
yum:
name: https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm
when: ansible_distribution == 'Ubuntu' and ansible_facts['distribution_major_version'] is version('20', '<')
become: true
+# Required for direct install of parallel package from linuxsoft.cern.ch
+- rpm_key:
+ state: present
+ key: https://linuxsoft.cern.ch/cern/centos/7/os/x86_64/RPM-GPG-KEY-cern
+ when: ansible_os_family == 'RedHat'
+ become: true
+
- name: Install LF Recommended Tools
package:
name: "{{ lf_recommended_tools_packages }}"
---
-pkg_gnu_parallel: http://ftp.riken.jp/Linux/cern/centos/7/cern/x86_64/Packages/parallel-20150522-1.el7.cern.noarch.rpm
+pkg_gnu_parallel: https://linuxsoft.cern.ch/cern/centos/7/cern/x86_64/Packages/parallel-20150522-1.el7.cern.noarch.rpm
pkg_netcat: nc
pkg_perl_digest_sha: perl-Digest-SHA
pkg_perl_extutils_makemaker: perl-ExtUtils-MakeMaker
ansible~=2.9.6
ansible-lint~=4.2.0
docker
- molecule
+ molecule[docker]
pytest~=5.4.0
passenv = *
commands =
- bzip2
- fedora-packager
- findutils
- - http://ftp.riken.jp/Linux/cern/centos/7/cern/x86_64/Packages/parallel-20150522-1.el7.cern.noarch.rpm
+ - https://linuxsoft.cern.ch/cern/centos/7/cern/x86_64/Packages/parallel-20150522-1.el7.cern.noarch.rpm
- nc
- perl-Digest-SHA
- perl-ExtUtils-MakeMaker