ansible-galaxy icon indicating copy to clipboard operation
ansible-galaxy copied to clipboard

Custom welcome.html skipped, even if stat reports `exists`

Open mira-miracoli opened this issue 1 year ago • 0 comments

This task checks, if a custom subdomain welcome.html is present and registers the result in custom_welcome https://github.com/galaxyproject/ansible-galaxy/blob/8ec923943f85f127390eb301499738f4b49c8f4b/tasks/static_subdomain_dirs.yml#L51-L54 However, it appears that the task despite that, skipped and the following task that checks for this variable is not executed: https://github.com/galaxyproject/ansible-galaxy/blob/8ec923943f85f127390eb301499738f4b49c8f4b/tasks/copy_static_files.yml#L29-L37 Could this maybe due to ansible behaviour, that ansible forgets about the registered result, when it executes tasks from an imported file? I think that I have checked all other possible reasons and this seems to be the only one left, but maybe I am missing something.

mira-miracoli avatar Nov 07 '24 15:11 mira-miracoli