diff --git a/tasks/main.yml b/tasks/main.yml index fac5451..7f2d628 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -87,7 +87,7 @@ - name: "set superjuser password" django_manage: - command: 'shell -c "from django.contrib.auth.models import User; usr = User.objects.get(username=\'admin\'); usr.set_password(\'{{im_admin_password}}\'); usr.save()"' + command: shell -c "from django.contrib.auth.models import User; usr = User.objects.get(username='admin'); usr.set_password('{{im_admin_password}}'); usr.save()" app_path: "{{im_home}}/im" become: true become_user: "{{im_user}}"