[crowdsec] feat: split tasks debian/ubuntu
This commit is contained in:
parent
4caa74275c
commit
794d2fe38e
1 changed files with 13 additions and 3 deletions
|
|
@ -31,12 +31,22 @@
|
||||||
tags:
|
tags:
|
||||||
- "crowdsec"
|
- "crowdsec"
|
||||||
|
|
||||||
# install crowdsec firewall bouncer
|
# install crowdsec firewall bouncer - debian
|
||||||
- name: "install crowdsec firewall bouncer"
|
- name: "install crowdsec firewall bouncer - debian"
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "crowdsec-firewall-bouncer"
|
name: "crowdsec-firewall-bouncer"
|
||||||
state: "present"
|
state: "present"
|
||||||
cache_valid_time: "120"
|
cache_valid_time: "120"
|
||||||
when: 'ansible_os_family == "Debian"'
|
when: 'ansible_distribution == "Debian"'
|
||||||
|
tags:
|
||||||
|
- "crowdsec"
|
||||||
|
|
||||||
|
# install crowdsec firewall bouncer - ubuntu
|
||||||
|
- name: "install crowdsec firewall bouncer - ubuntu"
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name: "crowdsec-firewall-bouncer-iptables"
|
||||||
|
state: "present"
|
||||||
|
cache_valid_time: "120"
|
||||||
|
when: 'ansible_distribution == "Ubuntu"'
|
||||||
tags:
|
tags:
|
||||||
- "crowdsec"
|
- "crowdsec"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue