diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-07-04 01:07:44 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:52:25 +0200 |
commit | bb880fcc504dba39a7ba610ccb84187e863b1288 (patch) | |
tree | dd266d9423770d0daba849d0a31d31423da88a66 /roles/common/templates | |
parent | 58e65628313da8990f1e5cb26bfe4e10e128034e (diff) |
Tell vim the underlying filetype of templates for syntax highlighting.
Diffstat (limited to 'roles/common/templates')
-rw-r--r-- | roles/common/templates/etc/apt/sources.list.j2 | 1 | ||||
-rw-r--r-- | roles/common/templates/etc/fail2ban/jail.local.j2 | 2 | ||||
-rw-r--r-- | roles/common/templates/etc/postfix/main.cf.j2 | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/roles/common/templates/etc/apt/sources.list.j2 b/roles/common/templates/etc/apt/sources.list.j2 index 2a948d2..b6d0a64 100644 --- a/roles/common/templates/etc/apt/sources.list.j2 +++ b/roles/common/templates/etc/apt/sources.list.j2 @@ -1,5 +1,6 @@ # {{ ansible_managed }} # Do NOT edit this file directly! +# vim: set filetype=debsources : deb http://ftp.se.debian.org/debian/ {{ ansible_lsb.codename }} main{% if 'non-free' in group_names or ansible_processor[0] | search("^Intel.*") %} contrib non-free{% endif %} diff --git a/roles/common/templates/etc/fail2ban/jail.local.j2 b/roles/common/templates/etc/fail2ban/jail.local.j2 index b76ffbc..c4ae284 100644 --- a/roles/common/templates/etc/fail2ban/jail.local.j2 +++ b/roles/common/templates/etc/fail2ban/jail.local.j2 @@ -94,3 +94,5 @@ port = http,https filter = roundcube logpath = /var/log/roundcube/errors {% endif %} + +# vim: set filetype=dosini : diff --git a/roles/common/templates/etc/postfix/main.cf.j2 b/roles/common/templates/etc/postfix/main.cf.j2 index 1abce71..1b0bc4a 100644 --- a/roles/common/templates/etc/postfix/main.cf.j2 +++ b/roles/common/templates/etc/postfix/main.cf.j2 @@ -66,3 +66,5 @@ multi_instance_directories = {%- endif %} /etc/postfix-{{ postfix_instance[g].name }} {%- endif %} {% endfor %} + +# vim: set filetype=pfmain : |