Sync from polyfloyd infra

This commit is contained in:
polyfloyd 2023-07-16 19:23:14 +02:00
parent 6c17cd62eb
commit 591cfd73af
4 changed files with 11 additions and 8 deletions

View file

@ -15,4 +15,4 @@
name: linux-image-amd64
state: latest
default_release: "{{ ansible_facts['distribution_release'] }}-backports"
when: ansible_facts['architecture'] == "x86_64"
when: ansible_facts['architecture'] == "x86_64" and ansible_facts['distribution_release'] != "bookworm"

View file

@ -39,11 +39,15 @@
lineinfile:
path: /etc/bash.bashrc
insertafter: EOF
regexp: "^source /usr/share/doc/fzf/examples/{{ item }}"
line: "source /usr/share/doc/fzf/examples/{{ item }} # Managed by Ansible"
with_items:
- key-bindings.bash
- completion.bash
regexp: "^source /usr/share/doc/fzf/examples/key-bindings.bash"
line: "source /usr/share/doc/fzf/examples/key-bindings.bash # Managed by Ansible"
- name: Configure FZF for Bash (Bookworm)
lineinfile:
path: /etc/bash.bashrc
insertafter: EOF
regexp: "^source /usr/share/doc/fzf/examples/completion.bash"
state: absent
- name: Shorten Grub timeout
lineinfile: