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

Replace order of roles #396

Open
laurobmb opened this issue May 18, 2024 · 0 comments
Open

Replace order of roles #396

laurobmb opened this issue May 18, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers in_progress inactive

Comments

@laurobmb
Copy link
Contributor

Summary

during the installation of the ansible automation platform an error occurs when the installation uses postinstall, in the variables in the defaults/main.yml folder the playbook tries to configure the ah_ee_repositories before the ah_ee_registries this causes the installation to break, causing the roles and registries to be inverted are configured first and the repositories follow.

the test was carried out by installing ansible automation platform 2.4 containerized on a rhel 9

This issue corrects a broken installation problem if you use AH's postinstall

#395

ah_configuration/roles/dispatch/defaults/main.yml


ah_configuration_dispatcher_roles:

  • {role: group, var: ah_groups, tags: groups}

  • {role: user, var: ah_users, tags: users}

  • {role: namespace, var: ah_namespaces, tags: namespaces}

  • {role: collection, var: ah_collections, tags: collections}

  • {role: ee_registry, var: ah_ee_registries, tags: registries}

  • {role: ee_repository, var: ah_ee_repositories, tags: repos}

  • {role: ee_repository_sync, var: ah_ee_repository_sync, tags: reposync}

  • {role: ee_image, var: ah_ee_images, tags: images}

  • {role: ee_registry_index, var: ah_ee_registries, tags: indices}

  • {role: ee_registry_sync, var: ah_ee_registries, tags: regsync}

  • {role: collection_remote, var: ah_collection_remotes, tags: collectionremote}

  • {role: collection_repository, var: ah_collection_repositories, tags: collectionsrep}

  • {role: collection_repository_sync, var: ah_collection_repositories, tags: collectionsrepsync}

  • {role: group_roles, var: ah_group_roles, tags: group_roles}
    ...

@laurobmb laurobmb added bug Something isn't working new labels May 18, 2024
@djdanielsson djdanielsson added good first issue Good for newcomers in_progress and removed new labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers in_progress inactive
Projects
None yet
Development

No branches or pull requests

2 participants