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
- name: join host to workgroup with manual reboot in later taskmicrosoft.ad.membership:
workgroup_name: mywgdomain_admin_user: '{{ win_domain_admin_user }}'domain_admin_password: '{{ win_domain_admin_password }}'state: workgroupregister: workgroup_res
- name: reboot host after joining workgroupansible.windows.win_reboot:
when: workgroup_res.reboot_required
jborean93
transferred this issue from ansible-collections/ansible.windows
Aug 25, 2024
jborean93
changed the title
ansible.windows.win_domain_membership could not reboot after join workgroup
microsoft.ad.membership could not reboot after join workgroup
Aug 25, 2024
If changing from a domain to workgroup, the connection account must be a local user that can connect to the host after it has unjoined the domain.
You can also try using reboot: true in the microsoft.ad.membership task rather than a separate win_reboot one. This will ensure the host is rebooted in the same connection as unjoining the domain rather than after which can be problematic if the host is not in a way that will allow remote connections.
Hi all,
After join workgroup I could not reboot due to incorrect ntlm, can any help?
The text was updated successfully, but these errors were encountered: