Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support instance hostname for nomad_node_name at runtime #164

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

codezninja
Copy link

@codezninja codezninja commented Feb 16, 2023

Problem

To be able to use this role for golden image being build via Packer, I don't want to set the nomad_node_name via ansible and let nomad use the default hostname of the server when the nomad service starts up. The name config variable isn't required to run the service.

Description

This PR will allow users to set the ansible variable nomad_node_name: null to allow nomad to use the hostname on startup. This will still be backward compatible for the current usage of nomad_node_name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant