rht-labs / labs-ci-cd

👻UNMAINTAINED - A collection of Red Hat Open Innovation Labs CI/CD components
Apache License 2.0
101 stars 70 forks source link

site.yml references roles that dont exist (roles/infra-ansible/roles/config-nexus) #250

Closed dealyb closed 5 years ago

dealyb commented 5 years ago

i tried to install this version and the roles directory sesm to have disappeared but it is still being referenced

dealyb commented 5 years ago

TASK [set namespace] *** ok: [ci-cd-tooling]

TASK [include_role : roles/infra-ansible/roles/config-nexus] *** ERROR! the role 'roles/infra-ansible/roles/config-nexus' was not found in /home/ec2-user/labs-ci-cd/labs-ci-cd/roles:/home/ec2-user/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/ec2-user/labs-ci-cd/labs-ci-cd

The error appears to have been in '/home/ec2-user/labs-ci-cd/labs-ci-cd/site.yml': line 21, column 15, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- include_role:
    name: roles/infra-ansible/roles/config-nexus
          ^ here
sherl0cks commented 5 years ago

Hmmm - I just cloned a fresh copy, and I didn't hit this issue (but I did hit a different one).

Did you start with ansible-galaxy install -r requirements.yml --roles-path=roles? That should the roles directory.

dealyb commented 5 years ago

perhaps not, let me try again.

sherl0cks commented 5 years ago

OK - I think you will hit an issue once you get past this one though. We just made a major refactor, could be that some stuff is broken.

sherl0cks commented 5 years ago

For reference this is the issue I think that you will actually hit once roles are installed.

251

dealyb commented 5 years ago

this is no longer an issue

dealyb commented 5 years ago

this is fixed now