ansible-collections / ansible-consul

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

Check mode missing in one task #575

Closed jstenvall-ducksify closed 7 months ago

jstenvall-ducksify commented 7 months ago

Hello,

In the task Create temporary file for raw gossip encryption key in the file nix.yml check mode is missing. This task sets the variable consul_raw_key_file, and it must do so also in check mode, otherwise the following task fails: Write gossip encryption key locally for use with new servers

This is simple to fix by adding check_mode: false on line 111 in nix.yml.

Thanks a lot for your effort and support!

nre-ableton commented 7 months ago

Sure, no problem. See https://github.com/ansible-community/ansible-consul/pull/580.