ansible-collections / ansible-consul

:satellite: Ansible role for Hashicorp Consul clusters
https://galaxy.ansible.com/ansible-community/consul/
BSD 2-Clause "Simplified" License
456 stars 316 forks source link

Stop consul service on Windows before installation #524

Closed nre-ableton closed 1 year ago

nre-ableton commented 1 year ago

The Consul service must be stopped or else updating to newer versions will fail with an error:

The process cannot access the file 'consul.exe' because it is being used by another process.

nre-ableton commented 1 year ago

I'm not quite sure why the tests are failing, given that I've only changed Windows files and CI (unfortunately) can't test that platform.

Edit: The CI issue has been resolved by https://github.com/ansible-community/ansible-consul/pull/528

nre-ableton commented 1 year ago

@bbaassssiiee If you don't have time to review this PR, I'll go ahead and merge it in one week.