#48 inventory: Use list of ignored inventory extensions from environment if present
Merged by stefw. Opened by merlinm.
Unknown source master

Download 48.patch

A small improvement to allow an environment variable override of ignored file extensions conforming with ansible's inventory conventions.

Thanks to @cevich for the idea!

This code is very hard to read. I suggest reformatting it, even if we have to make it less fancy.

I'd also note that the bool() is likely not needed

1 new commit added

  • Rewrite ignored inventory extension code to be less fancy.

I have tested this with the sed tests (which fail in a containter) ... but the merge-inventory-script works for that case.

Pull-Request has been merged by stefw

Metadata