Skip to content

Instantly share code, notes, and snippets.

Russ McKendrick russmckendrick

Block or report user

Report or block russmckendrick

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@russmckendrick
russmckendrick / 01.yml
Last active Nov 11, 2019
Ansible and the Azure Rest API
View 01.yml
- name: Create a Azure Private DNS zone using Ansible
hosts: localhost
connection: local
gather_facts: true
vars:
resource_group: "myResourceGroup"
location: "uksouth"
network:
name: "iac-vnet"
View main.tf
module "application-rg" {
source = "modules/vnet"
name = "${var.resource_group_name}"
location = "${var.location}"
tags = "${merge(var.default_tags, map("type","resource"))}"
}
module "application-vnet" {
source = "modules/vnet"
resource_group_name = "${module.application-rg.rg_name}"
@russmckendrick
russmckendrick / stack.yml
Created Jan 6, 2018
Docker + Kubernetes demo app
View stack.yml
version: '3.3'
services:
web:
build: web
image: dockerdemos/lab-web
volumes:
- "./web/static:/static"
ports:
- "80:80"
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "centos/7"
config.vm.provider :virtualbox do |v|
v.memory = 4048
v.cpus = 2
View docker-compose.yml
version: "3"
services:
traefik:
image: traefik
command: --web --docker --docker.domain=local.media-glass.es --docker.watch --logLevel=DEBUG
networks:
- scale
ports:
- "80:80"
View docker-compose.yml
version: "3"
services:
minio1:
image: minio/minio
ports:
- "9000:9000"
networks:
- minionet
@russmckendrick
russmckendrick / windows.yml
Created Dec 2, 2016
Random Ansible file !!!
View windows.yml
- name: Add russ.mckendrick user
win_user:
name: russ.mckendrick
password: "mymegasecurepassword"
groups: ["Users", "Administrators"]
- name: Install Git with Chocolatey
win_chocolatey:
name: "{{ item }}"
with_items:
@russmckendrick
russmckendrick / moby-counter.yml
Last active Nov 13, 2016
Example Kubernetes App
View moby-counter.yml
apiVersion: v1
kind: Service
metadata:
name: moby-counter-frontend
labels:
app: moby-counter
tier: frontend
spec:
type: NodePort
ports:
View keybase.md

Keybase proof

I hereby claim:

  • I am russmckendrick on github.
  • I am russmckendrick (https://keybase.io/russmckendrick) on keybase.
  • I have a public key whose fingerprint is 2E4E D53D 2B85 7E9D 53DF 61B4 A839 AAD5 D221 7B93

To claim this, I am signing this object:

You can’t perform that action at this time.