From 10146429f96478f8f243727d7cdb23a3fd9e046d Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 2 Dec 2020 18:53:37 +0100 Subject: Add freebsd rc. --- roles/rc/tasks/rc_freebsd.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roles/rc/tasks/rc_freebsd.yml (limited to 'roles/rc/tasks/rc_freebsd.yml') diff --git a/roles/rc/tasks/rc_freebsd.yml b/roles/rc/tasks/rc_freebsd.yml new file mode 100644 index 0000000..472c35e --- /dev/null +++ b/roles/rc/tasks/rc_freebsd.yml @@ -0,0 +1,16 @@ + +# openrc ~~ tasks/main.yml + +--- + +- name: Generate rc script for desired service + template: + src: rc_freebsd.j2 + dest: "{{ rc_bsd_dir }}/{{ rc_name }}" + +- file: + path: "{{ rc_bsd_dir }}/{{ rc_name }}" + owner: "{{ user_root }}" + group: "{{ group_root }}" + mode: 0555 + -- cgit v1.2.3