added step to ensure ownership of data dir.

This commit is contained in:
jefferyfry
2020-08-25 16:32:04 -07:00
parent e0c74e4f95
commit 2da3a81e76

View File

@@ -146,6 +146,13 @@
shell: "{{ artifactory_home }}/app/bin/installService.sh" shell: "{{ artifactory_home }}/app/bin/installService.sh"
become: yes become: yes
- name: ensure ownership of var/data
file:
path: "{{ artifactory_home }}/var/data"
owner: "artifactory"
group: "artifactory"
become: yes
- name: start and enable the primary node - name: start and enable the primary node
service: service:
name: artifactory name: artifactory