Compare commits

...

3 Commits

3 changed files with 30 additions and 2 deletions

16
playbooks/macOS-work.yaml Normal file
View 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

View File

@ -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

View File

@ -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: