Add 1password role for macOS and Windows
This commit is contained in:
parent
8f304361fb
commit
3652b3c9cb
@ -17,3 +17,4 @@
|
||||
- role: git
|
||||
- role: python
|
||||
- role: autohotkey
|
||||
- role: 1password
|
||||
|
5
roles/1password/tasks/Darwin.yaml
Normal file
5
roles/1password/tasks/Darwin.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: install homebrew package
|
||||
homebrew_cask:
|
||||
name: 1password
|
||||
state: latest
|
1
roles/1password/tasks/Debian.yaml
Normal file
1
roles/1password/tasks/Debian.yaml
Normal file
@ -0,0 +1 @@
|
||||
# TODO: https://support.1password.com/install-linux/#debian-or-ubuntu
|
12
roles/1password/tasks/Windows.yaml
Normal file
12
roles/1password/tasks/Windows.yaml
Normal 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'
|
2
roles/1password/tasks/main.yaml
Normal file
2
roles/1password/tasks/main.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
- include_tasks: '{{ansible_os_family}}.yaml'
|
Loading…
x
Reference in New Issue
Block a user