Move the packages var to the vars directory

This commit is contained in:
Sergey Fayngold 2014-02-04 14:04:42 +01:00
parent 4e69bf2ce6
commit 5317a5a584
3 changed files with 3 additions and 5 deletions

View file

@ -1,7 +1,4 @@
---
composer_apt_packages:
- php5-cli
- curl
composer_download_url: https://getcomposer.org/composer.phar

View file

@ -1,7 +1,7 @@
---
- name: Install the required packages
apt: name={{ item }} state=present update_cache=yes
with_items: composer_apt_packages
with_items: apt_packages
when: ansible_os_family == "Debian"
tags: [packages,composer]

View file

@ -1,2 +1,3 @@
---
# vars file for composer
apt_packages:
- php5-cli