[FEATURE]: Immediate stop if an incorrect value is passed #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🎯 Problem Statement
I'm always frustrated when I make a small mistake in some prompt and can't see it until I enter all
💡 Proposed Solution
Instead of 'ask all -> check all' approach, it would be better to ask one value and check it immediately and fail if it's wrong
🔄 Alternatives Considered
No response
📸 Screenshots
No response
⚙️ Technical Approach
✅ Acceptance Criteria
🤝 Are you willing to contribute this feature?
Yes, I can contribute
✅ Submission Checklist
Here is an example for hostname validation AND default value:
daa5826573 adds the requested support, but for LXCs only for now
Since new tasks are highly modular, they can be used in VMs deployment as well. Although, slight renaming would be required to make the tasks independent of the guest type (VM or LXC). Also renaming in LXC role would be necessary.
f29de42397 implements it. Now only VM deployment playbook needs to be updated
2fccf20768 updates VM deployment playbook, it uses shared validation pre_tasks and shares os_template and become_method tasks. Tested with debian-13, it needs alpine tests
Tests with Alpine are passed. Minor naming fixes are necessary
Naming fixes are in place (
93cee75), but password validation is just a copy-paste of hostname validation, password allows, in fact it requires, more complex combinations and special characters. New password validation is required.130fcb5069 allows the use of more complex passwords