-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathtasks_smartkeys.yml
More file actions
79 lines (66 loc) · 1.43 KB
/
Copy pathtasks_smartkeys.yml
File metadata and controls
79 lines (66 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
- name: Add Yubico PPA key
apt_key:
keyserver: keyserver.ubuntu.com
id: 32CBA1A9
state: present
become: true
- name: Add Yubico PPA itself
apt_repository:
repo: ppa:yubico/stable
state: present
become: true
- name: Update apt cache
apt:
update_cache: yes
become: true
- name: Install YubiKey Manager (CLI)
apt:
name: yubikey-manager
state: present
become: true
- name: Install YubiKey Personalization Tool (GUI)
apt:
name: yubikey-personalization-gui
state: present
become: true
#- name: Install libpam-yubico
# apt:
# name: libpam-yubico
# state: present
# become: true
#
#- name: Install libpam-u2f
# apt:
# name: libpam-u2f
# state: present
# become: true
- name: Install YubiKey Manager (GUI)
apt:
name: yubikey-manager-qt
state: present
become: true
#- name: Install Yubico Authenticator
# apt:
# name: yubioath-desktop
# state: present
# become: true
# ##############################################################################
- name: Install pipx
apt:
name: pipx
state: present
become: true
- name: Install Dependencies
apt:
name: libpcsclite-dev
state: present
become: true
- name: Run pipx ensurepath
ansible.builtin.shell: pipx ensurepath
- name: Install pynitrokey
ansible.builtin.shell: pipx install pynitrokey
- name: Install PGP kleopatra GUI
apt:
name: kleopatra
state: present
become: true