mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
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:
committed by
Matt Clay
parent
d9c28454ae
commit
cd3c454917
@@ -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 = '''
|
||||
|
||||
Reference in New Issue
Block a user