Comments (5)
From @jborean93 on Feb 04, 2020 22:58
@agowa338 virtual accounts should follow the format NT SERVICE\<service name>
so in your case NT SERVICES\foobar
. Managed service accounts are the ones that should end with $
not virtual accounts.
But even then it is still failing for me so we need to fix this up.
from ansible.windows.
From @briantist on Feb 12, 2020 03:45
This is the same issue with using gMSAs in scheduled tasks from #60990 . The password has to be null
for the virtual account to work, but ansible won't let it.
Commenting out line 53 and then leaving out the password option when calling the module will make this work.
A full PR would have to check to ensure there's a useful error response in cases where a password was actually required, but a nice upside of enabling virtual accounts is that the same change should allow for a service to be configured with a gMSA as well.
I'll see if I can tackle this soon if no one else gets to it first.
from ansible.windows.
From @jborean93 on Feb 12, 2020 04:01
@briantist just an FYI I've got a WIP to overhaul the Windows service stuff in Ansible which should fix this. Feel free to open a PR if you have something ready but just be aware I've got something in the pipeline for this module.
from ansible.windows.
From @briantist on Feb 12, 2020 04:03
@briantist just an FYI I've got a WIP to overhaul the Windows service stuff in Ansible which should fix this. Feel free to open a PR if you have something ready but just be aware I've got something in the pipeline for this module.
Sounds good to me, appreciate the heads up, you might have saved my weekend ;)
from ansible.windows.
From @jborean93 on Feb 13, 2020 04:53
The PR ansible/ansible#67367 adds the C# util Ansible.Service
that I am planning to get win_service
to use instead of the various different sources it currently relies to manage services. I've tested that this util can correctly set the service account to both a virtual account and MSA so all that is needed for win_service to correctly support that.
Just need to finish a few other things first before getting onto win_service but it's nearly there.
from ansible.windows.
Related Issues (20)
- Error Installing Windows Server Updates with Ansible HOT 2
- Install Application with InstallAnywhere HOT 1
- win_get_url does not respect content-disposition HOT 1
- win_update failed since ansible 7.7.0 HOT 3
- win_update show different trigger in Event Viewer HOT 1
- ansible.windows.win_powershell misinterprets block scalar (string block) HOT 2
- win_package: support checksum verification HOT 2
- intermittent winrm connection failures with large hosts count HOT 8
- intermittent "unable to delete temporary file" errors HOT 9
- Win_updates fail with "Exception from HRESULT: 0x80072EE2" HOT 2
- Windows Update Module not installing any updates HOT 4
- Windows update failes due to update loop HOT 3
- win_environment : Maybe add an option to read variable content ? HOT 5
- Error during machine sid retrieval: An error (1788) occurred while enumerating the group membership. The member's SID could not be resolved. HOT 8
- Access denied after renaming windows host : Server not found in Kerberos database HOT 10
- Failed to create temporary directory when running win_template module against Windows Server 2019 HOT 10
- win_copy doesnt work when folder name has special character HOT 2
- Add account_expires functionality from the Set-LocalUser PowerShell Cmdlet HOT 2
- Using Machine credentials from AAP passed to playbook with ansible.windows.win_copy fails HOT 2
- ERROR DURING WINRM SEND INPUT - attempting to recover: WinRMTransportError Bad HTTP response returned from server. Code 413 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible.windows.