machine_setup/ansible/roles/devfs/tasks/freebsd.yaml

15 lines
356 B
YAML
Raw Normal View History

2022-10-27 04:31:58 +00:00
- name: Install /etc/devfs.rules
copy:
src: "files/{{ devfs_rules }}"
dest: /etc/devfs.rules
mode: 0644
owner: root
group: wheel
- name: Set devfs_system_ruleset
when: devfs_system_ruleset is defined
2022-10-27 05:06:52 +00:00
community.general.sysrc:
2022-10-27 04:31:58 +00:00
name: "devfs_system_ruleset"
value: "{{ devfs_system_ruleset }}"
path: /etc/rc.conf.d/devfs