bodhi - rename yml templates to .j2

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2024-12-11 18:48:39 +10:00
parent f1847426a4
commit 0a080ac582
8 changed files with 7 additions and 7 deletions

View file

@ -96,14 +96,14 @@
secret_file_privatefile: "rabbitmq/{{env}}/pki/private/bodhi{{env_suffix}}.key"
- role: openshift/object
object_app: bodhi
object_template: imagestreams-tagged.yml
object_template: imagestreams-tagged.yml.j2
object_objectname: imagestreams.yml
- role: openshift/imagestream
imagestream_app: bodhi
imagestream_imagename: bodhi-base
- role: openshift/object
object_app: bodhi
object_template: buildconfig.yml
object_template: buildconfig.yml.j2
object_objectname: buildconfig.yml
- role: openshift/start-build
start_build_app: bodhi
@ -113,7 +113,7 @@
- build
- role: openshift/object
object_app: bodhi
object_template_fullpath: "{{roles_path}}/bodhi2/base/templates/configmap.yml"
object_template_fullpath: "{{roles_path}}/bodhi2/base/templates/configmap.yml.j2"
object_objectname: configmap.yml
- role: openshift/object
object_app: bodhi
@ -139,11 +139,11 @@
haproxy.router.openshift.io/timeout: 180s
- role: openshift/object
object_app: bodhi
object_template: deploymentconfig.yml
object_template: deploymentconfig.yml.j2
object_objectname: deploymentconfig.yml
- role: openshift/object
object_app: bodhi
object_template: critpathcron.yml
object_template: critpathcron.yml.j2
object_objectname: critpathcron.yml
- role: openshift/imagestream
imagestream_app: bodhi

View file

@ -287,7 +287,7 @@
- name: Install logging.yaml
template: >
src="{{ roles_path }}/bodhi2/base/templates/logging.yaml"
src="{{ roles_path }}/bodhi2/base/templates/logging.yaml.j2"
dest="/etc/bodhi/logging.yaml"
owner=apache
group=apache

View file

@ -42,7 +42,7 @@ data:
httpd.conf: |-
{{ load_file('httpd.conf.j2') | indent }}
logging.yaml: |-
{{ load_file('logging.yaml') | indent }}
{{ load_file('logging.yaml.j2') | indent }}
production.ini: |-
{{ load_file('production.ini.j2') | indent }}
celeryconfig.py: |-