Ubuntu support.
This commit is contained in:
parent
045b1eeafa
commit
87a8610dbf
|
@ -1,8 +1,8 @@
|
|||
squid
|
||||
=========
|
||||
|
||||
This role installs and configures the squid caching proxy, <http://www.squid-cache.org/>
|
||||
|
||||
This role installs and configures the squid caching proxy, <http://www.squid-cache.org/>.
|
||||
This role is very basic. It does not handle authentication, SMP, or any special cases.
|
||||
|
||||
License
|
||||
-------
|
||||
|
@ -13,4 +13,3 @@ Author Information
|
|||
------------------
|
||||
|
||||
Andrea Dell'Amico, <andrea.dellamico@isti.cnr.it>
|
||||
|
||||
|
|
|
@ -16,6 +16,9 @@ galaxy_info:
|
|||
- name: EL
|
||||
versions:
|
||||
- 7
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- bionic
|
||||
|
||||
galaxy_tags:
|
||||
- squid
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- block:
|
||||
- name: Install the squid package
|
||||
- name: Install the squid package on RH based systems
|
||||
yum: pkg=squid state=present
|
||||
|
||||
when:
|
||||
|
@ -8,6 +8,15 @@
|
|||
- squid_install | bool
|
||||
tags: [ 'squid', 'proxy' ]
|
||||
|
||||
- block:
|
||||
- name: Install the squid package on Debian based systems
|
||||
apt: pkg=squid state=present cache_valid_time=3600
|
||||
|
||||
when:
|
||||
- ansible_distribution_file_variety == "Debian"
|
||||
- squid_install | bool
|
||||
tags: [ 'squid', 'proxy' ]
|
||||
|
||||
- block:
|
||||
- name: Install the squid configuration file
|
||||
template: src=squid.conf.j2 dest=/etc/squid/squid.conf
|
||||
|
|
Loading…
Reference in New Issue