Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% set new_minion_grains = salt['mine.get'](pillar['new_minion'], 'grains.items') %}
- /usr/sbin/ufw allow proto tcp from {{ new_minion_grains['main_ip'][0] }} to any port 9997:
- cmd.run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement