From 3630632449eac23f9d6beab0378e664bdef8a91d Mon Sep 17 00:00:00 2001 From: Rene Mewissen Date: Fri, 5 Aug 2022 14:25:52 +0200 Subject: [PATCH] prepare role for proxy --- roles/proxyserver/tasks/main.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 roles/proxyserver/tasks/main.yaml diff --git a/roles/proxyserver/tasks/main.yaml b/roles/proxyserver/tasks/main.yaml new file mode 100644 index 0000000..3a4b7ba --- /dev/null +++ b/roles/proxyserver/tasks/main.yaml @@ -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 \ No newline at end of file