Skip to content

Commit 7b38c2a

Browse files
committed
style: fix language
1 parent 1738585 commit 7b38c2a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+107
-104
lines changed

alfred/core.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
connection: local
44

55
tasks:
6-
- name: Install Alfred (macOS)
6+
- name: Ensure Alfred
77
homebrew_cask:
88
name: alfred

ansible/vscode.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
connection: local
44

55
tasks:
6-
- name: Install VS Code Extension
6+
- name: Ensure vscode extensions
77
command: code --install-extension vscoss.vscode-ansible
88
args:
99
creates: ~/.vscode/extensions/vscoss.vscode-ansible-*/package.json

core.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
tasks:
66
# macOS
77

8-
- name: Update Homebrew and all packages
8+
- name: Ensure Homebrew and all packages
99
homebrew:
1010
update_homebrew: yes
1111
upgrade_all: yes
1212

13-
- name: Install core packages
13+
- name: Ensure core packages
1414
homebrew:
1515
name: "{{ item }}"
1616
loop:
1717
- bat
1818
- htop
1919
- jq
2020

21-
- name: Install terminal
21+
- name: Ensure terminal
2222
homebrew_cask:
2323
name: iterm2

customization-ui.yaml

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,128 @@
11

2-
- name: Core OS customization (macOS)
2+
- name: Core OS customization
33
hosts: 127.0.0.1
44
connection: local
55

66
tasks:
77

8-
- name: Ensure software updates daily (macOS)
8+
- name: Ensure software updates daily
99
shell:
1010
cmd: "defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1"
1111

12-
- name: Increase sound quality for Bluetooth headphones/headsets (macOS)
12+
- name: Increase sound quality for Bluetooth headphones/headsets
1313
shell:
1414
cmd: "defaults write com.apple.BluetoothAudioAgent 'Apple Bitpool Min (editable)' -int 40"
1515

16-
- name: Require password after sleep or screen saver begins (macOS)
16+
- name: Require password after sleep or screen saver begins
1717
shell:
1818
cmd: "defaults write com.apple.screensaver askForPassword -int 1"
1919

20-
- name: Require password immediately after sleep or screen saver begins (macOS)
20+
- name: Require password immediately after sleep or screen saver begins
2121
shell:
2222
cmd: "defaults write com.apple.screensaver askForPasswordDelay -int 0"
2323

24-
- name: Save screenshots to desktop (macOS)
24+
- name: Save screenshots to desktop
2525
shell:
2626
cmd: "defaults write com.apple.screencapture location -string '${HOME}/Desktop'"
2727

28-
- name: Save screenshots as png (macOS)
28+
- name: Save screenshots as png
2929
shell:
3030
cmd: "defaults write com.apple.screencapture type -string 'png'"
3131

32-
- name: Change new window target (macOS)
32+
- name: Change new window target
3333
shell:
3434
cmd: "defaults write com.apple.finder NewWindowTarget -string 'PfDe'"
3535

36-
- name: Set new window to dev (macOS)
36+
- name: Set new window to dev
3737
shell:
3838
cmd: "defaults write com.apple.finder NewWindowTargetPath -string 'file://${HOME}/dev/'"
3939

40-
- name: Show hidden files (macOS)
40+
- name: Show hidden files
4141
shell:
4242
cmd: "defaults write com.apple.finder AppleShowAllFiles -bool true"
4343

44-
- name: Show file extensions (macOS)
44+
- name: Show file extensions
4545
shell:
4646
cmd: "defaults write NSGlobalDomain AppleShowAllExtensions -bool true"
4747

48-
- name: Search current folder (macOS)
48+
- name: Search current folder
4949
shell:
5050
cmd: "defaults write com.apple.finder FXDefaultSearchScope -string 'SCcf'"
5151

52-
- name: No warning for extension change (macOS)
52+
- name: No warning for extension change
5353
shell:
5454
cmd: "defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false"
5555

56-
- name: Skip DS_Store creation (macOS)
56+
- name: Skip DS_Store creation
5757
shell:
5858
cmd: "defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true"
5959

60-
- name: Skip DS_Store creation usb (macOS)
60+
- name: Skip DS_Store creation usb
6161
shell:
6262
cmd: "defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true"
6363

64-
- name: Disable trash empty warning (macOS)
64+
- name: Disable trash empty warning
6565
shell:
6666
cmd: "defaults write com.apple.finder WarnOnEmptyTrash -bool false"
6767

