diff --git a/lib/ansible/modules/database/mysql/__init__.py b/lib/ansible/modules/database/mysql/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/ansible/modules/database/mysql_db.py b/lib/ansible/modules/database/mysql/mysql_db.py similarity index 100% rename from lib/ansible/modules/database/mysql_db.py rename to lib/ansible/modules/database/mysql/mysql_db.py diff --git a/lib/ansible/modules/database/mysql_user.py b/lib/ansible/modules/database/mysql/mysql_user.py similarity index 100% rename from lib/ansible/modules/database/mysql_user.py rename to lib/ansible/modules/database/mysql/mysql_user.py diff --git a/lib/ansible/modules/database/mysql_variables.py b/lib/ansible/modules/database/mysql/mysql_variables.py similarity index 100% rename from lib/ansible/modules/database/mysql_variables.py rename to lib/ansible/modules/database/mysql/mysql_variables.py diff --git a/lib/ansible/modules/database/postgresql/__init__.py b/lib/ansible/modules/database/postgresql/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/ansible/modules/database/postgresql_db.py b/lib/ansible/modules/database/postgresql/postgresql_db.py similarity index 100% rename from lib/ansible/modules/database/postgresql_db.py rename to lib/ansible/modules/database/postgresql/postgresql_db.py diff --git a/lib/ansible/modules/database/postgresql_privs.py b/lib/ansible/modules/database/postgresql/postgresql_privs.py similarity index 100% rename from lib/ansible/modules/database/postgresql_privs.py rename to lib/ansible/modules/database/postgresql/postgresql_privs.py diff --git a/lib/ansible/modules/database/postgresql_user.py b/lib/ansible/modules/database/postgresql/postgresql_user.py similarity index 100% rename from lib/ansible/modules/database/postgresql_user.py rename to lib/ansible/modules/database/postgresql/postgresql_user.py diff --git a/lib/ansible/modules/packaging/language/__init__.py b/lib/ansible/modules/packaging/language/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/ansible/modules/packaging/easy_install.py b/lib/ansible/modules/packaging/language/easy_install.py similarity index 100% rename from lib/ansible/modules/packaging/easy_install.py rename to lib/ansible/modules/packaging/language/easy_install.py diff --git a/lib/ansible/modules/packaging/gem.py b/lib/ansible/modules/packaging/language/gem.py similarity index 100% rename from lib/ansible/modules/packaging/gem.py rename to lib/ansible/modules/packaging/language/gem.py diff --git a/lib/ansible/modules/packaging/pip.py b/lib/ansible/modules/packaging/language/pip.py similarity index 100% rename from lib/ansible/modules/packaging/pip.py rename to lib/ansible/modules/packaging/language/pip.py diff --git a/lib/ansible/modules/packaging/os/__init__.py b/lib/ansible/modules/packaging/os/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/ansible/modules/packaging/apt.py b/lib/ansible/modules/packaging/os/apt.py similarity index 100% rename from lib/ansible/modules/packaging/apt.py rename to lib/ansible/modules/packaging/os/apt.py diff --git a/lib/ansible/modules/packaging/apt_key.py b/lib/ansible/modules/packaging/os/apt_key.py similarity index 100% rename from lib/ansible/modules/packaging/apt_key.py rename to lib/ansible/modules/packaging/os/apt_key.py diff --git a/lib/ansible/modules/packaging/apt_repository.py b/lib/ansible/modules/packaging/os/apt_repository.py similarity index 100% rename from lib/ansible/modules/packaging/apt_repository.py rename to lib/ansible/modules/packaging/os/apt_repository.py diff --git a/lib/ansible/modules/packaging/apt_rpm.py b/lib/ansible/modules/packaging/os/apt_rpm.py similarity index 100% rename from lib/ansible/modules/packaging/apt_rpm.py rename to lib/ansible/modules/packaging/os/apt_rpm.py diff --git a/lib/ansible/modules/packaging/redhat_subscription.py b/lib/ansible/modules/packaging/os/redhat_subscription.py similarity index 100% rename from lib/ansible/modules/packaging/redhat_subscription.py rename to lib/ansible/modules/packaging/os/redhat_subscription.py diff --git a/lib/ansible/modules/packaging/rhn_channel.py b/lib/ansible/modules/packaging/os/rhn_channel.py similarity index 100% rename from lib/ansible/modules/packaging/rhn_channel.py rename to lib/ansible/modules/packaging/os/rhn_channel.py diff --git a/lib/ansible/modules/packaging/rhn_register.py b/lib/ansible/modules/packaging/os/rhn_register.py similarity index 100% rename from lib/ansible/modules/packaging/rhn_register.py rename to lib/ansible/modules/packaging/os/rhn_register.py diff --git a/lib/ansible/modules/packaging/rpm_key.py b/lib/ansible/modules/packaging/os/rpm_key.py similarity index 100% rename from lib/ansible/modules/packaging/rpm_key.py rename to lib/ansible/modules/packaging/os/rpm_key.py diff --git a/lib/ansible/modules/packaging/yum.py b/lib/ansible/modules/packaging/os/yum.py similarity index 100% rename from lib/ansible/modules/packaging/yum.py rename to lib/ansible/modules/packaging/os/yum.py