mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-22 03:43:06 +00:00
24 lines
487 B
YAML
24 lines
487 B
YAML
---
|
|
- hosts: all
|
|
connection: local
|
|
|
|
vars_files:
|
|
- default.config.yml
|
|
|
|
pre_tasks:
|
|
- include_vars: "{{ item }}"
|
|
with_fileglob:
|
|
- ../config.yml
|
|
|
|
roles:
|
|
- geerlingguy.homebrew
|
|
- geerlingguy.dotfiles
|
|
|
|
tasks:
|
|
- include: tasks/ansible-setup.yml
|
|
- include: tasks/preferences.yml
|
|
|
|
# TODO: Use sudo once .osx can be run via root with no user interaction.
|
|
- name: Run .osx dotfiles.
|
|
shell: ~/.osx --no-restart
|
|
changed_when: false
|