Pass variable arrays from Jenkinsfile to Ansible Playbook

前端 未结 0 521
旧时难觅i
旧时难觅i 2020-12-17 21:43

I have the following in Jenkinsfile:

{
def ENV_SERVER = [\'192.168.101.30\']
sh \'ansible-playbook nginx_depl.yml --limit 127.0.0.1\'
}

Then

相关标签:
回答
  • 消灭零回复
提交回复
热议问题