andock.environment

andock.environment

andock.environment is an Ansible role that helps you create, update, and delete Andock environments.

Requirements

To build your applications with Andock, you need:

  • Ansible
  • Docksal
  • Git installed on both machines

Role Variables

Here are some important variables used in the role:

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"  # File for initial project setup
  docksal_env:
    XDEBUG_ENABLED: "0"
  hook_update_tasks: "hooks/update_tasks.yml"  # File for updating project
  hook_deploy_done: "hooks/deploy_done_tasks.yml"  # File to run after deployment
  hook_deploy_failure: "hooks/hook_deploy_failure.yml"  # File to run if deployment fails

Installation

You can install the Andock role using Ansible Galaxy, a platform for sharing Ansible roles. Run this command:

$ ansible-galaxy install andock.environment

Update

To update the role, use the --force option when installing:

$ ansible-galaxy install --force andock.environment

License

This role is licensed under the GPL.

Author Information

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

Informazioni sul progetto

Andock environment script.

Installa
ansible-galaxy install andock.environment
Licenza
gpl-3.0
Download
1.1k
Proprietario