diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2017-05-22 09:41:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-22 09:41:19 +0000 |
commit | 2788bad0dab8a754ec17e7898dd2d508184b4902 (patch) | |
tree | 2f1f096763d76a6407698e459cdb786eee716382 /resources/ansible_roles | |
parent | cb7725e8a3eee7ffaa9c9201a05ca836e4df9d39 (diff) | |
parent | 4ab1a47bf6eab9693db6ea84b91fbc2d20321c6a (diff) |
Merge "No need to list the other nodes system information"
Diffstat (limited to 'resources/ansible_roles')
-rw-r--r-- | resources/ansible_roles/inxi/templates/system-info.j2 | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/resources/ansible_roles/inxi/templates/system-info.j2 b/resources/ansible_roles/inxi/templates/system-info.j2 index 305a2af2..2108a979 100644 --- a/resources/ansible_roles/inxi/templates/system-info.j2 +++ b/resources/ansible_roles/inxi/templates/system-info.j2 @@ -1,16 +1,10 @@ System Information from inxi ============================ -{% for host in groups['compute'] %} -{{ hostvars[host].ansible_hostname }} ------------------------------ - -{{ ('CPU Brand', hostvars[host].system_info.cpu[0])|justify }} -{{ ('Disk', hostvars[host].system_info.disk[0])|justify }} -{{ ('Host Name', hostvars[host].system_info.hostname[0])|justify }} -{{ ('Kernel', hostvars[host].system_info.kernel[0])|justify }} -{{ ('Memory', hostvars[host].system_info.memory[0])|justify }} -{{ ('Operating System', hostvars[host].system_info.os[0])|justify }} -{{ ('Product', hostvars[host].system_info.product[0])|justify }} - -{% endfor %} +{{ ('CPU Brand', system_info.cpu[0])|justify }} +{{ ('Disk', system_info.disk[0])|justify }} +{{ ('Host Name', system_info.hostname[0])|justify }} +{{ ('Kernel', system_info.kernel[0])|justify }} +{{ ('Memory', system_info.memory[0])|justify }} +{{ ('Operating System', system_info.os[0])|justify }} +{{ ('Product', system_info.product[0])|justify }} |