diff --git a/defaults/main.yml b/defaults/main.yml index 75e8b35..7832542 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -63,3 +63,5 @@ systemd_after_targets: # service_name: ServiceY # init_config_overrides: {} # This is used to add in arbitratry unit file options # program_override: '/usr/bin/ServiceY' + +systemd_services: {} diff --git a/tasks/main.yml b/tasks/main.yml index 8f8f2a8..ef760c7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -22,7 +22,7 @@ mode: "02755" with_dict: "{{ systemd_services }}" tags: - systemd-init + - systemd-init - name: Create TEMP lock dir file: @@ -33,7 +33,7 @@ mode: "02755" with_dict: "{{ systemd_services }}" tags: - systemd-init + - systemd-init - name: Create tmpfiles.d entry template: @@ -44,7 +44,7 @@ group: "root" with_dict: "{{ systemd_services }}" tags: - systemd-init + - systemd-init - name: Place the systemd init script config_template: @@ -57,7 +57,7 @@ config_type: "ini" with_dict: "{{ systemd_services }}" tags: - systemd-init + - systemd-init - name: Load service service: @@ -66,4 +66,4 @@ state: "started" with_dict: "{{ systemd_services }}" tags: - systemd-init + - systemd-init