[cron/sshFingerprint] On cron la mise à jour du bundle
This commit is contained in:
parent
e82b9cfef5
commit
a71e780b11
1 changed files with 2 additions and 0 deletions
|
@ -13,3 +13,5 @@ include("ip")
|
|||
@# On vérifie si les clef ssh de la machine ont changés. Si oui, on les mets à jours dans ldap
|
||||
min=int(admip().split('.')[3])%60
|
||||
print "%s 9 * * * root /usr/scripts/gestion/gen_confs/populate_sshFingerprint.py" % min
|
||||
@# On met à jour le known_hosts global
|
||||
print "%s 10 * * * root /usr/sbin/bcfg2 -b knownhosts -q" % min
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue