我的剧本中有一些变量如下:
--- first_var: param1: value1 param2: value2
我想从命令行调用这些参数,如下所示:
ansible-playbook -i inventory site.yml -e 'first_var.param1=newvalue1'
但不起作用,我错过了什么吗?
variables nested ansible
ansible ×1
nested ×1
variables ×1