chore(): refactored group vars, added a few handy packages
also borgbackup default retention improvements and docker config refactoring
This commit is contained in:
@@ -26,8 +26,8 @@ admin_users:
|
|||||||
# Containers management
|
# Containers management
|
||||||
containers:
|
containers:
|
||||||
docker:
|
docker:
|
||||||
enabled: true
|
enabled: false
|
||||||
state: latest
|
state: absent
|
||||||
k3s:
|
k3s:
|
||||||
enabled: false
|
enabled: false
|
||||||
state: absent
|
state: absent
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ borg_source_directories:
|
|||||||
borg_ssh_key_type: "ed25519"
|
borg_ssh_key_type: "ed25519"
|
||||||
borg_retention_policy:
|
borg_retention_policy:
|
||||||
keep_hourly: 1
|
keep_hourly: 1
|
||||||
keep_daily: 1
|
keep_daily: 3
|
||||||
keep_weekly: 1
|
keep_weekly: 7
|
||||||
keep_monthly: 3
|
keep_monthly: 1
|
||||||
|
|
||||||
borgmatic_timer_cron_name: "borgmatic"
|
borgmatic_timer_cron_name: "borgmatic"
|
||||||
borgmatic_timer: cron
|
borgmatic_timer: cron
|
||||||
|
|||||||
@@ -4,14 +4,95 @@ docker_install_compose_plugin: true
|
|||||||
docker_users:
|
docker_users:
|
||||||
- "{{ ansible_user }}"
|
- "{{ ansible_user }}"
|
||||||
docker_daemon_options:
|
docker_daemon_options:
|
||||||
|
debug: false
|
||||||
|
init: false
|
||||||
|
live-restore: true
|
||||||
|
shutdown-timeout: 60
|
||||||
|
default-runtime: "runc"
|
||||||
|
raw-logs: false
|
||||||
|
|
||||||
|
default-cgroupns-mode: "private"
|
||||||
|
containerd-namespace: "docker"
|
||||||
|
containerd-plugins-namespace: "docker-plugins"
|
||||||
|
|
||||||
|
selinux-enabled: false
|
||||||
|
icc: true
|
||||||
|
authorization-plugins: []
|
||||||
|
allow-direct-routing: false
|
||||||
|
no-new-privileges: true
|
||||||
|
# userns-remap: default
|
||||||
|
|
||||||
|
ipv6: true
|
||||||
|
ip-forward: true
|
||||||
|
iptables: true
|
||||||
|
ip6tables: true
|
||||||
|
ip-masq: false
|
||||||
|
userland-proxy: false
|
||||||
|
mtu: 1500
|
||||||
|
default-address-pools:
|
||||||
|
- base: "10.200.0.0/16"
|
||||||
|
size: 24
|
||||||
|
default-network-opts: {}
|
||||||
|
|
||||||
|
dns:
|
||||||
|
- "100.100.100.100"
|
||||||
|
- "1.1.1.1"
|
||||||
|
- "8.8.8.8"
|
||||||
|
dns-search:
|
||||||
|
- "headnet.itqdev.xyz"
|
||||||
|
dns-opts: []
|
||||||
|
|
||||||
storage-driver: "overlay2"
|
storage-driver: "overlay2"
|
||||||
|
storage-opts: []
|
||||||
|
default-shm-size: "16M"
|
||||||
|
|
||||||
|
builder:
|
||||||
|
gc:
|
||||||
|
enabled: true
|
||||||
|
defaultReservedSpace: "10GB"
|
||||||
|
policy:
|
||||||
|
- filter:
|
||||||
|
- "type=source.local"
|
||||||
|
maxUsedSpace: "512MB"
|
||||||
|
keepDuration: "48h"
|
||||||
|
- maxUsedSpace: "100GB"
|
||||||
|
keepDuration: "1440h"
|
||||||
|
reservedSpace: "10GB"
|
||||||
|
- all: true
|
||||||
|
reservedSpace: "50GB"
|
||||||
|
maxUsedSpace: "200GB"
|
||||||
|
minFreeSpace: "20GB"
|
||||||
|
|
||||||
log-driver: "json-file"
|
log-driver: "json-file"
|
||||||
|
log-format: "text"
|
||||||
|
log-level: ""
|
||||||
log-opts:
|
log-opts:
|
||||||
|
labels: "local"
|
||||||
|
env: "os,customer"
|
||||||
max-size: "50m"
|
max-size: "50m"
|
||||||
max-file: "5"
|
max-file: "5"
|
||||||
|
cache-disabled: "false"
|
||||||
|
cache-max-size: "20m"
|
||||||
|
cache-max-file: "5"
|
||||||
|
cache-compress: "true"
|
||||||
|
|
||||||
live-restore: false
|
default-ulimits:
|
||||||
icc: false
|
nofile:
|
||||||
userland-proxy: false
|
Name: "nofile"
|
||||||
default-address-pools: [{"base": "10.200.0.0/16", "size": 24}]
|
Soft: 64000
|
||||||
|
Hard: 64000
|
||||||
|
|
||||||
|
registry-mirrors: []
|
||||||
|
insecure-registries: []
|
||||||
|
max-download-attempts: 5
|
||||||
|
max-concurrent-downloads: 3
|
||||||
|
max-concurrent-uploads: 3
|
||||||
|
|
||||||
|
experimental: false
|
||||||
|
features:
|
||||||
|
cdi: true
|
||||||
|
containerd-snapshotter: false
|
||||||
|
|
||||||
|
labels: []
|
||||||
|
|
||||||
|
exec-opts: []
|
||||||
|
|||||||
@@ -26,6 +26,11 @@ system_packages:
|
|||||||
- socat
|
- socat
|
||||||
- netcat-traditional
|
- netcat-traditional
|
||||||
- vmtouch
|
- vmtouch
|
||||||
|
- gdb
|
||||||
|
- gcc
|
||||||
|
- cron
|
||||||
|
- just
|
||||||
|
- bat
|
||||||
monitoring:
|
monitoring:
|
||||||
- htop
|
- htop
|
||||||
- atop
|
- atop
|
||||||
|
|||||||
Reference in New Issue
Block a user