minor fix

pull/275/head
jmgao 2017-12-11 11:06:00 +08:00
parent 30d1c86d81
commit 65c5102f0e
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@
# copy: src=hosts.j2 dest=/etc/hosts
- name: 写入环境变量$PATH
shell: "echo export PATH={{ bin_dir }}:$PATH >> /etc/profile"
shell: "sed -i '/export PATH/d' /etc/profile && \
echo export PATH={{ bin_dir }}:$PATH >> /etc/profile"
- name: 下载证书工具 CFSSL
copy: src={{ base_dir }}/bin/{{ item }} dest={{ bin_dir }}/{{ item }} mode=0755