浏览代码

Tarsnap key should be 0600. Resolves #321.

Alex Payne 10 年前
父节点
当前提交
ea266b73bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      roles/tarsnap/tasks/tarsnap.yml

+ 1
- 1
roles/tarsnap/tasks/tarsnap.yml 查看文件

@@ -64,7 +64,7 @@
64 64
   command: make all install clean chdir=/root/tarsnap-autoconf-{{ tarsnap_version }} creates=/usr/local/bin/tarsnap
65 65
 
66 66
 - name: Copy Tarsnap key file into place
67
-  copy: src=decrypted_tarsnap.key dest=/decrypted/tarsnap.key owner=root group=root force=no
67
+  copy: src=decrypted_tarsnap.key dest=/decrypted/tarsnap.key owner=root group=root mode="600" force=no
68 68
 
69 69
 - name: Create Tarsnap cache directory
70 70
   file: state=directory path=/usr/tarsnap-cache

正在加载...
取消
保存