Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
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
mediaserver
envsetup
Commits
36f39f5f
Commit
36f39f5f
authored
4 years ago
by
Antoine Schildknecht
Browse files
Options
Downloads
Patches
Plain Diff
Update default fail2ban ban policy | refs
#33195
parent
f6da5f2d
No related branches found
Branches containing commit
Tags
mediaserver-9.4.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/fail2ban/defaults/main.yml
+2
-2
2 additions, 2 deletions
ansible/roles/fail2ban/defaults/main.yml
with
2 additions
and
2 deletions
ansible/roles/fail2ban/defaults/main.yml
+
2
−
2
View file @
36f39f5f
...
@@ -6,8 +6,8 @@ f2b_packages:
...
@@ -6,8 +6,8 @@ f2b_packages:
f2b_enabled
:
"
{%
if
envsetup_fail2ban_enabled
|
bool
%}true{%
else
%}false{%
endif
%}"
f2b_enabled
:
"
{%
if
envsetup_fail2ban_enabled
|
bool
%}true{%
else
%}false{%
endif
%}"
f2b_ignoreip
:
127.0.0.1/8 ::1
f2b_ignoreip
:
127.0.0.1/8 ::1
f2b_maxretry
:
"
{{
envsetup_fail2ban_maxretry
|
default('
6
',
true)
}}"
f2b_maxretry
:
"
{{
envsetup_fail2ban_maxretry
|
default('
5
',
true)
}}"
f2b_bantime
:
"
{{
envsetup_fail2ban_bantime
|
default('
30
',
true)
}}"
f2b_bantime
:
"
{{
envsetup_fail2ban_bantime
|
default('
10m
',
true)
}}"
f2b_sender
:
"
{{
envsetup_email_sender
|
default('root@localhost',
true)
}}"
f2b_sender
:
"
{{
envsetup_email_sender
|
default('root@localhost',
true)
}}"
f2b_destemail
:
"
{%
if
envsetup_fail2ban_dest_email
is
string
%}{{
envsetup_fail2ban_dest_email
}}{%
else
%}{{
envsetup_fail2ban_dest_email
|
join(',')
}}{%
endif
%}"
f2b_destemail
:
"
{%
if
envsetup_fail2ban_dest_email
is
string
%}{{
envsetup_fail2ban_dest_email
}}{%
else
%}{{
envsetup_fail2ban_dest_email
|
join(',')
}}{%
endif
%}"
f2b_destemail_admins
:
"
{%
if
envsetup_email_admins
is
string
%}{{
envsetup_email_admins
}}{%
else
%}{{
envsetup_email_admins
|
join(',')
}}{%
endif
%}"
f2b_destemail_admins
:
"
{%
if
envsetup_email_admins
is
string
%}{{
envsetup_email_admins
}}{%
else
%}{{
envsetup_email_admins
|
join(',')
}}{%
endif
%}"
...
...
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