Compare commits

...

2 commits

Author SHA1 Message Date
L3D
be51bcdcbb
renew windows 2024-02-27 15:22:25 +01:00
L3D
f04c679363
update 2024-02-27 15:18:58 +01:00
5 changed files with 12 additions and 5 deletions

9
.gitmodules vendored
View file

@ -7,9 +7,6 @@
[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"] [submodule "collections/ansible_collections/chocolatey"]
path = collections/ansible_collections/chocolatey path = collections/ansible_collections/chocolatey
url = https://github.com/chocolatey/chocolatey-ansible.git url = https://github.com/chocolatey/chocolatey-ansible.git
@ -22,3 +19,9 @@
[submodule "roles/l3d.wireguard"] [submodule "roles/l3d.wireguard"]
path = roles/l3d.wireguard path = roles/l3d.wireguard
url = https://git.l3d.ch/win_ansible/ansible_role_win_wireguard.git url = https://git.l3d.ch/win_ansible/ansible_role_win_wireguard.git
[submodule "roles/l3d.choco"]
path = roles/l3d.choco
url = https://git.l3d.ch/win_ansible/ansible_role_win_chocolatey.git
[submodule "collections/ansible_collections/ansible/windows"]
path = collections/ansible_collections/ansible/windows
url = https://github.com/ansible-collections/ansible.windows.git

@ -1 +1 @@
Subproject commit 588af79d4fb2255c0d1139fd1179c72efa20770b Subproject commit c207ed49ddf73f152f56817787824a2c4ba93226

View file

@ -2,6 +2,8 @@
## connect to windows ## connect to windows
ansible_connection: 'ssh' ansible_connection: 'ssh'
ansible_shell_type: 'powershell' ansible_shell_type: 'powershell'
ansible_pipelining: true
ansible_password: "{{ lookup('community.general.passwordstore', 'ansible/windows/' + inventory_hostname + '/login/' + ansible_user) }}"
# win_activating # win_activating
windows_product_key: "{{ lookup('community.general.passwordstore', 'ansible/windows/productkey') }}" windows_product_key: "{{ lookup('community.general.passwordstore', 'ansible/windows/productkey') }}"

1
roles/l3d.choco Submodule

@ -0,0 +1 @@
Subproject commit 5322f83dfb4385e2fe9d9db1a47220daf3e99cd5

View file

@ -8,7 +8,8 @@
- name: Deploy windows users and basic config - name: Deploy windows users and basic config
hosts: desktop hosts: desktop
roles: roles:
- {role: l3d.choco, tags: choco}
- {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: win_gopass, tags: gopass}
- {role: l3d.wireguard, tags: wireguard} - {role: l3d.wireguard, tags: wireguard}