We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the issue
Inventory plug-in fails with WARNING if fetch_hosts_from_subcompartments is not specified. Docs say default for this parameter is true
fetch_hosts_from_subcompartments
true
Expected behavior
I expect inventory file containing compartments list will respect the documented default fetch_hosts_from_subcompartments=true
compartments
fetch_hosts_from_subcompartments=true
Environment
OS version: macOS 10.15.7
Ansible version:
ansible 2.9.13 config file = /Users/userid/oci/ansible.cfg configured module search path = ['/Users/userid/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/Cellar/ansible/2.9.13/libexec/lib/python3.8/site-packages/ansible executable location = /usr/local/bin/ansible python version = 3.8.5 (default, Jul 21 2020, 10:48:26) [Clang 11.0.3 (clang-1103.0.32.62)]
3.8.5
2.9
Ansible playbook to reproduce the issue
This fails in inventory.oci.yml
inventory.oci.yml
compartments: - compartment_ocid: ocid1.compartment.oc1..xxxxxx
This succeeds
compartments: - compartment_ocid: ocid1.compartment.oc1..xxxxxx fetch_hosts_from_subcompartments: false
The text was updated successfully, but these errors were encountered:
Hello @jeliker , thank you for bringing this to our attention. We will be working on a fix and update this issue as soon as it is fixed.
Sorry, something went wrong.
Hello @jeliker , this issue has been fixed in the new release v2.10.0 https://github.com/oracle/oci-ansible-collection/releases/tag/v2.10.0
No branches or pull requests
Issue Report
Describe the issue
Inventory plug-in fails with WARNING if
fetch_hosts_from_subcompartments
is not specified. Docs say default for this parameter istrue
Expected behavior
I expect inventory file containing
compartments
list will respect the documented defaultfetch_hosts_from_subcompartments=true
Environment
OS version:
macOS 10.15.7
Ansible version:
ansible 2.9.13
config file = /Users/userid/oci/ansible.cfg
configured module search path = ['/Users/userid/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/Cellar/ansible/2.9.13/libexec/lib/python3.8/site-packages/ansible
executable location = /usr/local/bin/ansible
python version = 3.8.5 (default, Jul 21 2020, 10:48:26) [Clang 11.0.3 (clang-1103.0.32.62)]
3.8.5
2.9
Ansible playbook to reproduce the issue
This fails in
inventory.oci.yml
This succeeds
The text was updated successfully, but these errors were encountered: