As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [templating]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

kustomize apply nameprefix and commonlabels to a list in path

i have this: kustomization.yaml: apiVersion: kind: Kustomization configurations: - configuration.yaml namePrefix: app-prefix- resources: - logging-output.yaml - ...
Psycho Mantys's user avatar
5 votes
2 answers

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

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
6 votes
2 answers

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
6 votes
1 answer

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,782
7 votes
2 answers

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