I cannot use CLI_ARGS in the top-level vars: section to prepare some other variables:
vars:
Host:
sh: echo "{{.CLI_ARGS}}" | sed 's/,.*//g;s/ .*//g'
Due to this oversight, I have to put the above code in every task.
- Task version: 3.23.0
- Operating System: macOS 12.6.2
Thanks for the wonderful program!