Skip to content

Commit

Permalink
docs:🧾 Changing task Darwin -> MacOSX
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDufus committed Sep 12, 2024
1 parent 8300c2c commit b7ee4e9
Show file tree
Hide file tree
Showing 34 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion roles/1password/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "1Password | Darwin | Install 1Password"
- name: "1Password | MacOSX | Install 1Password"
community.general.homebrew_cask:
name: "{{ item }}"
state: present
Expand Down
2 changes: 1 addition & 1 deletion roles/asciiquarium/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Asciiquarium | Darwin | Install asciiquarium"
- name: "Asciiquarium | MacOSX | Install asciiquarium"
community.general.homebrew:
name: asciiquarium
state: present
2 changes: 1 addition & 1 deletion roles/bat/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Bat | Darwin | Install bat"
- name: "Bat | MacOSX | Install bat"
community.general.homebrew:
name: bat
state: present
2 changes: 1 addition & 1 deletion roles/brave/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Brave | Darwin | Install brave"
- name: "Brave | MacOSX | Install brave"
community.general.homebrew_cask:
name: brave-browser
state: present
2 changes: 1 addition & 1 deletion roles/btop/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "btop | Darwin | Install btop"
- name: "btop | MacOSX | Install btop"
community.general.homebrew:
name: btop
state: present
2 changes: 1 addition & 1 deletion roles/discord/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Discord | Darwin | Install Discord"
- name: "Discord | MacOSX | Install Discord"
community.general.homebrew_cask:
name: discord
state: present
2 changes: 1 addition & 1 deletion roles/docker/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Docker | Darwin | Install Docker"
- name: "Docker | MacOSX | Install Docker"
community.general.homebrew:
name: docker
state: present
Expand Down
2 changes: 1 addition & 1 deletion roles/fonts/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Fonts | Install"
- name: "Fonts | MacOSX | Install"
community.general.homebrew:
name: font-powerline-symbols
state: present
2 changes: 1 addition & 1 deletion roles/fzf/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "FZF | Install fzf"
- name: "FZF | MacOSX | Install fzf"
community.general.homebrew:
name: fzf
state: present
2 changes: 1 addition & 1 deletion roles/gh/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "GH | Darwin | Install gh"
- name: "GH | MacOSX | Install gh"
community.general.homebrew:
name: gh
state: present
2 changes: 1 addition & 1 deletion roles/git/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Git | Install git"
- name: "Git | MacOSX | Install git"
community.general.homebrew:
name: git
state: present
2 changes: 1 addition & 1 deletion roles/go/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Go | Darwin | Install Go"
- name: "Go | MacOSX | Install Go"
community.general.homebrew:
name: go
state: present
2 changes: 1 addition & 1 deletion roles/hammerspoon/handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Hammerspoon | Cleanup latest GridLayout.spoon zip"
- name: "Hammerspoon | MacOSX | Cleanup latest GridLayout.spoon zip"
ansible.builtin.file:
name: "{{ ansible_user_dir }}/.hammerspoon/Spoons/GridLayout.spoon.zip"
state: absent
26 changes: 13 additions & 13 deletions roles/hammerspoon/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,65 +1,65 @@
---
- name: "Hammerspoon | Install Hammerspoon"
- name: "Hammerspoon | MacOSX | Install Hammerspoon"
community.general.homebrew_cask:
name: hammerspoon
state: present

- name: "Hammerspoon | Ensure ~/.hammerspoon exists"
- name: "Hammerspoon | MacOSX | Ensure ~/.hammerspoon exists"
ansible.builtin.file:
name: "{{ ansible_user_dir }}/.hammerspoon"
state: directory
mode: "0755"

- name: "Hammerspoon | Deploy Hammerspoon Configuration"
- name: "Hammerspoon | MacOSX | Deploy Hammerspoon Configuration"
ansible.builtin.copy:
src: "config/"
dest: "{{ ansible_user_dir }}/.hammerspoon"
mode: "0644"

- name: "Hammerspoon | Detect local instance of GridLayout.spoon"
- name: "Hammerspoon | MacOSX | Detect local instance of GridLayout.spoon"
ansible.builtin.stat:
name: "{{ ansible_user_dir }}/.hammerspoon/Spoons/GridLayout.spoon"
register: hammerspoon_gridlayout_spoon

- name: "Hammerspoon | Detect latest GridLayout.spoon Github release"
- name: "Hammerspoon | MacOSX | Detect latest GridLayout.spoon Github release"
ansible.builtin.uri:
url: "https://api.github.com/repos/jesseleite/GridLayout.spoon/releases/latest"
return_content: true
register: hammerspoon_gridlayout_release

- name: "Hammerspoon | Extract latest GridLayout.spoon release version"
- name: "Hammerspoon | MacOSX | Extract latest GridLayout.spoon release version"
ansible.builtin.set_fact:
hammerspoon_gridlayout_latest_version: "{{ hammerspoon_gridlayout_release.json.tag_name }}"
when: hammerspoon_gridlayout_release.status == 200

- name: "Hammerspoon | Install latest GridLayout.spoon"
- name: "Hammerspoon | MacOSX | Install latest GridLayout.spoon"
when: not hammerspoon_gridlayout_spoon.stat.exists
block:
- name: "Hammerspoon | Ensure ~/.hammerspoon/Spoons exists"
- name: "Hammerspoon | MacOSX | Ensure ~/.hammerspoon/Spoons exists"
ansible.builtin.file:
name: "{{ ansible_user_dir }}/.hammerspoon/Spoons"
state: directory
mode: "0755"

- name: "Hammerspoon | Download latest GridLayout.spoon"
- name: "Hammerspoon | MacOSX | Download latest GridLayout.spoon"
ansible.builtin.uri:
url: "https://github.com/jesseleite/GridLayout.spoon/releases/download/{{ hammerspoon_gridlayout_latest_version }}/GridLayout.spoon.zip"
dest: "{{ ansible_user_dir }}/.hammerspoon/Spoons"
notify: "Hammerspoon | Cleanup latest GridLayout.spoon zip"
notify: "Hammerspoon | MacOSX | Cleanup latest GridLayout.spoon zip"

- name: "Hammerspoon | Ensure ~/.hammerspoon/Spoons/GridLayout.spoon exists"
- name: "Hammerspoon | MacOSX | Ensure ~/.hammerspoon/Spoons/GridLayout.spoon exists"
ansible.builtin.file:
name: "{{ ansible_user_dir }}/.hammerspoon/Spoons/GridLayout.spoon"
state: directory
mode: "0755"

- name: "Hammerspoon | Unzip latest GridLayout.spoon"
- name: "Hammerspoon | MacOSX | Unzip latest GridLayout.spoon"
ansible.builtin.unarchive:
src: "{{ ansible_user_dir }}/.hammerspoon/Spoons/GridLayout.spoon.zip"
dest: "{{ ansible_user_dir }}/.hammerspoon/Spoons/GridLayout.spoon"
creates: "{{ ansible_user_dir }}/.hammerspoon/Spoons/GridLayout.spoon"

