various updates in states
This commit is contained in:
parent
504be5dde6
commit
e71dbe3fff
@ -1,4 +1,4 @@
|
||||
---
|
||||
apparmor:
|
||||
enabled: true
|
||||
config:
|
||||
config:
|
||||
|
@ -6,5 +6,5 @@ cron:
|
||||
command: /bin/bash
|
||||
MAILTO:
|
||||
name: MAILTO
|
||||
command: {{ salt['pillar.get']('syscontact') }}
|
||||
tasks:
|
||||
command: me@ac.me
|
||||
tasks:
|
||||
|
@ -1,4 +1,4 @@
|
||||
---
|
||||
nftables:
|
||||
enabled: true
|
||||
networks: {{ salt['pillar.get']('networks') }}
|
||||
networks:
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
repo-require:
|
||||
cmd.run:
|
||||
- name: apt install -y python3-apt
|
||||
|
||||
{%- for repo in pillar.get('repos') %}
|
||||
|
||||
{%- if repo['enabled'] %}
|
||||
|
@ -11,18 +11,18 @@ sensu:
|
||||
enabled: false
|
||||
config:
|
||||
backend-url: []
|
||||
name: {{ salt['grains.get']('fqdn') }}
|
||||
name: hostname
|
||||
subscriptions:
|
||||
- {{ salt['grains.get']('type') }}
|
||||
- {{ salt['grains.get']('country') }}
|
||||
- {{ salt['grains.get']('location') }}
|
||||
- {% filter lower %}{{ salt['grains.get']('os') }}{% endfilter %}
|
||||
- common
|
||||
- france
|
||||
- paris
|
||||
- linux
|
||||
user: "admin"
|
||||
password: "P@ssw0rd!"
|
||||
labels:
|
||||
arch: {% filter lower %}{{ salt['grains.get']('osarch') }}{% endfilter %}
|
||||
arch: arm64
|
||||
check_load_warning: "3,2,1"
|
||||
check_load_critical: "5,3,2"
|
||||
goarch: {% filter lower %}{{ salt['grains.get']('osarch') }}{% endfilter %}
|
||||
goos: {% filter lower %}{{ salt['grains.get']('kernel') }}{% endfilter %}
|
||||
kernel: {% filter lower %}{{ salt['grains.get']('kernel') }}{% endfilter %}
|
||||
goarch: arm64
|
||||
goos: linux
|
||||
kernel: Linux
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
include:
|
||||
- pkg
|
||||
- .install
|
||||
- .config
|
||||
- .plugins
|
||||
|
@ -21,7 +21,7 @@ zabbix:
|
||||
#- zabbix-get
|
||||
#- zabbix-sender
|
||||
config:
|
||||
Hostname: {{ salt["grains.get"]("fqdn") }}
|
||||
Hostname: localhost
|
||||
Include: "/etc/zabbix/zabbix_agentd.conf.d/*.conf"
|
||||
LogFile: /var/log/zabbix/zabbix_agentd.log
|
||||
LogFileSize: 0
|
||||
|
Loading…
Reference in New Issue
Block a user