Skip to content

Instantly share code, notes, and snippets.

@benosman
Created February 3, 2014 16:03
Show Gist options
  • Save benosman/8786689 to your computer and use it in GitHub Desktop.
Save benosman/8786689 to your computer and use it in GitHub Desktop.
---
# Vars is a list of variables, some will be required for the component library, others are specific to the custom tasks.
vars:
default_source: drupal
drupal_version: 7
static_root: static
dev_root: dev
bitbucket_user: username
github_user: username
example_dictionary:
first: first value
second: second value
example_array:
- first
- second
# These blocks allow you to run ansible style tasks before or after a specific command, e.g. update which is run using
# 'flo update'. These tasks can be declared inline or in an include.
update:
include: update.yml
build:
pre_tasks:
- name: Ensure Symlinks
action: link src={{ static_root }}/robots.txt dest=robots.txt
tasks:
- name: Copy settings.php
action: template src=settings.php.j2 dest=sites/default/settings.php mode=0600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment