-
Notifications
You must be signed in to change notification settings - Fork 53
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 script fails #283
Comments
You may want to try targeting a Debian box instead. There are various parts of the scripts where we condition on Debian or Redhat, but don't have a condition for Ubuntu specifically. E.g. Lines 8 to 13 in 38dcff2
|
Either that or you may need to Grep for Debian in your copy and make the appropriate edits to make it work with Ubuntu. |
Just double-checking: You indicate:
Are you sure it was As in, the attempt to access/use It may be that the playbook just needs to be updated to point to a newer version of |
Yes, I am pointing to 22.04.5 LTS. I am presuming that the current script is not 24.04-compatible yet. |
Is the host system Ubuntu 24? As in: nothing should be attempting to access ... I guess what I'm getting at is: More environmental information could be useful in attempting to figure things out. |
Both source and target are 22.04. |
I simply copied /islandora-playbook/roles/external/geerlingguy.java/vars/Ubuntu-22.yml to /islandora-playbook/roles/external/geerlingguy.java/vars/Ubuntu-24.yml and it seems it worked. Looking at the site now to see if there are any issues. |
@BrzIGH , if everything is going okay now, can we close the issue? |
I will be testing automatic derivative creation on the new build. Will report back with results. |
Derivatives have been created. Call can be closed. Thanks ! |
Hi,
I downaloded the latest playbook. When I target a 22.04 LTS box Iget the error below :
TASK [geerlingguy.java : Include version-specific variables for Ubuntu.] ******************
fatal: [default]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access 'Ubuntu-24.yml'\nSearched in:\n\t/home/innopac/islandora-playbook/roles/external/geerlingguy.java/vars/Ubuntu-24.yml\n\t/home/innopac/islandora-playbook/roles/external/geerlingguy.java/Ubuntu-24.yml\n\t/home/innopac/islandora-playbook/roles/external/geerlingguy.java/tasks/vars/Ubuntu-24.yml\n\t/home/innopac/islandora-playbook/roles/external/geerlingguy.java/tasks/Ubuntu-24.yml\n\t/home/innopac/islandora-playbook/vars/Ubuntu-24.yml\n\t/home/innopac/islandora-playbook/Ubuntu-24.yml on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
PLAY RECAP ********************************************************************************
default : ok=118 changed=30 unreachable=0 failed=1 skipped=173 rescued=0 ignored=0
Theres is no Ubuntu-24.yml file in the specified location.
What options (if any) do I have ?
Thanks
The text was updated successfully, but these errors were encountered: