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_version: "latest"
|
||||||
nomad_start_service: true
|
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:
|
galaxy_info:
|
||||||
namespace: "ednz_cloud"
|
namespace: "ednz_cloud"
|
||||||
role_name: "hashicorp_nomad"
|
role_name: "hashicorp_nomad"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# task/configure file for hashicorp_nomad
|
# task/configure file for nomad
|
||||||
- name: "Nomad | Create nomad.env"
|
- name: "Nomad | Create nomad.env"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: nomad.env.j2
|
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"
|
- name: "Nomad | Set reload-check & restart-check variable"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
_nomad_service_need_reload: false
|
_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"
|
- name: "Nomad | Merge stringified configuration"
|
||||||
vars:
|
vars:
|
||||||
_config_to_merge: "{{ nomad_configuration_string }}"
|
_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 }}"
|
- name: "Nomad | Create group {{ nomad_group }}"
|
||||||
ansible.builtin.group:
|
ansible.builtin.group:
|
||||||
name: "{{ nomad_user }}"
|
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"
|
- name: "Nomad | Ensure destination directory exists"
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ dir_source_item.dest }}"
|
path: "{{ dir_source_item.dest }}"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# vars file for hashicorp_nomad
|
# vars file for nomad
|
||||||
nomad_user: nomad
|
nomad_user: nomad
|
||||||
nomad_group: nomad
|
nomad_group: nomad
|
||||||
nomad_binary_path: /usr/local/bin/nomad
|
nomad_binary_path: /usr/local/bin/nomad
|
||||||
|
Loading…
Reference in New Issue
Block a user