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

20 lines
364 B
YAML
Raw Normal View History

- name: Create directories
file:
name: "{{ item }}"
state: directory
mode: 0755
owner: root
group: wheel
loop:
- /usr/local/etc/newsyslog.conf.d
- name: Install service configuration
copy:
src: "files/{{ item }}_rc.conf"
dest: "/etc/rc.conf.d/{{ item }}"
mode: 0644
owner: root
group: wheel
loop:
- syslogd