Commit Graph

60 Commits (8baaf458c794b86096dcbbdcbf652f9cdab809ee)

Author SHA1 Message Date
Michael DeHaan 0bec29a626 Merge pull request #6524 from tyll/update_rc_d_disable
12 years ago
Cristian Ciupitu 96ff1444f0 Micro-optimization: replace s.find(x)==0 with s.startswith(x)
12 years ago
Till Maas c21fa8ebee service module: Properly disable Debian services
12 years ago
James Cammarata bc38bfe61b Merge branch 'issues/6341' of https://github.com/threatgrid/ansible into threatgrid-issues/6341
12 years ago
Michael DeHaan 92f9f50f1a Merge pull request #6339 from threatgrid/systemd-template-svc-fix
12 years ago
Michael DeHaan 5aef2f0687 Merge pull request #6005 from pgehres/chkconfig
12 years ago
Cristian Ciupitu 0749112286 Micro-optimization: replace s.find(x)!=-1 with x in s
12 years ago
James Tanner ba0fec4f42 Force command action to not be executed by the shell unless specifically enabled
12 years ago
Charles Duffy 18f53d9219 #6341: use shared function for parsing systemd status; check rc code
12 years ago
Charles Duffy d59973295d #6341: check systemd service status with show subcommand
12 years ago
Charles Duffy 44ebd3f4f3 systemd template services must not discard template part
12 years ago
Peter Gehres c427a829a0 Adding better failure output for chkconfig failures rather than
12 years ago
jctanner 5967b463c9 Merge pull request #5554 from ttarabul/devel
12 years ago
Brian Coca 46dfe07181 be permissive with BSD with service enabled upper/lower/mixed cases
12 years ago
Tyler 2f813f7660 keep /usr/local/etc/rc.conf for backwards compatibility
13 years ago
Tyler 1a655b2dd7 Use /etc/rc.conf.local for sevice configuration on FreeBSD
13 years ago
Jasper N. Brouwer a52ca73167 Swapped conditions of the changed if statements
13 years ago
Jasper N. Brouwer 0e11e4c86f Fixed false positive on initctl as enable_cmd
13 years ago
James Tanner 6008ea40ee Add more error detail to the service module for FreeBSD
13 years ago
Michael DeHaan d34a26e307 Undo an inadvertant revert from template changes so we still allow pythonic imports in module land.
13 years ago
James Tanner d154bf8781 Revert templating enhancements from 73dbab70 e6c28658 d409352c 9858b1f2 4587528b 9b1fe455 214b0b05 8d3db803 7f9504d1 5031104c 35cb9dc2 2bd8cb57 1e85c754
13 years ago
Michael DeHaan 9858b1f2f3 Enable imports to work on a snippet based system, allowing for instance a library of common EC2 functions
13 years ago
James Tanner 40574c1938 Fixes #4448 reloaded services should be started if not running
13 years ago
Scott Sturdivant 4d24e2e29f If the output of rcvar isn't a key=value pair, ignore it.
13 years ago
Michael DeHaan 21d4400c96 Misc pep8 fixes
13 years ago
Michael DeHaan 119b6d73dd Remove examples of module antipattern of setting the choices array for boolean types.
13 years ago
Michael DeHaan f6c3dce497 Merge pull request #4336 from orkaa/devel
13 years ago
Martijn Lina 4cd3b9d637 replace dashes in rc.conf keys (which are based on freebsd rc.d filenames) to underscores
13 years ago
Nace Oroz 672a0c04e4 Fixes service update-rc.d functionality on debian
13 years ago
cdigiovanni 7ff2b3befd Added support to disable and enable upstart jobs
13 years ago
James Cammarata c2e02fbd6b Minor tweak to service changed logic from the previous commit
13 years ago
James Cammarata f62093da56 Merge branch 'service-enable-fix' of https://github.com/gottwald/ansible into gottwald-service-enable-fix
13 years ago
Petr Svoboda 8d290e3394 Fix traceback in service module when svc_cmd is None (2nd fix)
13 years ago
Ingo Gottwald f7adbf2f29 Bugfix service module: Only change service state when needed
13 years ago
James Cammarata 72eaa0570e Allow service module to manage services not ending in .service
13 years ago
James Cammarata b2741f451e Fixes to the service module for Ubuntu 12.04 (LTS)
13 years ago
James Cammarata 9a3a3e648b Check for systemd ownership of a service even if an init.d script exists
13 years ago
James Cammarata 7c8aa669cf Minor fix to account for template service names in systemctl
13 years ago
James Cammarata 6c3af4df81 Fix for update-rc.d based systems that also have systemd installed
13 years ago
James Cammarata 26a8d4ce9f Added 'reloaded' state to list of states checked for bounced services
13 years ago
Petr Svoboda e2f20db534 Fix traceback in service module when svc_cmd is None
13 years ago
Michael DeHaan 8fe15f0a30 Merge pull request #3426 from trbs/services_sleep_option
13 years ago
Brian Coca 0664e36aa2 fixed check mode
13 years ago
trbs 3b2173b6df sleep option for service module which adds a pauze between stopping and starting a service using state=restarted. This helps for bad scripts that exist immediatly after signaling a process to stop.
13 years ago
Antti Rasinen 93fc3391fe Fix service enable on FreeBSD
13 years ago
martin f. krafft 85b8538e0e Expand usage of Python 2.6 if statement
13 years ago
martin f. krafft 3df2e15277 Let update-rc.d set changed flag properly
13 years ago
Michael DeHaan 3f8aa8aec5 Fix up some module docs formatting errors.
13 years ago
Michael DeHaan 61ac8d03af Clarify module docs
13 years ago
Michael DeHaan 51ba3d8c3d Merge pull request #3230 from sayap/openrc
13 years ago