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

Add main configuration files to managed_files list

Open wawa19933 opened this issue 2 years ago • 0 comments

The difference between consul_config_path and consul_configd_path was not clear to me at a first glance. That's why I have set them to the same value. This led me to the state, when all config files are removed during deployment. Because in services.yml all files within consul_configd_path which are not present in managed_files list are removed.

My change will save configuration files from accidential remove by other task in this role. It seems rather sane to add thses files to managed_files list as well.

wawa19933 avatar Feb 03 '22 17:02 wawa19933