mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
111
This commit is contained in:
parent
45734ddab0
commit
e3496763a3
@ -81,6 +81,7 @@
|
||||
path: /etc/nslcd.conf
|
||||
regexp: "^#binddn"
|
||||
line: "binddn cn=admin,dc=sectorq,dc=eu"
|
||||
|
||||
- name: Reconfigure nslcd bindpw
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/nslcd.conf
|
||||
@ -107,7 +108,7 @@
|
||||
content: |
|
||||
#!/usr/bin/bash
|
||||
ldapsearch -x '(&(objectClass=ldapPublicKey)(cn='"$1"'))' 'sshPublicKey' | sed -n '/^ /{H;d};/sshPublicKey:/x;$g;s/\n *//g;s/sshPublicKey: //gp'
|
||||
|
||||
mode: '0755'
|
||||
- name: Reconfigure sshd
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/ssh/sshd_config
|
||||
|
@ -21,6 +21,7 @@
|
||||
- mailu2-webmail-1
|
||||
- HomeAssistant
|
||||
- mosquitto-mosquitto-1
|
||||
- gitlab
|
||||
tasks:
|
||||
# - name: Start mailu rasp
|
||||
# uri:
|
||||
|
Loading…
x
Reference in New Issue
Block a user