Disable sshaskpass

This commit is contained in:
Timo Mäkinen 2024-11-30 17:54:37 +02:00
parent 4a4610486f
commit 717c85373d

View file

@ -102,6 +102,17 @@
name: nvidia_driver
when: nvidia_check.rc == 0
- name: Disable ksshaskpass
ansible.builtin.copy:
dest: "/etc/profile.d/zz_sshaskpass.{{ item }}"
content: "unset SSH_ASKPASS\n"
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
with_items:
- csh
- sh
- name: Hide GRUB menu during boot
ansible.builtin.lineinfile:
path: /etc/default/grub