Skip to content

Commit fe8ac43

Browse files
committed
added workaround for mas versione 2.3.0
1 parent 21e61c8 commit fe8ac43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/mas/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
register: mas_list
3838
check_mode: false
3939
changed_when: false
40+
failed_when: mas_list.rc not in [0,1]
4041

4142
- name: Ensure unwanted MAS apps are uninstalled.
4243
command: '"{{ mas_path }}" uninstall "{{ item.id | default(item) }}"'

0 commit comments

Comments
 (0)