-
Notifications
You must be signed in to change notification settings - Fork 209
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
Ansible role is failing during update from Nexus 3.71.1-06 to 3.73.0-12 #433
Comments
What does your ansible command look like? Are you using tags? Or only execute partials of the playbook? Haven't seen this myself tho.. I have a version of this role that mainly uses API calls instead of Groovy. It can be found at https://github.com/CloudKrafter/nexus3-pro Let me know if you need more help |
The ansible command looks like
So yes, I'm using tags, but not to execute the nexus role partially. vars_files:
- nginx.yml
- nexus_secrets.yml
- nexus_blobstores.yml
- nexus_privileges_and_roles.yml
- nexus_local_users.yml
- nexus_ldap_users.yml
- nexus_repo_maven.yml
- nexus_repo_npm.yml
- nexus_repo_raw.yml
- nexus_repo_nuget.yml
- datadog-checks.yml
- google-cloud.yml
roles:
- { role: "google.cloud.gcloud", tags: ["backup", "basic", "nexus"] }
- { role: "nexus.basic", tags: ["basic", "nexus"] }
- { role: "gcloud-config", tags: ["backup", "config"] }
- { role: "geerlingguy.java", tags: ["nexus", "java"] }
- { role: "ansible-thoteam.nexus3-oss", tags: ["nexus"] }
- { role: "geerlingguy.nginx", tags: ["nginx"] }
- { role: "datadog.datadog", tags: ["datadog"] }
- { role: "mtail", tags: ["mtail"] } The nexus tag is executing the full ansible role (with create_blobstores.groovy commented out to get around the error from #431) |
I did a second test. |
Alright, that means we have to move more tasks to the Nexus API. |
During the update from Nexus 3.71.1 to 3.73.0 the role (v2.5.2) fails with the following error message:
This is the next error I stumbled in when I patched the ansible role locally (by commenting out the parts that are responsible for #431).
It seems that over time more and more groovy scripts needs to be replaced by API calls.
The text was updated successfully, but these errors were encountered: