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
2024-02-22 10:23:19 -06:00
2024-11-24 10:33:21 -06:00
2024-11-05 06:54:27 -06:00
2025-01-26 13:08:59 -06:00
2024-09-02 21:24:59 -05:00
2025-02-01 17:36:58 -06:00
2020-02-22 16:28:06 -06:00
2025-02-08 15:29:58 -06:00
2018-04-08 12:20:03 -05:00
2018-08-19 14:17:48 -05:00
2025-03-16 16:37:19 -05:00
2018-03-27 20:44:43 -05:00
2024-08-24 11:46:28 -05:00
2024-06-12 18:56:41 -05:00
2018-10-07 21:42:18 -05:00
2024-11-24 10:33:21 -06:00
2024-01-09 18:18:34 -06:00
2023-11-13 17:45:21 -06:00
2022-08-10 21:55:54 -05:00
2020-08-29 14:22:17 -05:00
2018-04-08 10:11:43 -05:00
2025-03-16 16:37:19 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2024-11-24 10:33:21 -06:00
2023-05-09 21:37:46 -05:00
2024-09-02 21:03:33 -05:00
2024-01-19 20:50:03 -06:00
2025-01-26 13:08:59 -06:00
2018-03-27 20:44:43 -05:00
2018-08-13 20:25:22 -05:00
2025-03-16 17:17:00 -05:00
2019-09-19 19:51:45 -05:00
2025-03-16 17:17:00 -05:00
2025-01-26 13:08:59 -06:00
2022-08-11 21:40:19 -05:00
Description
Ansible configuration policy for the private network/home lab of Dustin C. Hatch
http://dustin.hatch.name/
7.7 MiB
Languages
Jinja 86.2%
Python 6.6%
Shell 4.6%
Groovy 2.6%