installation problem (Error Enabling powertools Repository in Ansible Playbook ) #2
thenveerpk
started this conversation in
General
Replies: 1 comment
-
Hello, Our Ansible roles are not tested on an enterprise system like RHEL8. We recommend using Oracle Linux or Rocky Linux, which are tested and supported if possible. The error is probably caused by different naming of the Regards |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m encountering an error while running the prepare_machine.sh script, specifically during the task that enables the powertools repository on a CentOS/Rocky Linux 8 system.
Here are the details:
TASK [repository_crb : PowerTools repository is enabled (CentOS/Rocky/etc. 8)] ****************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["dnf", "config-manager", "--set-enabled", "powertools"], "delta": "0:00:06.665597", "end": "2025-01-29 15:46:10.749458", "msg": "non-zero return code", "rc": 1, "start": "2025-01-29 15:46:04.083861", "stderr": "Error: No matching repo to modify: powertools.", "stderr_lines": ["Error: No matching repo to modify: powertools."], "stdout": "Updating Subscription Management repositories.", "stdout_lines": ["Updating Subscription Management repositories."]}
PLAY RECAP ************************************************************************************************************************************************************************************************
localhost : ok=6 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Error: An error occurred during the execution of the ansible!
below i am giving my os details
NAME="Red Hat Enterprise Linux"
VERSION="8.10 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.10 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://issues.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.10
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
Beta Was this translation helpful? Give feedback.
All reactions