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

Image + repository deletion fails on the second run #329

Open
myllynen opened this issue Oct 27, 2023 · 2 comments
Open

Image + repository deletion fails on the second run #329

myllynen opened this issue Oct 27, 2023 · 2 comments
Labels
bug Something isn't working inactive

Comments

@myllynen
Copy link

Deleting content from a private automation hub using:

  vars:
    ah_ee_images:
      - name: custom/test
        state: absent
    ah_ee_repositories:
      - name: custom/test
        state: absent
  roles:
    - infra.ah_configuration.ee_image
    - infra.ah_configuration.ee_repository

Works once when custom/test exists but fails the next run with "msg: The custom/test repository does not exist" .

@myllynen myllynen added bug Something isn't working new labels Oct 27, 2023
@sean-m-sullivan
Copy link
Contributor

I don't have a 4.4.0 hub on hand atm, as they were discontinued after that version. Does it actually delete both, or is this a problem with the lookup?

@myllynen
Copy link
Author

myllynen commented Nov 6, 2023

It deletes both on the first run successfully but image deletion fails on the second run since the repository doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working inactive
Projects
None yet
Development

No branches or pull requests

3 participants