Sure enough, moving the sitevars into the same playbook with the baseline
worked around the problem. So I at least know where the problem is and I
have a workaround for now.
<MR>
On Wednesday, July 3, 2019 at 10:29:50 AM UTC-4, Michael Raugh - NOAA
Affiliate wrote:
>
> Thought of that; nope. I even deleted the file and started over, no
> dice. Also tried backing off the ansible version from 2.8.1 to 2.4.2, and
> that didn't help. Neither did setting SELinux to Permissive.
>
> I have to think it's in the mechanism that retries the sitevars from Git.
> The latest version is in there, though. I'm pulling my hair out, and I
> don't have much left as it is.
>
> <MR>
>
> On Tuesday, July 2, 2019 at 3:57:40 PM UTC-4, Kai Stian Olstad wrote:
>>
>> On 02.07.2019 20:04, 'Michael Raugh - NOAA Affiliate' via Ansible Project
>> wrote:
>> > The directory is the first one checked in the path:
>> > /etc/ansible/tower/sitevars/vars/sitevars-Wallops.yml. The FACL on it
>> > matches all the other site files, so it's not that. The file is not
>> > duplicated anywhere other that the Git repository. Checked permissions
>> > there, too.
>> >
>> > My main.yml for tasks contains only this:
>> > ---
>> > # tasks file for sitevars
>> >
>> > - include_vars:
>> > file: sitevars-{{ site }}.yml
>> > name: site
>> >
>> > Which seems to be working for the other 8 sites just fine, and has been
>> for
>> > a while.
>> >
>> > Still perplexed.
>>
>> One option is that a non ascii has snuck in somewhere, that and a lot
>> more is easy to check with strace
>>
>> strace -f -x -o ansible.strace ansible-playbook playbook.yml
>>
>> Then you should have stat(..) line with the filename in ansible.strace
>> and openat(...)
>> and because of -x it will show any non ascii character if there are any.
>>
>>
>> --
>> Kai Stian Olstad
>>
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/cce0680e-85f5-4abb-b3dd-5a7b599860b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.