Kaynağa Gözat

Tarsnap key should be 0600. Resolves #321.

Alex Payne 10 yıl önce
ebeveyn
işleme
ea266b73bc
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      roles/tarsnap/tasks/tarsnap.yml

+ 1
- 1
roles/tarsnap/tasks/tarsnap.yml Dosyayı Görüntüle

@@ -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

Loading…
İptal
Kaydet