tweaking the service startup options, altering permissions and ensuring the jmx access file exists

This commit is contained in:
Geoff Jacobs
2022-08-31 13:49:54 +10:00
parent 73de6b7f61
commit 1992ab0725
2 changed files with 13 additions and 0 deletions

View File

@@ -7,8 +7,10 @@
group: "{{ atl_product_user_uid }}"
mode: 0750
state: directory
recurse: yes
with_items:
- "{{ atl_home_base }}/{{ atl_product_edition }}"
- "{{ atl_home_base }}/{{ atl_product_user }}"
- "{{ mesh_install_dir }}"
- name: download the mesh distribution using maven
@@ -54,3 +56,11 @@
state: link
when:
- mesh_extract.changed | bool
- name: touch the jmx password file
ansible.builtin.file:
src: '/var/atlassian/application-data/jmx/jmx.access'
state: touch
owner: "{{ atl_product_user_uid }}"
group: "{{ atl_product_user_uid }}"
mode: 0600