Sfoglia il codice sorgente

'roles/linux_updates/tasks/main.yml' ändern

Rolle linux_updates:
 -  Test-Einstellung
erdo 8 anni fa
parent
commit
2c0d13f054
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      roles/linux_updates/tasks/main.yml

+ 1 - 1
roles/linux_updates/tasks/main.yml

@@ -35,7 +35,7 @@
 - set_fact:
     color: "#00CC33"
     title_status: "successfully"
-  when: apt_upgrade.failed != false
+  when: apt_upgrade.failed == false
 
 - mail: 
         subject: "[U] {{ ansible_fqdn }} # updated {{ title_status }}"