aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jumbotron/tasks/main.yml
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-10-02 22:26:17 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-10-03 21:09:55 +0200
commit7cc8370ab5e3428c24f37b7259331b10038b6acb (patch)
tree3a54b887aed7b40662b267bba5edcf82fc29464e /roles/jumbotron/tasks/main.yml
parent4f98942a50341c2827ace103f153374f0b351135 (diff)
downloadlabitat-ansible-7cc8370ab5e3428c24f37b7259331b10038b6acb.tar.gz
labitat-ansible-7cc8370ab5e3428c24f37b7259331b10038b6acb.tar.xz
labitat-ansible-7cc8370ab5e3428c24f37b7259331b10038b6acb.zip
jumbotron: add role to set up jumbotron rpi
Diffstat (limited to 'roles/jumbotron/tasks/main.yml')
-rw-r--r--roles/jumbotron/tasks/main.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/roles/jumbotron/tasks/main.yml b/roles/jumbotron/tasks/main.yml
new file mode 100644
index 0000000..e7c45a8
--- /dev/null
+++ b/roles/jumbotron/tasks/main.yml
@@ -0,0 +1,42 @@
+---
+- name: Install network configuration
+ copy:
+ dest: '/etc/systemd/network/10-eth0.network'
+ src: eth0.network
+ owner: root
+ group: root
+ mode: 0644
+ tags:
+ - networkd-config
+
+- name: Disable unused services
+ systemd:
+ name: '{{ item }}'
+ enabled: no
+ with_items:
+ - hciuart.service
+ - remote-fs.target
+ - rsync.service
+ - bluetooth.service
+ tags:
+ - systemd
+
+- name: Remove broken service links
+ file:
+ path: '{{ item }}'
+ state: absent
+ with_items:
+ - /etc/systemd/system/bluetooth.target.wants
+ tags:
+ - systemd
+
+- import_tasks: console.yml
+ tags: console
+- import_tasks: jumbotron.yml
+ tags: jumbotron
+- import_tasks: autologin.yml
+ tags: autologin
+- import_tasks: irssi.yml
+ tags: irssi
+
+# vim: set ts=2 sw=2 et: