Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Check for systemctl return code greater than 1
Browse files Browse the repository at this point in the history
  • Loading branch information
drmatthews committed Oct 20, 2023
1 parent a702b28 commit 00f3968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molecule/resources/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
delay: 5
when: ansible_service_mgr == 'systemd'
changed_when: false
failed_when: systemctl_status.rc > 0
failed_when: systemctl_status.rc > 1

tasks:
- name: Include ansible-role-firewalld
Expand Down

0 comments on commit 00f3968

Please sign in to comment.