Closed akofink closed 5 years ago
OK for >= 2.3.
Is it like Require: ansible >= 2.3.0
in the Documentation variable?
Should we implement a test for this before failing to import handle_no_nailgun
?
@akofink I am currently trying to tackle that issue and I came up with a bunch of questions:
Generally it seems a good idea to go not beyond a certain ansible version. I am just wondering wether we want to connect a failure to an ansible version being below a minimum, or to a failed import of module_utils or to both
From 2.3 Release notes:
Allow module_utils for custom modules to be placed in site-specific directories and shipped in roles
ok fair enough. I guess the older modules probabally use a shared module_utils for the whole ansible project
@Fobhep I believe I was using Python 2.7 native on Centos 7.4. It's been a couple months :thinking:. We've seen differences with virtualenv vs. native during debugging (i.e. using the hacking/test-module with -D
).
We documented this, and 2.3 is quite old. Shall this issue be closed? I'd say so :)
It seems ansible v. 2.2 has some issues with requiring module support code: