install packages via scoop
This commit is contained in:
parent
0fda6433f8
commit
dfbf9e515a
10 changed files with 49 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,5 +1,6 @@
|
|||
# Venv
|
||||
ansible/
|
||||
ansible/**
|
||||
|
||||
# ---> Vim
|
||||
# Swap
|
||||
[._]*.s[a-v][a-z]
|
||||
|
|
|
|||
12
.gitmodules
vendored
12
.gitmodules
vendored
|
|
@ -7,3 +7,15 @@
|
|||
[submodule "roles/win_activating"]
|
||||
path = roles/win_activating
|
||||
url = https://git.l3d.ch/voc/win_ansible_role_activating.git
|
||||
[submodule "collections/ansible_collections/ansible/windows"]
|
||||
path = collections/ansible_collections/ansible/windows
|
||||
url = https://github.com/ansible-collections/community.windows
|
||||
[submodule "collections/ansible_collections/chocolatey"]
|
||||
path = collections/ansible_collections/chocolatey
|
||||
url = https://github.com/chocolatey/chocolatey-ansible.git
|
||||
[submodule "collections/ansible_collections/community/windows"]
|
||||
path = collections/ansible_collections/community/windows
|
||||
url = https://github.com/ansible-collections/community.windows.git
|
||||
[submodule "collections/ansible_collections/community/general"]
|
||||
path = collections/ansible_collections/community/general
|
||||
url = https://github.com/ansible-collections/community.general.git
|
||||
|
|
|
|||
1
collections/ansible_collections/ansible/windows
Submodule
1
collections/ansible_collections/ansible/windows
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit a03f6d23be11497282964e9dffbdffe78c9a28dd
|
||||
1
collections/ansible_collections/chocolatey
Submodule
1
collections/ansible_collections/chocolatey
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 9bdc0d40437a7dc7f0181af42da7e35bbcfcae4a
|
||||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 32ec751996e1b0505cfef7c511c48d4d81edb091
|
||||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit a03f6d23be11497282964e9dffbdffe78c9a28dd
|
||||
8
roles/win_gopass/tasks/main.yml
Normal file
8
roles/win_gopass/tasks/main.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- name: Install scoop
|
||||
ansible.builtin.include_tasks:
|
||||
file: scoop.yml
|
||||
|
||||
- name: Install gopass and requirements using scoop
|
||||
ansible.builtin.include_tasks:
|
||||
file: packages.yml
|
||||
17
roles/win_gopass/tasks/packages.yml
Normal file
17
roles/win_gopass/tasks/packages.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
- name: Add some scoop buckets
|
||||
community.windows.win_scoop_bucket:
|
||||
name: '{{ item }}'
|
||||
state: present
|
||||
with_items:
|
||||
- extras
|
||||
- main
|
||||
|
||||
- name: Install gopass and Requirements via scoop
|
||||
community.windows.win_scoop:
|
||||
state: present
|
||||
name: '{{ item }}'
|
||||
with_items:
|
||||
- 'gpg4win'
|
||||
- 'git'
|
||||
- 'gopass'
|
||||
- 'gopass-jsonapi'
|
||||
5
roles/win_gopass/tasks/scoop.yml
Normal file
5
roles/win_gopass/tasks/scoop.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
- name: install scoop
|
||||
ansible.windows.win_powershell:
|
||||
script: |
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
|
||||
1
site.yml
1
site.yml
|
|
@ -10,3 +10,4 @@
|
|||
roles:
|
||||
- {role: win_activating, tags: zeroconf}
|
||||
- {role: win_zeroconf, tags: zeroconf}
|
||||
- {role: win_gopass, tags: gopass}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue