Hello,
i try to install awx execution to isolated network.
VM is
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Python 3.10.6
ansible [core 2.13.7]
but when execute "ansible-playbook -i inventory.yml install_receptor.yml
-vvv", task end withe error:
"stderr": "/usr/lib/python3/dist-packages/dnf/const.py:22:
DeprecationWarning: The distutils package is deprecated and slated for
removal in Python 3.12. Use setuptools or check PEP 632 for potential
alternatives\n import
distutils.sysconfig\n/usr/lib/python3/dist-packages/dnf/const.py:22:
DeprecationWarning: The distutils.sysconfig module is deprecated, use
sysconfig instead\n import distutils.sysconfig\nUnable to detect release
version (use '--releasever' to specify release version)\nNo such command:
copr. Please use /usr/bin/dnf --help\nIt could be a DNF plugin command,
try: \"dnf install 'dnf-command(copr)'\"",
"stderr_lines": [
"/usr/lib/python3/dist-packages/dnf/const.py:22:
DeprecationWarning: The distutils package is deprecated and slated for
removal in Python 3.12. Use setuptools or check PEP 632 for potential
alternatives",
" import distutils.sysconfig",
"/usr/lib/python3/dist-packages/dnf/const.py:22:
DeprecationWarning: The distutils.sysconfig module is deprecated, use
sysconfig instead",
" import distutils.sysconfig",
"Unable to detect release version (use '--releasever' to specify
release version)",
"No such command: copr. Please use /usr/bin/dnf --help",
"It could be a DNF plugin command, try: \"dnf install
'dnf-command(copr)'\""
],
if try execute dnf copr enable ansible-awx/receptor -y
"/usr/lib/python3/dist-packages/dnf/const.py:22: DeprecationWarning: The
distutils package is deprecated and slated for removal in Python 3.12. Use
setuptools or check PEP 632 for potential alternatives
import distutils.sysconfig
/usr/lib/python3/dist-packages/dnf/const.py:22: DeprecationWarning: The
distutils.sysconfig module is deprecated, use sysconfig instead
import distutils.sysconfig
Unable to detect release version (use '--releasever' to specify release
version)
No such command: copr. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(copr)'""
how to resolve problem?
Thanks
Mattia
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/9eeba493-7a57-487e-8356-0fccf2f1e491n%40googlegroups.com.