adding the jmx file back as mesh is failing to start without it

This commit is contained in:
Geoff Jacobs
2022-09-01 10:24:44 +10:00
parent 4e6a600f56
commit 7a7d2d2259
3 changed files with 13 additions and 3 deletions

View File

@@ -56,10 +56,18 @@
when:
- mesh_extract.changed | bool
- name: touch the jmx password file
ansible.builtin.file:
path: "{{ atl_home_base }}/{{ atl_product_edition }}/jmx.access"
state: touch
owner: "{{ atl_product_user_uid }}"
group: "{{ atl_product_user_uid }}"
mode: 0600
- name: template out mesh.properties
ansible.builtin.template:
src: mesh.properties.j2
dest: "{{ atl_home_base }}/{{ atl_product_edition }}/mesh.properties"
owner: "{{ atl_product_user }}"
group: "{{ atl_product_user }}"
mode: 0600
mode: 0600

View File

@@ -2,7 +2,7 @@
grpc.server.address=0.0.0.0
authentication.token={{ ansible_hostname | hash('md5') }}
node.name= {{ ansible_hostname }}
node.name={{ ansible_hostname }}
node.id={{ ansible_hostname }}
jmx.enabled={{ mesh_jmx_enabled | default(false) }}