Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE REQUEST: Consider parameter fetch_compute_hosts (default True) to allow only DB inventories #40

Closed
jeliker opened this issue Jan 12, 2021 · 4 comments

Comments

@jeliker
Copy link

jeliker commented Jan 12, 2021

I would like to have a parameter such as fetch_compute_hosts that I could set False to combine with fetch_db_hosts=True and produce a DB-only inventory.

In some cases, we prefer inventory of only DB since OCI DB Systems are often managed in unique ways (i.e. unlike management of general Compute) to ensure we are respecting the "managed server" principles.

@manojmeda
Copy link
Member

@jeliker Thanks for raising this issue. Agreed that it is definitely useful. We are checking this and we will update you soon.

@AmeyaLokre
Copy link
Member

Hello @jeliker , we will be working on this feature request. As a workaround for now, you can add a filter in the config profile to set the lifecycle_state to AVAILABLE as compute instances have a lifecycle_state of RUNNING.

plugin: oracle.oci.oci

enable_parallel_processing: yes

filters:
  - lifecycle_state: "AVAILABLE"

fetch_db_hosts: yes

@jeliker
Copy link
Author

jeliker commented Jan 21, 2021 via email

@bsushant-athena
Copy link
Contributor

Hey @jeliker, we have added a fix for this issue in our latest release 2.15.0. Please check that out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants