Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # push whether I am the master or not
- my_app_publish_cluster_master:
- module.run:
- - name: mine.send
- - func: my_app_cluster_master
- - kwargs:
- mine_function: cmd.run
- - args:
- # my_app.master pillar is true or false
- - echo {{ my_app.cluster_master }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement