griggheo / ansible-consul-template

Ansible role for installing consul-template
Apache License 2.0
54 stars 52 forks source link

The consul-template system service is run as the root user #55

Closed awarner-greshamtech closed 2 years ago

awarner-greshamtech commented 2 years ago

It would be more secure to allow the option of creating a specific "consul-template" user and group and use these for file permissions and for running the system service.

griggheo commented 2 years ago

Do you still want to create a PR for this?

awarner-greshamtech commented 2 years ago

Hello, yes, we are just doing some internal testing and then I will raise a PR.

awarner-greshamtech commented 2 years ago

Hello - PR raised for this issue ( https://github.com/griggheo/ansible-consul-template/pull/57 ). I've also added some molecule tests which you may be able to run to verify the existing behaviour is not effected by the changes.