标签:shell
如何在ansible中传递一个变量给shell
如何在ansible中传递一个变量给shell
$ansible gcdc-latest01 -e xxx=10 -m shell -a ‘echo {{ xxx|quote }}’ gcdc-latest01 | SUCCESS | rc=0 >>10
如何在ansible中传递一个变量给shell
$ansible gcdc-latest01 -e xxx=10 -m shell -a ‘echo {{ xxx|quote }}’ gcdc-latest01 | SUCCESS | rc=0 >>10