Skip to content
Snippets Groups Projects
Verified Commit a0aea448 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

fix debian bug workaround

parent 9c598f21
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@
# Once the debian issue is solved and Greenhost has patched the kernel, these
# three workaround commands can be removed.
- name: Workaround debian bug 1/3
shell: journalctl -k | awk '/Xen.Virtual.Keyboard/ {print $11}'
shell: "journalctl -k | awk '/input: Xen Virtual Keyboard/ {print $11}'"
args:
# Only run this if kubectl snap has not been installed yet
creates: /snap/bin/kubectl
......@@ -66,6 +66,8 @@
command: mount --bind /dev/zero /sys/{{ kbd_device.stdout }}/uevent
args:
creates: /snap/bin/kubectl
# Circumvent the warning about using the Ansible mount module
warn: false
when: kbd_device.stdout != ""
- name: Install kubectl snap
......@@ -79,6 +81,7 @@
command: umount /sys/{{ kbd_device.stdout }}/uevent
args:
creates: /snap/bin/kubectl
warn: false
when: kbd_device.stdout != ""
- name: Create kubectl symlink to /usr/local/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment