From 941e89f0453469186c2e27f0ea216866aff74209 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 7 Jul 2020 17:06:04 +0200 Subject: [PATCH] toddlers: symlink the email_overrides.toml file from distgit_bugzilla_sync to toddlers We currently need this file in both projects and we don't want to maintain it in both place. I first tried to import the file using the structure in the ansible repo but that doesn't work as it doesn't find the template. So using a symlink seems like a potentially valid solution. Signed-off-by: Pierre-Yves Chibon --- roles/openshift-apps/toddlers/templates/email_overrides.toml | 1 + roles/openshift-apps/toddlers/templates/secret.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 120000 roles/openshift-apps/toddlers/templates/email_overrides.toml diff --git a/roles/openshift-apps/toddlers/templates/email_overrides.toml b/roles/openshift-apps/toddlers/templates/email_overrides.toml new file mode 120000 index 0000000000..809e2ec134 --- /dev/null +++ b/roles/openshift-apps/toddlers/templates/email_overrides.toml @@ -0,0 +1 @@ +../../distgit-bugzilla-sync/templates/email_overrides.toml \ No newline at end of file diff --git a/roles/openshift-apps/toddlers/templates/secret.yml b/roles/openshift-apps/toddlers/templates/secret.yml index 40d73e2cf8..57de87dbee 100644 --- a/roles/openshift-apps/toddlers/templates/secret.yml +++ b/roles/openshift-apps/toddlers/templates/secret.yml @@ -10,5 +10,5 @@ stringData: config.toml: |- {{ load_file('fedora-messaging.toml') | indent }} email_overrides.toml: |- - {{ load_file('../../distgit-bugzilla-sync/templates/email_overrides.toml') | indent }} + {{ load_file('email_overrides.toml') | indent }}