Skip to content

Instantly share code, notes, and snippets.

View e30chris's full-sized avatar
💭
ensuring infrastructure state from git

chrisL e30chris

💭
ensuring infrastructure state from git
View GitHub Profile
@e30chris
e30chris / ps.1
Created January 30, 2014 22:38
PS1 for the macbook
PS1=\[\e[00;32m\]\h>\W\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[01;31m\]$\[\e[0m\]
@e30chris
e30chris / keybase.md
Created February 21, 2014 21:27
Keybase proof

Keybase proof

I hereby claim:

  • I am e30chris on github.
  • I am e30chris (https://keybase.io/e30chris) on keybase.
  • I have the public key with fingerprint 1A98 F7CB DB3D FE48 6C3A  E5FC 4600 3AEE 0AB0 3A82

To claim this, I am signing this object:

@e30chris
e30chris / goaccess-playbook.yml
Created April 2, 2014 07:14
Install GoAccess with Ansible
---
- hosts: all
gather_facts: false
sudo: yes
tasks:
#Update apt cache and install goacces
- name: Update apt cache
apt: update_cache=yes cache_valid_time=3600
@e30chris
e30chris / answerfilediff
Last active August 29, 2015 14:03
Diff of template and actual file created
# Template file for Puppet Master answer file
q_all_in_one_install=n
q_backup_and_purge_old_configuration=n
q_database_install=n
q_install=y
q_puppet_cloud_install=n
q_puppet_enterpriseconsole_install=n
q_puppet_symlinks_install=y
q_puppetagent_certname={{ pupmaster_hostname }}
q_puppetagent_install=y
Verifying myself: My Bitcoin username is +chrisl. https://onename.io/chrisl
@e30chris
e30chris / play.run
Last active August 29, 2015 14:03
ansible root pass align run
pineApplez>Ansible-AlignPassword $ansible-playbook -i hosts site.yml -vvvv
_____________
< PLAY [None] >
-------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
@e30chris
e30chris / playbook.yml
Last active August 29, 2015 14:03
playbook to align root passwords
---
# find the root password, login then update password to align
- name: test possible passwords
local_action: shell sshpass -p {{ item }} ssh {{ user }}@{{ inventory_hostname }} date
register: pastpass
ignore_errors: true
with_items:
- "{{ past_password_01 }}"
- "{{ past_password_02 }}"
@e30chris
e30chris / items.yml
Created November 7, 2014 05:06
withItems
---
# find the root password, login then update password to align
- name: test possible passwords
local_action: shell sshpass -p {{ item }} ssh {{ user }}@{{ inventory_hostname }} date
register: pastpass
ignore_errors: true
with_items:
- "{{ past_password_01 }}"
- "{{ past_password_02 }}"
@e30chris
e30chris / id_rsa.pub
Created December 12, 2014 22:19
Julep SSH PubKey
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmm85OBKCNmitkm8e3Lhusy6+asFO01xf4w6FDfZ4SKe+XJxvvqwfr8OuOJX7nQ0uH0P2AGAVpVKNvRht3FHhFBbbGZVotCZQjlROVD753vzMBe5yl7l6HBFByqHQg89W0KcYoJkLdg1RmjgZ9tK4zypJNd2fywV0uITQLdvmHQisULWXnWG/eWNHKvhOYNcOOGXU9PFLO548c3rtPVVyD1RAK2GOHDr228Oziyb2dKrf8jutHuEWnLlC64fX7tgT2hSNYaPjlLMqhMJEvPa0O7nSXZqHW6nx1Z2wKhfWIbyrjWiaL/eRgWs4f3f1P0i915WQeSU+U3DhbZ+qqMZnp chrisLMacBooksPro@julep
<!-- for the autocomplete on arrivals departues and search box -->
<script>
$(function() {
var guest = [
"Peter Venkman",
"Ray Stantz",
"Dana Barrett",
"Egön Spengler",
"Louis Tullu",
"Janine Milnitz",