-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook.yml
40 lines (35 loc) · 924 Bytes
/
playbook.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
- hosts: all
connection: local
gather_facts: true
vars_files:
- vars/default.yml # overridden by include_vars below
- secrets.yml
pre_tasks:
- include_vars: "{{ item }}"
with_first_found:
- vars/{{ ansible_os_family }}.yml
- vars/default.yml
tags: [always]
- name: Display all variables/facts known for a host
debug:
var: hostvars[inventory_hostname]
when: "{{ debug | default('false') }}"
roles:
- role: baseline
tags: [baseline]
vars:
baseline_brew_password: "{{ brew_password }}"
- role: zsh
tags: [shell]
- role: vscode
tags: [editor, vscode]
- role: toolchains
tags: [dev, toolchains]
- role: apps
tags: [dev, productivity]
tasks:
- import_tasks: "tasks/screensaver.yml"
tags: [screensaver]
- import_tasks: tasks/python-ecosystem.yml
tags: [python]