Created attachment 169599 [details] patch Hi, I found out I need the sleep options in a few cases on FreeBSD when starting/stopping services, so I slightly modified the module implementation. I think this could be useful for others too. I also already submitted a pull request upstream for this: https://github.com/ansible/ansible-modules-core/pull/3525 Thanks!
Created attachment 169601 [details] Make FreeBSD subclass respect the sleep option. I approve of the change. However, please use this patch instead. Otherwise the change also applies to sysutils/ansible1, where I really don't want to carry local patches.
(In reply to Nikolai Lifanov from comment #1) > Created attachment 169601 [details] > Make FreeBSD subclass respect the sleep option. > > I approve of the change. > > However, please use this patch instead. Otherwise the change also applies to > sysutils/ansible1, where I really don't want to carry local patches. Sure, You're right. I'll commit your patch.
Committed. Thanks!
A commit references this bug: Author: madpilot Date: Sat Apr 23 22:19:51 UTC 2016 New revision: 413917 URL: https://svnweb.freebsd.org/changeset/ports/413917 Log: Make the service module respect the sleep option. PR: 208996 Submitted by: me Approved by: Nikolai Lifanov <lifanov at mail.lifanov.com> (maintainer) Changes: head/sysutils/ansible/Makefile head/sysutils/ansible/files/extra-patch-8aac5ae