Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if grains['id'].startswith('p-srv-web-n01') %}
- docker:
- compose-yml: |
- nginx:
- image: web1
- {% elif grains['id'].startswith('p-srv-web-n02') %}
- docker:
- compose-yml: |
- nginx:
- image: web2
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement