Browse Source

Tarsnap key should be 0600. Resolves #321.

Alex Payne 10 years ago
parent
commit
ea266b73bc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      roles/tarsnap/tasks/tarsnap.yml

+ 1
- 1
roles/tarsnap/tasks/tarsnap.yml View File

64
   command: make all install clean chdir=/root/tarsnap-autoconf-{{ tarsnap_version }} creates=/usr/local/bin/tarsnap
64
   command: make all install clean chdir=/root/tarsnap-autoconf-{{ tarsnap_version }} creates=/usr/local/bin/tarsnap
65
 
65
 
66
 - name: Copy Tarsnap key file into place
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
 - name: Create Tarsnap cache directory
69
 - name: Create Tarsnap cache directory
70
   file: state=directory path=/usr/tarsnap-cache
70
   file: state=directory path=/usr/tarsnap-cache

Loading…
Cancel
Save