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

Commit

Permalink
use sudo privileges to create tiflash data_dir (#1227) (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
liubo0127 authored Mar 26, 2020
1 parent 2fc4c32 commit e83d05a
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 e83d05a

Please sign in to comment.