Skip to content

Instantly share code, notes, and snippets.

Mark D xphyr

Block or report user

Report or block xphyr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Playbook.yml
---
- name: Prep OS
hosts: all
tasks:
- name: Update OS
yum:
update_cache: yes
name: "*"
state: latest
register: yum_update
View Dockerfile
FROM centos:7
RUN yum -y install \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
sed -i -e "s/^enabled=1/enabled=0/" /etc/yum.repos.d/epel.repo && \
yum -y --enablerepo=epel install wget git ansible python-pip pyOpenSSL && yum clean all
RUN pip install 'ansible[azure]'
RUN mkdir -p /okdinstall/setup_scripts
RUN cd /okdinstall && git clone https://github.com/openshift/openshift-ansible && \
cd openshift-ansible && \
git checkout release-3.11
View keybase.md

Keybase proof

I hereby claim:

  • I am xphyr on github.
  • I am xphyr (https://keybase.io/xphyr) on keybase.
  • I have a public key ASBgD-M9426MOm7HkK_dZjQxRYkOSu1ypakoFyun43Kr7wo

To claim this, I am signing this object:

@xphyr
xphyr / playbook.yml
Last active Oct 14, 2016
Editing a yaml file with cpu
View playbook.yml
# This file will handle all the paychex specific edits to openshift config files
# # This file updates the following information
# # turns on emptydir quotas on compute nodes
- hosts: nodes
tasks:
- name: Update Compute Node EmptyDir quota settings
lineinfile: dest=/etc/origin/node/node-config.yaml
backup="yes"
regexp='^ perFSGroup:'
@xphyr
xphyr / index.js
Created Jul 14, 2013
Simple Plugin for "Uptime" that send alerts via Pushover. I am not a Node hacker ... I barely understand why this code works .... but it does. I have not tried it with multiple users yet, so dont know if it will work to do multiple notifications. Let me know if you try it.
View index.js
/**
* Pushover plugin for the uptime project - https://github.com/fzaninotto/uptime
* Thanks to DMathieu for the Campfire plugin which I basically hacked up to make this
* work: https://gist.github.com/dmathieu/5592418
*
* This index.js files goes to a directory `plugins/pushover` in your installation of uptime.
*
* Notifies all events (up, down, paused, restarted) to pushover
*
* This plugin has a dependency on `pushover-notifications`.
You can’t perform that action at this time.