Files
configpolicy/roles
Dustin C. Hatch daa59bdba5 r/useproxy: Configure dnf to use proxy
Although running `dnf` from the command line works without explicitly
configuring the proxy, because it inherits the environment variables set
by PAM on login from the user's shell, the `dnf` Ansible module does
not, as it does not inherit those variables.  Thus, we need to
explicitly configure the `proxy` setting in `dnf.conf` in order to be
able to install packages via Ansible.

Since `dnf` does not have separate settings for different protocols
(e.g. HTTP, HTTPS, FTP), we need a way to specify which of the
configured proxies to use if there are multiple.  As such, the
*useproxy* role will attempt to use the value of the `dnf_proxy`
variable, if it is set, falling back to `yum_proxy` and finally
`http_proxy`.  This should cover most situations without any explicit
configuration, but allows flexibility for other cases.
2025-03-29 09:30:08 -05:00
..
2025-01-31 18:55:58 -06:00
2025-03-16 16:37:19 -05:00
2018-08-08 21:38:56 -05:00
2018-07-23 17:35:10 -05:00
2024-11-24 10:33:21 -06:00
2024-12-27 10:51:00 -06:00
2018-04-08 10:11:43 -05:00
2024-01-22 09:03:15 -06:00
2022-08-15 17:12:35 -05:00
2023-10-28 16:07:39 -05:00
2018-06-06 21:44:28 -05:00
2022-08-15 17:06:20 -05:00