https://github.com/mikepruett3/ansible-role-proxy-settings
Ansible role to configure proxy settings on Linux Servers.
https://github.com/mikepruett3/ansible-role-proxy-settings
ansible ansible-role proxy proxy-server squid squid-proxy
Last synced: 3 months ago
JSON representation
Ansible role to configure proxy settings on Linux Servers.
- Host: GitHub
- URL: https://github.com/mikepruett3/ansible-role-proxy-settings
- Owner: mikepruett3
- License: mit
- Created: 2022-08-19T17:42:11.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T19:15:09.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T12:32:31.935Z (over 1 year ago)
- Topics: ansible, ansible-role, proxy, proxy-server, squid, squid-proxy
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role: Proxy Settings
=========
Ansible role to configure proxy settings on Linux Servers.
Requirements
------------
The role does not require anything to run on Ubuntu, Debian or RHEL and its derivatives.
Role Variables
--------------
Available variables are listed below, along with default values (see ```defaults/main.yml```):
``` yaml
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.
Dependencies
------------
None.
Example Playbook
----------------
``` yaml
- hosts: servers
roles:
- role: mikepruett3.proxy-settings
```
License
-------
MIT
Author Information
------------------
Role created by [mikepruett3](https://github.com/mikepruett3) on [Github.com](https://github.com/mikepruett3/ansible-role-proxy-settings)