Skip to content

Commit

Permalink
[backport 1.x] Backport #62 (#69)
Browse files Browse the repository at this point in the history
* Update dashboards.yml. Fix owner and permissions for home folder (#62)

Signed-off-by: Sergey Shubin <[email protected]>

* Remove DCO

Signed-off-by: Peter Zhu <[email protected]>

* More tweaks

Signed-off-by: Peter Zhu <[email protected]>

Co-authored-by: ssi444 <[email protected]>
  • Loading branch information
peterzhuamazon and ssi444 authored May 25, 2022
1 parent 01b8e4b commit 5bb16bc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 19 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/dco.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
A community repository for Ansible Playbook of OpenSearch Project.

## Version and Branching
As of now, this helm-charts repository maintains 3 branches:
As of now, this ansible-playbook repository maintains 2 branches:
* _main_ (Version is 2.x.x for both `os_version` and `os_dashboards_version` in `inventories/opensearch/group_vars/all/all.yml`)
* _1.x_ (Version is 1.x.x for both `os_version` and `os_dashboards_version` in `inventories/opensearch/group_vars/all/all.yml`)
<br>
Expand Down
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 5bb16bc

Please sign in to comment.