Skip to content

Instantly share code, notes, and snippets.

# do:
- name: Create user, ansible, with a key & wheel
user:
name: ansible
shell: /bin/bash
groups: wheel
# don't:
- name: Allow the ansible user to sudo to root by adding it to the wheel group in /etc/group
lineinfile:
path: /etc/group
@z3cka
z3cka / index.html
Last active July 22, 2017 16:44
index.html for hoodie
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Say &quot;Hello, world!&quot; with Hoodie</title>
</head>
<body>
<h1>Say &quot;Hello, world!&quot; with Hoodie</h1>
<script src="hoodie/client.js"></script>
</body>
@z3cka
z3cka / README_rhel6.md
Last active November 8, 2017 17:59 — forked from anonymous/README_rhel6.md
SHARE Analytics on Red Hat 6

Requirements

  • install git sudo yum install git

  • build deps for python via pyenv sudo yum install zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel

  • more db deps sudo yum install -y postgresql postgresql-server postgresql-contrib postgresql-devel

  • "initialize the postgres cluster sudo service postgresql initdb && \ sudo service postgresql start

  • install NVM curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash

0x6f7f8c0a715c48726b7f5ec613c65671ffe67cb0
@z3cka
z3cka / index.html
Created March 31, 2020 21:53
UCLA--OpenUCLA__landing-pg
<div class="ou-container ou-container--white">
<nav class="ou-nav">
<a href="https://www.library.ucla.edu/">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1302838/ucla-library-logo-blue_resized.svg" alt="UCLA Library Logo" class="ou-nav__logos">
</a>
<a href="https://100.ucla.edu/initiatives" target="_blank">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1302838/ucla_100_logo_blue.png" alt="UCLA 100 Centennial Logo" class="ou-nav__logos">
</a>
</nav>