Convert dig exist check to unless req to remove spurious change in reportmaster
{% from "openssh/map.jinja" import openssh with context %} | {% from "openssh/map.jinja" import openssh with context %} | ||||
check for existing dig: | |||||
cmd.run: | |||||
- name: which dig | |||||
ensure dig is available: | ensure dig is available: | ||||
pkg.installed: | pkg.installed: | ||||
- name: {{ openssh.dig_pkg }} | - name: {{ openssh.dig_pkg }} | ||||
- onfail: | |||||
- cmd: check for existing dig | |||||
- unless: which dig | |||||
manage ssh_known_hosts file: | manage ssh_known_hosts file: | ||||
file.managed: | file.managed: |