Commit Graph

16 Commits (f5658f4e5048ae6f2cf1d8eb434be3602fc6bb3a)

Author SHA1 Message Date
Brian Coca b835ae2717 Several systemd fixes
Allow some operations on missing services
Better sysv handling
Rearranged error reporting
fixed load error catching and order logic
also minor doc/comment updates
added warnings
9 years ago
Sam Doran 05e866e4d0 Examples syntax batch4 (#5620)
* Change example syntax on authorized_key module

* Change example syntax on cron module

* Change example syntax on group module

* Change example syntax on hostname module

* Change example syntax on seboolean module

* Change example syntax on selinux module

* Change example syntax on service module

* Change example syntax on sysctl module

* Change example syntax on systemd module

* Change example syntax on user module

* Change example syntax on debug module

* Change example syntax on fail module

* Change example syntax on include module

* Change example syntax on include_role module

* Change example syntax on include_vars module

* Change example syntax on pause module

* Change example syntax on wait_for module

* Change example syntax on apache2_module module

* > Change example syntax on django_manage module

* Change example syntax on htpasswd module
9 years ago
John R Barker 312f578f93 Bulk spelling improvement to modules-core (#5225)
* Correct spelling mistakes

* Correct more spelling issues

* merge conflict

* Revert typo in parms
9 years ago
Laurent Godet 0ee774ff15 Fix daemon_reload in systemd module 9 years ago
Antonio Murdaca dc7ba8f3c9 system/systemd: enable systemctl --user (#4208)
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
10 years ago
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 {}
10 years ago
Brian Coca f3e761f0c8 improved logic when dealing with init scripts 10 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.
10 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.
10 years ago
Robin Naundorf 9c52f781c9 Fixed Typo in Examples of systemd module (#3870) 10 years ago
Brian Coca c50859d20b fixed enabled state 10 years ago
Brian Coca b9686fbadf fixed reported state 10 years ago
Brian Coca 96b2bc9084 fixed enabled reporting 10 years ago
Brian Coca beb9ff9170 fixed typo 10 years ago
Brian Coca d03914ed63 added state in results for backwards compat 10 years ago
Brian Coca fb77ab49ab first draft systemd service plugin (#3660)
* first draft systemd service plugin

* now systemd status handles multiline values
10 years ago