mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-25 05:10:19 +00:00
26 lines
549 B
YAML
26 lines
549 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
|
|
- name: geerlingguy.mas
|
|
when: mas_installed_app_ids
|
|
|
|
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
|