mac-dev-playbook/main.yml
Jeff Geerling 1af9802b9b Merge pull request #48 from generoi/issue-36
Issue #36: Add option to install npm/composer/pip/gem packages
2017-06-07 16:40:48 -05:00

44 lines
965 B
YAML

---
- hosts: all
connection: local
vars_files:
- default.config.yml
pre_tasks:
- include_vars: "{{ item }}"
with_fileglob:
- ../config.yml
tags: ['always']
roles:
- role: geerlingguy.homebrew
tags: ['homebrew']
- role: geerlingguy.dotfiles
when: configure_dotfiles
tags: ['dotfiles']
- role: geerlingguy.mas
when: mas_installed_apps
tags: ['mas']
tasks:
- include: tasks/ansible-setup.yml
- include: tasks/sudoers.yml
when: configure_sudoers
- include: tasks/terminal.yml
when: configure_terminal
- include: tasks/osx.yml
when: configure_osx
tags: ['osx']
- include: tasks/extra-packages.yml
tags: ['extra-packages']
- name: Run configured post-provision ansible task files.
include: "{{ outer_item }}"
loop_control:
loop_var: outer_item
with_fileglob: "{{ post_provision_tasks|default(omit) }}"