Set a default for keytab_host

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-12-10 09:42:36 +01:00
parent ffd14b9538
commit 64734c21e9
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -4,7 +4,7 @@
name: keytab/service
vars:
service: "{{ keytab_service }}"
host: "{{ keytab_host }}"
host: "{{ keytab_host|default(inventory_hostname) }}"
kt_location: "/etc/openshift_apps/{{keytab_app}}/{{keytab_key}}.kt"
- name: Call `oc secrets new` on the copied file