Local running Rocky8

This commit is contained in:
Alik Kurdyukov 2025-06-14 00:38:38 +04:00
parent 2daac5a816
commit fa6acbeaa8
2 changed files with 33 additions and 0 deletions

View File

@ -10,6 +10,12 @@
- ansible_distribution != 'Fedora'
- ansible_distribution != 'Rocky' or ansible_distribution_major_version == "9"
- name: Ensure that devel repository in enabled for Rocky 8 (need xxxhash-devel)
community.general.dnf_config_manager:
name: devel
state: enabled
when: ansible_distribution == 'Rocky' and ansible_distribution_major_version == "8"
- name: Install build dependencies
ansible.builtin.package:
name: "{{ borg_pip_packages }}"

27
vars/Rocky-8.yml Normal file
View File

@ -0,0 +1,27 @@
borg_dep_packages:
- openssh-clients
- python3.9
borg_cron_package: cronie
borg_pip_packages:
- libacl-devel
- libacl
- gcc
- gcc-c++
- openssl-devel
- lz4-devel
- libzstd-devel
- xxhash-devel
- python39-pip
- python39-wheel
- python39-devel
- python39-setuptools
- python3-virtualenv
borg_distro_packages:
- borgbackup
- borgmatic
python_bin: python3.9
pip_bin: pip3.9