stevenjlho.deployer
Ansible角色 Deployer
这是用于PHP Deployer 的Ansible角色。
需求
- PHP 5.5.0及以上版本。
角色变量
deployer_version: "3.3.0"
设置Deployer的版本。
deployer_path: "/usr/local/bin/dep"
Deployer的全局可访问路径。
deployer_keep_upgrade: false
将此设置为true
,以便每次运行剧本时更新Deployer到最新版本。默认值为false。
deployer_force_upgrade: false
如果已安装旧版本的Deployer,将此设置为true
以强制根据deployer_version
升级Deployer。默认值为false。
依赖关系
geerlingguy.php
示例剧本
- hosts: localhost
vars:
deployer_keep_upgrade: true
roles:
- stevenjlho.deployer
许可证
MIT
作者信息
该角色由Steven Ho于2016年创建。