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
|
- name: add apt signing key
|
||||||
|
when: '"WSL" not in ansible_kernel'
|
||||||
become: true
|
become: true
|
||||||
apt_key:
|
apt_key:
|
||||||
url: https://downloads.1password.com/linux/keys/1password.asc
|
url: https://downloads.1password.com/linux/keys/1password.asc
|
||||||
@ -15,6 +16,7 @@
|
|||||||
fail_msg: 'Architecture not currently supported: {{ansible_machine}}'
|
fail_msg: 'Architecture not currently supported: {{ansible_machine}}'
|
||||||
|
|
||||||
- name: add apt repository
|
- name: add apt repository
|
||||||
|
when: '"WSL" not in ansible_kernel'
|
||||||
become: true
|
become: true
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: >-
|
repo: >-
|
||||||
@ -30,9 +32,17 @@
|
|||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: install cli package
|
- name: install cli package
|
||||||
|
when: '"WSL" not in ansible_kernel'
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
name: 1password-cli
|
name: 1password-cli
|
||||||
state: latest
|
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
|
- include_tasks: zsh-completion.yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user