-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser.yml
102 lines (91 loc) · 2.56 KB
/
user.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# user specific
- hosts: localhost
tags: local_user_install
ignore_errors: yes
#gather_facts: false # Skip fact gathering to avoid privilege issues
connection: local
#become: false # disable sudo for user-level tasks
become_user: "{{user}}"
roles:
- role: evandam.conda
vars_files:
- vars.yml
#
tasks:
- name: Include Miniforge packages with tags
include_tasks:
file: tasks/miniforge_packages.yml
apply:
tags: ['miniforge', 'packages']
tags: ['miniforge', 'packages']
- name: Include dotfiles with tags
include_tasks:
file: tasks/dotfiles.yml
apply:
tags: ['dotfiles']
tags: ['dotfiles']
- name: Include Homebrew packages with tags
include_tasks:
file: tasks/homebrew_packages.yml
apply:
tags: ['brew', 'packages']
tags: ['brew', 'packages']
- name: Include Cheat tasks with tags
include_tasks:
file: tasks/cheat.yml
apply:
tags: ['cheat']
tags: ['cheat']
- name: Include Neovim tasks with tags
include_tasks:
file: tasks/neovim.yml
apply:
tags: ['neovim']
tags: ['neovim']
- name: Include AODN Chef tasks with tags
include_tasks:
file: tasks/aodn_chef.yml
apply:
tags: ['aodn', 'chef']
tags: ['aodn', 'chef']
- name: Include Data Services tasks with tags
include_tasks:
file: tasks/data_services.yml
apply:
tags: ['aodn', 'data_services']
tags: ['aodn', 'data_services']
- name: Include Fonts tasks with tags
include_tasks:
file: tasks/fonts.yml
apply:
tags: ['fonts']
tags: ['fonts']
- name: Include Nextcloud tasks with tags
include_tasks:
file: tasks/nextcloud.yml
apply:
tags: ['appimages', 'nextcloud', 'packages']
tags: ['appimages', 'nextcloud', 'packages']
- name: Include GitHub Repos tasks with tags
include_tasks:
file: tasks/github_repos.yml
apply:
tags: ['github', 'repos']
tags: ['github', 'repos']
- name: Include Mobac tasks with tags
include_tasks:
file: tasks/mobac.yml
apply:
tags: ['mobac']
tags: ['mobac']
# needs other packages to be installed first prior to run the following
- hosts: localhost
ignore_errors: yes
connection: local
become: True
#become_user: "{{user}}"
tags: "jetbrains"
roles:
- role: webarchitect609.jet_brains_toolbox
vars_files:
- vars.yml