- name: "Hammerspoon | Install Official Hammerspoon Spoons"
- name: "Hammerspoon | MacOSX | Install Official Hammerspoon Spoons"
ansible.builtin.include_tasks: spoons.yml
loop:
- "ReloadConfiguration"
Expand Down
2 changes: 1 addition & 1 deletion roles/helm/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Helm | Install Helm"
- name: "Helm | MacOSX | Install Helm"
community.general.homebrew:
name: helm
state: present
2 changes: 1 addition & 1 deletion roles/k8s/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "K8s | Darwin | Install kubernetes-cli"
- name: "K8s | MacOSX | Install kubernetes-cli"
community.general.homebrew:
name: kubernetes-cli
state: present
2 changes: 1 addition & 1 deletion roles/k9s/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "K9s | Darwin | Install k9s"
- name: "K9s | MacOSX | Install k9s"
community.general.homebrew:
name: k9s
state: present
2 changes: 1 addition & 1 deletion roles/kitty/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Kitty | Darwin | Install kitty"
- name: "Kitty | MacOSX | Install kitty"
community.general.homebrew_cask:
name: kitty
state: present
2 changes: 1 addition & 1 deletion roles/lazygit/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Lazygit | Darwin | Install lazygit"
- name: "Lazygit | MacOSX | Install lazygit"
community.general.homebrew:
name: lazygit
state: present
2 changes: 1 addition & 1 deletion roles/lsd/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "LSD | Darwin | Install lsd"
- name: "LSD | MacOSX | Install lsd"
community.general.homebrew:
name: lsd
state: present
2 changes: 1 addition & 1 deletion roles/lua/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Lua | Darwin | Install lua"
- name: "Lua | MacOSX | Install lua"
community.general.homebrew:
name: "{{ item }}"
state: present
Expand Down
2 changes: 1 addition & 1 deletion roles/ncdu/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "NCDU | Darwin | Install ncdu"
- name: "NCDU | MacOSX | Install ncdu"
community.general.homebrew:
name: ncdu
state: present
4 changes: 2 additions & 2 deletions roles/neovim/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Neovim | Darwin | Dependencies"
- name: "Neovim | MacOSX | Dependencies"
community.general.homebrew:
name:
- cmake
Expand All @@ -11,7 +11,7 @@
- ripgrep
state: present

- name: "Neovim | Darwin | Install"
- name: "Neovim | MacOSX | Install"
community.general.homebrew:
name: neovim
state: present
2 changes: 1 addition & 1 deletion roles/nerdfetch/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "NerdFetch | Darwin | Install NerdFetch"
- name: "NerdFetch | MacOSX | Install NerdFetch"
community.general.homebrew:
name: nerdfetch
state: present
2 changes: 1 addition & 1 deletion roles/npm/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "NPM | Darwin | Install npm"
- name: "NPM | MacOSX | Install npm"
community.general.homebrew:
name: npm
state: present
2 changes: 1 addition & 1 deletion roles/obsidian/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Obsidian | Darwin | Install Obsidian"
- name: "Obsidian | MacOSX | Install Obsidian"
community.general.homebrew_cask:
name: obsidian
state: present
2 changes: 1 addition & 1 deletion roles/pwsh/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Pwsh | Darwin | Install pwsh"
- name: "Pwsh | MacOSX | Install pwsh"
community.general.homebrew_cask:
name: powershell
state: present
2 changes: 1 addition & 1 deletion roles/raycast/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "RayCast | Darwin | Install RayCast"
- name: "RayCast | MacOSX | Install RayCast"
community.general.homebrew_cask:
name: raycast
state: present
2 changes: 1 addition & 1 deletion roles/spotify/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Spotify | Darwin | Install Spotify"
- name: "Spotify | MacOSX | Install Spotify"
community.general.homebrew_cask:
name: spotify
state: present
2 changes: 1 addition & 1 deletion roles/sshfs/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "SSHFS | Darwin | Install sshfs"
- name: "SSHFS | MacOSX | Install sshfs"
community.general.homebrew:
name: sshfs
state: present
4 changes: 2 additions & 2 deletions roles/system/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
- name: "System | Darwin | Update Homebrew"
- name: "System | MacOSX | Update Homebrew"
community.general.homebrew:
update_homebrew: true
upgrade_all: true

- name: "System | Darwin | Install Homebrew Packages"
- name: "System | MacOSX | Install Homebrew Packages"
community.general.homebrew:
name: "{{ item }}"
state: present
Expand Down
2 changes: 1 addition & 1 deletion roles/terraform/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Terraform | Darwin | Install Terraform"
- name: "Terraform | MacOSX | Install Terraform"
community.general.homebrew:
name: terraform
state: present
2 changes: 1 addition & 1 deletion roles/tldr/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "TLDR | Darwin | Install TLDR"
- name: "TLDR | MacOSX | Install TLDR"
community.general.homebrew:
name: tldr
state: present
2 changes: 1 addition & 1 deletion roles/zsh/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Zsh | Darwin | Install zsh"
- name: "Zsh | MacOSX | Install zsh"
community.general.homebrew:
name: zsh
state: present

0 comments on commit b7ee4e9

Please sign in to comment.