You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I am setting a key/object in my top level globals.yaml at a specific lower level, I want to be able to remove that key (e.g. not just set the value: null but actually del). For example:
Thanks @danielcoman. This doesn't quite fit our use case. We are using himl as part of an Ansible dynamic inventory script. We could change the processing settings but what we are looking for the ability to to set some flag in the YAML being processed to indicate that key should be deleted.
Expected Behaviour
If I am setting a key/object in my top level
globals.yaml
at a specific lower level, I want to be able to remove that key (e.g. not just set thevalue: null
but actuallydel
). For example:global.yaml
then in my
special_dr_site.yaml
:After merging, for my
special_dr_site
, I want the resulting yaml to be:Actual Behaviour
Not sure if/how this can be achieved?
Reproduce Scenario (including but not limited to)
simply try the simple example above.
Steps to Reproduce
see above example
Platform and Version
Any
The text was updated successfully, but these errors were encountered: