I hereby claim:
- I am ptierno on github.
- I am ptierno (https://keybase.io/ptierno) on keybase.
- I have a public key ASCBaqa71h9C-WkRI6h7aSUOKGh8MzNmlEcq7l7RuxBz_Ao
To claim this, I am signing this object:
- name: Find all .repo files in /etc/yum.repos.d/ | |
ansible.builtin.find: | |
paths: "/etc/yum.repos.d/" | |
patterns: "*.repo" | |
register: repo_files | |
- name: Update .repo files to use CentOS Vault for baseurl | |
ansible.builtin.replace: | |
path: "{{ item.path }}" | |
regexp: '^#?(?:\s+)?baseurl=.*mirror.centos.org(.*)' |
I hereby claim:
To claim this, I am signing this object:
real_ip_header True-Client-IP; | |
set_real_ip_from 0.0.0.0/0; |
real_ip_header X-Forwarded-For; | |
real_ip_recursive on; | |
set_real_ip_from 10.0.0.0/16; | |
set_real_ip_from 54.192.0.0/16; | |
set_real_ip_from 54.230.0.0/16; | |
set_real_ip_from 54.239.128.0/18; | |
set_real_ip_from 54.239.192.0/19; | |
set_real_ip_from 54.240.128.0/18; | |
set_real_ip_from 204.246.164.0/22; | |
set_real_ip_from 204.246.168.0/22; |
real_ip_header X-Forwarded-For; | |
real_ip_recursive on; | |
set_real_ip_from 10.0.0.0/16; | |
set_real_ip_from 54.192.0.0/16; | |
set_real_ip_from 54.230.0.0/16; | |
set_real_ip_from 54.239.128.0/18; | |
set_real_ip_from 54.239.192.0/19; | |
set_real_ip_from 54.240.128.0/18; | |
set_real_ip_from 204.246.164.0/22; | |
set_real_ip_from 204.246.168.0/22; |
<?php | |
/** | |
* @file | |
* Amazon Elastic Load Balancer Settings. | |
* | |
* Force server to use https:// path if SSL is handled at load balancer. | |
* | |
* @see http://drupal.org/node/185161#comment-5452038 | |
*/ |
pre.console-output { | |
color: #e6e6e6; | |
background-color: #000; | |
padding: 10px; | |
} |
# This is just a scratchpad after I hacked what I needed in an irb session | |
require 'octokit' | |
Octokit.configure do |c| | |
c.login = 'searls' | |
c.password = 'c0d3b4ssssss!' | |
end | |
client = Octokit::Client.new | |
repos = client.repos #Note, for an org's repos, see `client.orgs.first.rels[:repos].get.data` |
#!/bin/bash | |
# User data to configure a vanilla Ubuntu EC2 instance. | |
# Installs chef-client (with minimal dependencies), | |
# configures chef, and adds roles | |
test $UID == 0 || (echo "Error: must run as root"; exit 1) | |
######### STEP 1: OPERATING SYSTEM CONFIGURATION | |
BOOTLOG="/var/log/bootstrap.log" |