5d1c1e2e19
The existing one does not seem to work.
31 lines
618 B
YAML
31 lines
618 B
YAML
- name: Install Configuration
|
|
copy:
|
|
src: "files/{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
mode: 0600
|
|
owner: root
|
|
group: wheel
|
|
loop:
|
|
- src: "{{ dummynet_config }}"
|
|
dest: /etc/dnctl.conf
|
|
|
|
- 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: dummynet
|
|
|
|
- name: Install service configuration
|
|
copy:
|
|
src: "files/{{ item }}_rc.conf"
|
|
dest: "/etc/rc.conf.d/{{ item }}"
|
|
mode: 0644
|
|
owner: root
|
|
group: wheel
|
|
loop:
|
|
- dummynet
|