File tree Expand file tree Collapse file tree 3 files changed +407
-0
lines changed
etc/kayobe/inventory/group_vars/all Expand file tree Collapse file tree 3 files changed +407
-0
lines changed Original file line number Diff line number Diff line change
1
+ .. _firewall :
2
+
3
+ ========
4
+ Firewall
5
+ ========
6
+
7
+ StackHPC Kayobe configuration provides a standardised firewalld configuration.
8
+ The configuration uses the :kayobe-doc: `firewall
9
+ <configuration/reference/hosts.html#firewalld> ` host configuration
10
+ functionality of Kayobe.
11
+
12
+ The firewall configuration is provided in
13
+ ``etc/kayobe/inventory/group_vars/all/firewall ``. This allows configuration
14
+ variables to be overridden on a per-group or per-host basis (which would not be
15
+ possible for an "extra variable" in ``etc/kayobe/*.yml ``). This configuration
16
+ is not used by default, and must be actively opted into. This can be done as
17
+ follows:
18
+
19
+ .. code-block :: yaml
20
+ :caption : ` ` etc/kayobe/controllers.yml``
21
+
22
+ controller_firewalld_zones : " {{ stackhpc_firewalld_zones }}"
23
+ controller_firewalld_rules : " {{ stackhpc_firewalld_rules }}"
24
+
25
+ This will configure the standard set of firewalld rules on controller hosts.
26
+ Rule definitions are automatically added according to group membership.Rule
27
+ sets exist for the following groups:
28
+
29
+ * Controllers - ``stackhpc_controller_firewalld_rules ``
30
+ * Compute - ``stackhpc_compute_firewalld_rules ``
31
+ * Storage - ``stackhpc_storage_firewalld_rules ``
32
+ * Monitoring - ``stackhpc_monitoring_firewalld_rules ``
33
+ * Wazuh Manager Infrastructure VM - ``stackhpc_infra_vm_firewalld_rules ``
34
+ * Ansible Control host Infrastructure VM - ``stackhpc_infra_vm_firewalld_rules ``
35
+ * Seed - ``stackhpc_seed_firewalld_rules ``
36
+ * Seed Hypervisor - ``stackhpc_seed_hypervisor_firewalld_rules ``
37
+
Original file line number Diff line number Diff line change @@ -20,3 +20,4 @@ the various features provided.
20
20
magnum-capi
21
21
ci-cd
22
22
security-hardening
23
+ firewall
You can’t perform that action at this time.
0 commit comments