You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.0 KiB

- hosts: all
tasks:
- group_by: key=os_{{ ansible_distribution }}
tags: always
- ansible.builtin.git:
repo: git@git.kejadlen.dev:alpha/dotfiles.git
dest: ~/.dotfiles.git
bare: true
# macOS things
# Not needed anymore since I've switched to kitty
#
# - name: Import terminal profile
# ansible.builtin.command: open ~/.macos/Alpha.terminal
#
# - name: Set terminal profile to be the default
# osx_defaults:
# domain: com.apple.Terminal
# key: "{{ item }} Window Settings"
# type: string
# value: Alpha
# with_items:
# - Default
# - Startup
- import_playbook: homebrew.yml
- import_playbook: defaults.yml
- import_playbook: dock.yml
- import_playbook: macos.yml
- hosts: all
tasks:
# https://tratt.net/laurie/blog/2024/faster_shell_startup_with_shell_switching.html
- name: Set default shell to sh
user:
name: alpha
shell: /bin/sh --login
- ansible.builtin.command: "luarocks install fennel"
# vim: ft=yaml.ansible