Need to install few Bare metal servers with Centos 6.4

New to foreman.

I need to install few Centos 7.4 servers using Foreman and top of it need to install HDFS using ansible. Can you please provide me any Foreman doc where we have Installation setup?

Thank you for the help.

Aadvik.