Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- B:
- file:
- - symlink:
- - target: A
- - exists:
- - name: A
- {% if 1 == salt['cmd.retcode']('test -f /path/to/A') %}
- /path/to/A:
- file.symlink:
- - target: /symlink/path/A
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement