Skip to content

Instantly share code, notes, and snippets.

@arkag
arkag / postgres_help.yml
Last active March 24, 2016 19:50
PostgreSQL playbook and accompanying error
---
- name: Install PostgreSQL and related packages
apt: name={{ item }} state=present update_cache=yes
with_items:
- postgresql
- postgresql-contrib
- python-psycopg2
# - name: test if root sql user exists
# become_user: postgres
@arkag
arkag / lxderror.log
Created April 27, 2016 14:31
LXD Pushing Files Error
╰─$ lxc file push ~/.ssh/id_rsa.pub testing/root/.ssh/authorized_keys
error: Error calling 'lxd forkputfile /tmp/lxd_forkputfile_687933583 10464 root/.ssh/authorized_keys 362144 362144 420': err='exit status 255'
@arkag
arkag / lxd.log
Created April 27, 2016 15:42
╰─$ lxc info --show-log test
Name: test
Architecture: x86_64
Created: 2016/04/27 15:33 UTC
Status: Stopped
Type: persistent
Profiles: default
Log:
lxc 1461771204.503 INFO lxc_confile - confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 362144 range 65536
@arkag
arkag / bananas.log
Created April 27, 2016 15:54
╰─$ lxc launch ubuntu here
Creating here
Starting here
error: Error calling 'lxd forkstart here /var/lib/lxd/containers /var/log/lxd/here/lxc.conf': err='exit status 1'
Try `lxc info --show-log here` for more info
$ brew update
warning: failed to remove .mitmproxy/mitmproxy-ca-cert.cer
warning: failed to remove .mitmproxy/mitmproxy-ca-cert.p12
warning: failed to remove .mitmproxy/mitmproxy-ca-cert.pem
warning: failed to remove .mitmproxy/mitmproxy-ca.pem
warning: failed to remove .mitmproxy/mitmproxy-dhparam.pem
warning: failed to remove Desktop/
warning: failed to remove Documents/
warning: failed to remove Downloads/
warning: failed to remove Library/Assistants
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
Press RETURN to continue or any other key to abort
# ishmael @ aegislash in ~ [8:46:55]
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew

Keybase proof

I hereby claim:

  • I am cwre on github.
  • I am cwre (https://keybase.io/cwre) on keybase.
  • I have a public key ASCzeVt5Z9kGZoy7dpxbLK4lcaKYmf36OvbaWXAtFTtiIgo

To claim this, I am signing this object:

ERROR
(item={u'owner': u'www-data', u'path': u'/var/www/mediawiki-1.28.0/extensions/SphinxSearch/skins/images', u'group': u'www-data'}) => {
"failed": true,
"invocation": {
"module_args": {
"backup": null,
"content": null,
"delimiter": null,
- hosts: '{{ hostlist }}'
remote_user: root
tasks:
- name: asdf
file: state=directory path=/tmp/foo
- file: state=link path=/tmp/link src=/tmp/foo
- file: state=directory path=/tmp/link/nested/bananas