Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

use sudo privileges to create tiflash data_dir (#1227) #1242

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion roles/tiflash/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---

- name: create tiflash directories
file: path={{ item }} state=directory mode=0755
become: true
file: path={{ item }} state=directory mode=0755 owner={{ deploy_user }} group={{ deploy_user }}
with_items:
- "{{ tiflash_dir }}"
- "{{ tmp_path }}"
Expand Down