Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruzickap/ansible-role-proxy_settings
Ansible role for configuring proxy settings for Linux based systems
https://github.com/ruzickap/ansible-role-proxy_settings
ansible ansible-playbook ansible-role debian proxy proxy-settings redhat
Last synced: about 2 months ago
JSON representation
Ansible role for configuring proxy settings for Linux based systems
- Host: GitHub
- URL: https://github.com/ruzickap/ansible-role-proxy_settings
- Owner: ruzickap
- License: mit
- Created: 2014-10-15T15:48:52.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T03:20:06.000Z (2 months ago)
- Last Synced: 2024-10-28T05:56:23.701Z (2 months ago)
- Topics: ansible, ansible-playbook, ansible-role, debian, proxy, proxy-settings, redhat
- Language: Jinja
- Homepage: https://galaxy.ansible.com/ruzickap/proxy_settings/
- Size: 136 KB
- Stars: 18
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Ansible Role: proxy_settings
[![Ansible Galaxy](http://img.shields.io/badge/galaxy-ruzickap.proxy_settings-660198.svg)](https://galaxy.ansible.com/ruzickap/proxy_settings/)
Configure proxy settings for Red Hat, Debian and Suse based OS.
## Requirements
None
## Role Variables
Basic proxy settings.
```yaml
proxy_settings_http_proxy: 'http://myuser:***********@px01.example.com:3128'
proxy_settings_ftp_proxy: 'http://proxy.example.com:8080'
proxy_settings_https_proxy: 'http://px01.example.com:3128'
proxy_settings_no_proxy: 'example.com,192.168.122.1'
```You proxy settings if you are using Red Hat based OS.
```yaml
proxy_settings_yum_proxy: 'http://proxysrv:8080'
proxy_settings_yum_proxy_username: 'myuser'
proxy_settings_yum_proxy_password: '********'
```Debian yum proxy settings variables are taken from the default ones.
## Dependencies
None.
## Example Playbook
Including an example of how to use your role (for instance, with variables
passed in as parameters) is always nice for users too:```yaml
- hosts: servers
roles:
- role: ruzickap.proxy_settings
proxy_settings_http_proxy: 'http://myuser:************@px01.example.com:3128'
proxy_settings_ftp_proxy: 'http://proxy.example.com:8080'
proxy_settings_https_proxy: 'http://px01.example.com:3128'
proxy_settings_no_proxy: 'example.com,192.168.122.1'
proxy_settings_yum_proxy: 'http://proxysrv:8080'
proxy_settings_yum_proxy_username: 'myuser'
proxy_settings_yum_proxy_password: '********'
```## License
MIT
## Author Information
This role was created in 2014 by [[email protected]](mailto:[email protected])