Unverified Commit 6e2b6cc0 authored by Ioannis Tsafaras's avatar Ioannis Tsafaras Committed by Avraam Tsantekidis
Browse files

LAM-42 Ansible squid proxy config

parent b8258592
internal_ip: "192.168.0.3"
local_net: "192.168.0.0/24"
---
- name: Include tasks for master.
include: master.yml
tags:
- master-install
- name: Install squid http proxy
apt: name=squid3 state=latest
tags: install
- name: Configure squid http proxy
lineinfile: destfile="/etc/squid3/squid.conf" regexp="^acl localnet" insertafter="^#acl localnet"
line="acl localnet src {{ hostvars[master-node]["local_net"] }}"
state=present
tags: config
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment