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.
reviewable/pr18780/r1
Michael Scherer 8 years ago committed by Brian Coca
parent 24fa1ab426
commit c46e425846

@ -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 = '''

Loading…
Cancel
Save