diff options
author | binary <me@rgoncalves.se> | 2021-01-06 14:05:33 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-06 14:05:33 +0100 |
commit | c324cb63afa5bd9135219b65e73491ea1471077c (patch) | |
tree | 52f71455a17ca44a4d9e77803ef1a80408c5e45a /roles/workstation/tasks/main.yml | |
parent | afcbc020bd78ba7257002846633a580aa5dd55dd (diff) | |
download | infrastructure-c324cb63afa5bd9135219b65e73491ea1471077c.tar.gz |
Break packages and per-distro tasks
Diffstat (limited to 'roles/workstation/tasks/main.yml')
-rw-r--r-- | roles/workstation/tasks/main.yml | 58 |
1 files changed, 2 insertions, 56 deletions
diff --git a/roles/workstation/tasks/main.yml b/roles/workstation/tasks/main.yml index 41a640c..6aa3322 100644 --- a/roles/workstation/tasks/main.yml +++ b/roles/workstation/tasks/main.yml @@ -14,68 +14,14 @@ ansible_become_method: "{{ 'doas' if ws_become.stat.exists else 'sudo' }}" ansible_become_user: root -- name: download development packages - package: name="{{ item }}" state=present - loop: - # DEVEL - - base - - base-devel - - go - # EDITOR - - emacs - - neovim - - python-neovim - - py3-neovim - # PYTHON - - python-pip - - py3-pip - - python-requests - - py3-requests - - python-jedi - - py3-jedi - # UTILS - - i3 - - i3status - - gnupg - - py3-pip - - python-pip - - zsh - - zip - - unzip - - tar - - git - - curl - - wget - - wireguard - - wireguard-dkms - - wireguard-tools - # PRIVACY - - tor - - tor-browser - - torsocks - # MULTIMEDIA - - qutebrowser - - firefox - - feh - - imv - - mpv - - cmus - - vlc - - syncthing - failed_when: false - ignore_errors: true +- name: download packages + include_tasks: packages.yml tags: packages -- name: flush fonts cache - shell: fc-cache -fv - - name: check for distribution specific task stat: path="{{ role_path }}/tasks/setup_{{ ws_distribution }}.yml" register: ws_distribution_task -- debug: - var: ws_distribution_task - - name: include distribution specific task include_tasks: "setup_{{ ws_distribution }}.yml" when: ws_distribution_task.stat.exists |