Move stuff back into single playbooks

Wed, 13 Apr 2016 12:52:13 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Apr 2016 12:52:13 -0400
changeset 38
06adc2a14d3e
parent 37
d6d4702712f7
child 39
4e8a283d1f87

Move stuff back into single playbooks

roles/devbox/meta/main.yml file | annotate | diff | comparison | revisions
roles/devbox/tasks/dist-debian.yml file | annotate | diff | comparison | revisions
--- a/roles/devbox/meta/main.yml
+++ b/roles/devbox/meta/main.yml
@@ -2,11 +2,4 @@
 dependencies:
   - repositories
   - sudo
-  - git
-  - mercurial
-  - zsh
-  - ag
-  - ctags
-  - tmux
-  - vim
   - {role: firefox, when: gui.enabled}
--- a/roles/devbox/tasks/dist-debian.yml
+++ b/roles/devbox/tasks/dist-debian.yml
@@ -4,6 +4,13 @@
   apt: name={{item}} state=installed
   with_items:
     - build-essential
+    - git
+    - mercurial
+    - zsh
+    - tmux
+    - vim-nox
+    - silversearcher-ag
+    - exuberant-ctags
   tags: packages, install
 
 - name: Install GUI packages
@@ -14,14 +21,9 @@
     - fonts-dejavu-extra
     - fonts-opensymbol
     - scrot
+    - vim-gtk
   tags: packages, install
 
-- name: Install Extra packages
-  apt: name={{item}} state=installed
-  with_items: "{{extra_packages}}"
-  tags: packages, install
-
-
 - name: Set default X session in lightdm
   when: gui.enabled and gui.session
   ini_file:
@@ -33,3 +35,13 @@
   notify:
   - reload lightdm
 
+- apt_repository:
+    repo: "deb http://mozilla.debian.net/ {{ansible_distribution_release}}-backports firefox-release"
+  when: ansible_distribution_release != 'NA'
+  tags: repos
+
+- apt:
+    name: firefox
+    state: latest
+  tags: packages, install
+  when: ansible_distribution_release != 'NA'

mercurial