瀏覽代碼

Merge pull request #68 from levlozhkin/master

Convert dig exist check to unless req to remove spurious change in report
master
Forrest 8 年之前
父節點
當前提交
8ea31fd661
共有 1 個檔案被更改,包括 1 行新增6 行删除
  1. +1
    -6
      openssh/known_hosts.sls

+ 1
- 6
openssh/known_hosts.sls 查看文件

@@ -1,14 +1,9 @@
{% from "openssh/map.jinja" import openssh with context %}

check for existing dig:
cmd.run:
- name: which dig

ensure dig is available:
pkg.installed:
- name: {{ openssh.dig_pkg }}
- onfail:
- cmd: check for existing dig
- unless: which dig

manage ssh_known_hosts file:
file.managed:

Loading…
取消
儲存