redhat-nfvpe / base-infra-bootstrap

Generic node bootstrap for virtual KVM or baremetal
Apache License 2.0
3 stars 4 forks source link

Fix host_type. #27

Closed s1061123 closed 6 years ago

s1061123 commented 6 years ago

'default()' could be used only in variable substituion, not conditional check, hence add set_fact to add host_type.

In centos, the bootstrap.yml is failed so I changed it and verified. Please let me know if current code has different meaning and should be valid....