Update basic install to bypass break system packages with pip incompatibility

This commit is contained in:
aperez 2025-12-26 10:54:34 +03:00
parent 81f9739ea7
commit 65561579d8
2 changed files with 6 additions and 2 deletions

View File

@ -15,3 +15,6 @@ control_path_dir = ~/.ansible/cp
# SSH connection timeout increased for jump host connections
# Enable connection sharing (ControlMaster) to speed up multiple tasks.
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ConnectTimeout=60 -o ConnectionAttempts=3
# Use SCP instead of SFTP for file transfers.
# This avoids warnings on hosts where the SFTP subsystem is not enabled.
scp_if_ssh = True

View File

@ -16,7 +16,7 @@
- name: Ensure universe repository is enabled
ansible.builtin.apt_repository:
repo: "deb http://archive.ubuntu.com/ubuntu {{ ansible_lsb.codename }} universe"
repo: "deb http://archive.ubuntu.com/ubuntu {{ ansible_lsb.codename }} universe"
state: present
update_cache: yes
@ -38,5 +38,6 @@
- aiothrift
- PySocks
state: present
extra_args: --break-system-packages
become: yes
environment:
PIP_BREAK_SYSTEM_PACKAGES: "1"