20 lines
364 B
YAML
20 lines
364 B
YAML
|
- 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
|