-
Notifications
You must be signed in to change notification settings - Fork 224
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
Datadog windows agent not restarting after configuration #346
Comments
Version 4.8.1 was just released which fixes the typo and should make everything work fine. Thanks again for the report! |
I am still having this issue: TASK [datadog.datadog : Create main Datadog agent configuration file] ******************************************************************************* Logans-MBP:ansible logan$ ansible --version On 4.8.1, and here are the handler files:
|
Hi @lognarly, we've just released 4.8.2 that fixes this issue. Sorry for the inconvenience. We have identified some gaps in how we do testing of the role for windows and will work to improve the quality of upcoming releases. Thank you again for reporting this! |
Just ran through a deployment, and confirmed it works. Thanks! |
ansible [core 2.11.0b3]
config file = None
configured module search path = ['/Users/logan/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.9/site-packages/ansible
ansible collection location = /Users/logan/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible
python version = 3.9.4 (default, Apr 5 2021, 01:50:46) [Clang 12.0.0 (clang-1200.0.32.29)]
jinja version = 2.11.3
libyaml = False
TASK [datadog.datadog : Create main Datadog agent configuration file] ******************************************************************************************
task path: /Users/logan/.ansible/roles/datadog.datadog/tasks/agent-win.yml:2
redirecting (type: action) ansible.builtin.win_template to ansible.windows.win_template
redirecting (type: action) ansible.builtin.win_template to ansible.windows.win_template
<3.236.226.251> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 TO 3.236.226.251
EXEC (via pipeline wrapper)
Using module file /Users/logan/.ansible/collections/ansible_collections/ansible/windows/plugins/modules/win_copy.ps1
Pipelining is enabled.
EXEC (via pipeline wrapper)
EXEC (via pipeline wrapper)
<3.236.226.251> PUT "/Users/logan/.ansible/tmp/ansible-local-149354nukjptf/tmpsvkcefm9/datadog.yaml.j2" TO "C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1618600099.09283-15004-108442421700393\source"
Using module file /Users/logan/.ansible/collections/ansible_collections/ansible/windows/plugins/modules/win_copy.ps1
Pipelining is enabled.
EXEC (via pipeline wrapper)
EXEC (via pipeline wrapper)
ERROR! The requested handler 'restart datadog-agent-win' was not found in either the main handlers list nor in the listening handlers list
I am on the latest version of the role.
The text was updated successfully, but these errors were encountered: