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

Create Systemd unit in directory /etc/systemd/system/ when 'vault_install_hashi_repo' is False

Open ron1 opened this issue 6 months ago • 0 comments

Create Systemd unit in directory /etc/systemd/system/ when 'vault_install_hashi_repo' is False. Currently, the following task overwrites the vault.service Systemd unit installed via the 'vault_install_hashi_repo'-based package manager. The Systemd documentation available here states "... you should not modify your the default unit files, which your system stores in the /usr/lib/systemd/system/ directory."

https://github.com/ansible-community/ansible-vault/blob/7e2fdeddec3405756aae10f1dedcace4ba94779b/tasks/main.yml#L276

ron1 avatar Apr 02 '25 16:04 ron1