Add copying of rc.conf.
This commit is contained in:
parent
dcba0af7c1
commit
c34aab16af
@ -8,3 +8,4 @@ pflog_conf:
|
|||||||
- name: 0
|
- name: 0
|
||||||
dev: pflog0
|
dev: pflog0
|
||||||
network_rc: "homeserver_network.conf"
|
network_rc: "homeserver_network.conf"
|
||||||
|
rc_conf: "homeserver_rc.conf"
|
||||||
|
15
ansible/roles/base/files/homeserver_rc.conf
Normal file
15
ansible/roles/base/files/homeserver_rc.conf
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
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"
|
@ -68,11 +68,17 @@
|
|||||||
# mode: 0644
|
# mode: 0644
|
||||||
# when: loader_conf is defined
|
# when: loader_conf is defined
|
||||||
|
|
||||||
# - name: Install rc.conf
|
- name: Install rc.conf
|
||||||
# copy:
|
copy:
|
||||||
# src: "{{rc_conf}}"
|
src: "{{rc_conf}}"
|
||||||
# dest: /etc/rc.conf
|
dest: /etc/rc.conf
|
||||||
# mode: 0644
|
mode: 0644
|
||||||
# owner: root
|
owner: root
|
||||||
# group: wheel
|
group: wheel
|
||||||
# when: rc_conf is defined
|
when: rc_conf is defined
|
||||||
|
|
||||||
|
- name: Delete rc.conf
|
||||||
|
file:
|
||||||
|
path: /etc/rc.conf
|
||||||
|
start: absent
|
||||||
|
when: rc_conf is not defined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user