diff --git a/MANIFEST.in b/MANIFEST.in index 918a1c03b8..d0e82731ab 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -7,7 +7,7 @@ include .coveragerc include .yamllint include examples/hosts include examples/ansible.cfg -include lib/ansible/module_utils/powershell/*.psm1 +recursive-include lib/ansible/module_utils/powershell * recursive-include lib/ansible/modules * recursive-include lib/ansible/galaxy/data * recursive-include docs * diff --git a/setup.py b/setup.py index c741c568a4..89fffa5895 100644 --- a/setup.py +++ b/setup.py @@ -172,9 +172,10 @@ setup( packages=find_packages('lib'), package_data={ '': [ - 'module_utils/*.ps1', - 'modules/windows/*.ps1', + 'module_utils/powershell/*.psm1', + 'module_utils/powershell/*/*.psm1', 'modules/windows/*.ps1', + 'modules/windows/*/*.ps1', 'galaxy/data/*/*.*', 'galaxy/data/*/*/.*', 'galaxy/data/*/*/*.*',