ansible_host: Fix for python 3.12 clients
This commit is contained in:
parent
4756acbaf0
commit
8dd1e61c3b
2 changed files with 91 additions and 0 deletions
|
@ -10,6 +10,11 @@
|
|||
- python3.11-dns # required for lookup('dig', 'hostname')
|
||||
- python3.11-netaddr # required by iptables role
|
||||
|
||||
- name: Patch ansible to support python 3.12 clients
|
||||
ansible.posix.patch:
|
||||
src: urls.py.patch
|
||||
dest: /usr/lib/python3.9/site-packages/ansible/module_utils/urls.py
|
||||
|
||||
- name: Create private directory and force permissions
|
||||
ansible.builtin.file:
|
||||
path: /export/private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue