Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release action fails #68

Open
jvoss opened this issue Jan 10, 2024 · 0 comments
Open

Release action fails #68

jvoss opened this issue Jan 10, 2024 · 0 comments

Comments

@jvoss
Copy link
Owner

jvoss commented Jan 10, 2024

GitHub Release action fails to run properly. Publish works when performing the same actions locally.

  1. Install Ansible base: pip install ansible-base
  2. Publish to Galaxy: ansible-galaxy role import --api-key *** $(echo jvoss/ansible-role-netbox | cut -d/ -f1) $(echo jvoss/ansible-role-netbox | cut -d/ -f2)
Run ansible-galaxy role import --api-key *** $(echo jvoss/ansible-role-netbox | cut -d/ -f1) $(echo jvoss/ansible-role-netbox | cut -d/ -f2)
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.1/x64/bin/ansible-galaxy", line 62, in <module>
    import ansible.constants as C
  File "/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/ansible/constants.py", line 15, in <module>
    from ansible.config.manager import ConfigManager, ensure_type, get_ini_config_value
  File "/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/ansible/config/manager.py", line 29, in <module>
    from ansible.module_utils.six.moves import configparser
ModuleNotFoundError: No module named 'ansible.module_utils.six.moves'
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant