File tree 2 files changed +38
-0
lines changed
.templates/inventory/group_vars
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,22 @@ default_role_basic_security:
117
117
- " 80"
118
118
- " 443"
119
119
120
+ anonymize_logs : false
121
+ anonymize_logs_schedule :
122
+ minute : " 00"
123
+ hour : " */6"
124
+ day : " *"
125
+ weekday : " *"
126
+ month : " *"
127
+
128
+ clear_shell_history : false
129
+ clear_shell_history_schedule :
130
+ minute : " */10"
131
+ hour : " *"
132
+ day : " *"
133
+ weekday : " *"
134
+ month : " *"
135
+
120
136
121
137
# https://github.com/zwiazeksyndykalistowpolski/server-basic-software
122
138
default_role_basic_software :
Original file line number Diff line number Diff line change 15
15
when : ssh_fallback_port is defined and ssh_fallback_port > 0
16
16
vars :
17
17
fallback_ssh_port : " {{ ssh_fallback_port }}"
18
+ tags :
19
+ - system_settings
20
+ - users
21
+ - basic_software
22
+ - basic_security
23
+ - tune
24
+ - logs
25
+ - fail2ban
26
+ - port-multiplexer
18
27
19
28
20
29
#
63
72
64
73
- include_role : name=blackandred.server_basic_software
65
74
75
+ # =============
76
+ # Security Role
77
+ # =============
78
+ - name : Basic Security role
79
+ when : role_basic_security is defined
80
+ tags : basic_security
81
+ block :
82
+ - name : Include required vars
83
+ set_fact :
84
+ args : " {{ default_role_basic_security | combine(role_basic_security | default({}), recursive=True) }}"
85
+
86
+ - include_role : name=blackandred.server_basic_security
87
+
66
88
# ========
67
89
# Tweaking
68
90
# ========
You can’t perform that action at this time.
0 commit comments