23 lines
352 B
YAML
23 lines
352 B
YAML
---
|
|
- name: squid.yml
|
|
hosts: infra
|
|
vars:
|
|
proxy_port: 8080
|
|
proxy_mem: 128
|
|
|
|
tasks:
|
|
- name: 1. installation de squid
|
|
apt:
|
|
name: squid
|
|
state: latest
|
|
|
|
- name: 2. recuperation de squid.conf avec fetch
|
|
ansible.builtin.fetch:
|
|
src: /etc/squid/squid.conf
|
|
dest: ./squid.conf
|
|
flat: yes
|
|
|
|
|
|
|
|
|