chore: small improvements
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ gathering = smart
|
|||||||
fact_caching = memory
|
fact_caching = memory
|
||||||
fact_caching_timeout = 300
|
fact_caching_timeout = 300
|
||||||
|
|
||||||
stdout_callback = yaml
|
result_format = yaml
|
||||||
bin_ansible_callbacks = True
|
bin_ansible_callbacks = True
|
||||||
display_skipped_hosts = False
|
display_skipped_hosts = False
|
||||||
deprecation_warnings = True
|
deprecation_warnings = True
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ system_locale: en_US.UTF-8
|
|||||||
monitoring_enabled: true
|
monitoring_enabled: true
|
||||||
monitoring_prometheus_node_exporter: true
|
monitoring_prometheus_node_exporter: true
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
journal_retention_days: 21
|
||||||
|
journal_max_disk_limit: "5%"
|
||||||
|
|
||||||
# User management
|
# User management
|
||||||
admin_users:
|
admin_users:
|
||||||
- name: "{{ ansible_user }}"
|
- name: "{{ ansible_user }}"
|
||||||
@@ -19,6 +23,15 @@ admin_users:
|
|||||||
ssh_keys: "{{ admin_ssh_keys | default([]) }}"
|
ssh_keys: "{{ admin_ssh_keys | default([]) }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
# Containers management
|
||||||
|
containers:
|
||||||
|
docker:
|
||||||
|
enabled: true
|
||||||
|
state: latest
|
||||||
|
k3s:
|
||||||
|
enabled: false
|
||||||
|
state: absent
|
||||||
|
|
||||||
# Applications management
|
# Applications management
|
||||||
applications:
|
applications:
|
||||||
coolify:
|
coolify:
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ system_packages:
|
|||||||
- gnupg
|
- gnupg
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
- software-properties-common
|
|
||||||
- iproute2
|
- iproute2
|
||||||
- net-tools
|
- net-tools
|
||||||
- unzip
|
- unzip
|
||||||
@@ -18,8 +17,7 @@ system_packages:
|
|||||||
- bash-completion
|
- bash-completion
|
||||||
- tmux
|
- tmux
|
||||||
- rsync
|
- rsync
|
||||||
- python3-docker
|
- lm-sensors
|
||||||
- borgbackup
|
|
||||||
monitoring:
|
monitoring:
|
||||||
- atop
|
- atop
|
||||||
- iotop
|
- iotop
|
||||||
@@ -28,6 +26,7 @@ system_packages:
|
|||||||
- sysstat
|
- sysstat
|
||||||
- dstat
|
- dstat
|
||||||
- smartmontools
|
- smartmontools
|
||||||
|
- tcpdump
|
||||||
security:
|
security:
|
||||||
- fail2ban
|
- fail2ban
|
||||||
- nftables
|
- nftables
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ tailscale_tags: >-
|
|||||||
['vm'] +
|
['vm'] +
|
||||||
([hostname.split('-')[-1]] if '-' in hostname else [])
|
([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_ephemeral: false
|
||||||
tailscale_oauth_preauthorized: true
|
tailscale_oauth_preauthorized: true
|
||||||
|
|||||||
@@ -3,6 +3,10 @@
|
|||||||
include_tasks: optimization.yaml
|
include_tasks: optimization.yaml
|
||||||
tags: optimization
|
tags: optimization
|
||||||
|
|
||||||
|
- name: Include cron tasks
|
||||||
|
include_tasks: cron.yaml
|
||||||
|
tags: cron
|
||||||
|
|
||||||
- name: Install essential packages
|
- name: Install essential packages
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ system_packages.essential }}"
|
name: "{{ system_packages.essential }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user