42 lines
820 B
YAML
42 lines
820 B
YAML
- name: Install loader.conf
|
|
copy:
|
|
src: "files/{{ item }}_loader.conf"
|
|
dest: "/boot/loader.conf.d/{{ item }}.conf"
|
|
mode: 0644
|
|
owner: root
|
|
group: wheel
|
|
loop:
|
|
- linfi
|
|
|
|
- name: Install scripts
|
|
copy:
|
|
src: "files/{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
mode: 0755
|
|
owner: root
|
|
group: wheel
|
|
loop:
|
|
- src: launch_linfi.bash
|
|
dest: /usr/local/bin/launch_linfi
|
|
|
|
- name: Install rc script
|
|
copy:
|
|
src: "files/{{ item.src }}"
|
|
dest: "/usr/local/etc/rc.d/{{ item.dest|default(item.src) }}"
|
|
owner: root
|
|
group: wheel
|
|
mode: 0755
|
|
loop:
|
|
- src: linfi
|
|
|
|
- name: Install service configuration
|
|
copy:
|
|
src: "files/{{ item }}_rc.conf"
|
|
dest: "/etc/rc.conf.d/{{ item }}"
|
|
mode: 0644
|
|
owner: root
|
|
group: wheel
|
|
loop:
|
|
- linfi
|
|
- devmatch
|