Ansible role to configure proxy settings on Linux Servers.
The role does not require anything to run on Ubuntu, Debian or RHEL and its derivatives.
Available variables are listed below, along with default values (see defaults/main.yml
):
proxy_host: "myproxyserver.example.com"
proxy_port: "3128"
proxy_protocol: "http"
proxy_host:
(Required) Hostname or IP Address of the Proxy Server to use.
proxy_port:
(Required) Port to use to connect with the Proxy Server.
proxy_protocol
(Required) Protocol to use to connect with the Proxy Server. This should be either http or https.
Role variables can be stored with the hosts.yaml
file, or in the main variables file.
None.
- hosts: servers
roles:
- role: mikepruett3.proxy-settings
MIT
Role created by mikepruett3 on Github.com