Skip to content

fix(ansible): broaden superuser creation error check#6

Merged
histrio merged 1 commit into
mainfrom
fix/ansible-deploy-broaden-superuser-error-check
Dec 3, 2025
Merged

fix(ansible): broaden superuser creation error check#6
histrio merged 1 commit into
mainfrom
fix/ansible-deploy-broaden-superuser-error-check

Conversation

@histrio
Copy link
Copy Markdown
Contributor

@histrio histrio commented Dec 3, 2025

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.63%. Comparing base (b4e33a3) to head (5b3f0a7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #6   +/-   ##
=======================================
  Coverage   83.63%   83.63%           
=======================================
  Files           3        3           
  Lines          55       55           
=======================================
  Hits           46       46           
  Misses          9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the robustness of the Django superuser creation task in the Ansible deployment playbook by handling multiple error message formats that Django may return when a superuser already exists.

Key Changes:

  • Extended the failed_when condition to check for both 'already exists' and 'already taken' error messages from Django's createsuperuser command

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@histrio histrio merged commit fb9e739 into main Dec 3, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants