View ec2.tf
#############################
# ec2 instance
#############################
resource "aws_instance" "my-cool-instance" {
count = 1
ami = "${lookup(var.ami, var.region)}"
instance_type = "t2.micro"
key_name = "${var.key_pair_name}"
ebs_optimized = true
View razer-blade-notes.md
View war3_install.ps1
#Requires -Version 4.0
#Requires -RunAsAdministrator
$ErrorActionPreference = "Stop"
$userHome = (Get-ChildItem Env:USERPROFILE).Value
cd $PSScriptRoot
$confirmation = Read-Host "This script will extract files to your Documents and Program Files (x86) folders, proceed? [y/n]"
while($confirmation -ne "y")
{
View ansible_win_module_ideas
"Unblocking" file(s) in Windows via PowerShell
View ansible_winrm_check_feature_enabled.yml
---
- hosts: all
tasks:
- name: Check for WSL feature enablement
win_shell: "(Get-WindowsOptionalFeature -Online -FeatureName 'Microsoft-Windows-Subsystem-Linux').State"
register: wsl_check
- name: Install WSL Feature
win_shell: "{{ item }}"
with_items:
View cse-write-file.ps1
New-Item -ItemType File C:\helloworld.txt
View export_mcp_deployments.sh
#!/bin/bash
# export deployment info from mcp
timestamp=$(date +"%Y%m%d-%H%M")
# create directory in home based on timestamp like 20180221-1058, cd into
mkdir ~/$timestamp
cd ~/$timestamp
# export data from mongo
View ping_windows_hosts.yml
---
- hosts: windows
tasks:
- name: ping
win_ping:
View keybase.md

Keybase proof

I hereby claim:

  • I am gravcat on github.
  • I am nthieling (https://keybase.io/nthieling) on keybase.
  • I have a public key ASBh5RivFs-YlicPCROrBXDSOmilWh6Sr67-_ucBdHkXSQo

To claim this, I am signing this object:

View cse-configure-ansible-remoting.ps1
Write-Output "Configuring UAC to not prompt Administrators"
REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0x0 /f
Write-Output "Creating directories"
if (!(Test-Path "C:\_maintainer")) {
New-Item -Type Directory "C:\_maintainer"
}
cd "C:\_maintainer"
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1" -OutFile "ConfigureRemotingForAnsible.ps1"