git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Pfeiffer <harald.pfeiffer _ bechtle.com> 2019-08-29 10:33:34 +0200
committerHarald Pfeiffer <harald.pfeiffer _ bechtle.com> 2019-08-29 10:33:34 +0200
commit2d1d1201afb3632a610825d0728e5bb02c94da56 (patch)
tree044e37cc9ff77985dd6276f08f4f51e01dbfb54b
parentc565de62acade8e85b15c7617570c8f4824c7341 (diff)
downloadansible-2d1d1201afb3632a610825d0728e5bb02c94da56.tar.bz2
check for rbt.elapsed being defined at all
-rw-r--r--apt-upgrade-hv.yml2
-rw-r--r--apt-upgrade.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/apt-upgrade-hv.yml b/apt-upgrade-hv.yml
index 58a6170..14debc0 100644
--- a/apt-upgrade-hv.yml
+++ b/apt-upgrade-hv.yml
@@ -162,4 +162,4 @@
debug:
msg: "Reboot took {{rbt.elapsed}} seconds."
when:
- - rbt.elapsed != ""
+ - rbt.elapsed is defined
diff --git a/apt-upgrade.yml b/apt-upgrade.yml
index b92260e..97e44c2 100644
--- a/apt-upgrade.yml
+++ b/apt-upgrade.yml
@@ -159,4 +159,4 @@
debug:
msg: "Reboot took {{rbt.elapsed}} seconds."
when:
- - rbt.elapsed != ""
+ - rbt.elapsed is defined