Hello!
I’m noticing that Ansible Galaxy has a new interface, cool!
But I’m unsure on where the “import” button now is, I have updated an Ansible role I’ve created that I’d like to import again. It seems like we have to do this via CLI now: How to Import ansible role on galaxy.ansible.com - #9 by ryhennessy
Fair enough, so I got about constructing a ansible.cfg containing:
[galaxy]
server_list = beta
[galaxy_server.beta]
url = https://galaxy.ansible.com/api/
token = REDACTED
But when I attempt to re-import this role I get:
pcadmin@workstation:~/projects$ ansible-galaxy role import -vv --branch main PC-Admin https://github.com/PC-Admin/ansible-role-ufw.git
ansible-galaxy [core 2.15.4]
config file = /home/pcadmin/projects/ansible.cfg
configured module search path = ['/home/pcadmin/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
ansible collection location = /home/pcadmin/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible-galaxy
python version = 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] (/usr/bin/python3)
jinja version = 3.0.3
libyaml = True
Using /home/pcadmin/projects/ansible.cfg as config file
Successfully submitted import request 2050915266769145963052585970530560717
git clone for https://github.com/PC-Admin/https://github.com/PC-Admin/ansible-role-ufw.git failed
File "/venv/lib64/python3.11/site-packages/pulpcore/tasking/tasks.py", line 66, in _execute_task
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/app/galaxy_ng/app/api/v1/tasks.py", line 93, in legacy_role_import
raise Exception(f'git clone for {clone_url} failed')