Skip to content

Instantly share code, notes, and snippets.

---
- name: Set debconf values
debconf: name=postfix question={{ item.question }} value="{{ item.value }}" vtype={{ item.vtype }}
with_items:
- { question: 'postfix/main_mailer_type', value: "Internet Site", vtype: 'select' }
- { question: 'postfix/mailname' , value: "{{ ansible_fqdn }}", vtype: 'string' }
- name: Install postfix and mailutils
apt: pkg={{ item }} update_cache=yes cache_valid_time=86400
with_items:
@runar
runar / vim-7.4.16-fc19-breakindent.patch
Created April 2, 2014 13:30
Patch to enable breakindent support in vim.
# runtime/doc/eval.txt | 4 +--
# runtime/doc/options.txt | 42 ++++++++++++++++++++++++++++++++----
# runtime/doc/tags | 6 +++++
# runtime/optwin.vim | 9 +++++++
# src/charset.c | 56 ++++++++++++++++++++++++++++++------------------
# src/edit.c | 21 +++++++++---------
# src/eval.c | 7 ++++--
# src/ex_cmds.c | 2 -
# src/getchar.c | 2 -
# src/gui_beval.c | 2 -
@runar
runar / vim-7.3.905-leftalign_linenumber.patch
Created April 2, 2014 13:29
Patch to left align line numbers in vim.
--- src/screen.c 2013-04-24 10:55:11.000000000 +0200
+++ src/new_screen.c 2013-04-24 10:56:06.000000000 +0200
@@ -2339,7 +2339,7 @@
if (num == 0)
{
num = lnum;
- fmt = "%-*ld ";
+ fmt = "%*ld ";
}
}
@runar
runar / README.md
Last active August 29, 2015 13:56
Desk.com Widget for Dashing

Desk.com Dashing Widget

Dashing widget to display the number of cases in your Desk.com account. This widget uses Desk.com’s API and some code from the beautiful Hotness Widget by rowanu.

Preview

Dependencies