Add task file for reading or generating thye gossip encryption key
Include the new task file for servers when nomad_encrypt_enable is true and nomad_encrypt is not defined
Parameters
Add a new parameter nomad_encrypt_enable to force the creating of the encryption key
nomad_encrypt_enable may also be set with the environment variable NOMAD_ENCRYPT_ENABLE
nomad_encrypt is no longer defined by default
Maintain backward compatability (Playbooks that set nomad_encrypt do not need to change)
Templates
server.hcl.js - Since nomad_encrypt is no longer defined by default, use jinja2 default filter
Tasks
Add task file for reading or generating thye gossip encryption key Include the new task file for servers when nomad_encrypt_enable is true and nomad_encrypt is not defined
Parameters
Add a new parameter nomad_encrypt_enable to force the creating of the encryption key nomad_encrypt_enable may also be set with the environment variable NOMAD_ENCRYPT_ENABLE nomad_encrypt is no longer defined by default Maintain backward compatability (Playbooks that set nomad_encrypt do not need to change)
Templates
server.hcl.js - Since nomad_encrypt is no longer defined by default, use jinja2 default filter
Fixes #68