mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
d9c28454ae
commit
cd3c454917
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