Skip to content

Commit 9d8b7d1

Browse files
Merge pull request #16 from ccdc-opensource/Updating-module-names
Updating module names
2 parents 23d04f6 + 47ff429 commit 9d8b7d1

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
- name: Restart Finder # noqa: command-instead-of-shell
3-
shell: killall Finder
3+
ansible.builtin.shell: killall Finder

tasks/defaults-for-dev-clarity.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Show Drives on the Desktop
3-
osx_defaults:
3+
community.general.osx_defaults:
44
domain: com.apple.finder
55
key: ShowHardDrivesOnDesktop
66
type: bool
@@ -10,7 +10,7 @@
1010
- Restart Finder
1111

1212
- name: Show External Drives on the Desktop
13-
osx_defaults:
13+
community.general.osx_defaults:
1414
domain: com.apple.finder
1515
key: ShowExternalHardDrivesOnDesktop
1616
type: bool
@@ -20,7 +20,7 @@
2020
- Restart Finder
2121

2222
- name: Show Removable Media on the Desktop
23-
osx_defaults:
23+
community.general.osx_defaults:
2424
domain: com.apple.finder
2525
key: ShowRemovableMediaOnDesktop
2626
type: bool
@@ -30,7 +30,7 @@
3030
- Restart Finder
3131

3232
- name: Show Hidden Files
33-
osx_defaults:
33+
community.general.osx_defaults:
3434
domain: com.apple.finder
3535
key: AppleShowAllFiles
3636
type: bool
@@ -40,7 +40,7 @@
4040
- Restart Finder
4141

4242
- name: Show File Extensions
43-
osx_defaults:
43+
community.general.osx_defaults:
4444
domain: NSGlobalDomain
4545
key: AppleShowAllExtensions
4646
type: bool
@@ -50,7 +50,7 @@
5050
- Restart Finder
5151

5252
- name: Show the Status Bar in Finder
53-
osx_defaults:
53+
community.general.osx_defaults:
5454
domain: com.apple.finder
5555
key: ShowStatusBar
5656
type: bool
@@ -60,7 +60,7 @@
6060
- Restart Finder
6161

6262
- name: Show the Path Bar in Finder
63-
osx_defaults:
63+
community.general.osx_defaults:
6464
domain: com.apple.finder
6565
key: ShowPathbar
6666
type: bool
@@ -71,7 +71,7 @@
7171

7272
- name: Disable automatic capitalization as it’s annoying when typing code
7373
become: true
74-
osx_defaults:
74+
community.general.osx_defaults:
7575
domain: NSGlobalDomain
7676
key: NSAutomaticCapitalizationEnabled
7777
type: bool
@@ -80,7 +80,7 @@
8080

8181
- name: Disable smart dashes as they’re annoying when typing code
8282
become: true
83-
osx_defaults:
83+
community.general.osx_defaults:
8484
domain: NSGlobalDomain
8585
key: NSAutomaticDashSubstitutionEnabled
8686
type: bool
@@ -89,7 +89,7 @@
8989

9090
- name: Disable automatic period substitution as it’s annoying when typing code
9191
become: true
92-
osx_defaults:
92+
community.general.osx_defaults:
9393
domain: NSGlobalDomain
9494
key: NSAutomaticPeriodSubstitutionEnabled
9595
type: bool
@@ -98,7 +98,7 @@
9898

9999
- name: Disable smart quotes as they’re annoying when typing code
100100
become: true
101-
osx_defaults:
101+
community.general.osx_defaults:
102102
domain: NSGlobalDomain
103103
key: NSAutomaticQuoteSubstitutionEnabled
104104
type: bool
@@ -107,7 +107,7 @@
107107

108108
- name: Disable auto-correct
109109
become: true
110-
osx_defaults:
110+
community.general.osx_defaults:
111111
domain: NSGlobalDomain
112112
key: NSAutomaticSpellingCorrectionEnabled
113113
type: bool
@@ -117,7 +117,7 @@
117117
# This stops the graphical python window from popping up a message all the time if it crashed
118118
- name: Disable close windows when quitting an app
119119
become: true
120-
osx_defaults:
120+
community.general.osx_defaults:
121121
domain: NSGlobalDomain
122122
key: NSQuitAlwaysKeepsWindows
123123
type: bool

tasks/enable-developer-mode.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
- name: Check developer mode # noqa: no-changed-when
3-
command: DevToolsSecurity -status
3+
ansible.builtin.command: DevToolsSecurity -status
44
register: DevToolsSecurity_status
55
become: true
66

77
- name: Activate developer mode
8-
command: DevToolsSecurity -enable
8+
ansible.builtin.command: DevToolsSecurity -enable
99
register: DevToolsSecurity_activation
1010
when: '"Developer mode is currently disabled" in DevToolsSecurity_status.stdout'
1111
become: true

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: enable developer mode
3-
include: enable-developer-mode.yml
3+
ansible.builtin.include_tasks: enable-developer-mode.yml
44

55
- name: setup desktop defaults that make sense for developers (increase clarity and awareness)
6-
include: defaults-for-dev-clarity.yml
6+
ansible.builtin.include_tasks: defaults-for-dev-clarity.yml

0 commit comments

Comments
 (0)