Merge op role into 1password role

Additionally:

* Stop using Chocolatey packages for 1password as they are not up to
  date, instead download and install directly.
* Switch to apt repository on Debian.
* Add zsh completions for macOS and Dabian.
* Add powershell completions for Windows.
This commit is contained in:
2022-07-03 11:04:41 +01:00
parent c596fcb87a
commit 09e7ec3ad4
8 changed files with 155 additions and 59 deletions

View File

@@ -0,0 +1,10 @@
---
- name: get op zsh completion script
command: op completion zsh
register: zsh_completion_script
changed_when: false
- name: create op zsh completion file
copy:
content: '{{zsh_completion_script.stdout}}'
dest: ~/.local/share/zsh/site-functions/_op