Fix(borg_server): Add a password to borg user

This commit is contained in:
Bertrand Benjamin 2018-11-11 17:47:10 +01:00
parent 0a2a63dcca
commit 37573a18c5
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@
name: "{{ borg.user }}" name: "{{ borg.user }}"
shell: /bin/bash shell: /bin/bash
home: "{{ borg.home }}" home: "{{ borg.home }}"
password: "{{ borg.password }}"
createhome: yes createhome: yes
group: "{{ borg.group }}" group: "{{ borg.group }}"
state: present state: present

View File

@ -24,6 +24,7 @@ nfs_shares:
## J'en suis là!! ## J'en suis là!!
borg: borg:
user: backup user: backup
password: '$6$6lmddb2/hRK5$zpz9rr./tC1oJYyw5588AXs53U0oEUPmKNUE.a6hP9fTazWRGZihvjZ722F.dfNWh2Kw6K3BDejvG78RhPN1Q0'
group: backup group: backup
home: /media/backup/borgbackup home: /media/backup/borgbackup
pool: /media/backup/borgbackup/repos pool: /media/backup/borgbackup/repos