Skip to content

Instantly share code, notes, and snippets.

View gravcat's full-sized avatar

poppoppop gravcat

View GitHub Profile
@gravcat
gravcat / install.yml
Last active June 16, 2018 06:55
-- forked to save the docker_volume return data register example usage -- Integración entre Ansible y Docker http://picodotdev.github.io/blog-bitix/2014/11/integracion-entre-ansible-y-docker/
---
- hosts: devbox
- name: start docker service
service: name=docker state=started
sudo: true
- name: build docker images
docker_image: name="{{ item.name }}" tag="{{ item.tag }}" state="present" path={{ item.path }}
with_items:
- { name: "picodotdev/base", tag: "1.0", path: "../docker/base" }
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
@gravcat
gravcat / bamboo-agent
Created September 19, 2016 15:39 — forked from yatesr/bamboo-agent
Init script for starting/stopping a bamboo agent
#!/bin/bash
# bamboo-agent Init script for running bamboo agent
#
# chkconfig: 2345 98 02
#
# description: Starts and stops bamboo agent
# This is just a delegator to the Bamboo agent script.
USER=bamboo
AGENT_HOME=/home/$USER/bamboo-agent-home/bin