Skip to content

Instantly share code, notes, and snippets.

View eranchetz's full-sized avatar
🔧

Eran Chetz eranchetz

🔧
View GitHub Profile
@samklr
samklr / ansible-gce.sh
Last active January 11, 2020 22:56
Ansible GCE setup
#! /bin/sh
### Must have Gcloud sdk installed and configured
###Create a micro instance as ansible master
gcloud compute --project $PROJECT_NAME instances create "ansible" --zone "us-central1-b" --machine-type "f1-micro" --network "default" --maintenance-policy "MIGRATE" --scopes "https://www.googleapis.com/auth/userinfo.email" "https://www.googleapis.com/auth/compute" "https://www.googleapis.com/auth/devstorage.full_control" --tags "http-server" "https-server" --no-boot-disk-auto-delete
###or a centos like in the tutorial
gcloud compute --project $PROJECT_NAME instances create "ansible-master" --zone "us-central1-b" --machine-type "g1-small" --network "default" --maintenance-policy "MIGRATE" --scopes "https://www.googleapis.com/auth/userinfo.email" "https://www.googleapis.com/auth/compute" "https://www.googleapis.com/auth/devstorage.full_control" --tags "http-server" "https-server" --image "https://www.googleapis.com/compute/v1/projects/centos-cloud/global/images/centos-7-v20140926" --no-boot-disk-auto-de
@ClintonLang
ClintonLang / fortune_funnyloadingmsgs.txt
Last active November 16, 2020 20:09
Funny Slack loading messages
......... Oh shit, you were waiting for me to do something? Oh okay, well then.
%
Not panicking...totally not panicking...er...everything's fine...
%
Following the white rabbit....
%
"Going the distance..."
%
The Elders of the Internet are contemplating your request...
%