Modification package pour compatibilité debian 12
This commit is contained in:
parent
aa48faf11a
commit
e471408702
1 changed files with 16 additions and 1 deletions
|
@ -20,12 +20,27 @@
|
||||||
- apache2-utils
|
- apache2-utils
|
||||||
- modsecurity-crs
|
- modsecurity-crs
|
||||||
- libapache2-mod-security2
|
- libapache2-mod-security2
|
||||||
- libapache2-mod-auth-openid
|
|
||||||
- libapache2-mod-perl2
|
- libapache2-mod-perl2
|
||||||
- fail2ban
|
- fail2ban
|
||||||
- whois
|
- whois
|
||||||
- dialog
|
- dialog
|
||||||
|
|
||||||
|
- name: install - packages
|
||||||
|
tags: install
|
||||||
|
package:
|
||||||
|
state: present
|
||||||
|
name:
|
||||||
|
- libapache2-mod-auth-openid
|
||||||
|
when: (ansible_facts['distribution'] == "Debian" and ansible_facts['distribution_major_version'] == "11")
|
||||||
|
|
||||||
|
- name: install - packages
|
||||||
|
tags: install
|
||||||
|
package:
|
||||||
|
state: present
|
||||||
|
name:
|
||||||
|
- libapache2-mod-auth-openidc
|
||||||
|
when: (ansible_facts['distribution'] == "Debian" and ansible_facts['distribution_major_version'] == "12")
|
||||||
|
|
||||||
- name: install - enable fail2ban
|
- name: install - enable fail2ban
|
||||||
tags: install
|
tags: install
|
||||||
service: name=fail2ban state=started enabled=yes
|
service: name=fail2ban state=started enabled=yes
|
||||||
|
|
Loading…
Reference in a new issue