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
[WARNING]: * Failed to parse
10:51:05 AM
/tmp/semaphore/inventory_2147483634/microsoft.ad.ldap.yml with auto plugin:
10:51:05 AM
Received LDAPResult error search request failed - OPERATIONS_ERROR - 000004DC:
10:51:05 AM
LdapErr: DSID-0C090C90, comment: In order to perform this operation a
10:51:05 AM
successful bind must be completed on the connection., data 0, v4563
11:23:50 AM
Task 2147483633 added to queue
11:23:54 AM
Started: 2147483633
11:23:54 AM
Run TaskRunner with template: ping
11:23:54 AM
Preparing: 2147483633
11:24:03 AM
Updating Repository https://.../ansible.git
11:24:04 AM
From https://.../ansible.git
11:24:04 AM
* branch master -> FETCH_HEAD
11:24:04 AM
Already up to date.
11:24:04 AM
Get current commit hash
11:24:04 AM
Get current commit message
11:24:04 AM
cloning inventory repository
11:24:04 AM
Cloning Repository https://.../ansible.git
11:24:04 AM
Cloning into 'inventory_2147483633'...
11:24:05 AM
No /tmp/semaphore/repository_1_1/collections/requirements.yml file found. Skip galaxy install process.
11:24:05 AM
No /tmp/semaphore/repository_1_1/requirements.yml file found. Skip galaxy install process.
11:24:05 AM
No /tmp/semaphore/repository_1_1/roles/requirements.yml file found. Skip galaxy install process.
11:24:05 AM
No /tmp/semaphore/repository_1_1/requirements.yml file found. Skip galaxy install process.
11:24:05 AM
ansible-playbook [core 2.14.18]
11:24:05 AM
config file = None
11:24:05 AM
configured module search path = ['/tmp/semaphore/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
11:24:05 AM
ansible python module location = /usr/lib/python3/dist-packages/ansible
11:24:05 AM
ansible collection location = /tmp/semaphore/.ansible/collections:/usr/share/ansible/collections
11:24:05 AM
executable location = /usr/bin/ansible-playbook
11:24:05 AM
python version = 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] (/usr/bin/python3)
11:24:05 AM
jinja version = 3.1.2
11:24:05 AM
libyaml = True
11:24:05 AM
No config file found; using defaults
11:24:05 AM
setting up inventory plugins
11:24:05 AM
host_list declined parsing /tmp/semaphore/inventory_2147483633/microsoft.ad.ldap.yml as it did not pass its verify_file() method
11:24:05 AM
script declined parsing /tmp/semaphore/inventory_2147483633/microsoft.ad.ldap.yml as it did not pass its verify_file() method
11:24:05 AM
Loading collection microsoft.ad from /usr/lib/python3/dist-packages/ansible_collections/microsoft/ad
11:24:06 AM
Using inventory plugin 'ansible_collections.microsoft.ad.plugins.inventory.ldap' to process inventory source '/tmp/semaphore/inventory_2147483633/microsoft.ad.ldap.yml'
11:24:06 AM
toml declined parsing /tmp/semaphore/inventory_2147483633/microsoft.ad.ldap.yml as it did not pass its verify_file() method
11:24:06 AM
[WARNING]: * Failed to parse
11:24:06 AM
/tmp/semaphore/inventory_2147483633/microsoft.ad.ldap.yml with auto plugin:
11:24:06 AM
Received LDAPResult error search request failed - OPERATIONS_ERROR - 000004DC:
11:24:06 AM
LdapErr: DSID-0C090C90, comment: In order to perform this operation a
11:24:06 AM
successful bind must be completed on the connection., data 0, v4563
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible/inventory/manager.py", line 293, in parse_source
11:24:06 AM
plugin.parse(self._inventory, self._loader, source, cache=cache)
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible/plugins/inventory/auto.py", line 59, in parse
11:24:06 AM
plugin.parse(inventory, loader, path, cache=cache)
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible_collections/microsoft/ad/plugins/inventory/ldap.py", line 297, in parse
11:24:06 AM
schema = LDAPSchema.load_schema(client)
11:24:06 AM
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible_collections/microsoft/ad/plugins/plugin_utils/_ldap/schema.py", line 33, in load_schema
11:24:06 AM
client.search(
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible_collections/microsoft/ad/plugins/plugin_utils/_ldap/client.py", line 275, in search
11:24:06 AM
for entry in self._search_request(
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible_collections/microsoft/ad/plugins/plugin_utils/_ldap/client.py", line 348, in _search_request
11:24:06 AM
self._valid_result(res.result, "search request failed")
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible_collections/microsoft/ad/plugins/plugin_utils/_ldap/client.py", line 411, in _valid_result
11:24:06 AM
[WARNING]: * Failed to parse
11:24:06 AM
raise LDAPResultError(msg, result)
11:24:06 AM
/tmp/semaphore/inventory_2147483633/microsoft.ad.ldap.yml with yaml plugin:
11:24:06 AM
Plugin configuration YAML file, not YAML inventory
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible/inventory/manager.py", line 293, in parse_source
11:24:06 AM
plugin.parse(self._inventory, self._loader, source, cache=cache)
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible/plugins/inventory/yaml.py", line 114, in parse
11:24:06 AM
raise AnsibleParserError('Plugin configuration YAML file, not YAML inventory')
11:24:06 AM
[WARNING]: * Failed to parse
11:24:06 AM
/tmp/semaphore/inventory_2147483633/microsoft.ad.ldap.yml with ini plugin:
11:24:06 AM
Invalid host pattern 'plugin:' supplied, ending in ':' is not allowed, this
11:24:06 AM
character is reserved to provide a port.
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible/inventory/manager.py", line 293, in parse_source
11:24:06 AM
plugin.parse(self._inventory, self._loader, source, cache=cache)
11:24:06 AM
File "/usr/lib/python3/dist-packages/ansible/plugins/inventory/ini.py", line 137, in parse
11:24:06 AM
raise AnsibleParserError(e)
11:24:06 AM
[WARNING]: Unable to parse
11:24:06 AM
/tmp/semaphore/inventory_2147483633/microsoft.ad.ldap.yml as an inventory
11:24:06 AM
source
11:24:06 AM
[WARNING]: No inventory was parsed, only implicit localhost is available
11:24:06 AM
[WARNING]: provided hosts list is empty, only localhost is available. Note that
11:24:06 AM
the implicit localhost does not match 'all'
11:24:06 AM
Loading callback plugin default of type stdout, v2.0 from /usr/lib/python3/dist-packages/ansible/plugins/callback/default.py
11:24:06 AM
Skipping callback 'default', as we already have a stdout callback.
11:24:06 AM
Skipping callback 'minimal', as we already have a stdout callback.
11:24:06 AM
Skipping callback 'oneline', as we already have a stdout callback.
11:24:06 AM
11:24:06 AM
PLAYBOOK: ping.yml *************************************************************
11:24:06 AM
Positional arguments: ping.yml
11:24:06 AM
verbosity: 4
11:24:06 AM
remote_user: usows
11:24:06 AM
connection: smart
11:24:06 AM
timeout: 10
11:24:06 AM
ask_pass: True
11:24:06 AM
become_method: sudo
11:24:06 AM
tags: ('all',)
11:24:06 AM
inventory: ('/tmp/semaphore/inventory_2147483633/microsoft.ad.ldap.yml',)
11:24:06 AM
extra_vars: ('{"MICROSOFT_AD_LDAP_PASSWORD":"password","MICROSOFT_AD_LDAP_USERNAME":"username","semaphore_vars":{"task_details":{"id":2147483633,"url":null,"username":"admin"}}}',)
11:24:06 AM
forks: 5
11:24:06 AM
1 plays in ping.yml
11:24:06 AM
11:24:06 AM
PLAY [all] *********************************************************************
11:24:06 AM
skipping: no hosts matched
11:24:06 AM
11:24:06 AM
PLAY RECAP *********************************************************************
11:24:06 AM
Issue
I'm encountering an error while using microsoft.ad.ldap plugin (https://docs.ansible.com/ansible/latest/collections/microsoft/ad/ldap_inventory.html) for inventory.
Ldap authentification by environment variables
MICROSOFT_AD_LDAP_USERNAME and MICROSOFT_AD_LDAP_PASSWORD
microsoft.ad.ldap.yml:
Run command in CLI:
works fine.
In Semaphore:
Impact
Ansible (task execution)
Installation method
Package
Database
BoltDB
Browser
Microsoft Edge
Semaphore Version
Semaphore 2.12.9-e693f31-1739369393
Ansible Version
Logs & errors
Manual installation - system information
Linux hq-mng-06 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux
Configuration
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: