Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oefenweb/ansible-tsocks
Ansible role to set up tsocks in Debian-like systems
https://github.com/oefenweb/ansible-tsocks
ansible debian proxy tsocks ubuntu
Last synced: about 1 month ago
JSON representation
Ansible role to set up tsocks in Debian-like systems
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-tsocks
- Owner: Oefenweb
- License: mit
- Created: 2015-12-21T15:30:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T15:52:41.000Z (about 2 months ago)
- Last Synced: 2024-11-08T16:42:40.632Z (about 2 months ago)
- Topics: ansible, debian, proxy, tsocks, ubuntu
- Language: Jinja
- Size: 81.1 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## tsocks
[![CI](https://github.com/Oefenweb/ansible-tsocks/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-tsocks/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-tsocks-blue.svg)](https://galaxy.ansible.com/Oefenweb/tsocks)Set up tsocks in Debian-like systems.
#### Requirements
None
#### Variables
* `tsocks_install`: [default: `[]`]: Additional packages to install
* `tsocks_local`: [default: `[]`]: Local networks
* `tsocks_path`: [default: `[]`]: Paths declaration
* `tsocks_path.{n}.directives`: [default: `[]`]: Directives (e.g. `['reaches 150.0.0.0/255.255.0.0']`)
* `tsocks_server`: [default: `127.0.0.1`]: Default server
* `tsocks_server_type`: [default: `5`]: SOCKS version used by the server
* `tsocks_server_port`: [default: `1080`]: The port on which the SOCKS server receives request## Dependencies
None
#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.tsocks
vars:
tsocks_local:
- 192.168.0.0/255.255.255.0
- 10.0.0.0/255.0.0.0tsocks_path:
- directives:
- reaches 150.0.0.0/255.255.0.0
- reaches 150.1.0.0:80/255.255.0.0
- server 10.1.7.25
- server_type 5
- default_user delius
- default_pass hellotsocks_server: 192.168.0.1
```#### License
MIT
#### Author Information
Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-tsocks/issues)!