Skip to content
Snippets Groups Projects
Commit 75f42cc3 authored by Simon Constans's avatar Simon Constans
Browse files

#2 Add --- for all YAML file

parent 2264d7eb
No related branches found
Tags v1.0.1
No related merge requests found
---
language: python
python:
......
---
composer_path: /usr/local/bin/composer
composer_update: true
composer_update_day: 20
---
galaxy_info:
author: kosssi
description: Install and Update Composer PHP Dependency Manager
......
---
- name: Download and install Composer into the current directory.
shell:
php -r "readfile('https://getcomposer.org/installer');" | php
......
---
- include: install.yml
- include: test.yml
- include: update.yml
......
---
- name: Get stat of composer file
stat:
path="{{ composer_path }}"
......
---
- name: Get date for composer update
shell:
date --date="{{ composer_update_day }} days ago" +"%s"
......
---
- hosts: all
sudo: true
roles:
- { role: common, tags: apt }
- { role: common, tags: apt }
- { role: ../../ansible-role-composer, tags: composer }
---
- name: Update Apt cache
apt:
update_cache=yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment