From 66e8a67a007b926630a5f25e2f24d20c049e025d Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Wed, 4 Oct 2017 13:32:29 +0200 Subject: [PATCH] Force bash shell when concatenating key files --- tasks/user_keys.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/user_keys.yml b/tasks/user_keys.yml index 0667e14..884f5f9 100644 --- a/tasks/user_keys.yml +++ b/tasks/user_keys.yml @@ -36,3 +36,5 @@ - name: "Keys | Move the fresh auth file to replace the old one" shell: rm /home/{{ username }}/.ssh/authorized_keys && mv /home/{{ username }}/.ssh/auth_keys_fresh /home/{{ username }}/.ssh/authorized_keys + args: + executable: /bin/bash -- GitLab