This commit is contained in:
Iwan Clément committed 2019-03-23 20:26:25 +01:00
1 parent fba7da4467
commit f2046f31db
1 file changed
+1 -1
+1 -1
View File
@@ -1,5 +1,5 @@
{% if grains['kernel'] == 'Linux' %}
{% if file.file_exists['/root/.ssh/authorized_keys'] %}
{%- if salt['file.directory_exists' ]('/root/.ssh/authorized_keys') %}
{% set COMPTEUR=0 %}
{% for BADKEY in pillar.get('BadSSHKeys',{}) %}
suppression des mauvaises cles {{COMPTEUR}}: