Skip to content

Instantly share code, notes, and snippets.

@jackbravo
Last active January 20, 2017 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackbravo/9f3d0b893ceb1d9a387073bbf89a970a to your computer and use it in GitHub Desktop.
Save jackbravo/9f3d0b893ceb1d9a387073bbf89a970a to your computer and use it in GitHub Desktop.
---
- name: Install Drupal and Drush with Nginx, and PHP-FPM
hosts: 127.0.0.1
remote_user: vagrant
become: yes
vars:
opcache_memory_consumption: 256
#fastcgi_buffers: 64
#pm_max_children: 200
#pm_start_servers: 100
#pm_min_spare_servers: 100
#pm_max_spare_servers: 200
#pm_max_requests: 10000
sites:
mysite.com:
git: "http://git.drupal.org/project/drupal.git"
version: 8.3.x
names: ["mysite.com", "www.mysite.com"]
ssl: yes
letsencrypt: mysite.com
roles:
- { role: common, tags: [common] }
- { role: nginx, tags: [nginx] }
- { role: php7-fpm, tags: [php7-fpm] }
- { role: geerlingguy.composer, tags: [console] }
- { role: console, tags: [console] }
- { role: drupal, tags: [drupal] }
- { role: syslog, tags: [syslog] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment