2023-01-30 05:43:53 +01:00
|
|
|
{%- from slspath ~ '/../map.jinja' import firewall_interfaces, public, internal, backend %}
|
2023-01-29 17:27:58 +01:00
|
|
|
|
2023-01-15 12:03:03 +01:00
|
|
|
include:
|
2023-01-15 15:50:17 +01:00
|
|
|
- role.salt.common
|
|
|
|
- role.salt.minion
|
2023-01-26 19:34:01 +01:00
|
|
|
- .mta
|
2023-01-26 23:05:21 +01:00
|
|
|
- .ssh
|
2023-01-15 12:03:03 +01:00
|
|
|
|
2023-01-15 11:41:05 +01:00
|
|
|
managed_header_pound: |
|
|
|
|
### This file is managed via https://git.com.de/LibertaCasa/salt
|
|
|
|
### Manual changes will be overwritten
|
2023-01-24 23:03:20 +01:00
|
|
|
|
|
|
|
{%- if grains['os'] == 'SUSE' %}
|
|
|
|
zypper:
|
|
|
|
refreshdb_force: False
|
2023-01-29 15:49:48 +01:00
|
|
|
|
|
|
|
firewalld:
|
2024-06-19 14:01:23 +02:00
|
|
|
FlushAllOnReload: 'yes'
|
2023-01-29 15:49:48 +01:00
|
|
|
zones:
|
|
|
|
internal:
|
2023-01-29 17:50:37 +01:00
|
|
|
short: Internal
|
2023-01-29 17:27:58 +01:00
|
|
|
{{ firewall_interfaces(internal) }}
|
2023-01-29 15:49:48 +01:00
|
|
|
ports:
|
|
|
|
- comment: node_exporter
|
|
|
|
port: 9200
|
|
|
|
protocol: tcp
|
2023-01-29 17:27:58 +01:00
|
|
|
public:
|
2023-01-29 17:50:37 +01:00
|
|
|
short: Public
|
2023-01-29 17:27:58 +01:00
|
|
|
{{ firewall_interfaces(public) }}
|
2023-02-12 06:04:16 +01:00
|
|
|
{%- if backend | length %}
|
|
|
|
backend:
|
|
|
|
{{ firewall_interfaces(backend) }}
|
|
|
|
{%- endif %}
|
2023-01-24 23:03:20 +01:00
|
|
|
{%- endif %}
|
2023-01-28 01:06:44 +01:00
|
|
|
|
|
|
|
mine_functions:
|
|
|
|
network.ip_addrs: []
|
2023-01-28 01:13:21 +01:00
|
|
|
network.ip_addrs6: []
|
2023-01-29 16:37:07 +01:00
|
|
|
network.interfaces: []
|