Commit Graph

8 Commits

Author SHA1 Message Date
Robin Schneider 48d620dcb2
Support to find Ansible hosts file in DebOps style projects
In [DebOps](https://debops.org/), it is common to have the Ansible host
inventory in a projects directory below "$HOME". This allows to have multiple
and separate Ansible environments.  For such a setup, the host inventory can be
found at `$PWD/ansible/inventory/hosts` as Ansible is typically executed from
the root of the project.  This patch adds support for such a layout as
fallback.

Ref: https://docs.debops.org/en/latest/debops-playbooks/docs/guides/getting-started.html
2017-02-11 12:23:51 +01:00
kota65535 75bbd4b155 Fix regex of ansible completion 2016-12-21 18:43:23 +09:00
Adam Števko 6f2744a955 Update ansible, ansible-playbook and ansible-galaxy to correspond with version 2.0.0.2 2016-04-03 23:28:25 +02:00
Sergey Trofimov 2aef6131c2 Ignore comments in ansible hosts 2015-09-14 22:28:34 +03:00
Syohei YOSHIDA d6fdb720e2 Correct misspellings 2015-06-08 16:05:14 +09:00
Romain Bossart ec0535a255 parses groups of groups 2015-04-18 08:19:41 +02:00
Romain Bossart 3bfd530fda terser hostfile fallback mechanism 2015-04-18 08:19:41 +02:00
Romain Bossart 5903ef0e7b ansible completions 2015-04-18 08:19:41 +02:00