Add 1password role for macOS and Windows

This commit is contained in:
Kenneth Benzie 2022-05-01 22:01:14 +01:00
parent 8f304361fb
commit 3652b3c9cb
5 changed files with 21 additions and 0 deletions

View File

@ -17,3 +17,4 @@
- role: git - role: git
- role: python - role: python
- role: autohotkey - role: autohotkey
- role: 1password

View File

@ -0,0 +1,5 @@
---
- name: install homebrew package
homebrew_cask:
name: 1password
state: latest

View File

@ -0,0 +1 @@
# TODO: https://support.1password.com/install-linux/#debian-or-ubuntu

View File

@ -0,0 +1,12 @@
---
- name: install chocolatey package
win_chocolatey:
name:
- 1password
state: latest
- name: create start menu shortcut
win_shortcut:
src: '{{ansible_env.LOCALAPPDATA}}/1Password/app/7/1Password.exe'
dest: '{{ansible_env.ProgramData}}/Microsoft/Windows/Start Menu/Programs/1Password.lnk'
icon: '{{ansible_env.LOCALAPPDATA}}/1Password/app/7/1Password.exe,0'

View File

@ -0,0 +1,2 @@
---
- include_tasks: '{{ansible_os_family}}.yaml'