Given that the requirement for the management host is py2.6+ and
PEP394[1] has been around some time now, would you consider using
'#!/usr/bin/env python2' instead of '#!/usr/bin/env python' in bin/*? I
can submit a PR for this.
Doing this would break ansible on Mac, as Mac does not ship a python2 symlink/binary. I’m sure there are other OSes that it would cause issue with as well.
Ideally, if ansible eventually migrates to setuptools entrypoints, this would be solved without having to worry about system specific paths.