diff options
author | binary <me@rgoncalves.se> | 2021-01-18 08:55:01 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-18 08:55:01 +0100 |
commit | 41cffe559fc1ed40f6d2b491415f2dd25b1a704f (patch) | |
tree | e3f676988f02d6ae80c6fd182052ea1098e7cbec | |
parent | 0378077bac137f4055f5d025895f432a106986bd (diff) | |
download | infrastructure-41cffe559fc1ed40f6d2b491415f2dd25b1a704f.tar.gz |
Remove distribution redundant check for rc
-rw-r--r-- | roles/rc/tasks/main.yml | 5 |
1 files changed, 0 insertions, 5 deletions
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: |