aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-10-07 14:16:07 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-10-07 14:21:32 +0200
commit9a2c5e59f2f82a021879fa1d09d4d64c89ee914c (patch)
tree65d948cbf8d53e77800662908970f4169fc60b89 /roles
parentfce6d170ae573eb584fdf6fba8fdec2136f0fdfc (diff)
downloadlabitat-ansible-9a2c5e59f2f82a021879fa1d09d4d64c89ee914c.tar.gz
labitat-ansible-9a2c5e59f2f82a021879fa1d09d4d64c89ee914c.tar.xz
labitat-ansible-9a2c5e59f2f82a021879fa1d09d4d64c89ee914c.zip
jumbotron: console: make sure console-setup is enabled
Diffstat (limited to 'roles')
-rw-r--r--roles/jumbotron/tasks/console.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/jumbotron/tasks/console.yml b/roles/jumbotron/tasks/console.yml
index 55ede76..42ec011 100644
--- a/roles/jumbotron/tasks/console.yml
+++ b/roles/jumbotron/tasks/console.yml
@@ -32,4 +32,15 @@
with_items:
- 'XKBLAYOUT="dk"'
+- name: Enable console-setup
+ systemd:
+ name: console-setup.service
+ enabled: yes
+ masked: no
+ state: started
+ when: not chroot
+- name: '- when in chroot'
+ command: systemctl enable console-setup.service
+ when: chroot
+
# vim: set ts=2 sw=2 et: