This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: all | |
tasks: | |
#- name: Create a group of all hosts by operating system | |
# action: group_by key=${ansible_distribution}-${ansible_distribution_version} | |
#- name: Create a group of all hosts by operating system | |
# action: group_by key=${ansible_distribution}-${ansible_distribution_version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
check_redis.py: Nagios plugin for checking a redis server. | |
Author: Steffen Zieger <[email protected]> | |
License: GPL | |
Version: 1.0 | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# chkconfig: 2345 20 80 | |
# description: LXC Web Panel | |
### BEGIN INIT INFO | |
# Provides: | |
# Required-Start: | |
# Required-Stop: | |
# Should-Start: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
# Compiling terraform-provisioner-ansible for Terraform 0.7.13 for Ubuntu Trusty | |
# | |
# $ mkdir terraform-trusty64 | |
# $ cd terraform-trusty64/ | |
# $ vagrant init ubuntu/trusty64 | |
# $ vagrant up | |
# $ vagrant ssh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### NOTE: | |
### You need to input your ACCESS_KEY, SECRET_KEY, KEYPAIR_NAME, VPC_ID | |
### | |
provider "aws" { | |
access_key = "YOUR_ACCESS_KEY" | |
secret_key = "YOUR_SECRET_KEY" | |
region = "us-west-2" | |
} | |
## Instance Declaration |
OlderNewer