secure copr with fail2ban

This commit is contained in:
Miroslav Suchý 2013-10-29 08:50:55 +00:00
parent 91ea3da106
commit 12f4c14bf3
2 changed files with 6 additions and 0 deletions

View file

@ -43,6 +43,7 @@
- copr-backend - copr-backend
- git - git
- screen - screen
- fail2ban
- name: make copr dirs - name: make copr dirs
@ -102,6 +103,9 @@
- name: start webserver - name: start webserver
action: service state=running enabled=yes name=lighttpd 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 # setup dirs for the ansible execution off of provisioning
- name: dirs from provision - name: dirs from provision
action: file state=directory path=/home/copr/provision/$item owner=copr group=copr action: file state=directory path=/home/copr/provision/$item owner=copr group=copr

View file

@ -40,6 +40,7 @@
- copr-selinux - copr-selinux
- postgresql-server - postgresql-server
- bash-completion - bash-completion
- fail2ban
tags: tags:
- packages - packages
@ -57,6 +58,7 @@
with_items: with_items:
- httpd - httpd
- postgresql - postgresql
- fail2ban
handlers: handlers:
- include: $handlers/restart_services.yml - include: $handlers/restart_services.yml