Use new version of the user management playbook.
Created by: smarnach
Make use of the user management playbook updated in edx/configuration#3274 and edx/edx-platform#13124.
Testing instructions
From the Django shell of an instance manager installation, run these commands (replacing the subdomain and the user name with appropriate values):
from instance.factories import production_instance_factory
instance = production_instance_factory(
sub_domain='user-creation-test',
edx_platform_repository_url='https://github.com/edx/edx-platform.git',
configuration_source_repo_url='https://github.com/edx/configuration.git',
configuration_version='master',
openedx_release='master',
)
instance.lms_users.add(User.objects.get(username='some_existing_user'))
instance.spawn_appserver()
This will deploy a new instance and create a user on it. Test that the user can log into the LMS and they have staff and superuser permissions.