-
Notifications
You must be signed in to change notification settings - Fork 0
/
playbook.yml
29 lines (26 loc) · 935 Bytes
/
playbook.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
---
- hosts: all
gather_facts: false
connection: local
tasks:
- name: Set python location
set_fact:
ansible_python_interpreter: /usr/local/bin/python
- hosts: all
sudo: true
tasks:
- name: Ensure git is installed
pkgng: name=git state=present
- name: Ensure fastest_cvsup is installed
pkgng: name=fastest_cvsup state=present
- name: Set make options for pfsense (WITHOUT_X11)
lineinfile: dest=/etc/make.conf regexp="^WITHOUT_X11" line="WITHOUT_X11=yes" create=yes
- name: Set make options for pfsense (OPTIONS_UNSET=X11)
lineinfile: dest=/etc/make.conf regexp="^OPTIONS_UNSET=X11$" line="OPTIONS_UNSET=X11"
- name: Set make options for pfsense (BATCH)
lineinfile: dest=/etc/make.conf regexp="^BATCH=" line="BATCH=yes"
- hosts: all
sudo: false
tasks:
- name: Check out pfsense master HEAD
shell: git clone [email protected]:pfsense/pfsense.git