Make bash script to update hash values inplace #1041
Unanswered
tejasbhosale009
asked this question in
Q&A
Replies: 2 comments 2 replies
-
You just need to include the
|
Beta Was this translation helpful? Give feedback.
1 reply
-
First problem:
Second:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
This is my hiera yaml example file which i want to update inplace
created a bash script to update this file inplace
but this does not work ..
but if i use that command manually from command line bash shell then update works fine
yq eval -i -v -I 5 '."profile::antcandy::location"."abc.example.com" |= {"v1": "3001", "v2": "3006"} /root/devapi01.example.com.yaml
Can anyone please guide ??
Beta Was this translation helpful? Give feedback.
All reactions