Pino Toscano
9f67cbbe36
rhsm modules: cleanly fail when not run as root ( #6211 )
...
subscription-manager on RHEL installs a symlink in /usr/bin to
console-helper (part of usermode), which triggers an interactive prompt
for root credentials when run as user. It seems that console-helper
does not handle well non-interactive contexts (e.g. without a TTY for
input), and thus it will hang waiting for input when run as user in an
Ansible task.
Since subscription-manager requires root already anyway (and it will
fail when explicitly run as user), then apply the same logic locally on
all the modules that interact with it: redhat_subscription,
rhsm_release, and rhsm_repository.
2023-03-22 13:15:32 +01:00
..
2023-03-09 20:09:13 +01:00
2022-08-05 12:28:29 +02:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-07 20:15:00 +01:00
2022-11-02 20:42:29 +00:00
2023-03-04 20:51:50 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-15 21:02:45 +01:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-10 21:18:01 +01:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2023-02-26 14:58:58 +01:00
2022-11-02 20:42:29 +00:00
2023-03-04 10:01:52 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-01-22 17:10:36 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-03-02 07:01:15 +01:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2022-12-14 21:30:03 +01:00
2023-03-22 13:15:32 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-03-22 13:15:32 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-03 11:02:14 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2023-02-12 21:05:08 +01:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00
2022-08-08 14:24:58 +02:00
2022-11-02 20:42:29 +00:00
2022-11-02 20:42:29 +00:00