All configuration files must be given to the validate command at once (partial conf might raise some issue regarding missing some required items), so it's not possible to use the validate arg og the ansibvle.builtin.copy module used to template the config (cc @rndmh3ro).
SUMMARY
Following discussion on https://github.com/ansible-collections/ansible-consul/pull/565, this patch implement the validation during install / update only
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
config tasks
ADDITIONAL INFORMATION
All configuration files must be given to the validate command at once (partial conf might raise some issue regarding missing some required items), so it's not possible to use the
validate
arg og theansibvle.builtin.copy
module used to template the config (cc @rndmh3ro).