fail2ban: Specify jail.local permissions & fix handler name

This commit is contained in:
saibotk 2020-09-26 21:32:10 +02:00
parent cc24a412c6
commit 6c92a877f9
No known key found for this signature in database
GPG key ID: A3299C587D5DF523
2 changed files with 2 additions and 1 deletions

View file

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
- name: Restart fail2ban service
- name: restart fail2ban service
service:
name: "fail2ban"
state: "restarted"

View file

@ -27,6 +27,7 @@
template:
src: "jail.local.j2"
dest: "/etc/fail2ban/jail.local"
mode: '0644'
owner: 'root'
group: 'root'
notify: restart fail2ban service