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

installation failed when no repo creation require #326

Closed
shurikg opened this issue Jun 22, 2021 · 1 comment · Fixed by #327
Closed

installation failed when no repo creation require #326

shurikg opened this issue Jun 22, 2021 · 1 comment · Fixed by #327

Comments

@shurikg
Copy link
Contributor

shurikg commented Jun 22, 2021

I run the playbook without any repository definition and with

nexus_config_maven: false

the installation failed on

TASK [ansible-thoteam.nexus3-oss : Calling Groovy script create_repos_from_list] ***
14:28:06  Tuesday 22 June 2021  14:28:06 +0300 (0:00:00.159)       0:05:55.073 ********** 
14:28:06  fatal: [nexus_host]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: {{ _nexus_repos_global_list }}: '_nexus_repos_global_list' is undefined\n\n
shurikg added a commit to shurikg/nexus3-oss that referenced this issue Jun 22, 2021
@shurikg
Copy link
Contributor Author

shurikg commented Jun 22, 2021

I create PR to fix it

#327

shurikg added a commit to shurikg/nexus3-oss that referenced this issue Sep 30, 2021
@zeitounator zeitounator linked a pull request Oct 24, 2022 that will close this issue
zeitounator added a commit that referenced this issue Oct 24, 2022
* fixes #326
Add a default value as an empty list to the task looping over the internally created global list of repositories

Co-authored-by: Olivier Clavel <olivier.clavel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant