Skip to content

Instantly share code, notes, and snippets.

@mlvnds
mlvnds / ansistrano_deploy.yml
Created July 27, 2018 10:17
Template ansistrano pour le playbook
---
- hosts: all
any_errors_fatal: true
vars_files:
- vars.yml
tasks:
- block:
- include_role:
name: "cbrunnkvist.ansistrano-symfony-deploy"
rescue:
@mlvnds
mlvnds / circleci2_config.yml
Last active July 27, 2018 08:11
Template circleci 2 pour projet en php7.0
version: 2
jobs:
build:
docker:
- image: 6d6c70/php:php7.0-jessie
environment:
SYMFONY__ENV: prod
- image: mariadb:10.1.34
environment:
MYSQL_DATABASE: default
@mlvnds
mlvnds / install_ansible.sh
Last active July 24, 2018 13:39
User data for Ubuntu16.04 EC2 to install Ansible software
#!/bin/bash
apt-get install software-properties-common
apt-add-repository -y ppa:ansible/ansible
apt-get update
apt-get install -y ansible