From 6d320627b2a008adec952948548b49192d9eef91 Mon Sep 17 00:00:00 2001 From: Adam Leiner Date: Fri, 12 Apr 2024 13:20:52 -0400 Subject: [PATCH] removing unnessary code --- roles/rke2_common/tasks/previous_install.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/roles/rke2_common/tasks/previous_install.yml b/roles/rke2_common/tasks/previous_install.yml index 6242c646..3c5bc96a 100644 --- a/roles/rke2_common/tasks/previous_install.yml +++ b/roles/rke2_common/tasks/previous_install.yml @@ -1,12 +1,5 @@ --- -- name: Check if rke2-server is previously installed - ansible.builtin.debug: - msg: "rke2-server is already installed. Skipping installation steps." - when: > - ansible_facts.services["rke2-server.service"] is defined - and not ansible_facts.services["rke2-server.service"].status == 'disabled' - - name: Set fact if rke2-server was previously installed ansible.builtin.set_fact: installed: true