Skip to content

Instantly share code, notes, and snippets.

View discopatrick's full-sized avatar

Patrick Heneghan discopatrick

  • London, UK
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@discopatrick
discopatrick / sync-dev.yml
Last active January 19, 2022 16:36
A playbook for use with roots/trellis syncing the local wordpress db and uploads folder to a remote installation.
---
- name: sync uploads and db from staging to local
hosts: my_staging_host
remote_user: "{{ web_user }}"
pre_tasks:
- name: Ensure site is valid
connection: local
fail:
msg: "Site `{{ site | default('') }}` is not valid. Available sites to sync: {{ wordpress_sites.keys() | join(', ') }}"
Apache CouchDB 1.0.1 (LogLevel=info) is starting.
=CRASH REPORT==== 30-Jan-2013::17:02:34 ===
crasher:
initial call: couch_event_sup:init/1
pid: <0.80.0>
registered_name: []
exception exit: {{badmatch,
{'EXIT',
{{badmatch,{error,eacces}},