Merge pull request #68 from levlozhkin/master

Convert dig exist check to unless req to remove spurious change in report
This commit is contained in:
Forrest 2016-07-19 13:46:56 -07:00 committed by GitHub
commit 8ea31fd661

View File

@ -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: