secure copr with fail2ban
This commit is contained in:
parent
91ea3da106
commit
12f4c14bf3
2 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
|||
- copr-backend
|
||||
- git
|
||||
- screen
|
||||
- fail2ban
|
||||
|
||||
|
||||
- name: make copr dirs
|
||||
|
@ -102,6 +103,9 @@
|
|||
- name: start webserver
|
||||
action: service state=running enabled=yes name=lighttpd
|
||||
|
||||
- name: start fail2ban
|
||||
action: service state=running enabled=yes name=fail2ban
|
||||
|
||||
# setup dirs for the ansible execution off of provisioning
|
||||
- name: dirs from provision
|
||||
action: file state=directory path=/home/copr/provision/$item owner=copr group=copr
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
- copr-selinux
|
||||
- postgresql-server
|
||||
- bash-completion
|
||||
- fail2ban
|
||||
tags:
|
||||
- packages
|
||||
|
||||
|
@ -57,6 +58,7 @@
|
|||
with_items:
|
||||
- httpd
|
||||
- postgresql
|
||||
- fail2ban
|
||||
|
||||
handlers:
|
||||
- include: $handlers/restart_services.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue