Use op.exe on WSL for biometrics
This commit is contained in:
parent
854bf8d1e9
commit
f47b45d82c
@ -1,5 +1,6 @@
|
||||
---
|
||||
- name: add apt signing key
|
||||
when: '"WSL" not in ansible_kernel'
|
||||
become: true
|
||||
apt_key:
|
||||
url: https://downloads.1password.com/linux/keys/1password.asc
|
||||
@ -15,6 +16,7 @@
|
||||
fail_msg: 'Architecture not currently supported: {{ansible_machine}}'
|
||||
|
||||
- name: add apt repository
|
||||
when: '"WSL" not in ansible_kernel'
|
||||
become: true
|
||||
apt_repository:
|
||||
repo: >-
|
||||
@ -30,9 +32,17 @@
|
||||
state: latest
|
||||
|
||||
- name: install cli package
|
||||
when: '"WSL" not in ansible_kernel'
|
||||
become: true
|
||||
apt:
|
||||
name: 1password-cli
|
||||
state: latest
|
||||
|
||||
- name: create symlink to op.exe
|
||||
when: '"WSL" in ansible_kernel'
|
||||
file:
|
||||
state: link
|
||||
src: /mnt/c/Users/Benie/AppData/Local/1Password/cli/op.exe
|
||||
dest: ~/.local/bin/op
|
||||
|
||||
- include_tasks: zsh-completion.yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user