You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Github Action For Solaris 10 Playbook Check Is Not Working, due to a compatibility issue, with the ubuntu-latest ( Ubuntu 24.04 ) github runner, the version of python on the controller, the version of python on the remote ( Solaris 10 Vagrant Box ), and the version of Ansible.
The following error is seen:
fatal: [127.0.0.1]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"exception": "Traceback (most recent call last):\r\n File \"/export/home/local/vagrant/.ansible/tmp/ansible-tmp-1718722998.3428314-15639-254420188666236/AnsiballZ_setup.py\", line 107, in <module>\r\n _ansiballz_main()\r\n File \"/export/home/local/vagrant/.ansible/tmp/ansible-tmp-1718722998.3428314-15639-254420188666236/AnsiballZ_setup.py\", line 99, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/export/home/local/vagrant/.ansible/tmp/ansible-tmp-1718722998.3428314-15639-254420188666236/AnsiballZ_setup.py\", line 44, in invoke_module\r\n from ansible.module_utils import basic\r\n File \"/tmp/ansible_ansible.legacy.setup_payload_JZmkAc/ansible_ansible.legacy.setup_payload.zip/ansible/module_utils/basic.py\", line 17\r\n msg=f\"ansible-core requires a minimum of Python version {'.'.join(map(str, _PY_MIN))}. Current version: {''.join(sys.version.splitlines())}\",\r\n ^\r\nSyntaxError: invalid syntax\r\n", "failed": true, "module_stderr": "Shared connection to 127.0.0.1 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/export/home/local/vagrant/.ansible/tmp/ansible-tmp-1718722998.3428314-15639-254420188666236/AnsiballZ_setup.py\", line 107, in <module>\r\n _ansiballz_main()\r\n File \"/export/home/local/vagrant/.ansible/tmp/ansible-tmp-1718722998.3428314-15639-254420188666236/AnsiballZ_setup.py\", line 99, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/export/home/local/vagrant/.ansible/tmp/ansible-tmp-1718722998.3428314-15639-254420188666236/AnsiballZ_setup.py\", line 44, in invoke_module\r\n from ansible.module_utils import basic\r\n File \"/tmp/ansible_ansible.legacy.setup_payload_JZmkAc/ansible_ansible.legacy.setup_payload.zip/ansible/module_utils/basic.py\", line 17\r\n msg=f\"ansible-core requires a minimum of Python version {'.'.join(map(str, _PY_MIN))}. Current version: {''.join(sys.version.splitlines())}\",\r\n ^\r\nSyntaxError: invalid syntax\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}
The text was updated successfully, but these errors were encountered:
Having done some investigation, reverting the runner to Ubuntu 22.04, installing Python 2, and ansible via pip seems to allow the check to run normally.
The Github Action For Solaris 10 Playbook Check Is Not Working, due to a compatibility issue, with the ubuntu-latest ( Ubuntu 24.04 ) github runner, the version of python on the controller, the version of python on the remote ( Solaris 10 Vagrant Box ), and the version of Ansible.
The following error is seen:
The text was updated successfully, but these errors were encountered: