You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the redhat_subscription module to subscribe a RHEL8 machine without enabling privilege escalation with become=true
, the task doesn't exit with an error. It just keeps waiting for an input it's never going to get.
##### EXPECTED RESULTS
The expected result is to have the play fail, and exit with an error saying something along the lines of "privilege escalation is not enabled".
##### ACTUAL RESULTS
When the above is executed without ```become=true``` , the playbook does not exit with an error.
The text was updated successfully, but these errors were encountered:
SUMMARY
When I use the redhat_subscription module to subscribe a RHEL8 machine without enabling privilege escalation with
become=true
, the task doesn't exit with an error. It just keeps waiting for an input it's never going to get.
ISSUE TYPE
COMPONENT NAME
redhat_subscription
ANSIBLE VERSION
NAME=Fedora
VERSION="32 (Workstation Edition)"
ID=fedora
VERSION_ID=32
VERSION_CODENAME=""
PLATFORM_ID="platform:f32"
PRETTY_NAME="Fedora 32 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:32"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=32
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=32
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation
hosts: servers
vars_files:
secret.yml
name: Register RHEL Sub
redhat_subscription:
state: present
username: "[email protected]"
password: "{{ access_redhat_password }}"
pool_ids: <pool_id>
The text was updated successfully, but these errors were encountered: