Attempt to finish the Parrot exit logic.

This commit is contained in:
Hyperling 2021-07-11 08:50:24 -05:00
parent 29fbb2bf3b
commit 7166e43a3b

View File

@ -10,10 +10,14 @@
ignore_errors: yes
when: ansible_distribution == "Parrot OS"
- name: General | Software | Packages | Fixed Parrot OS, Exit
- name: General | Software | Packages | Fixed Parrot OS, Exit Incoming
debug:
var: parrotos_zypper_removed
# when: parrotos_zypper_removed is defined and parrotos_zypper_removed.success
msg: "A silly zypper file was renamed successfully. Please try running Ansible again."
when: parrotos_zypper_removed is defined and not parrotos_zypper_removed.failed
- name: General | Software | Packages | Fixed Parrot OS, Exiting
shell: exit 1
when: parrotos_zypper_removed is defined and not parrotos_zypper_removed.failed
- name: General | Software | Packages | Cache Refresh (Apt and Pacman)