SHOW:
|
|
- or go back to the newest paste.
1 | {% if grains['id'].startswith('p-srv-web-n01') %} | |
2 | docker: | |
3 | compose-yml: | | |
4 | nginx: | |
5 | image: web1 | |
6 | - | {% if grains['id'].startswith('p-srv-web-n02') %} |
6 | + | {% elif grains['id'].startswith('p-srv-web-n02') %} |
7 | docker: | |
8 | compose-yml: | | |
9 | nginx: | |
10 | image: web2 | |
11 | {% endif %} |