Questions tagged [templating]
The templating tag has no usage guidance.
5
questions
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 '...
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 ...
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 "{{ ...
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:
- "...
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 ...