diff --git a/roles/ssh-backup-key-private/tasks/main.yml b/roles/ssh-backup-key-private/tasks/main.yml index 2f2b8be..24edead 100644 --- a/roles/ssh-backup-key-private/tasks/main.yml +++ b/roles/ssh-backup-key-private/tasks/main.yml @@ -3,10 +3,11 @@ file: path: ~/.ssh state: directory + mode: 0700 - name: recuperation de la cle privee generee par s-adm get_url: url: http://s-adm.gsb.adm/gsbstore/id_rsa_sbackup dest: /root/.ssh/id_rsa_sbackup - mode: 0644 + mode: 0600