aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2021-08-14 15:00:43 +0200
committerJulien Dessaux2021-08-14 15:00:43 +0200
commit277f2326578aa8b444e0a1d750412d9eaed3b0b8 (patch)
tree4f62eb5abea2c88136ced6679272f132b29cae0f
parentAdded Debian support (diff)
downloadborg-ansible-role-277f2326578aa8b444e0a1d750412d9eaed3b0b8.tar.gz
borg-ansible-role-277f2326578aa8b444e0a1d750412d9eaed3b0b8.tar.bz2
borg-ansible-role-277f2326578aa8b444e0a1d750412d9eaed3b0b8.zip
Fixed borg server account for Alpine Linux1.2.1
The locked account set a password as '!' which prevents login with ssh keys on only Alpine Linux. Setting the hashed password to '*' still prevents ssh login with passwords but no longer blocks ssh keys.
-rw-r--r--tasks/server.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/server.yml b/tasks/server.yml
index c166dcf..78754a2 100644
--- a/tasks/server.yml
+++ b/tasks/server.yml
@@ -12,7 +12,7 @@
home: /srv/borg
createhome: yes
system: yes
- password_lock: yes
+ password: '*'
- name: Ensure borg directories exist on server
file: