Skip to content

Commit

Permalink
Modified the pre-check.yml
Browse files Browse the repository at this point in the history
Signed-off-by: sathyaseelan <sathyaseelan.n@cloudbyte.com>
  • Loading branch information
sathyaseelan committed Aug 27, 2018
1 parent a3b7d61 commit 4d1e88e
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions e2e/ansible/pre-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,3 @@
until: result.stdout_lines == list
delay: 30
retries: 15

- name: Logging out the stale iscsi sessions
shell: iscsiadm -m node -u
args:
executable: /bin/bash
become: true
delegate_to: "{{ item }}"
with_items: "{{groups['kubernetes-kubeminions']}}"
ignore_errors: yes

- name: Deleting the stale targets
shell: iscsiadm -m node -o delete
args:
executable: /bin/bash
become: true
delegate_to: "{{ item }}"
with_items: "{{groups['kubernetes-kubeminions']}}"
ignore_errors: yes

0 comments on commit 4d1e88e

Please sign in to comment.