2024-07-12 15:02:18 +02:00
|
|
|
|
---
|
|
|
|
|
- name: Install ‹pam_yubico› on Fedora/EPEL
|
|
|
|
|
ansible.builtin.package:
|
|
|
|
|
name: pam_yubico
|
|
|
|
|
state: present
|
2024-12-14 14:31:39 +01:00
|
|
|
|
when: ansible_distribution in [ "AlmaLinux", "CentOS", "Fedora", "Rocky" ]
|
2024-07-12 15:02:18 +02:00
|
|
|
|
|
|
|
|
|
- name: Enable PPA on Ubuntu
|
|
|
|
|
ansible.builtin.apt_repository:
|
|
|
|
|
repo: ppa:yubico/stable
|
|
|
|
|
state: present
|
|
|
|
|
when: ansible_distribution == "Ubuntu"
|
|
|
|
|
|
|
|
|
|
- name: Install ‹libpam-yubico› on Ubuntu
|
|
|
|
|
ansible.builtin.package:
|
|
|
|
|
name: libpam-yubico
|
|
|
|
|
state: present
|
|
|
|
|
when: ansible_distribution == "Ubuntu"
|