]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Common: Log the OS/version of each node 92/head
authorZack Cerza <zack@redhat.com>
Fri, 24 Jul 2015 15:15:07 +0000 (09:15 -0600)
committerZack Cerza <zack@redhat.com>
Fri, 24 Jul 2015 15:18:16 +0000 (09:18 -0600)
I think this will help with debugging.

Signed-off-by: Zack Cerza <zack@redhat.com>
roles/common/tasks/main.yml

index 71f7a8f682c0ab062b3f2210f048ec03ab1b7def..272636157b39b418a49fb4fd95975b56323d60d4 100644 (file)
@@ -1,4 +1,8 @@
 ---
+
+- name: Log the OS name, version and release
+  debug: msg="Host {{ inventory_hostname }} is running {{ ansible_distribution }} {{ ansible_distribution_version }} ({{ ansible_distribution_release }})"
+
 # loading major version specific vars
 - name: Including major version specific variables.
   include_vars: "{{ item }}"