Remove CAD apps because of Autodesk
Autodesk change distribution of Fusion360 to require a login breaking the Chocolatey package, easier to manage this manually anyway since they won't be installed on all Windows systems.
This commit is contained in:
parent
878db362cd
commit
352ef4c8d4
@ -1,9 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: windows
|
- hosts: windows
|
||||||
|
|
||||||
vars:
|
|
||||||
install_cad_apps: false
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: python
|
- role: python
|
||||||
- role: git
|
- role: git
|
||||||
@ -16,6 +13,7 @@
|
|||||||
- role: curl
|
- role: curl
|
||||||
- role: fzf
|
- role: fzf
|
||||||
- role: gh
|
- role: gh
|
||||||
|
- role: glab
|
||||||
- role: jq
|
- role: jq
|
||||||
- role: tree
|
- role: tree
|
||||||
- role: yq
|
- role: yq
|
||||||
@ -29,8 +27,3 @@
|
|||||||
- role: obsidian
|
- role: obsidian
|
||||||
- role: powertoys
|
- role: powertoys
|
||||||
- role: windows-terminal
|
- role: windows-terminal
|
||||||
|
|
||||||
- role: autodesk-fusion360
|
|
||||||
when: install_cad_apps
|
|
||||||
- role: prusaslicer
|
|
||||||
when: install_cad_apps
|
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
- assert:
|
|
||||||
that: ansible_os_family == "Windows"
|
|
||||||
|
|
||||||
- name: install chocolatey package
|
|
||||||
win_chocolatey:
|
|
||||||
name: autodesk-fusion360
|
|
||||||
state: latest
|
|
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
- assert:
|
|
||||||
that: ansible_os_family == "Windows"
|
|
||||||
|
|
||||||
- name: install chocolatey package
|
|
||||||
win_chocolatey:
|
|
||||||
name: prusaslicer
|
|
||||||
state: latest
|
|
||||||
|
|
||||||
- name: create start menu shortcut
|
|
||||||
win_shortcut:
|
|
||||||
src: '{{ansible_env.ProgramData}}/chocolatey/bin/prusa-slicer.exe'
|
|
||||||
dest: '{{ansible_env.ProgramData}}/Microsoft/Windows/Start Menu/Programs/PrusaSlicer.lnk'
|
|
||||||
icon: '{{ansible_env.ProgramData}}/chocolatey/bin/prusa-slicer.exe,0'
|
|
@ -40,15 +40,18 @@
|
|||||||
dest: external/ansible-win_git
|
dest: external/ansible-win_git
|
||||||
version: master
|
version: master
|
||||||
|
|
||||||
|
- set_fact:
|
||||||
|
modules_dir: ~/.config/local/modules
|
||||||
|
|
||||||
- name: create ansible modules directory
|
- name: create ansible modules directory
|
||||||
file:
|
file:
|
||||||
dest: ~/.ansible/plugins/modules
|
dest: '{{modules_dir}}'
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: copy win_git files to ansible modules directory
|
- name: copy win_git files to ansible modules directory
|
||||||
copy:
|
copy:
|
||||||
src: '~/.config/local/external/ansible-win_git/{{item}}'
|
src: '~/.config/local/external/ansible-win_git/{{item}}'
|
||||||
dest: '~/.config/local/modules/{{item}}'
|
dest: '{{modules_dir}}/{{item}}'
|
||||||
with_items:
|
with_items:
|
||||||
- win_git.ps1
|
- win_git.ps1
|
||||||
- win_git.py
|
- win_git.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user