Skip to content

Commit b5965b1

Browse files
author
Luke Hinds
committed
Adds new packages and installs Keylime using dnf
1 parent 115bdce commit b5965b1

File tree

3 files changed

+6
-20
lines changed

3 files changed

+6
-20
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
Ansible role to deploy [Keylime](https://github.com/keylime/keylime) against
66
a Hardware TPM.
77

8-
The role is currently configured to work with Fedora 30 and 31.
8+
The role is currently configured to work with Fedora 32.
9+
910
Contributions are welcome, should anyone wish to have this role provision other
1011
Linux distributions.
1112

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
11
---
2-
- name: Clone keylime
3-
git:
4-
repo: https://github.com/keylime/keylime
5-
dest: /root/keylime
6-
7-
- name: Run python setup tools to install Keylime
8-
command: python3 setup.py install
9-
args:
10-
chdir: /root/keylime
11-
122
- name: Move /etc/keylime.conf into /etc
133
command: mv /root/keylime/keylime.conf /etc/keylime.conf

roles/ansible-keylime/vars/main.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ dependencies:
1010
'gcc',
1111
'git',
1212
'glib2-devel',
13+
'keylime'
1314
'libcurl-devel',
1415
'libgcrypt-devel',
1516
'libstdc++-devel',
1617
'libtool',
1718
'libffi-devel',
1819
'pkg-config',
20+
'python3-cryptography',
1921
'python3-devel',
2022
'python3-yaml',
23+
'python3-simplejson',
24+
'python3-sqlalchemy',
2125
'redhat-rpm-config',
2226
'tpm2-tools',
2327
'tpm2-tss',
@@ -27,12 +31,3 @@ dependencies:
2731
shell_profiles:
2832
- .bash_profile
2933

30-
# version variables
31-
tpm2_tss_version: a0d6f7d
32-
tpm2_tools_version: master
33-
tpm2_abrmd_version: master
34-
35-
# configure arguments
36-
tpm2_tss_configure_args: "./configure --prefix=/usr --disable-doxygen-doc"
37-
tmp2_tools_configure_args: "TSS2_SYS_CFLAGS=' ' TSS2_SYS_LIBS='-ltss2-sys -L/usr/lib/' ./configure --prefix=/usr/local"
38-
tpm2_abrmd_configure_args: "SAPI_CFLAGS=' ' SAPI_LIBS='-ltss2-sys -L/usr/lib/' ./configure --prefix=/usr"

0 commit comments

Comments
 (0)