Compare commits

..

2 commits

Author SHA1 Message Date
L3D
1299bc6c70
update windows 2024-02-27 00:01:45 +01:00
L3D
dfbf9e515a
install packages via scoop 2024-01-14 22:23:13 +01:00
14 changed files with 64 additions and 2 deletions

3
.gitignore vendored
View file

@ -1,5 +1,6 @@
# Venv
ansible/
ansible/**
# ---> Vim
# Swap
[._]*.s[a-v][a-z]

15
.gitmodules vendored
View file

@ -7,3 +7,18 @@
[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
[submodule "roles/l3d.wireguard"]
path = roles/l3d.wireguard
url = https://git.l3d.ch/win_ansible/ansible_role_win_wireguard.git

@ -0,0 +1 @@
Subproject commit 588af79d4fb2255c0d1139fd1179c72efa20770b

@ -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
View file

@ -0,0 +1 @@
ansible_user: 'L3D'

View file

@ -1,2 +1,2 @@
[desktop]
twr.local
twr.local ansible_host="10.10.0.243"

8
requirements.txt Normal file
View 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

@ -0,0 +1 @@
Subproject commit e69912b5cf4919a0f4d32b927277784135e07539

View 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

View 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'

View 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"

View file

@ -10,3 +10,5 @@
roles:
- {role: win_activating, tags: zeroconf}
- {role: win_zeroconf, tags: zeroconf}
- {role: win_gopass, tags: gopass}
- {role: l3d.wireguard, tags: wireguard}