We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
make
Ansible playbook fails when role requires make module or using playbooks/main.yaml (checks all the roles).
RHEL 9 using Ansible [core 2.13.3] which does not have make module. It requires collection community.general which include make module.
community.general
# ansible --version ansible [core 2.13.3] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.9.14 (main, Nov 7 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 3.1.2 libyaml = True # ansible-galaxy collection list # /root/.ansible/collections/ansible_collections Collection Version ---------------- ------- ansible.posix 1.5.1 community.crypto 2.10.0 kubernetes.core 2.4.0 # ansible-doc make [WARNING]: module make not found in: /root/.ansible/plugins/modules:/usr/share/ansible/plugins/modules:/usr/lib/python3.9/site-packages/ansible/modules
https://www.redhat.com/en/blog/updates-using-ansible-rhel-86-and-90
As previously noted, RHEL 8.6 and RHEL 9.0 will introduce Ansible Core (ansible-core package) to replace Ansible Engine (ansible package). Ansible Core provides significantly fewer Ansible plugins and modules than Ansible Engine.
Workaround : Install collection community.general:
ansible-galaxy collection install community.general
The text was updated successfully, but these errors were encountered:
Can we add this to the README or some doc and close this issue?
Sorry, something went wrong.
I will add this in the README.
No branches or pull requests
Ansible playbook fails when role requires
make
module or using playbooks/main.yaml (checks all the roles).RHEL 9 using Ansible [core 2.13.3] which does not have
make
module. It requires collectioncommunity.general
which includemake
module.https://www.redhat.com/en/blog/updates-using-ansible-rhel-86-and-90
Workaround :
Install collection community.general:
The text was updated successfully, but these errors were encountered: