diff --git a/tasks/nexus_install.yml b/tasks/nexus_install.yml index cc88f95d..de71f35a 100644 --- a/tasks/nexus_install.yml +++ b/tasks/nexus_install.yml @@ -66,6 +66,12 @@ notify: - nexus-service-stop +- name: Ensure proper ownership of nexus installation directory + file: + path: "{{ nexus_installation_dir }}/nexus-{{ nexus_version }}" + recurse: yes + mode: "u=rwX,g=rX,o=rX" + - name: Update symlink nexus-latest file: path: "{{ nexus_installation_dir }}/nexus-latest"