prepare role for proxy
This commit is contained in:
17
roles/proxyserver/tasks/main.yaml
Normal file
17
roles/proxyserver/tasks/main.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
# Load distro specific variables
|
||||||
|
- include_vars: "{{ ansible_distribution }}.yml"
|
||||||
|
tags: always
|
||||||
|
ignore_errors: True
|
||||||
|
- include_vars: "{{ ansible_fqdn }}.yml"
|
||||||
|
ignore_errors: True
|
||||||
|
|
||||||
|
- include_tasks: squid.yaml
|
||||||
|
when:
|
||||||
|
- squid is defined
|
||||||
|
- squid == true
|
||||||
|
|
||||||
|
- include_tasks: tinyproxy.yaml
|
||||||
|
when:
|
||||||
|
- tinyproxy is defined
|
||||||
|
- tiniproxy == true
|
||||||
Reference in New Issue
Block a user