Add loader.conf.
This commit is contained in:
parent
c34aab16af
commit
ae6673e182
@ -9,3 +9,4 @@ pflog_conf:
|
||||
dev: pflog0
|
||||
network_rc: "homeserver_network.conf"
|
||||
rc_conf: "homeserver_rc.conf"
|
||||
loader_conf: "homeserver_loader.conf"
|
||||
|
5
ansible/roles/base/files/homeserver_loader.conf
Normal file
5
ansible/roles/base/files/homeserver_loader.conf
Normal file
@ -0,0 +1,5 @@
|
||||
security.bsd.allow_destructive_dtrace=0
|
||||
kern.geom.label.disk_ident.enable="0"
|
||||
kern.geom.label.gptid.enable="0"
|
||||
cryptodev_load="YES"
|
||||
zfs_load="YES"
|
@ -2,14 +2,9 @@ clear_tmp_enable="YES"
|
||||
syslogd_flags="-ss"
|
||||
sendmail_enable="NONE"
|
||||
hostname="computer"
|
||||
# wlans_ath0="wlan0"
|
||||
wlans_run0="wlan0"
|
||||
ifconfig_wlan0="WPA DHCP"
|
||||
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
|
||||
local_unbound_enable="YES"
|
||||
sshd_enable="YES"
|
||||
ntpd_enable="YES"
|
||||
powerd_enable="YES"
|
||||
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
|
||||
dumpdev="NO"
|
||||
zfs_enable="YES"
|
||||
|
@ -59,14 +59,21 @@
|
||||
name: daily_scrub_zfs_default_threshold
|
||||
value: "7"
|
||||
path: /etc/periodic.conf.local
|
||||
# - name: Install loader.conf
|
||||
# copy:
|
||||
# src: "{{loader_conf}}"
|
||||
# dest: /boot/loader.conf
|
||||
# owner: root
|
||||
# group: wheel
|
||||
# mode: 0644
|
||||
# when: loader_conf is defined
|
||||
|
||||
- name: Install loader.conf
|
||||
copy:
|
||||
src: "{{loader_conf}}"
|
||||
dest: /boot/loader.conf
|
||||
owner: root
|
||||
group: wheel
|
||||
mode: 0644
|
||||
when: loader_conf is defined
|
||||
|
||||
- name: Delete loader.conf
|
||||
file:
|
||||
path: /boot/loader.conf
|
||||
state: absent
|
||||
when: loader_conf is not defined
|
||||
|
||||
- name: Install rc.conf
|
||||
copy:
|
||||
|
Loading…
Reference in New Issue
Block a user