ansible-middleware / wildfly

A collection of roles to help install, setup and maintain Java JEE appserver Wildfly
GNU General Public License v2.0
12 stars 22 forks source link

Add functionality to allow EAP QE PRE GA testing #263

Closed istraka closed 1 month ago

istraka commented 1 month ago
guidograzioli commented 1 month ago
include_vars: ../vars.yml

the relative path there is a very common way for problems; if you really need to import common variables (but imho for test cases in particular are so error-prone without giving much benefits) : create a vars directory under each molecule test, and a symlink there to the common file.

so

/molecule/
    vars.yml
    /default/
         vars/main.yml -> vars.yml

Another practice to avoid is importing multiple var files as there is no facility in ansible to check for double definitions

istraka commented 1 month ago

After internal communication we went with having vars.yml as group_vars for all groups.