diff --git a/roles/linux/dashboards/tasks/dashboards.yml b/roles/linux/dashboards/tasks/dashboards.yml index 0be1588..c39c9f7 100644 --- a/roles/linux/dashboards/tasks/dashboards.yml +++ b/roles/linux/dashboards/tasks/dashboards.yml @@ -34,6 +34,20 @@ mode: 0644 backup: yes +- name: Dashboards Install | Set the file ownerships + file: + dest: "{{ os_dashboards_home }}" + owner: "{{ os_dashboards_user }}" + group: "{{ os_dashboards_user }}" + recurse: yes + +- name: Dashboards Install | Set the folder permission + file: + dest: "{{ os_conf_dir }}" + owner: "{{ os_dashboards_user }}" + group: "{{ os_dashboards_user }}" + mode: 0700 + - name: Dashboards Install | create systemd service template: src: dashboards.service