-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap-playbook.yml
More file actions
45 lines (40 loc) · 1.13 KB
/
Copy pathbootstrap-playbook.yml
File metadata and controls
45 lines (40 loc) · 1.13 KB
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
# Bootstrap further playbooks, installing essentials.
# This playbook is run by bootstrap.sh during initial setup. It is also included in setup-playbook so that
# everything's kept up to date.
#
# Does the following:
# 1. Ensures Xcode's first launch setup is complete.
# 2. Installs MacPorts
# 3. Installs the ports required by setup-playbook. See bootstrap_ports_to_install in `vars/ports.yml` for the list.
---
- name: Bootstrap
hosts: localhost
become: false
vars_files:
- vars/ports.yml
- vars/versions.yml
tasks:
- import_tasks: tasks/preliminaries.yml
tags:
- always
- name: Ensure Xcode is ready
include_role:
name: xcode_firstlaunch
apply:
tags:
- always
tags:
- always
# Ensure MacPorts is installed, and that the ports required by setup-playbook are installed.
- name: Install MacPorts
include_role:
name: macports
apply:
tags:
-always
tags:
- always
- name: Install essential ports
import_tasks: tasks/install_bootstrap_ports.yml
tags:
- always