68-
- name: Empty trash securely (macOS)
68+
- name: Empty trash securely
6969
shell:
7070
cmd: "defaults write com.apple.finder EmptyTrashSecurely -bool true"
7171

72-
- name: Disable the Are you sure you want to open this application? dialog (macOS)
72+
- name: Disable the Are you sure you want to open this application? dialog
7373
shell:
7474
cmd: "defaults write com.apple.LaunchServices LSQuarantine -bool false"
7575

76-
- name: Disable automatic period substitution as it’s annoying when typing code (macOS)
76+
- name: Disable automatic period substitution as it’s annoying when typing code
7777
shell:
7878
cmd: "defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool false"
7979

80-
- name: Disable press-and-hold for keys in favor of key repeat (macOS)
80+
- name: Disable press-and-hold for keys in favor of key repeat
8181
shell:
8282
cmd: "defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false"
8383

84-
- name: Key Repeat (macOS)
84+
- name: Key Repeat
8585
shell:
8686
cmd: "defaults write NSGlobalDomain KeyRepeat -int 2"
8787

88-
- name: Faster repeat rate (macOS)
88+
- name: Faster repeat rate
8989
shell:
9090
cmd: "defaults write NSGlobalDomain InitialKeyRepeat -int 25"
9191

92-
- name: Disable machine sleep while charging (macOS)
92+
- name: Disable machine sleep while charging
9393
become: yes
9494
shell:
9595
cmd: "pmset -c sleep 0"
9696

97-
- name: Disable dashboard (macOS)
97+
- name: Disable dashboard
9898
shell:
9999
cmd: "defaults write com.apple.dashboard mcx-disabled -bool true"
100100

101-
- name: Speed up mouse (macOS)
101+
- name: Speed up mouse
102102
become: yes
103103
shell:
104104
cmd: "defaults write -g com.apple.mouse.scaling -int 2.5"
105105

106-
- name: Auto hide dock (macOS)
106+
- name: Auto hide dock
107107
shell:
108108
cmd: "defaults write com.apple.dock autohide -bool true && killall Dock"
109109

110-
- name: Tap to click (macOS)
110+
- name: Tap to click
111111
shell:
112112
cmd: "defaults write com.apple.AppleMultitouchTrackpad Clicking 1"
113113

114-
- name: Three finger drag (macOS)
114+
- name: Three finger drag
115115
shell:
116116
cmd: "defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerDrag 1"
117117

118-
- name: Horizontal Swipe Gesture (macOS)
118+
- name: Horizontal Swipe Gesture
119119
shell:
120120
cmd: "defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerHorizSwipeGesture 0"
121121

122-
- name: Verticle Swipe Gesture (macOS)
122+
- name: Verticle Swipe Gesture
123123
shell:
124124
cmd: "defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerVertSwipeGesture 0"
125125

126-
- name: Right edge Swipe Gesture (macOS)
126+
- name: Right edge Swipe Gesture
127127
shell:
128128
cmd: "defaults write com.apple.AppleMultitouchTrackpad TrackpadTwoFingerFromRightEdgeSwipeGesture 0"

dev-folders/core.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
connection: local
44

55
tasks:
6-
- name: Create dev folder
6+
- name: Ensure dev folder
77
file:
88
path: ~/dev
99
state: directory
1010
mode: 0700
11-
- name: Create clones folder
11+
- name: Ensure clones folder
1212
file:
1313
path: ~/dev/clones
1414
state: directory
1515
mode: 0700
16-
- name: Create cruft folder
16+
- name: Ensure cruft folder
1717
file:
1818
path: ~/dev/cruft
1919
state: directory

docker/core.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
connection: local
44

55
tasks:
6-
- name: Install Docker CLI components (macOS)
6+
- name: Ensure Docker CLI components
77
homebrew:
88
name: docker-compose
99

10-
- name: Install Docker engine (macOS)
10+
- name: Ensure Docker engine
1111
homebrew_cask:
1212
name: docker

docker/customization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
connection: local
44

55
tasks:
6-
- name: Add custom Docker commands
6+
- name: Ensure custom Docker aliases
77
blockinfile:
88
path: ~/.zshrc
99
marker: "### {mark} Ansible managed: Docker customization"

docker/vscode.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
connection: local
44

55
tasks:
6-
- name: Install VS Code Extension
6+
- name: Ensure vscode extensions
77
command: code --install-extension ms-azuretools.vscode-docker
88
args:
99
creates: ~/.vscode/extensions/ms-azuretools.vscode-docker-*/package.json

dotnet/core.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
- "3.1"
99

1010
tasks:
11-
- name: Install .NET SDK installer
11+
- name: Ensure .NET SDK installer
1212
get_url:
1313
url: https://dot.net/v1/dotnet-install.sh
1414
dest: /usr/local/bin/dotnet-install
1515
mode: 0755
1616

17-
- name: Install .NET SDK (macOS)
17+
- name: Ensure .NET SDK
1818
shell: dotnet-install -c {{ item }}
1919
register: dotnet_sdk_installed_mac
2020
loop: "{{ dotnet_versions }}"
2121
args:
2222
creates: ~/.dotnet/sdk/{{ item }}.*/.version
2323

24-
- name: Create shortcut to dotnet
24+
- name: Ensure dotnet shortcut
2525
file:
2626
path: /usr/local/bin/dotnet
2727
src: ~/.dotnet/dotnet
@@ -33,7 +33,7 @@
3333
command: dotnet new
3434
when: dotnet_sdk_installed_mac.changed
3535

36-
- name: Update environment for .NET Core
36+
- name: Ensure environment variables
3737
blockinfile:
3838
path: ~/.zshrc
3939
marker: "### {mark} Ansible managed: .NET Core enhancement"

dotnet/customization.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
- name: .NET Core
1+
- name: .NET Core (customization)
22
hosts: 127.0.0.1
33
connection: local
44

55
tasks:
6-
- name: Install global tools
6+
- name: Ensure global tools
77
command: dotnet tool install -g {{ item }}
88
args:
99
creates: ~/.dotnet/tools/.store/{{ item }}
@@ -16,6 +16,7 @@
1616
- dotnet-nuget-gc
1717
- dotnet-ef
1818
- dotnet-core-uninstall
19+
1920
- name: Ensure environment variables
2021
blockinfile:
2122
path: ~/.zshrc

dotnet/vscode.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
connection: local
44

55
tasks:
6-
- name: Install VS Code Extensions
6+
- name: Ensure vscode extensions
77
command: code --install-extension {{ item }}
88
args:
99
creates: ~/.vscode/extensions/{{ item }}-*/package.json

firefox/core.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
connection: local
44

55
tasks:
6-
- name: Install Firefox (macOS)
6+
- name: Ensure Firefox
77
homebrew_cask:
88
name: firefox

fonts/core.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
- name: Tap Font Cask
77
homebrew_tap:
88
name: homebrew/cask-font
9-
- name: Install Font Homebrew packages
9+
10+
- name: Ensure custom fonts
1011
homebrew_cask:
1112
name: "{{ item }}"
1213
loop:

git/core.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
connection: local
44

55
tasks:
6-
- name: Install Homebrew packages
6+
- name: Ensure git packages
77
homebrew:
88
name: "{{ item }}"
99
loop:
1010
- git
1111
- gnupg
1212
- pinentry-mac
1313

14-
- name: update agent
14+
- name: Update agent
1515
copy:
1616
dest: ~/.gnupg/gpg-agent.conf
1717
content: |
1818
pinentry-program /usr/local/bin/pinentry-mac
1919
20-
- name: Install Github Desktop (macOS)
20+
- name: Ensure Github Desktop
2121
homebrew_cask:
2222
name: github

git/customization.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
connection: local
44

55
tasks:
6-
- name: Set global configuration
6+
- name: Ensure global configuration
77
copy:
88
src: config
99
dest: ~/.gitconfig
10+
1011
- name: Ensure environment variables
1112
blockinfile:
1213
path: ~/.zshrc

git/vscode.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
connection: local
44

55
tasks:
6-
- name: Install VS Code Extension
6+
- name: Ensure vscode extensions
77
command: code --install-extension {{ item }}
88
args:
99
creates: ~/.vscode/extensions/{{ item }}-*/package.json

google-chat/core.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
connection: local
44

55
tasks:
6-
- name: Install Google Chat (macOS)
6+
- name: Ensure Google Chat
77
homebrew_cask:
88
name: google-chat

google-chrome/core.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
connection: local
44

55
tasks:
6-
- name: Install Google Chrome (macOS)
6+
- name: Install Google Chrome
77
homebrew_cask:
88
name: google-chrome

0 commit comments

Comments
 (0)