andock.environment

最新版本 构建状态

andock.environment

andock.environment 是一个 Ansible 角色,用于: 创建、更新和删除 Andock 环境。

需求

要使用 Andock 构建应用程序,您需要:

  • Ansible
  • Docksal
  • 两台机器上都需要有 git

角色变量

vars:
  git_artifact_repository_path: https://github.com/andock/demo-project.git
  project_name: demo-project-name
  project_id: demo-project
  branch: "master"
  mounts:
    files:
      path: docroot/files

  virtual_hosts:
    default:
      virtual_host: "{{ branch }}.demo-project-fin.docksal"
      container: web
    sub:
      virtual_host: "{{ branch }}.demo2-project-fin.docksal"
      container: web
  hook_init_tasks: "hooks/init_tasks.yml"
  docksal_env:
    XDEBUG_ENABLED: "0"
  hook_init_tasks: "hooks/init_tasks.yml" # 项目初始化的任务文件。这里运行 site-install。
  hook_update_tasks: "hooks/update_tasks.yml" # 项目初始化的任务文件。这里运行 site-install。
  hook_deploy_done: "hooks/deploy_done_tasks.yml" # 部署完成后的任务文件。
  hook_deploy_failure: "hooks/hook_deploy_failure.yml" # 部署失败后的任务文件。

安装

Andock 是一个通过 Ansible Galaxy 全球分发的 Ansible 角色。要安装 Andock 角色,您可以使用以下命令。

$ ansible-galaxy install andock.environment

更新

如果您想更新角色,需要在安装时传递 --force 参数。请查看以下命令:

$ ansible-galaxy install --force andock.environment

许可证

GPL

作者信息

Christian Wiedemann (christian.wiedemann@key-tec.de)

安装
ansible-galaxy install andock.environment
许可证
gpl-3.0
下载
1.1k
拥有者