You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
299 B
21 lines
299 B
---
|
|
- hosts: service
|
|
remote_user: docker
|
|
sudo: yes
|
|
gather_facts: no
|
|
vars:
|
|
user: "docker"
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
# exec script fail2ban
|
|
- name: Exec fail2ban_script.
|
|
command: sh /home/docker/fail2ban_script.sh
|
|
|
|
|
|
- name: Refresh connection
|
|
meta: clear_host_errors
|
|
|
|
|
|
|