summaryrefslogtreecommitdiff
path: root/ansible/roles/riot-host
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-11 16:02:22 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-11 16:02:22 +0100
commitd2d024f1c9264f62bed0c773360fd6625e2b4e1d (patch)
treea50fd9d86c8ed938d534dc638e33f15c18e46ebc /ansible/roles/riot-host
parent80cb2f226d1b289bdda4d6425b3b95eda7899c8c (diff)
downloadansibleness-d2d024f1c9264f62bed0c773360fd6625e2b4e1d.tar.gz
Add: riot VM
Diffstat (limited to 'ansible/roles/riot-host')
-rw-r--r--ansible/roles/riot-host/tasks/main.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/ansible/roles/riot-host/tasks/main.yml b/ansible/roles/riot-host/tasks/main.yml
new file mode 100644
index 0000000..122574c
--- /dev/null
+++ b/ansible/roles/riot-host/tasks/main.yml
@@ -0,0 +1,20 @@
+- name: install packages
+ apt:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - gnome
+ - firefox-esr
+ - ssh
+ - less
+ - riot-web
+
+ # This seems to be wanted by something in the GNOME app stack.
+ # Installing it will stop a lot of apps from whinging at startup.
+ - libcanberra-gtk-module
+
+- name: set liw password for gdm login
+ user:
+ user: liw
+ shell: /bin/bash
+ password: "{{ lookup('pipe', 'pass show ssb/liw | mkpasswd --method=sha-512 --stdin') }}"