PHP code example of shift31 / hostbase-ansible-inventory
1. Go to this page and download the library: Download shift31/hostbase-ansible-inventory library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
shift31 / hostbase-ansible-inventory example snippets
return [
'baseUrl' => 'http://your.hostbase.server',
'groups' => ['dataCenter', 'environment']
];