PHPackages                             shift31/hostbase-ansible-inventory - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. shift31/hostbase-ansible-inventory

AbandonedArchivedLibrary[DevOps &amp; Deployment](/categories/devops)

shift31/hostbase-ansible-inventory
==================================

Hostbase-driven Dynamic inventory for Ansible

0.2.1(11y ago)16MITPHPPHP &gt;=5.4

Since Feb 2Pushed 11y ago1 watchersCompare

[ Source](https://github.com/shift31/hostbase-ansible-inventory)[ Packagist](https://packagist.org/packages/shift31/hostbase-ansible-inventory)[ RSS](/packages/shift31-hostbase-ansible-inventory/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Hostbase Ansible Inventory
==========================

[](#hostbase-ansible-inventory)

A [dynamic inventory](http://docs.ansible.com/intro_dynamic_inventory.html) script for [Ansible](http://www.ansible.com).

Requirements
------------

[](#requirements)

- [A Hostbase server](https://github.com/shift31/hostbase)
- PHP &gt;= 5.4

Installation
------------

[](#installation)

1. Download the PHAR:
2. Move it to your preferred location for Ansible inventory scripts
3. Make it executable:

    ```
    chmod +x hostbase-ansible.phar
    ```

Configuration
-------------

[](#configuration)

Create `hostbase-cli.config.php` in your current directory, your home directory, or in /etc.

'groups' should be an array of Hostbase host object key names to be used for grouping hosts together.

```
