It is possible to get something like following:
{% if not exists} ('/ Tmp / dummy /') then%} dummy: file.touch: - name: /tmp/dummy/tmp.txt ... {% endif%}
I To install the software from a zip file it is necessary that I want to open the Minions, but there I have not left any of the license files, which I just need to install, have left.
{% if 1 == salt ['cmd.retcode'] ('test - F /tmp/woo.test')%} ack: file.touch: --name: /tmp/woo.test {% endif%}
Comments
Post a Comment