I’m installing pulp on a OL8.10 system with python3.9. Any suggestions would be great.
TASK [geerlingguy.postgresql : Ensure PostgreSQL packages are installed.] ************************************************************************
task path: /home/jmatson/.ansible/roles/geerlingguy.postgresql/tasks/setup-RedHat.yml:2
failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
The full traceback is:
Traceback (most recent call last):
File “”, line 12, in
File “”, line 971, in _find_and_load
File “”, line 951, in _find_and_load_unlocked
File “”, line 894, in _find_spec
File “”, line 1157, in find_spec
File “”, line 1131, in _get_spec
File “”, line 1112, in _legacy_get_spec
File “”, line 441, in spec_from_loader
File “”, line 544, in spec_from_file_location
File “/tmp/ansible_ansible.legacy.dnf_payload_hmwq1fdu/ansible_ansible.legacy.dnf_payload.zip/ansible/module_utils/basic.py”, line 5
SyntaxError: future feature annotations is not defined
I’m using this this install.yml. my ansible central system is ubuntu 22.04 with python 3.10 and ansible [core 2.17.4]. As I said above I’m installing in AWS on a Oracle linux 8.10 system with python 3.9 installed.
- hosts: all
force_handlers: True
collections:- pulp.pulp_installer
vars:
pulp_settings:
secret_key: secret
content_origin: “https://{{ ansible_fqdn }}”
pulp_default_admin_password: passwd
pulp_install_plugins:
pulp-container:
pulp-rpm:
roles: - pulp_all_services
environment:
DJANGO_SETTINGS_MODULE: pulpcore.app.settings
- pulp.pulp_installer