ansible-community / ansible-nomad

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

Explicit owner and mode for config files #25

Closed groggemans closed 7 years ago

groggemans commented 7 years ago

Had an issue with nomad not starting because I had a custom create mask set up for improved security.

Updated the role to use explicit mode and user/group for config files. Because all files in /etc are usually owned by root I split-off the config directory creation so it's also owned by root.

brianshumate commented 7 years ago

Thanks! 👍

groggemans commented 7 years ago

Oops, looks like I forgot to add the leading zero's of the modes.. creating a fix asap