无人机
使用Drone插件预配ansible。 以下参数用于配置此插件:
inventory -定义库存文件(默认:暂存)
inventories -定义要部署的多个库存文件
inventory-path -在项目中为有效的库存文件定义路径(默认:供应/库存)
playbook -定义剧本文件(默认值:provisioning / provision.yml)
ssh-key定义用于连接主机的ssh-key
以下是.drone.yml文件中的示例配置:
pipeline :
deploy-staging :
image : rics3n/drone-ansible:2
inventory : staging
secrets : [ ssh_key ]
when :
branch : master
pipeline :
dep
评论0
最新资源