Comments (8)
From @jhawkesworth on Apr 28, 2017 14:44
needs_contributor
from ansible.windows.
From @jhawkesworth on Sep 15, 2017 17:08
At 19:00 UTC on Tuesday 19 September 2017 this ticket will be processed during the second Windows Sprint,
https://github.com/ansible/community/wiki/Windows:-sprints
we would appreciate if you could join the Sprint to help out with understanding/fixing/closing this issue.
from ansible.windows.
From @imjoseangel on Aug 10, 2018 08:51
Hi! Is it fine to add the functionality to the module? I can work on it.
from ansible.windows.
From @jhawkesworth on Aug 10, 2018 09:03
@imjoseangel I haven't heard of anyone working on this. Probably worth asking on #ansible-windows irc channel just in case, but this sounds like it would be good to have this feature if you have some time to work on it.
from ansible.windows.
From @imjoseangel on Sep 10, 2018 11:07
Hi Guys, past weekend I started working on having this functionality. As I don't like using sc.exe
, I'm implementing all the logic using the ten 4-byte useful fields directly from the registry.
To me, is the best way to have full control of the code and keep it idempotent. The first approach is a new module called win_service_recovery with 11 different parameters and its own logic.
Mixing it in the same win_service module could be unmaintainable for developers and unmanageable for users. That is why I have chosen doing this way.
from ansible.windows.
From @jborean93 on Sep 10, 2018 11:13
@imjoseangel I'm ok with having a separate module for this, probably good as win_service is pretty packed as is. One thing I should say is that try and avoid settings things through the registry. Most of the time registry structures are stable but that is never guaranteed and we can sometimes loose basic checks Windows may have when using the proper interface. I'm sure we can discuss this more once you have a PR or WIP open to talk about it more.
from ansible.windows.
From @ShachafGoldstein on May 17, 2019 18:01
from ansible.windows.
From @rnsc on May 20, 2019 06:37
@ShachafGoldstein Thanks for the ref. I did implement this into win_service (I didn't stumble upon this feature request when I looked up for service recovery actions and Ansible)
@jborean93 @imjoseangel any thoughts about my PR? :)
from ansible.windows.
Related Issues (20)
- 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 3
- 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 3
- ERROR DURING WINRM SEND INPUT - attempting to recover: WinRMTransportError Bad HTTP response returned from server. Code 413 HOT 2
- win_copy module not handling an invalid path correctly. HOT 2
- Feature request: A better win_acl module HOT 1
- Error in Windows Update: Unhandled exception while executing module: Cannot process request because the process (PID) has exited HOT 6
- Docs for setup reference ansible.builtin instead of ansible.windows
- Instances of ansible.builtin instead of ansible.windows in docs for overloaded module names
- Galaxy Download does not work HOT 1
- win_powershell sensitive parameters using `::new()` HOT 1
- ansible.windows.win_owner module fails to run recursively if ansible_user does not have access to the child items HOT 2
- Not able to run the win_update task on Windows server when Trellix Threat prevention enabled with Ansible version 2.16.6 HOT 11
- Unable to Install 'VirtualMachinePlatform' Feature on Windows Server 2022 using win_feature Module HOT 1
- win_updates: not find cumulative updates but appears on GUI HOT 4
- Error in win_stat when fetching a file with brackets [] in the name HOT 3
- `win_powershell` doesn't respect `depth` parameter when using pwsh executable HOT 1
- Too-short timeout causes exceptions with Powershell 7 on fresh machine - Exception calling "Open" with "0" argument(s) 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.