Compare commits
3 Commits
9bd29dcdd2
...
0a385259a5
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a385259a5 | |||
| cf77532254 | |||
| 7e2a813682 |
16
playbooks/macOS-work.yaml
Normal file
16
playbooks/macOS-work.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
- import_playbook: UnixCLI.yaml
|
||||||
|
- hosts: localhost
|
||||||
|
vars_files:
|
||||||
|
- vars/environment.yaml
|
||||||
|
roles:
|
||||||
|
- role: system-info
|
||||||
|
- hosts: localhost
|
||||||
|
vars_files:
|
||||||
|
- vars/environment.yaml
|
||||||
|
roles:
|
||||||
|
- role: fonts
|
||||||
|
- role: iterm
|
||||||
|
- role: kitty
|
||||||
|
- role: neovide
|
||||||
|
- role: macos
|
||||||
@ -7,3 +7,5 @@
|
|||||||
domain: com.apple.desktopservices
|
domain: com.apple.desktopservices
|
||||||
key: DSDontWriteNetworkStores
|
key: DSDontWriteNetworkStores
|
||||||
value: 'true'
|
value: 'true'
|
||||||
|
|
||||||
|
# TODO: ^Space Keyboard Shortcut for switching Input Sources
|
||||||
|
|||||||
@ -4,11 +4,21 @@
|
|||||||
register: launchd_running_services
|
register: launchd_running_services
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
- set_fact:
|
||||||
|
system_info_plist_dir: '{{ansible_env.HOME}}/Library/LaunchAgents'
|
||||||
|
|
||||||
|
- name: create plist directory
|
||||||
|
file:
|
||||||
|
state: directory
|
||||||
|
path: '{{system_info_plist_dir}}'
|
||||||
|
|
||||||
- name: determine if system-info is currently running
|
- name: determine if system-info is currently running
|
||||||
set_fact:
|
set_fact:
|
||||||
system_info_debug: true
|
system_info_debug: true
|
||||||
system_info_plist_path: '{{ansible_env.HOME}}/Library/LaunchAgents/system-info.plist'
|
system_info_plist_path:
|
||||||
system_info_running: "{{'system-info' in launchd_running_services.stdout}}"
|
'{{system_info_plist_dir}}/system-info.plist'
|
||||||
|
system_info_running:
|
||||||
|
"{{'system-info' in launchd_running_services.stdout}}"
|
||||||
|
|
||||||
- name: install system-info launchd plist
|
- name: install system-info launchd plist
|
||||||
template:
|
template:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user