REFACTOR: add maintenance roles doing configs stuff and system updates, add dependencies for neovim in base system

This commit is contained in:
2026-08-11 13:03:08 +04:00
parent ff948437c8
commit afca9912cf
19 changed files with 3866 additions and 5 deletions
+11 -2
View File
@@ -2,10 +2,19 @@
- name: Deploy and set up an LXC container in Proxmox
hosts: all
remote_user: ansible
roles:
- ../roles/deploy_lxc_on_proxmox
vars_files:
../inventory/group_vars/all/secrets.yaml
vars:
ansible_user_passwd_hash: "{{ ansible_password | password_hash('sha512', 's3edscrj45e6r') }}"
user_passwd_hash: "{{ user_password | password_hash('sha512', 's3ed6123jhgcr') }}"
roles:
# Check the Internet connection
# Check free disk space
../roles/common_healthcheck
# Update the system
../roles/update_system
# Harden SSH - we must be sure that the last version of ssh configs are distributed
../roles/harden_ssh
# Update configs - omz, nvim, ranger and so on. Distribute the last version of those configs