16 lines
410 B
YAML
16 lines
410 B
YAML
---
|
|
glob_service_ssh_known_hosts:
|
|
name: ssh_known_hosts
|
|
install_dir: /var/local/services/ssh_known_hosts
|
|
dependencies:
|
|
- python3-ldap
|
|
- python3-jinja2
|
|
git:
|
|
remote: https://gitlab.adm.crans.org/nounous/ssh_known_hosts.git
|
|
version: main
|
|
cron:
|
|
frequency: "*/10 * * * *"
|
|
config:
|
|
ldap:
|
|
server: ldaps://{{ query('ldap', 'ip', 'tealc', 'adm') | ansible.utils.ipv4 | first }}
|