ansible-consul
ansible-consul copied to clipboard
Add main configuration files to managed_files list
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.