Skip to content

Commit

Permalink
Update dashboards.yml. Fix owner and permissions for home folder (#62)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Shubin <[email protected]>
  • Loading branch information
ssi444 authored May 24, 2022
1 parent c329223 commit 39184ae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions roles/linux/dashboards/tasks/dashboards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39184ae

Please sign in to comment.