Add item to list in yq if it doesn’t already exist
Using mikefarah’s yq v4 I want to conditionally add an IP address to a list within a yml file if it does not exist in the list already.
Using mikefarah’s yq v4 I want to conditionally add an IP address to a list within a yml file if it does not exist in the list already.