From 7cc8370ab5e3428c24f37b7259331b10038b6acb Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Tue, 2 Oct 2018 22:26:17 +0200 Subject: jumbotron: add role to set up jumbotron rpi --- roles/jumbotron/tasks/main.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 roles/jumbotron/tasks/main.yml (limited to 'roles/jumbotron/tasks/main.yml') 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: -- cgit v1.2.1