commit | 124025c87af2012691d2796179fc978178706e12 | [log] [tgz] |
---|---|---|
author | Jiri Broulik <jbroulik@mirantis.com> | Mon Mar 12 12:15:48 2018 +0100 |
committer | Jiri Broulik <jbroulik@mirantis.com> | Mon Mar 12 13:09:06 2018 +0100 |
tree | 0abd064047a966b2bcca3d1bfe55d1d27d1e7b8c | |
parent | a0bab44e093eda1ecb71f139eb49d8ef0e992cd5 [diff] |
possibility to absent public key from server PROD-17856 Change-Id: Ife3cf46e786db6252d332f69c69389e4b5aa587a
diff --git a/backupninja/server.sls b/backupninja/server.sls index 3a96c3d..7417b45 100644 --- a/backupninja/server.sls +++ b/backupninja/server.sls
@@ -51,6 +51,13 @@ - require: - file: {{ server.home_dir }} +{%- else %} + +backupninja_key_{{ key.key }}: + ssh_auth.absent: + - user: backupninja + - name: {{ key.key }} + {%- endif %} {%- endfor %}