CHANGE: splits install_packages in base_system role into distro-based files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user