mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
A basic service module with 'ensure' idempotence semantics. Playbook updated to use service
module vs command module for restarting. May be some bugs and requires the service to implement 'status' -- and probably some better error handling (i.e. return JSON with "failed" element if failed). Improvements welcome.
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
|
||||
import ansible.runner
|
||||
import ansible.constants as C
|
||||
import json
|
||||
import yaml
|
||||
import shlex
|
||||
|
||||
|
||||
Reference in New Issue
Block a user