-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebuild-world.yml
74 lines (68 loc) · 1.65 KB
/
rebuild-world.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
--- # vim: se ft=yaml.ansible :
- name: Do gentoo world rebuild
hosts: laptop
become: true
tasks:
- import_role:
name: services-ctl
- name: Sync portage trees and index ebuilds
command: /usr/bin/eix-sync
- name: Rebuild the @system
notify:
- ensure-services-started
- ensure-services-reloaded
portage:
name: "@system"
state: emerged
deep: true
update: true
verbose: true
newuse: true
loadavg: 4
jobs: 9
- name: Rebuild the @world
notify:
- ensure-services-started
- ensure-services-reloaded
portage:
name: "@world"
state: emerged
deep: true
update: true
verbose: true
newuse: true
loadavg: 4
jobs: 9
- name: Rebuild the @preserved-rebuild
notify:
- ensure-services-started
- ensure-services-reloaded
portage:
name: "@preserved-rebuild"
state: emerged
verbose: true
loadavg: 4
jobs: 9
- name: Rebuild the @module-rebuild
notify:
- ensure-services-started
- ensure-services-reloaded
portage:
name: "@module-rebuild"
state: emerged
verbose: true
loadavg: 4
jobs: 9
- name: Rebuild the @x11-module-rebuild
notify:
- ensure-services-started
- ensure-services-reloaded
portage:
name: "@x11-module-rebuild"
state: emerged
verbose: true
loadavg: 4
jobs: 9
- name: Gather the package facts
ansible.builtin.package_facts:
manager: auto