-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible install fails on RedHat 8.9 #19
Comments
Commenting out "install_recommends" allows to got further in the build proccess |
There are no packages named python-setuptools, zlib1g, libselinux-python on RHEL 8.9 |
It looks like there are two things going on, the first being that Ansible's 'package' tool doesn't seem to support 'install_recommends' on RHEL. It should be fine to just comment that out, as you have done - it just tries to minimise how many packages are installed (mainly for building the Docker image). The second thing is that it looks like some package names have changed on RHEL, so the file
|
What is the last version of CentOS/RH you tested the build process on? |
Not sure to be honest - it was done by someone else who has since left - but it was back just before Waiwera was first released in late 2019, so I'm guessing probably CentOS 8. |
I susprised it would be CentOS 8, my bet would be CentOS 7.
I have not been further yet so there might be more. |
TASK [packages : Install build-related tools] **********************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.dnf) module: install_recommends. Supported parameters include: allow_downgrade, allowerasing, autoremove, bugfix, cacheonly, conf_file, disable_excludes, disable_gpg_check, disable_plugin, disablerepo, download_dir, download_only, enable_plugin, enablerepo, exclude, install_repoquery, install_weak_deps, installroot, list, lock_timeout, name, nobest, releasever, security, skip_broken, sslverify, state, update_cache, update_only, use_backend, validate_certs (expire-cache, pkg)."}
$ lsb_release -d
Description: Red Hat Enterprise Linux release 8.9 (Ootpa)
$ ansible --version
ansible [core 2.15.3]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/opt/ansible/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.11/site-packages/ansible
ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.11.5 (main, Sep 22 2023, 15:34:29) [GCC 8.5.0 20210514 (Red Hat 8.5.0-20)] (/usr/bin/python3.11)
jinja version = 3.1.2
libyaml = True
The text was updated successfully, but these errors were encountered: