diff options
author | mail_redacted_for_web | 2021-12-06 11:53:23 +0100 |
---|---|---|
committer | mail_redacted_for_web | 2021-12-06 11:53:23 +0100 |
commit | 037f24d9e070bc6ef4b77038fc6ec148b944c4c9 (patch) | |
tree | 73c0d97444b6c1e0c1136b12cc0d09aea79c160c | |
parent | 370c23ffef32e3c2edaeeb85d27cdf87644df6a6 (diff) | |
download | ansible-037f24d9e070bc6ef4b77038fc6ec148b944c4c9.tar.bz2 |
+distr version in output
-rw-r--r-- | patch.yml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |