-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
49 lines (38 loc) · 1.03 KB
/
main.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
41
42
43
44
45
46
47
48
49
---
- name: Setup WSL2 machine (Debian / Ubuntu / CentOS)
hosts: all
vars_files:
- vars/default.config.yml
- vars/packages.yml
pre_tasks:
- name: Include playbook configuration
ansible.builtin.include_vars: "{{ item }}"
with_fileglob:
- "{{ playbook_dir }}/config.yml"
tags: ["always"]
roles:
- role: ansible-role-wsl2
tags: ["wsl2", "wsl"]
- role: ansible-role-homebrew
when: configure_homebrew
tags: ["homebrew"]
- role: ansible-role-vfox
when: configure_vfox
tags: ["vfox"]
- role: ansible-role-vscode
when: configure_vscode
tags: ["vscode", "code"]
- role: geerlingguy.dotfiles
when: configure_dotfiles
tags: ["dotfiles"]
- role: ansible-extra-packages
when: extra_packages
tags: ["extra", "extras"]
- role: geerlingguy.docker
when: configure_docker
become: true
tags: ["docker"]
- role: geerlingguy.jenkins
when: configure_jenkins
become: true
tags: ["jenkins"]