Browse Source

Update add_host.yml

Signed-off-by: abhishek-sa1 <abhishek.sa3@dell.com>
abhishek-sa1 3 years ago
parent
commit
2ece3e2f7b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      control_plane/roles/collect_node_info/files/add_host.yml

+ 2 - 2
control_plane/roles/collect_node_info/files/add_host.yml

@@ -19,7 +19,7 @@
     
 - name: Fetch description
   set_fact:
-    host_description: "Service Tag: {{ service_tag }}"
+    host_description: "Service Tag: {{ service_tag }}, Operating System: {{ ansible_distribution }}"
   failed_when: false
   when: hostname_check.stdout is defined
 
@@ -63,4 +63,4 @@
   when:
     - host_description != "Description Unavailable"
     - add_host_awx is defined
-    - add_host_awx is not failed
+    - add_host_awx is not failed