aboutsummaryrefslogtreecommitdiffstats
path: root/roles/rc
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-18 08:55:01 +0100
committerbinary <me@rgoncalves.se>2021-01-18 08:55:01 +0100
commit41cffe559fc1ed40f6d2b491415f2dd25b1a704f (patch)
treee3f676988f02d6ae80c6fd182052ea1098e7cbec /roles/rc
parent0378077bac137f4055f5d025895f432a106986bd (diff)
downloadinfrastructure-41cffe559fc1ed40f6d2b491415f2dd25b1a704f.tar.gz
Remove distribution redundant check for rc
Diffstat (limited to 'roles/rc')
-rw-r--r--roles/rc/tasks/main.yml5
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:
remember that computers suck.