dotfiles/.ansible/desktop.yaml

22 lines
741 B
YAML
Raw Normal View History

- name: Desktop installation and configuration
hosts: desktop
roles:
2019-01-20 17:09:09 +00:00
- role: desktop
vars_files:
- roles/desktop/vars/common.yaml
- "roles/desktop/vars/{{ ansible_system | lower }}.yaml"
tasks:
- import_tasks: roles/desktop/tasks/common/firefox.yaml
- import_tasks: roles/desktop/tasks/common/screen.yaml
- block:
- import_tasks: roles/desktop/tasks/darwin/homebrew.yaml
- import_tasks: roles/desktop/tasks/darwin/mas.yaml
- import_tasks: roles/desktop/tasks/darwin/prefs.yaml
when: ansible_system == 'Darwin'
- block:
- import_tasks: roles/desktop/tasks/linux/software.yaml
- import_tasks: roles/desktop/tasks/linux/config.yaml
when: ansible_system == 'Linux'