braino: add tpm to site.yml, fix apt state in tpm task

This commit is contained in:
Kyle Isom 2023-04-14 18:22:45 +00:00
parent c08b45704c
commit 12661d9cba
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@
- name: install TPM tooling
when: tpm_available
become: true
ansible.builtin.apt: name={{ item }} state=exists
ansible.builtin.apt: name={{ item }} state=present
with_items:
- clevis-tpm2
- tpm2-initramfs-tool

View File

@ -7,6 +7,7 @@
- development
- tailscale
- heavy
- tpm
vars:
laptop_user: kyle
headless: False
@ -32,6 +33,7 @@
- development
- server
- tailscale
- tpm
vars:
laptop_user: kyle
headless: True