Skip to content

Instantly share code, notes, and snippets.

View walbert947's full-sized avatar

William Albert walbert947

View GitHub Profile
@walbert947
walbert947 / gcdns_test.yml
Last active October 5, 2016 01:19
Ansible gcdns module test playbook
---
- name: 'Test the Google Cloud DNS module'
hosts: localhost
gather_facts: no
connection: local
vars:
#- test_zone: 'testing.example.com.' # <--- MUST include trailing dot
#- test_zone_id: 'testing-example-com'
#- gcp_project_id: 'test-project'
#!/usr/bin/env bash
#
# Searches a Google Cloud DNS record set
# Author: William Albert (@walbert947)
# (NOTE: The program depends on the Google Cloud SDK.)
#
#
@walbert947
walbert947 / cobbler-setup
Created July 20, 2015 09:16
Set up a simple Cobbler server for a small lab
# This is very much a WIP!
# Set up cobbler on CentOS 7
# TODO: Set up chroot BIND
# TODO: Enable IPv6 support
# Install EPEL
yum install \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
@walbert947
walbert947 / c7-nat-router.sh
Last active April 9, 2024 15:35
Configure a simple IPv4 NAT router on CentOS 7
# NOTE: This gist includes the '.sh' extension to enable syntax highlighting
# on the gist web viewer. However, it is NOT intended to be run as a script.
# These are just notes I took.
################################################################################
#
# CentOS 7 - Simple IPv4 NAT Router
#
# This gist provides a brief walkthough on setting up a simple NAT router on
# CentOS 7 that will allow multiple machines on an internal network to share