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