Skip to content

Commit 1922e51

Browse files
committed
Remove system managed python warning (Fixes #5)
1 parent ef608d8 commit 1922e51

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

roles/linux_common/tasks/setup-Debian.yml

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
state: latest
1919
cache_valid_time: "{{ apt_cache_expiration }}"
2020

21+
# Related GitHub issue: https://github.com/geerlingguy/docker-ubuntu2404-ansible/issues/2
22+
- name: Ensure Python system warning is removed.
23+
ansible.builtin.file:
24+
path: /usr/lib/python3.12/EXTERNALLY-MANAGED
25+
state: absent
26+
2127
- name: Configure server to automatically install security updates.
2228
ansible.builtin.template:
2329
src: "etc/apt/apt.conf.d/{{ item }}.j2"

0 commit comments

Comments
 (0)