socketwench.pantheon_terminus

Ansible 角色:Pantheon Terminus

使用官方安装程序安装 Pantheon CLI。

需求

  • 服务器上必须已安装 PHP,并且版本兼容。
  • 必须安装 phar 扩展。
  • 必须安装 Composer。

角色变量

可用变量列在下面,连同默认值(请参见 defaults/main.yml)。

安装程序 URL

pantheon_terminus_installer_url

下载 Terminus 安装程序的完整 URL。默认值:https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar

安装选项

pantheon_terminus_install_dir

指定 terminus 可执行文件的安装目录。默认值:/usr/local/bin

pantheon_terminus_operation

要执行的安装操作。默认值:install

pantheon_terminus_bin_dir

系统 bin 目录的位置。默认值:/usr/local/bin

pantheon_terminus_version

要安装的 Terminus 版本。默认为空,指示安装程序使用最新版本。

PHP 可执行文件

pantheon_terminus_php_path

指定 PHP 可执行文件的路径。默认值:php

依赖

没有,但推荐以下角色:

  • geerlingguy.php
  • geerlingguy.composer

示例剧本

包含一个如何使用您的角色的示例(例如,将变量作为参数传递)对用户也很有用:

- hosts: servers
  roles:
     - { role: socketwench.pantheon_terminus }

许可证

GPL v3

作者信息

此角色由 socketwench 创建。

关于项目

Installs the Pantheon CLI using the official installer

安装
ansible-galaxy install socketwench.pantheon_terminus
许可证
gpl-3.0
下载
261
拥有者