diff --git a/setup.py b/setup.py index 6212e174..363a9f93 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,11 @@ def find_package_data(package, data_dir): packages=find_packages(exclude=['contrib', 'docs', 'tests']), - install_requires=['ansible >= 2.5', 'obsah >= 0.0.3'], + install_requires=[ + 'ansible >= 2.5; python_version < 3.6', + 'ansible-core >= 2.11; python_version >= 3.6', + 'obsah >= 0.0.3', + ], extras_require={ 'argcomplete': ['argcomplete'],