mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
20 lines
457 B
YAML
20 lines
457 B
YAML
---
|
|
|
|
- name: Enable Touch ID for sudo authentication in the terminal
|
|
tags:
|
|
- configuration
|
|
- enable
|
|
- sudo
|
|
- terminal
|
|
- touch-id
|
|
hosts: all
|
|
tasks:
|
|
- name: Enable Touch ID's PAM modules
|
|
become: true
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/pam.d/sudo
|
|
line: 'auth sufficient pam_tid.so'
|
|
insertafter: '^# sudo: auth account password session$'
|
|
mode: 'ugo=r'
|
|
backup: true
|