Skip to content

fix: Full support for none-typed trivial defaults - #13

Merged
slothkong merged 7 commits into
mainfrom
support-nonetype-trivial-default
Feb 13, 2026
Merged

fix: Full support for none-typed trivial defaults#13
slothkong merged 7 commits into
mainfrom
support-nonetype-trivial-default

Conversation

@slothkong

@slothkong slothkong commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

A PR to bump dependency versions.

Whats new

We introduce the new released versions of Item dependencies documented in:

Item docs are also updated to accommodate the the new accepted trivial default values.

Technical Details
At the time of writing, the var_prompt statements we used on these Ansible Playbooks present a limitation.
This limitation has no impact for the user. But Ansible Roles that process inputs collected by var_prompt must deal with such ambiguity.

To be clear when the execute var_prompt and asks for an optional input , users have the option to press enter to skip, indicating they want to set the trivial default value. If users do indeed press enter to skip, var_prompt sets the corresponding var as a empty str (''), NOT as a noneType (null). Furthermore, if running in non-interactive mode, and ommitting the variable, Ansible sets is as a literal string containing the word None.

@slothkong
slothkong merged commit 7a326b4 into main Feb 13, 2026
1 check passed
@slothkong
slothkong deleted the support-nonetype-trivial-default branch February 13, 2026 14:40
github-actions Bot pushed a commit that referenced this pull request Feb 13, 2026
## [1.5.1](1.5.0...1.5.1) (2026-02-13)

### Bug Fixes

* Full support for none-typed trivial defaults ([#13](#13)) ([7a326b4](7a326b4))
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.

1 participant