ruzickap.proxy_settings
Ansible Role: proxy_settings
This role sets up proxy settings for Red Hat, Debian, and SuSE operating systems.
Requirements
No specific requirements.
Role Variables
Here are the basic 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'
If you are using a Red Hat-based OS, you can set these proxy settings:
proxy_settings_yum_proxy: 'http://proxysrv:8080'
proxy_settings_yum_proxy_username: 'myuser'
proxy_settings_yum_proxy_password: '********'
For Debian, the yum proxy settings will use the default variables.
Dependencies
There are no dependencies.
Example Playbook
It’s helpful to provide an example of how to use this role, such as with the following parameters:
- 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
This is under the MIT license.
Author Information
This role was created in 2014 by [email protected].
Informazioni sul progetto
Ansible role to configure proxy settings for Linux based systems
Installa
ansible-galaxy install ruzickap.proxy_settings
Licenza
mit
Download
23.4k
Proprietario