playbook.yml 1.37 KB
Newer Older
1 2 3 4 5 6
---
- hosts: all
  become: true
  gather_facts: True

  vars:
7
    aegir_user: aegir
8
    aegir_makefile: files/aegir.make.yml
Christopher Gervais's avatar
Christopher Gervais committed
9
    aegir_php_version: '7'
10
    aegir_http_service_type: nginx
11
    aegir_extra_modules: []
12 13 14 15
      # Examples of additional modules to be enabled, which must be downloaded
      # in files/aegir.make.yml if not included by default.
      #- hosting_subdirs
      #- hosting_platform_composer
16
    aegir_extra_config: True
17
    aegir_provision_override: True
18
    drush_launcher_install: False
19
    drush_install_from_source: True
20 21
    drush_source_install_version: "8.1.16"
    php_default_version_debian: "7.2"
22 23
    php_enable_php_fpm: True
    php_enable_webserver: False
24
    #skynet_enable: True
25 26

  pre_tasks:
27

28
    - name: Increase PHP CLI memory limit.
29 30 31
      include_role:
        name: consensus.utils
        tasks_from: php-cli-memory.yml
32 33 34

  roles:
    - geerlingguy.mysql
35 36 37 38
    - geerlingguy.git
    - geerlingguy.php
    - geerlingguy.composer
    - geerlingguy.drush
39
    - consensus.aegir
40
    #- consensus.aegir-skynet
41 42 43

  tasks:

44
    - name: Replace package-installed Drush with the executable from the source repo.
45 46 47
      include_role:
        name: consensus.aegir
        tasks_from: override_drush.yml
48
      when: drush_install_from_source | bool
49

50
    - name: Generate one-time login link
51 52 53
      include_role:
        name: consensus.aegir
        tasks_from: login_link.yml
54