Wed, 13 Apr 2016 12:52:13 -0400
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'