Skip to content

verygood-ops/ansible-role-tinyproxy

 
 

Repository files navigation

ansible-role-tinyproxy

Ansible host for configure Tinyproxy

Examples

Run local tinyproxy with forbidden websites

     - role: tinyproxy
       tinyproxy_filters:
          - forbidden.com
          - .otherforbiddenwebsite.com

Run tinyproxy on localnetwork with whitelist websites

     - role: tinyproxy
       tinyproxy_filterDefaultDeny: "Yes"
       tinyproxy_listen: "192.168.0.1"
       tinyproxy_filters:
          - ftp.free.fr
          - security.ubuntu.com
          - .archive.ubuntu.com
       tinyproxy_allows:
          - 127.0.0.1
          - 192.168.0.1/24

Prebuilt binary

Sometimes we need to install a prebuilt/precompiled binary which is not available in official repository. We do not want to drag ansible tasks to pull from source and make it everytime during self-provisioning, so build it and place prebuilt binary into the files/ folder and adjust parameters which are

install_precompiled_binary: true
tinyproxy_binary_version: "1.11.2"

About

Ansible host for configure Tinyproxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jinja 98.4%
  • Ruby 1.6%