Skip to content

Commit

Permalink
use sudo privileges to create tiflash data_dir (pingcap#1227)
Browse files Browse the repository at this point in the history
  • Loading branch information
liubo0127 committed Mar 26, 2020
1 parent 2fc4c32 commit f66bda8
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit f66bda8

Please sign in to comment.