Skip to content

Commit

Permalink
修复项目bin目录下二进制不能执行的错误
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Mar 6, 2019
1 parent 523d25c commit 2390410
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion roles/prepare/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@
- cfssl-certinfo
- cfssljson

- name: 创建 easzctl 工具的软连接
- name: 本地设置 bin 目录权限
file: path={{ base_dir }}/bin state=directory mode=0755 recurse=yes
connection: local
run_once: true

- name: 本地创建 easzctl 工具的软连接
file: src={{ base_dir }}/tools/easzctl dest=/usr/bin/easzctl state=link
connection: local
run_once: true

- name: 写入环境变量$PATH
lineinfile:
Expand Down

0 comments on commit 2390410

Please sign in to comment.