From 3e0d1eb890c651b9008a03c82b829fd7c2b56108 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 5 Aug 2021 08:39:33 +0200 Subject: [PATCH] copr-fe: keytab host fix fatal: [copr-fe-dev.aws.fedoraproject.org -> ipa01.stg.iad2.fedoraproject.org]: FAILED! => {"changed": false, "msg": "host_add: coprfe-.stg.fedoraproject.org: invalid 'hostname': invalid domain-name: only letters, numbers, '-' are allow --- roles/copr/frontend-cloud/tasks/httpd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/frontend-cloud/tasks/httpd.yml b/roles/copr/frontend-cloud/tasks/httpd.yml index c5cbda45e7..e97434d0b3 100644 --- a/roles/copr/frontend-cloud/tasks/httpd.yml +++ b/roles/copr/frontend-cloud/tasks/httpd.yml @@ -95,7 +95,7 @@ name: keytab/service vars: service: copr-frontend-http-api - host: "coprfe-{{env_suffix}}.fedoraproject.org" + host: "{{ inventory_hostname }}" kt_location: /etc/httpd/conf.d/copr-frontend-http-api.keytab owner_group: apache owner_user: apache