Score:0

Does ansible_config_file actually get set?

lc flag

According to the docs, there is a "magic" (read-only) variable called ansible_config_file telling me which ansible.cfg file was actually used. But I just get an undefined variable message. (ansible_inventory_sources works fine, just to mention another from the same list).

Is this value available under another name or by another method?

Admittedly I'm trying to do stuff I'm not supposed to, preventing users from overriding the location of ansible.cfg, but now I'm just wondering if I should report a documentation bug or a code bug.

in flag
What version of ansible are you using? It's not mentioned in the 2.9 documentation, but only in `latest`. Your Ansible is probably not recent enough.
lc flag
Yeah, I forgot to include the versions, I copied but did not paste. We're going to 2.10 in production, so I'd better upgrade my dev version asap. (In my defense, some of the vars are annotated with "Added in 2.8" or similar, so I assumed the others were older).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.