git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Pfeiffer <coding _ lirion.de> 2021-12-06 11:53:23 +0100
committerHarald Pfeiffer <coding _ lirion.de> 2021-12-06 11:53:23 +0100
commit037f24d9e070bc6ef4b77038fc6ec148b944c4c9 (patch)
tree73c0d97444b6c1e0c1136b12cc0d09aea79c160c
parent370c23ffef32e3c2edaeeb85d27cdf87644df6a6 (diff)
downloadansible-037f24d9e070bc6ef4b77038fc6ec148b944c4c9.tar.bz2
+distr version in output
-rw-r--r--patch.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/patch.yml b/patch.yml
index aa58ee2..b7fcf5a 100644
--- a/patch.yml
+++ b/patch.yml
@@ -11,19 +11,19 @@
filter: "ansible_distribution*"
- name: Set up Red Hat and derivatives
debug:
- msg: "System is {{ansible_distribution}}, checking in."
+ msg: "System is {{ansible_distribution}} {{ansible_distribution_version}}, checking in."
when: ansible_distribution_file_variety == "RedHat"
changed_when: true
notify: "redhat upd"
- name: Set up Debian and derivatives
debug:
- msg: "System is {{ansible_distribution}}, checking in."
+ msg: "System is {{ansible_distribution}} {{ansible_distribution_version}}, checking in."
when: ansible_distribution_file_variety == "Debian"
changed_when: true
notify: "debian upd"
- name: Set up SUSE and derivatives
debug:
- msg: "System is {{ansible_distribution}}, checking in."
+ msg: "System is {{ansible_distribution}} {{ansible_distribution_version}}, checking in."
# SuSE was "renamed" to SUSE somewhen around SLES 11 (now SLE :-} ), so we'll check for both. Even though generation 11
# repositories should be pretty ...deaddish by now.
when: ansible_distribution_file_variety == "SUSE" or ansible_distribution_file_variety == "SuSE"