Add copying of rc.conf.

This commit is contained in:
Tom Alexander
2022-10-14 01:55:15 -04:00
parent dcba0af7c1
commit c34aab16af
3 changed files with 30 additions and 8 deletions

View File

@@ -68,11 +68,17 @@
# mode: 0644
# when: loader_conf is defined
# - name: Install rc.conf
# copy:
# src: "{{rc_conf}}"
# dest: /etc/rc.conf
# mode: 0644
# owner: root
# group: wheel
# when: rc_conf is defined
- name: Install rc.conf
copy:
src: "{{rc_conf}}"
dest: /etc/rc.conf
mode: 0644
owner: root
group: wheel
when: rc_conf is defined
- name: Delete rc.conf
file:
path: /etc/rc.conf
start: absent
when: rc_conf is not defined