From 75f42cc3b31567ec75d5a28069cfd916cdde0c80 Mon Sep 17 00:00:00 2001
From: Simon Constans <kosssi@gmail.com>
Date: Sun, 20 Jul 2014 21:45:42 +0000
Subject: [PATCH] #2 Add --- for all YAML file

---
 .travis.yml                       | 2 ++
 defaults/main.yml                 | 2 ++
 meta/main.yml                     | 2 ++
 tasks/install.yml                 | 2 ++
 tasks/main.yml                    | 2 ++
 tasks/test.yml                    | 2 ++
 tasks/update.yml                  | 2 ++
 tests/playbook.yml                | 4 +++-
 tests/roles/common/tasks/main.yml | 2 ++
 9 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 6c8ebdb..47d26ae 100755
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,5 @@
+---
+
 language: python
 
 python:
diff --git a/defaults/main.yml b/defaults/main.yml
index ec521c1..d52bffc 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -1,3 +1,5 @@
+---
+
 composer_path: /usr/local/bin/composer
 composer_update: true
 composer_update_day: 20
diff --git a/meta/main.yml b/meta/main.yml
index 231b811..fdbcf37 100755
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -1,3 +1,5 @@
+---
+
 galaxy_info:
   author: kosssi
   description: Install and Update Composer PHP Dependency Manager
diff --git a/tasks/install.yml b/tasks/install.yml
index 3a1de8a..5a32c4b 100644
--- a/tasks/install.yml
+++ b/tasks/install.yml
@@ -1,3 +1,5 @@
+---
+
 - name: Download and install Composer into the current directory.
   shell:
     php -r "readfile('https://getcomposer.org/installer');" | php
diff --git a/tasks/main.yml b/tasks/main.yml
index 5536a42..00bc406 100755
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -1,3 +1,5 @@
+---
+
 - include: install.yml
 - include: test.yml
 - include: update.yml
diff --git a/tasks/test.yml b/tasks/test.yml
index 832853c..f29bfa9 100644
--- a/tasks/test.yml
+++ b/tasks/test.yml
@@ -1,3 +1,5 @@
+---
+
 - name: Get stat of composer file
   stat:
     path="{{ composer_path }}"
diff --git a/tasks/update.yml b/tasks/update.yml
index c88f562..c553dc6 100644
--- a/tasks/update.yml
+++ b/tasks/update.yml
@@ -1,3 +1,5 @@
+---
+
 - name: Get date for composer update
   shell:
     date --date="{{ composer_update_day }} days ago" +"%s"
diff --git a/tests/playbook.yml b/tests/playbook.yml
index 2ec89ee..ec8c897 100644
--- a/tests/playbook.yml
+++ b/tests/playbook.yml
@@ -1,5 +1,7 @@
+---
+
 - hosts: all
   sudo: true
   roles:
-    - { role: common,                   tags: apt      }
+    - { role: common,                      tags: apt      }
     - { role: ../../ansible-role-composer, tags: composer }
diff --git a/tests/roles/common/tasks/main.yml b/tests/roles/common/tasks/main.yml
index e652ef5..9b011f2 100644
--- a/tests/roles/common/tasks/main.yml
+++ b/tests/roles/common/tasks/main.yml
@@ -1,3 +1,5 @@
+---
+
 - name: Update Apt cache
   apt:
     update_cache=yes
-- 
GitLab