Spent quite a while googling this and can't find an example...
What is the proper way to do a if then statement inside of an inline shell?
example:
"type": "shell",
"inline" : [
"yum update -y"
" if [ $VAR -eq "something" ]; then
do this
and this
and finally this
else
do something else
fi",
Thank you for any help...