Commit Graph

11 Commits (e5419a273874d23b062f6ce6c229b7ac14c66a44)

Author SHA1 Message Date
Michael Scherer 6063071a46 Fix traceback on python3 (#4556)
Traceback (most recent call last):
  File "/tmp/ansible_csqv781s/ansible_module_systemd.py", line 374, in <module>
    main()
  File "/tmp/ansible_csqv781s/ansible_module_systemd.py", line 263, in main
    for line in out.split('\\n'): # systemd can have multiline values delimited with {}
8 years ago
Brian Coca f3e761f0c8 improved logic when dealing with init scripts 8 years ago
Michael Scherer c46e425846 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.
8 years ago
Brian Coca 380fb2be59 make daemon reload first thing always run
otherwise service detection can fail before we run it which might
be required to actually detect the service.
8 years ago
Robin Naundorf 9c52f781c9 Fixed Typo in Examples of systemd module (#3870) 8 years ago
Brian Coca c50859d20b fixed enabled state 8 years ago
Brian Coca b9686fbadf fixed reported state 8 years ago
Brian Coca 96b2bc9084 fixed enabled reporting 8 years ago
Brian Coca beb9ff9170 fixed typo 8 years ago
Brian Coca d03914ed63 added state in results for backwards compat 8 years ago
Brian Coca fb77ab49ab first draft systemd service plugin (#3660)
* first draft systemd service plugin

* now systemd status handles multiline values
8 years ago