summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2019-01-21 22:51:40 +0100
committerRobin Krahl <me@robin-krahl.de>2019-01-21 23:02:59 +0100
commit7a46d423706deb9dd89b89145fb7049943a10b17 (patch)
treeeb735951db23c752e2a407ad62bf7868a35d3f56
parentc896e997bd8bbdefe4b7a333d276d268d027d16d (diff)
downloadansible-roles-7a46d423706deb9dd89b89145fb7049943a10b17.tar.gz
ansible-roles-7a46d423706deb9dd89b89145fb7049943a10b17.tar.bz2
Add desktop role for desktop workstations
-rw-r--r--desktop/defaults/main.yaml2
-rw-r--r--desktop/tasks/main.yaml2
-rw-r--r--desktop/tasks/packages.yaml34
3 files changed, 38 insertions, 0 deletions
diff --git a/desktop/defaults/main.yaml b/desktop/defaults/main.yaml
new file mode 100644
index 0000000..3d7effb
--- /dev/null
+++ b/desktop/defaults/main.yaml
@@ -0,0 +1,2 @@
+---
+st: stterm
diff --git a/desktop/tasks/main.yaml b/desktop/tasks/main.yaml
new file mode 100644
index 0000000..77b56a3
--- /dev/null
+++ b/desktop/tasks/main.yaml
@@ -0,0 +1,2 @@
+---
+- include: packages.yaml
diff --git a/desktop/tasks/packages.yaml b/desktop/tasks/packages.yaml
new file mode 100644
index 0000000..8fae73d
--- /dev/null
+++ b/desktop/tasks/packages.yaml
@@ -0,0 +1,34 @@
+---
+- name: Install CLI applications
+ package:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - beets
+ - irssi
+ - isync
+ - mpv
+ - msmtp
+ - mutt
+ - notmuch
+ - khard
+ - latexmk
+ - pass
+ - stow
+ - streamlink
+ - vdirsyncer
+ - youtube-dl
+- name: Install GUI applications
+ package:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - dmenu
+ - dunst
+ - firefox-esr
+ - i3
+ - "{{ st }}"
+ - sxiv
+ - qutebrowser
+ - xorg
+ - zathura