diff --git a/lib/ansible/modules/system/systemd.py b/lib/ansible/modules/system/systemd.py index 53171a73a1..9538fd7834 100644 --- a/lib/ansible/modules/system/systemd.py +++ b/lib/ansible/modules/system/systemd.py @@ -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 = '''