Questions tagged [templating]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
2 answers
1k 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 '...
Michael Mol's user avatar
  • 1,045
6 votes
2 answers
152 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 ...
Ta Mu's user avatar
  • 6,772
6 votes
2 answers
29k 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 "{{ ...
jto's user avatar
  • 378
5 votes
2 answers
6k 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: - "...
Alexander Shcheblikin's user avatar
4 votes
1 answer
795 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 ...
Marged's user avatar
  • 163