fas2discourse: handle staging/prod keytab creation

Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
David Kirwan 2023-02-20 13:59:48 +09:00
parent f2d07ea7fe
commit a94ffc6cb5
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# generate the templates for project to be created
- name: create the templates
ansible.builtin.copy:
src: "/etc/openshift_apps/fas2discourse/fas2discourse-keytab.kt"
src: "/etc/openshift_apps/fas2discourse/fas2discourse{{ env_suffix }}-keytab.kt"
dest: "/root/ocp4/openshift-apps/fas2discourse-operator/fas2discourse-keytab.kt"
mode: 0600

View file

@ -16,7 +16,7 @@
name: keytab/service
vars:
kt_location:
"/etc/openshift_apps/fas2discourse/fas2discourse-keytab.kt"
"/etc/openshift_apps/fas2discourse/fas2discourse{{ env_suffix }}-keytab.kt"
service: "fas2discourse"
host: "{{ fas2discourse_hostname }}"
tags: