Skip to content

Instantly share code, notes, and snippets.

function main() {
// Get or create label
var label = GmailApp.getUserLabelByName("OSSP");
if (label == null) {
var label = GmailApp.createLabel("OSSP");
}
// lets go!
---
- name: Check if Keystone Domain specific settings enabled
local_action: stat path="{{ node_custom_config }}/{{ item }}/domains"
register: keystone_domain_cfg
with_items:
- "keystone"
- name: DEBUG VAR
debug:
msg: "keystone_domain_cfg = {{ keystone_domain_cfg }}"
#!/bin/bash
## Install a necessary packages
sudo apt-get install -y kvm cloud-utils genisoimage
## URL to most recent cloud image of 12.04
img_url="http://cloud-images.ubuntu.com/releases/16.04/release/"
img_url="${img_url}/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
## download the image
wget -c $img_url -O disk.img.dist
Verifying I am +daviey on my passcard. https://onename.com/daviey