Installation - Issue related to new Ansible version

51 views
Skip to first unread message

Olivier R

unread,
Jul 8, 2026, 11:59:07 AMJul 8
to Dataverse Users Community
Hi everyone,
I'm currently trying to install Dataverse 6.10.1 with Ansible, since I find it much easier and faster. It worked quite well with Dataverse 6.7.1 and Ansible 10 (Core 2.17).

I would like to report an issue with Ansible 12 (Core 2.19) which is now less permissive. The standard procedure fails if the value in a "when" clause is not a boolean. This problem occurs in the task payara.yml on line 88 and the message looks like:

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Task failed: Conditional result (False) was derived from value of type 'NoneType' at '<unknown>'. Conditionals must have a boolean result."}

This error can be bypassed by setting `ALLOW_BROKEN_CONDITIONALS`, but it would be great if the problem could be fixed in the dataverse-ansible gdcc repository. Maybe I should create an issue on GitHub.

Thanks for providing and maintaining dataverse-ansible.

Best regards,

Olivier
IPGP Datacenter

Don Sizemore

unread,
Jul 8, 2026, 12:45:22 PMJul 8
to dataverse...@googlegroups.com
Thank you for reporting this. Dataverse has bundled the JDBC driver for some time now, so this is dead code that can likely be removed.

Don

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/cf02c5cb-9a8c-4fed-bdff-3600a2ab9c31n%40googlegroups.com.

Olivier R

unread,
Jul 15, 2026, 1:45:08 PMJul 15
to Dataverse Users Community
Hi Don,

I am reporting another similar issue in dataverse-install.yml, lines 90 and 99. When the value of the variable dataverse.default.config in main.yml is left blank, Ansible 12 sets the default value to null. With the previous version of Ansible, the default was set to an empty string. Therefore, a conditional test of the length of this variable no longer works and the whole procedure fails.

A solution that worked for me was to replace this test with "default_config is none" on line 90, and "default_config is not none" on line 99. However, this may not work for people using Ansible 11 or any older version. In fact, the version of Ansible to use does not seem to be specified.


I hope this helps to maintain dataverse-ansible updated.

Olivier
Reply all
Reply to author
Forward
0 new messages