这是ansible的剧本。我有两个库存文件。我如何在下面的命令中添加这两个?
备份清单文件1备份清单文件1
ansiblePlaybook(
playbook: 'ansible/playbooks/stop-start.yml',
inventory: 'ansible-inventory-file1',
credentialsId: 'test-ssh',
hostKeyChecking: false,
extraVars: [
action: "stop",
deploy_env: "${Environment}",
],
'''
Can someone help me out please?
1条答案
按热度按时间klr1opcd1#
将文件放入目录
使用此目录