Skip to content

Commit 61e02e6

Browse files
committed
Removed unnecessary chown
1 parent b8621fa commit 61e02e6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tasks/nexus_install.yml

-11
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,11 @@
2020
creates="{{ nexus_installation_dir }}/nexus-{{ nexus_version }}"
2121
force=no
2222
copy=false
23-
owner={{ nexus_os_user }}
24-
group={{ nexus_os_group }}
2523
mode="0755"
2624

2725
- name: Update symlink nexus-latest
2826
file: path="{{ nexus_installation_dir }}/nexus-latest" src="{{ nexus_installation_dir }}/nexus-{{ nexus_version }}" state=link
2927

30-
- name: Set permissions and ownership on Nexus installation directory
31-
file:
32-
path={{ nexus_installation_dir }}/{{ nexus_package }}
33-
state="directory"
34-
owner="{{ nexus_os_user }}"
35-
group="{{ nexus_os_group }}"
36-
mode="0755"
37-
recurse=true
38-
3928
- name: Delete unpacked data directory
4029
file: path="{{ nexus_installation_dir }}/nexus-latest/data" state=absent
4130

0 commit comments

Comments
 (0)