mac-dev-playbook/main.yml
2016-12-01 14:37:52 -06:00

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