more fixes

This commit is contained in:
Lee Goolsbee
2024-03-26 09:32:20 -05:00
parent d58d02f1f6
commit e2ea50d4f7
9 changed files with 40 additions and 24 deletions

View File

@@ -2,7 +2,7 @@
- name: Touch the JMX password file
ansible.builtin.file:
path: "{{ atl_home_base }}/{{ atl_product_edition }}/jmx.access"
path: "{{ atl_product_home }}/jmx.access"
state: touch
owner: "{{ atl_product_user }}"
group: "{{ atl_product_user }}"
@@ -74,7 +74,7 @@
- name: set mesh_node_id var from the existing mesh.properties file
ansible.builtin.set_fact:
mesh_node_id: "{{ lookup('ansible.builtin.ini', 'node.id type=properties file=mesh_properties_file', errors='ignore' )| default('absent', true) }}"
mesh_node_id: "{{ lookup('ansible.builtin.ini', 'node.id type=properties file={{ mesh_properties_file }}', errors='ignore' )| default('absent', true) }}"
- name: set string to test mesh_clone_firstrun (node_name contains meshnode_{{ mesh_node_id }}")
ansible.builtin.set_fact:
@@ -104,7 +104,7 @@
# handle reregistering the correct node if node.id exists
- name: set mesh_node_id var from the existing mesh.properties file
ansible.builtin.set_fact:
mesh_node_id: "{{ lookup('ansible.builtin.ini', 'node.id type=properties file=mesh_properties_file') | split('.') | first }}"
mesh_node_id: "{{ lookup('ansible.builtin.ini', 'node.id type=properties file={{ mesh_properties_file }}') | split('.') | first }}"
# handle functionality relating to starting and registering the mesh service
- name: mesh service related processing