Add a example with a non service unit (#4355)

Since the documentation focus mostly on service
units, a explicit example may help people realizing
it can be used for socket and timer too.
This commit is contained in:
Michael Scherer 2016-08-08 14:48:33 +02:00 committed by Brian Coca
parent 24fa1ab426
commit c46e425846

View file

@ -77,6 +77,11 @@ EXAMPLES = '''
name: httpd
enabled: yes
masked: no
# Example action to enable a timer for dnf-automatic
- systemd:
name: dnf-automatic.timer
state: started
enabled: True
'''
RETURN = '''