Evaluating variables in tasks

Hi, I’m a little confused by the above, in particular this part:

stderr: kinit: Keytab contains no suitable keys for krb_gdc_co_test01@MSGREEN.DOM while getting initial credentials

This looks like krb_gdc_co_test01@MSGREEN.DOM is being substituted where you have {{ krb_hostname }} correctly.

Can you elaborate on where the problem is in your view?

Thanks!

Sorry for being dense, but these two values look the same to me:

krb_gdc_co_test01
krb_gdc_co_test01

What part of that is the incorrect part?

Thanks!

Try {{ hostvars[inventory_hostname][variable_with_variable_name] }}

Eric Van Steenbergen vs.eric@gmail.com napisał: