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:
parent
24fa1ab426
commit
c46e425846
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue