Directory structures and names changed to be follow the order of creation->provisioning->maintainance

This commit is contained in:
2026-07-07 11:41:21 +00:00
parent e033652d3e
commit efa9dfcbac
17 changed files with 48 additions and 41 deletions
@@ -0,0 +1,29 @@
---
- name: Installing basic utils for comfort work (apt-based system)
when: (ansible_facts['distribution'] == "Debian") or
(ansible_facts['distribution'] == "Ubuntu")
apt:
name:
- vim
- ranger
- zsh
- rsync
- git
- curl
- kitty
- unattended-upgrades
update-cache: yes # Run apt update before installation
become: yes
remote_user: ansible
# The same commands for Alpine
- name: Update Alpine packages
when: (ansible_facts['distribution'] == "Alpine")
command: /sbin/apk update
remote_user: ansible
- name: Install the packages on Alpine
when: (ansible_facts['distribution'] == "Alpine")
command: /sbin/apk add vim ranger zsh rsync git curl kitty
remote_user: ansible