Skip to content

Instantly share code, notes, and snippets.

View andersbc's full-sized avatar

Anders Christiansen andersbc

  • Copenhagen, Denmark
View GitHub Profile
@andersbc
andersbc / masterplay.yml
Created July 4, 2015 23:42
Possible bug ansible dev 2 - tasks are executed muliple times when including other plays
---
- include: play_a.yml
- include: play_b.yml
# to run (include trailing comma!):
# $ ansible-playbook masterplay.yml -i 127.0.0.1,
@andersbc
andersbc / ansible.cfg
Last active August 29, 2015 14:24
Possible ansible bug (2 devel) in custom filters using with_items
[defaults]
filter_plugins = .
@andersbc
andersbc / do_boot2.sh
Last active November 12, 2018 00:22 — forked from jtktam/do_boot2.sh
#!/bin/bash
#
# What is that
# ============
#
# This script will help you setting up your digital ocean
# infrastructure with Ansible v2.0+ and DO API v2
#
# Usually, when working with DO, one is supposed to use digital_ocean.py
# inventory file, and spin up instances in a playbook.