chore: small improvements

This commit is contained in:
ITQ
2025-12-29 16:53:23 +03:00
parent 7e4795e99f
commit 7855213336
5 changed files with 22 additions and 6 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ gathering = smart
fact_caching = memory
fact_caching_timeout = 300
stdout_callback = yaml
result_format = yaml
bin_ansible_callbacks = True
display_skipped_hosts = False
deprecation_warnings = True
@@ -27,7 +27,7 @@ command_warnings = False
interpreter_python = auto_silent
[ssh_connection]
ssh_args =
ssh_args =
-o ControlMaster=auto
-o ControlPersist=60s
-o ServerAliveInterval=30
+13
View File
@@ -11,6 +11,10 @@ system_locale: en_US.UTF-8
monitoring_enabled: true
monitoring_prometheus_node_exporter: true
# Logs
journal_retention_days: 21
journal_max_disk_limit: "5%"
# User management
admin_users:
- name: "{{ ansible_user }}"
@@ -19,6 +23,15 @@ admin_users:
ssh_keys: "{{ admin_ssh_keys | default([]) }}"
state: present
# Containers management
containers:
docker:
enabled: true
state: latest
k3s:
enabled: false
state: absent
# Applications management
applications:
coolify:
+2 -3
View File
@@ -9,7 +9,6 @@ system_packages:
- gnupg
- ca-certificates
- apt-transport-https
- software-properties-common
- iproute2
- net-tools
- unzip
@@ -18,8 +17,7 @@ system_packages:
- bash-completion
- tmux
- rsync
- python3-docker
- borgbackup
- lm-sensors
monitoring:
- atop
- iotop
@@ -28,6 +26,7 @@ system_packages:
- sysstat
- dstat
- smartmontools
- tcpdump
security:
- fail2ban
- nftables
+1 -1
View File
@@ -7,7 +7,7 @@ tailscale_tags: >-
['vm'] +
([hostname.split('-')[-1]] if '-' in hostname else [])
}}
tailscale_args: "--accept-dns=true --accept-routes=false --netfilter-mode on --shields-up=false --ssh=true --stateful-filtering=false"
tailscale_args: "--accept-dns=true --accept-routes=true --netfilter-mode on --shields-up=false --ssh=true --stateful-filtering=false"
tailscale_oauth_ephemeral: false
tailscale_oauth_preauthorized: true
+4
View File
@@ -3,6 +3,10 @@
include_tasks: optimization.yaml
tags: optimization
- name: Include cron tasks
include_tasks: cron.yaml
tags: cron
- name: Install essential packages
ansible.builtin.apt:
name: "{{ system_packages.essential }}"