Questions tagged [templating]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
143 views

docker-compose multiple services in a loop

Trying to optimize definition of multiple services with docker-compose.yml Here is the original, "dumb" variant of the docker-compose.yml: version: '3' services: s1: build: . ports: - "...
4
votes
1answer
429 views

Configuring Zookeeper from Ansible

I'm trying to configure a Zookeeper Cluster with Ansible. As you might know Zookeeper has two important config files. zookeeper/conf/zoo.cfg I create this file on each cluster member using this ...
5
votes
2answers
15k views

Ansible Jinja template if statement

This is a snippet from my Ansible jinja template which populates an environment specific template. docker_compose_mq: <string-passed from Jenkins> docker_compose_profiles: "string" {% if "{{ ...
6
votes
1answer
57 views

Is it possible to template JIRA issues with pre-filled field contents?

In first place I look for default JIRA functionality e.g. without 3rd party plugins to simlify and improve the issue workflow. Examples: Simple: Template for an acceptable bug report Probably, less ...
7
votes
2answers
806 views

Constructing Dependencies from a Pillar in Saltstack

I'm trying to create a dummy state in Salt to pull dependencies from a list derived from a pillar. In my top.sls file, I have: base: '*': - components Then, in components.sls, I have: {% if '...