debops / debops/debops

debops run does not allow for multiple inventories

Open
#2,255 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jinja
Stars
1.4k
Forks
379
Avg merge
4d 18h
Merged PRs (30d)
8

Description

We have different inventories for test and production servers and use the ansible-playbook option "-i/--inventory" to specify which inventory to use. This also worked with debops 2.x.x.
With version 2.x.x, it was possible to specify the ansible inventory by adding argument "-i ".
With version 3.0.3, this is no longer possible and the inventory must be defined in ansible.cfg.
Will this feature 'passing inventory as argument to debops" become available again in future versions?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the debops run behavior with -i <path-to-inventory> on version 3.0.3, then compare it with the behavior in the 2.x series. Trace how debops run forwards Ansible options and verify that separate test and production inventories can be selected without relying on ansible.cfg.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.