Skip to content

Commit

Permalink
removing unnessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Leiner committed Apr 12, 2024
1 parent 15f5087 commit 6d32062
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
@@ -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
Expand Down

0 comments on commit 6d32062

Please sign in to comment.