Hi, I am using ansible-galaxy and a requirements.yml file. I have CI set up to do linting. My CI build today - it last successfully ran 6 days ago. I think the group name of my dependencies changed, but now I can't get them to work:
My requirements.yml looks like this: - src: ansiblebit.grafana version: 2.14.2 - src: ftao.nginx-reverse-proxy version: master - src: williamyeh.oracle-java version: 2.11.0 - src: williamyeh.prometheus version: 2.3.2 My linting uses a docker file which gets built: ``` FROM python:3.7-slim RUN mkdir /ansible WORKDIR /ansible COPY requirements.yml ./ COPY requirements.txt ./ # TODO: Artifactory pypi mirror support appears to be broken #ENV PIP_INDEX_URL https://art01.corp.pingidentity.com/artifactory/api/pypi/pypi/simple RUN pip install --no-cache --requirement requirements.txt RUN ansible-galaxy install -r requirements.yml # NOTE: Must use array syntax: # https://serverfault.com/questions/647779/docker-run-not-appending-arguments-to-image-entrypoint ENTRYPOINT ["/usr/local/bin/ansible-playbook"] ``` requirements.txt: ``` ansible>=2.6,<2.8 ansible-lint>=3 ``` This first failed as `williamyeh.prometheus` was not found: ``` Step 7/8 : RUN ansible-galaxy install -r requirements.yml ---> Running in 5c2405e1ccce - downloading role 'grafana', owned by ansiblebit - downloading role from https://github.com/ansiblebit/grafana/archive/2.14.2.tar.gz - extracting ansiblebit.grafana to /root/.ansible/roles/ansiblebit.grafana - ansiblebit.grafana (2.14.2) was installed successfully - downloading role 'nginx-reverse-proxy', owned by ftao - downloading role from https://github.com/ftao/ansible-role-nginx-reverse-proxy/archive/master.tar.gz - extracting ftao.nginx-reverse-proxy to /root/.ansible/roles/ftao.nginx-reverse-proxy - ftao.nginx-reverse-proxy (master) was installed successfully - downloading role 'oracle-java', owned by williamyeh - downloading role from https://github.com/William-Yeh/ansible-oracle-java/archive/2.11.0.tar.gz - extracting williamyeh.oracle-java to /root/.ansible/roles/williamyeh.oracle-java - williamyeh.oracle-java (2.11.0) was installed successfully - downloading role 'prometheus', owned by williamyeh [WARNING]: - williamyeh.prometheus was NOT installed successfully: - sorry, williamyeh.prometheus was not found on https://galaxy.ansible.com. ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list. ``` This is very weird... I see it in galaxy but with a 'william-yeh' (with a hyphen) https://galaxy.ansible.com/william-yeh/prometheus I also see oracle-java https://galaxy.ansible.com/william-yeh/oracle-java I update requirements.yml: - src: ansiblebit.grafana version: 2.14.2 - src: ftao.nginx-reverse-proxy version: master - src: william-yeh.oracle-java version: 2.11.0 - src: william-yeh.prometheus version: 2.3.2 Now oracle-java is not found: ``` Step 7/8 : RUN ansible-galaxy install -r requirements.yml ---> Running in 5f42bcf58038 - downloading role 'grafana', owned by ansiblebit - downloading role from https://github.com/ansiblebit/grafana/archive/2.14.2.tar.gz - extracting ansiblebit.grafana to /root/.ansible/roles/ansiblebit.grafana - ansiblebit.grafana (2.14.2) was installed successfully - downloading role 'nginx-reverse-proxy', owned by ftao - downloading role from https://github.com/ftao/ansible-role-nginx-reverse-proxy/archive/master.tar.gz - extracting ftao.nginx-reverse-proxy to /root/.ansible/roles/ftao.nginx-reverse-proxy - ftao.nginx-reverse-proxy (master) was installed successfully - downloading role 'oracle-java', owned by william-yeh [WARNING]: - william-yeh.oracle-java was NOT installed successfully: - sorry, william-yeh.oracle-java was not found on https://galaxy.ansible.com. ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list. Service 'ansible' failed to build: The command '/bin/sh -c ansible-galaxy install -r requirements.yml' returned a non-zero code: 1 ERROR: Job failed: exit status 1 ``` I'm a bit lost as to how this broke and why it is no longer working: I assumed that the group changed in galaxy, but if that were the case why does changing it to match not work? -- _CONFIDENTIALITY NOTICE: This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you have received this communication in error, please notify the sender immediately by e-mail and delete the message and any file attachments from your computer. Thank you._ -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e5bb865d-4088-4dc7-b569-b9e95aa78a10%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.