From 748378649089b455d59af02866755e602e49cca3 Mon Sep 17 00:00:00 2001 From: Adam Leiner Date: Fri, 12 Apr 2024 16:31:18 -0400 Subject: [PATCH] agent cleanup --- 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 3c5bc96..bdecba7 100644 --- a/roles/rke2_common/tasks/previous_install.yml +++ b/roles/rke2_common/tasks/previous_install.yml @@ -14,13 +14,6 @@ ansible_facts.services["rke2-server.service"] is defined and ansible_facts.services["rke2-server.service"].state == 'running' -- name: Check if rke2-agent is previously installed - ansible.builtin.debug: - msg: "rke2-agent is already installed. Skipping installation steps." - when: > - ansible_facts.services["rke2-agent.service"] is defined - and not ansible_facts.services["rke2-agent.service"].status == 'disabled' - - name: Set fact if rke2-agent was previously installed ansible.builtin.set_fact: installed: true