diff --git a/docs/FreeBSD.md b/docs/FreeBSD.md index e082809f6..fbbddbe66 100644 --- a/docs/FreeBSD.md +++ b/docs/FreeBSD.md @@ -1,4 +1,4 @@ -# FreeBSD +# FreeBSD / HardenedBSD It is only possible to install Algo on existing systems only in order to avoid recompiling the kernel while deploying diff --git a/playbooks/freebsd.yml b/playbooks/freebsd.yml index 00d77b1ae..8cf0579f6 100644 --- a/playbooks/freebsd.yml +++ b/playbooks/freebsd.yml @@ -1,9 +1,9 @@ --- -- name: FreeBSD | Install prerequisites - raw: sleep 10 && sudo pkg install -y python27 +- name: FreeBSD / HardenedBSD | Install prerequisites + raw: sleep 10 && env ASSUME_ALWAYS_YES=YES sudo pkg install -y python27 -- name: FreeBSD | Configure defaults +- name: FreeBSD / HardenedBSD | Configure defaults raw: sudo ln -sf /usr/local/bin/python2.7 /usr/bin/python2.7 - include: facts/FreeBSD.yml diff --git a/roles/dns_adblocking/tasks/freebsd.yml b/roles/dns_adblocking/tasks/freebsd.yml index 1e32f2bc3..a08e2342a 100644 --- a/roles/dns_adblocking/tasks/freebsd.yml +++ b/roles/dns_adblocking/tasks/freebsd.yml @@ -1,4 +1,4 @@ --- -- name: FreeBSD | Enable dnsmasq +- name: FreeBSD / HardenedBSD | Enable dnsmasq lineinfile: dest=/etc/rc.conf regexp=^dnsmasq_enable= line='dnsmasq_enable="YES"' diff --git a/roles/vpn/tasks/freebsd.yml b/roles/vpn/tasks/freebsd.yml index 396194310..e9a8c9b63 100644 --- a/roles/vpn/tasks/freebsd.yml +++ b/roles/vpn/tasks/freebsd.yml @@ -1,4 +1,4 @@ --- - -- name: FreeBSD | Enable strongswan + +- name: FreeBSD / HardenedBSD | Enable strongswan lineinfile: dest=/etc/rc.conf regexp=^strongswan_enable= line='strongswan_enable="YES"'