From 0f5f65ecd5ff00b9a2273bc95cdf03d43320146b Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 24 Jul 2015 09:15:07 -0600 Subject: [PATCH] Common: Log the OS/version of each node I think this will help with debugging. Signed-off-by: Zack Cerza --- roles/common/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 71f7a8f6..27263615 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -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 }}" -- 2.47.3