ansible-community / ansible-nomad

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

Add nomad node pool support #167

Closed fairglen closed 10 months ago

fairglen commented 1 year ago

What's New: Since Nomad 1.6 now we can separate our default vs non-default workloads with node pools. This means job authors don’t have to repeatedly add the same constraints to every job just to avoid certain nodes.

This PR adds the role variable nomad_node_pool that if present gets settled on the client config.

CodiumAI-Agent commented 1 year ago

PR Analysis

How to use

Tag me in a comment '@CodiumAI-Agent' and add one of the following commands: /review [-i]: Request a review of your Pull Request. For an incremental review, which only considers changes since the last review, include the '-i' option. /describe: Modify the PR title and description based on the contents of the PR. /improve: Suggest improvements to the code in the PR. /ask \<QUESTION>: Pose a question about the PR.

To edit any configuration parameter from 'configuration.toml', add --config_path=new_value For example: /review --pr_reviewer.extra_instructions="focus on the file: ..."

CodiumAI-Agent commented 1 year ago

Preparing pr description...