From 41cffe559fc1ed40f6d2b491415f2dd25b1a704f Mon Sep 17 00:00:00 2001 From: binary Date: Mon, 18 Jan 2021 08:55:01 +0100 Subject: Remove distribution redundant check for rc --- roles/rc/tasks/main.yml | 5 ----- 1 file changed, 5 deletions(-) (limited to 'roles') diff --git a/roles/rc/tasks/main.yml b/roles/rc/tasks/main.yml index 1a8a921..8ba98aa 100644 --- a/roles/rc/tasks/main.yml +++ b/roles/rc/tasks/main.yml @@ -3,13 +3,8 @@ --- -- name: stat existence of distribution rc-template - stat: path="{{ role_path }}/templates/rc_{{ os_distribution }}.yml" - register: rc_stat - - name: include rc task per-system include_tasks: "rc_{{ os_distribution }}.yml" - when: rc_stat.stat.exists - name: start and enable service on boot service: -- cgit v1.2.3