CHANGE: splits install_packages in base_system role into distro-based files

This commit is contained in:
2026-08-17 12:48:51 +04:00
parent 7de3a91830
commit 4f2678c171
4 changed files with 51 additions and 11 deletions
+2 -11
View File
@@ -2,16 +2,7 @@
- name: Installing basic utils for comfort work (apt-based system)
when: (ansible_facts['os_family'] == "Debian")
ansible.builtin.apt:
name:
- gcc
- ranger
- zsh
- rsync
- git
- curl
- kitty
- ssh
- openssh-server
name: "{{ debian_13_packages }}"
update-cache: true # Run apt update before installation
become: true
remote_user: ansible
@@ -35,6 +26,6 @@
- name: Update and install packages on Alpine
when: (ansible_facts['distribution'] == "Alpine")
community.general.apk:
name: ranger zsh rsync git curl kitty openssh
name: "{{ alpine_packages }}"
update_cache: true
remote_user: ansible