roles/devbox/tasks/dist-debian.yml

changeset 51
5af98666f4d4
parent 49
6dbfcfdf807c
child 53
4cac9ded1fb8
--- a/roles/devbox/tasks/dist-debian.yml
+++ b/roles/devbox/tasks/dist-debian.yml
@@ -8,7 +8,7 @@
     - mercurial
     - zsh
     - tmux
-    - vim-nox
+    - vim
     - silversearcher-ag
     - exuberant-ctags
   tags: packages, install
@@ -27,6 +27,12 @@
     - vim-gtk
   tags: packages, install
 
+- name: Install non-gui packages
+  when: not gui_enabled
+  apt: name={{item}} state=installed
+  with_items:
+    - vim-nox
+
 - name: Set default X session in lightdm
   when: gui_enabled and gui_session
   ini_file:

mercurial