chore: fix boilerplate for nomad role

This commit is contained in:
Bertrand Lanson 2024-10-06 12:17:45 +02:00
parent 34a97cd6d7
commit fd500f5d72
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw
9 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
---
# defaults file for hashicorp_nomad
# defaults file for nomad
nomad_version: "latest"
nomad_start_service: true

View File

@ -1,2 +1,2 @@
---
# handlers file for hashicorp_nomad
# handlers file for nomad

View File

@ -1,5 +1,5 @@
---
# meta file for hashicorp_nomad
# meta file for nomad
galaxy_info:
namespace: "ednz_cloud"
role_name: "hashicorp_nomad"

View File

@ -1,5 +1,5 @@
---
# task/configure file for hashicorp_nomad
# task/configure file for nomad
- name: "Nomad | Create nomad.env"
ansible.builtin.template:
src: nomad.env.j2

View File

@ -1,5 +1,5 @@
---
# task/main file for hashicorp_nomad
# task/main file for nomad
- name: "Nomad | Set reload-check & restart-check variable"
ansible.builtin.set_fact:
_nomad_service_need_reload: false

View File

@ -1,5 +1,5 @@
---
# task/merge_variables file for hashicorp_nomad
# task/merge_variables file for nomad
- name: "Nomad | Merge stringified configuration"
vars:
_config_to_merge: "{{ nomad_configuration_string }}"

View File

@ -1,5 +1,5 @@
---
# task/prerequisites file for hashicorp_nomad
# task/prerequisites file for nomad
- name: "Nomad | Create group {{ nomad_group }}"
ansible.builtin.group:
name: "{{ nomad_user }}"

View File

@ -1,5 +1,5 @@
---
# task/recursive_copy_extra_dirs file for hashicorp_nomad
# task/recursive_copy_extra_dirs file for nomad
- name: "Nomad | Ensure destination directory exists"
ansible.builtin.file:
path: "{{ dir_source_item.dest }}"

View File

@ -1,5 +1,5 @@
---
# vars file for hashicorp_nomad
# vars file for nomad
nomad_user: nomad
nomad_group: nomad
nomad_binary_path: /usr/local/bin/nomad