Skip to content

Commit

Permalink
agent cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Leiner committed Apr 12, 2024
1 parent 6d32062 commit 7483786
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions roles/rke2_common/tasks/previous_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7483786

Please sign in to comment.