-
Notifications
You must be signed in to change notification settings - Fork 0
/
system.yml
48 lines (43 loc) · 1.16 KB
/
system.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
---
# system wide
- hosts: localhost
tags: local_system_install
connection: local
become: true
gather_facts: true # Gather facts here since it requires elevated permissions
pre_tasks:
- name: update repositories
apt: update_cache=yes
ignore_errors: yes
changed_when: False
vars_files:
- vars.yml
tasks:
- name: Apply the packages and apt tags to the include and to all tasks in packages.yml
include_tasks:
file: tasks/packages.yml
apply:
tags: packages
tags:
- packages
- apt
- name: Apply the brew_install tag to the include and to all tasks in homebrew.yml
include_tasks:
file: tasks/homebrew.yml
apply:
tags: brew_install
tags: brew_install
- name: Apply the i3 and packages tags to the include and to all tasks in i3.yml
include_tasks:
file: tasks/i3.yml
apply:
tags: i3
tags:
- i3
- packages
- name: Apply the samba tag to the include and to all tasks in samba.yml
include_tasks:
file: tasks/samba.yml
apply:
tags: samba
tags: samba