You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Ansible collections with API authentication, so I have a ~/.oci/config file. However, when I try to set up environment variables such as OCI_USER_ID and OCI_REGION, they are not honored at runtime, and the values from the config file are always used instead.
A clear and concise description of what the issue is.
Issue Report
I am using Ansible collections with API authentication, so I have a ~/.oci/config file. However, when I try to set up environment variables such as OCI_USER_ID and OCI_REGION, they are not honored at runtime, and the values from the config file are always used instead.
A clear and concise description of what the issue is.
Expected behavior
new values set through environment variables
Environment
OS version:
Linux
Ansible version:
ansible 2.9.27
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/opc/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.6.8 (default, Nov 16 2023, 04:13:44) [GCC 8.5.0 20210514 (Red Hat 8.5.0-20.0.1)]
OCI Python SDK version:
2.133.0
OCI Ansible Modules version:
5.0.0
Ansible playbook to reproduce the issue
this is a simple task just to check underneath the new values are recognized:
The text was updated successfully, but these errors were encountered: