chore: fix boilerplate for nomad role
This commit is contained in:
parent
34a97cd6d7
commit
fd500f5d72
@ -1,5 +1,5 @@
|
||||
---
|
||||
# defaults file for hashicorp_nomad
|
||||
# defaults file for nomad
|
||||
|
||||
nomad_version: "latest"
|
||||
nomad_start_service: true
|
||||
|
@ -1,2 +1,2 @@
|
||||
---
|
||||
# handlers file for hashicorp_nomad
|
||||
# handlers file for nomad
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
# meta file for hashicorp_nomad
|
||||
# meta file for nomad
|
||||
galaxy_info:
|
||||
namespace: "ednz_cloud"
|
||||
role_name: "hashicorp_nomad"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 }}"
|
||||
|
@ -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 }}"
|
||||
|
@ -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 }}"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user