Update basic install to bypass break system packages with pip incompatibility
This commit is contained in:
parent
81f9739ea7
commit
65561579d8
@ -15,3 +15,6 @@ control_path_dir = ~/.ansible/cp
|
|||||||
# SSH connection timeout increased for jump host connections
|
# SSH connection timeout increased for jump host connections
|
||||||
# Enable connection sharing (ControlMaster) to speed up multiple tasks.
|
# Enable connection sharing (ControlMaster) to speed up multiple tasks.
|
||||||
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ConnectTimeout=60 -o ConnectionAttempts=3
|
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
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
- name: Ensure universe repository is enabled
|
- name: Ensure universe repository is enabled
|
||||||
ansible.builtin.apt_repository:
|
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
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
@ -38,5 +38,6 @@
|
|||||||
- aiothrift
|
- aiothrift
|
||||||
- PySocks
|
- PySocks
|
||||||
state: present
|
state: present
|
||||||
extra_args: --break-system-packages
|
|
||||||
become: yes
|
become: yes
|
||||||
|
environment:
|
||||||
|
PIP_BREAK_SYSTEM_PACKAGES: "1"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user