Python script for automatically configuration for Foreman OS via API