Compare commits
No commits in common. "3008424a13afb4fbe58ea0d72dec862c1c56c5fe" and "567ed28def32dec80b55fd8112883a5edb0cfdca" have entirely different histories.
3008424a13
...
567ed28def
@ -1,9 +1,29 @@
|
|||||||
---
|
---
|
||||||
- import_playbook: WindowsCLI.yaml
|
|
||||||
- hosts: windows
|
- hosts: windows
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/environment.yaml
|
- vars/environment.yaml
|
||||||
roles:
|
roles:
|
||||||
|
- role: python
|
||||||
|
- role: git
|
||||||
|
- role: powershell
|
||||||
|
- role: neovim
|
||||||
|
- role: system-info
|
||||||
|
|
||||||
|
- role: ag
|
||||||
|
- role: bat
|
||||||
|
- role: curl
|
||||||
|
- role: fd
|
||||||
|
- role: fzf
|
||||||
|
- role: gh
|
||||||
|
- role: glab
|
||||||
|
- role: jq
|
||||||
|
- role: ripgrep
|
||||||
|
- role: tree
|
||||||
|
- role: yq
|
||||||
|
|
||||||
|
- role: llvm
|
||||||
|
- role: nodejs
|
||||||
|
|
||||||
- role: 1password
|
- role: 1password
|
||||||
- role: autohotkey
|
- role: autohotkey
|
||||||
- role: cider
|
- role: cider
|
||||||
@ -13,4 +33,3 @@
|
|||||||
- role: obsidian
|
- role: obsidian
|
||||||
- role: powertoys
|
- role: powertoys
|
||||||
- role: windows-terminal
|
- role: windows-terminal
|
||||||
# TODO: wezterm
|
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: windows
|
|
||||||
vars_files:
|
|
||||||
- vars/environment.yaml
|
|
||||||
roles:
|
|
||||||
- role: scoop
|
|
||||||
- role: python
|
|
||||||
- role: git
|
|
||||||
- role: powershell
|
|
||||||
- role: neovim
|
|
||||||
- role: system-info
|
|
||||||
|
|
||||||
- role: ag
|
|
||||||
- role: bat
|
|
||||||
- role: curl
|
|
||||||
- role: fd
|
|
||||||
- role: fzf
|
|
||||||
- role: gh
|
|
||||||
- role: glab
|
|
||||||
- role: jq
|
|
||||||
- role: ripgrep
|
|
||||||
- role: tree
|
|
||||||
- role: yq
|
|
||||||
|
|
||||||
- role: llvm
|
|
||||||
- role: nodejs
|
|
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: remote chocolatey package
|
- name: install chocolatey package
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: ag
|
name: ag
|
||||||
state: absent
|
state: latest
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: ag
|
|
||||||
state: present
|
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: remote chocolatey package
|
- name: install chocolatey package
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: Bat
|
name: Bat
|
||||||
state: absent
|
state: latest
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: bat
|
|
||||||
state: present
|
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: remove chocolatey package
|
- name: install chocolatey package
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: curl
|
name: curl
|
||||||
state: absent
|
state: latest
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: curl
|
|
||||||
state: present
|
|
||||||
|
@ -19,14 +19,8 @@
|
|||||||
name: fd
|
name: fd
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: remove chocolatey package
|
- name: install Chocolatey package
|
||||||
when: ansible_os_family == 'Windows'
|
when: ansible_os_family == 'Windows'
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: fd
|
name: fd
|
||||||
state: absent
|
state: latest
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
when: ansible_os_family == 'Windows'
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: fd
|
|
||||||
state: present
|
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: remove chocolatey package
|
- name: install chocolatey package
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: fzf
|
name: fzf
|
||||||
state: absent
|
state: latest
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: fzf
|
|
||||||
state: present
|
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: remove chocolatey package
|
- name: install chocolatey package
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: gh
|
name: gh
|
||||||
state: absent
|
state: latest
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: gh
|
|
||||||
state: present
|
|
||||||
|
@ -1,12 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: remove chocolatey package
|
- name: install chocolatey package
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name:
|
|
||||||
- glab
|
|
||||||
- glab.portable
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: glab
|
name: glab
|
||||||
state: present
|
state: latest
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: remote chocolatey package
|
- name: install chocolatey package
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: jq
|
name: jq
|
||||||
state: absent
|
state: latest
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: jq
|
|
||||||
state: present
|
|
||||||
|
@ -19,13 +19,8 @@
|
|||||||
name: ripgrep
|
name: ripgrep
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: remove chocolatey package
|
- name: install Chocolatey package
|
||||||
when: ansible_os_family == 'Windows'
|
when: ansible_os_family == 'Windows'
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: ripgrep
|
name: ripgrep
|
||||||
state: absent
|
state: latest
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: ripgrep
|
|
||||||
state: present
|
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
---
|
|
||||||
- name: detect if scoop is installed
|
|
||||||
win_command: where.exe scoop
|
|
||||||
changed_when: false
|
|
||||||
failed_when: false
|
|
||||||
register: scoop_result
|
|
||||||
|
|
||||||
- assert:
|
|
||||||
that: scoop_result.rc == 0
|
|
||||||
fail_msg: Scoop is not installed
|
|
||||||
|
|
||||||
- name: add extras bucket
|
|
||||||
community.windows.win_scoop_bucket:
|
|
||||||
name: extras
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: install completions
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: scoop-completion
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- win_owner:
|
|
||||||
path: '{{ansible_env.LOCALAPPDATA}}/Scoop/buckets/extras'
|
|
||||||
user: '{{ansible_env.USERNAME}}'
|
|
||||||
recurse: true
|
|
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: remove chocolatey package
|
- name: install chocolatey package
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: yq
|
name: yq
|
||||||
state: absent
|
state: latest
|
||||||
|
|
||||||
- name: install scoop package
|
|
||||||
community.windows.win_scoop:
|
|
||||||
name: yq
|
|
||||||
state: present
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user