I am in need of a ansbile play to check the status of a service in CENTOS 7
/ RHEL
*Expected output:*
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor
preset: disabled)
Active: active (running) since Tue 2016-11-22 12:24:02 EST; 1 months 20
days ago
Docs: https://docs.docker.com
Main PID: 815 (dockerd)
Memory: 65.3M
CGroup: /system.slice/docker.service
├─ 815 /usr/bin/dockerd
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/27f1153c-6f1c-4f0e-897a-2ab387d81abd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.