Guillaume Coré
2017-11-21 d62c63d2274624f888ce644972f4b91210ff3016
fix ocp_report with new add_host method
1 files modified
2 ■■■ changed files
ansible/configs/ocp-workshop/files/ocp_report.adoc.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/ocp-workshop/files/ocp_report.adoc.j2
@@ -55,7 +55,7 @@
|Host Name |  Instance Size  | CPU | RAM | Storage
{% for host in groups[env_all_hosts] -%}
| {{ hostvars[host].ansible_hostname }}
| {{ hostvars[host].ec2_instance_type }}
| {{ hostvars[host].ec2_instance_type | default(hostvars[host].instance_type) | default('unknown') }}
| {{ hostvars[host].ansible_processor_cores }} x {{ hostvars[host].ansible_processor[1] }}
| {{ '%0.2f'| format(hostvars[host].ansible_memtotal_mb|int / 1024) }} GB RAM
| {% for dev in hostvars[host].ansible_devices %}