ansible-community / ansible-nomad

:watch: Ansible role for Nomad
https://galaxy.ansible.com/brianshumate/nomad
BSD 2-Clause "Simplified" License
294 stars 163 forks source link

Set become:false when deleting local gossip key #142

Closed ppacher closed 2 years ago

ppacher commented 2 years ago

The local gossip encryption key at /tmp/nomad_raw.key is created using become: false. However, during cleanup (Delete gossip encryption key) become: false is missing and might cause issues becoming root on localhost if sudo asks for a password.

This PR fixes this by addind become: false to the respective task in get_gossip_key.yml