Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Fail2Ban
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
Fail2Ban
Commits
20994c8d
Commit
20994c8d
authored
7 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#3
Go back to 0.10.2 and fix the boot service configuration
parent
139dd87b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
defaults/main.yml
+1
-1
1 addition, 1 deletion
defaults/main.yml
handlers/main.yml
+0
-3
0 additions, 3 deletions
handlers/main.yml
tasks/install.yml
+6
-10
6 additions, 10 deletions
tasks/install.yml
with
7 additions
and
14 deletions
defaults/main.yml
+
1
−
1
View file @
20994c8d
fail2ban_version
:
'
0.
9.6
'
fail2ban_version
:
'
0.
10.2
'
This diff is collapsed.
Click to expand it.
handlers/main.yml
+
0
−
3
View file @
20994c8d
---
# file: roles/fail2ban/handlers/main.yml
-
name
:
"
Include
Fail2Ban
to
Boot-List"
command
:
update-rc.d fail2ban defaults
-
name
:
"
Restart
Fail2Ban"
service
:
name
:
'
fail2ban'
...
...
This diff is collapsed.
Click to expand it.
tasks/install.yml
+
6
−
10
View file @
20994c8d
...
...
@@ -24,18 +24,9 @@
args
:
chdir
:
'
/tmp/fail2ban-{{
fail2ban_version
}}'
-
name
:
"
Copy
Startup
Script"
copy
:
src
:
'
/tmp/fail2ban-{{
fail2ban_version
}}/files/debian-initd'
dest
:
'
/etc/init.d/fail2ban'
mode
:
'
755'
remote_src
:
yes
notify
:
-
"
Include
Fail2Ban
to
Boot-List"
-
name
:
"
Copy
Service
Script"
copy
:
src
:
'
/tmp/fail2ban-{{
fail2ban_version
}}/
files
/fail2ban.service'
src
:
'
/tmp/fail2ban-{{
fail2ban_version
}}/
build
/fail2ban.service'
dest
:
'
/lib/systemd/system/fail2ban.service'
mode
:
'
644'
remote_src
:
yes
...
...
@@ -60,3 +51,8 @@
-
'
fail2ban-server'
-
'
fail2ban-testcases'
ignore_errors
:
true
-
name
:
"
Enable
Fail2Ban
as
a
Boot
Service"
service
:
name
:
'
fail2ban'
enabled
:
'
yes'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment