From 57dada70c8d61a5a9b3acbbd7180a27bb4c8d75f Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 28 Aug 2023 13:54:38 +0200 Subject: [PATCH] upt playbook --- playbooks/setup_ldap_ssh.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/setup_ldap_ssh.yaml b/playbooks/setup_ldap_ssh.yaml index fe4c921..3f03ec6 100644 --- a/playbooks/setup_ldap_ssh.yaml +++ b/playbooks/setup_ldap_ssh.yaml @@ -7,4 +7,6 @@ content: | #!/bin/bash ldapsearch -b "dc=sectorq,dc=eu" -H ldap://192.168.77.106:389 -x '(&(objectClass=ldapPublicKey)(cn='"$1"'))' 'sshPublicKey' | sed -n '/^ /{H;d};/sshPublicKey:/x;$g;s/\n *//g;s/sshPublicKey: //gp' + owner: admin + mode: '0744' when: inventory_hostname in groups['nas']