<commit_before>- name: get grsec kernel string
  shell: grep menuentry /boot/grub/grub.cfg | grep grsec | grep -v recovery | cut -d "'" -f2
  register: grsec_str

- name: set grsec kernel as default for next boot
  command: grub-reboot "Advanced options for Ubuntu>{{ grsec_str.stdout }}"
<commit_msg>Fix for multiple grsec kernels<commit_after>- name: get grsec kernel string
  shell: grep menuentry /boot/grub/grub.cfg | grep grsec | grep -v recovery | head -1 | cut -d "'" -f2
  register: grsec_str

- name: set grsec kernel as default for next boot
  command: grub-reboot "Advanced options for Ubuntu>{{ grsec_str.stdout }}"

{'fraction_non_alphanumeric': 0.10492845786963434, 'fraction_numerical': 0.0047694753577106515, 'mean_word_length': 3.883720930232558, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3436519', 'n_tokens_mistral': 222, 'n_tokens_neox': 199, 'n_words': 78}