Compare commits
2 commits
0fda6433f8
...
1299bc6c70
Author | SHA1 | Date | |
---|---|---|---|
1299bc6c70 | |||
dfbf9e515a |
14 changed files with 64 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
# Venv
|
# Venv
|
||||||
ansible/
|
ansible/**
|
||||||
|
|
||||||
# ---> Vim
|
# ---> Vim
|
||||||
# Swap
|
# Swap
|
||||||
[._]*.s[a-v][a-z]
|
[._]*.s[a-v][a-z]
|
||||||
|
|
15
.gitmodules
vendored
15
.gitmodules
vendored
|
@ -7,3 +7,18 @@
|
||||||
[submodule "roles/win_activating"]
|
[submodule "roles/win_activating"]
|
||||||
path = roles/win_activating
|
path = roles/win_activating
|
||||||
url = https://git.l3d.ch/voc/win_ansible_role_activating.git
|
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
|
||||||
|
[submodule "roles/l3d.wireguard"]
|
||||||
|
path = roles/l3d.wireguard
|
||||||
|
url = https://git.l3d.ch/win_ansible/ansible_role_win_wireguard.git
|
||||||
|
|
1
collections/ansible_collections/ansible/windows
Submodule
1
collections/ansible_collections/ansible/windows
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 588af79d4fb2255c0d1139fd1179c72efa20770b
|
1
collections/ansible_collections/chocolatey
Submodule
1
collections/ansible_collections/chocolatey
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c107493580c3af1a87c48ec7e64990ac7f945bde
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 21404851485e2c19f3daac4819fbbece7ada2e94
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 588af79d4fb2255c0d1139fd1179c72efa20770b
|
1
host_vars/twr.local.yml
Normal file
1
host_vars/twr.local.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ansible_user: 'L3D'
|
|
@ -1,2 +1,2 @@
|
||||||
[desktop]
|
[desktop]
|
||||||
twr.local
|
twr.local ansible_host="10.10.0.243"
|
||||||
|
|
8
requirements.txt
Normal file
8
requirements.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
jmespath>=1.0.1
|
||||||
|
passlib[bcrypt]>=1.7.4
|
||||||
|
ansible
|
||||||
|
ansible-core >= 2.16.0
|
||||||
|
ansible-lint
|
||||||
|
yamllint
|
||||||
|
j2lint
|
||||||
|
netaddr >= 0.9.0
|
1
roles/l3d.wireguard
Submodule
1
roles/l3d.wireguard
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e69912b5cf4919a0f4d32b927277784135e07539
|
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"
|
2
site.yml
2
site.yml
|
@ -10,3 +10,5 @@
|
||||||
roles:
|
roles:
|
||||||
- {role: win_activating, tags: zeroconf}
|
- {role: win_activating, tags: zeroconf}
|
||||||
- {role: win_zeroconf, tags: zeroconf}
|
- {role: win_zeroconf, tags: zeroconf}
|
||||||
|
- {role: win_gopass, tags: gopass}
|
||||||
|
- {role: l3d.wireguard, tags: wireguard}
|
||||||
|
|
Loading…
Reference in a new issue