Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Make FreeBSD subclass respect the sleep option. #3525

Merged
merged 1 commit into from
Apr 23, 2016
Merged

Make FreeBSD subclass respect the sleep option. #3525

merged 1 commit into from
Apr 23, 2016

Conversation

madpilot78
Copy link
Contributor

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

system/service module

ANSIBLE VERSION
ansible 2.0.2.0
  config file = 
  configured module search path = Default w/o overrides
SUMMARY

As subject states this change makes the FreeBSD subclass aware of the sleep option.

I had problems managing the ntpd service on a FreeBSD machine, running 11.0.

The service would start but die just after ansible disconnected. The ntpd startup script included in FreeBSD recently gained functionality and is quite complex.

Adding a small sleep fixes it.

The change just makes the module sleep the requested seconds after running the command.

(no output change)

@abadger abadger merged commit 1d25c41 into ansible:devel Apr 23, 2016
@abadger
Copy link
Contributor

abadger commented Apr 23, 2016

Thanks @madpilot78. Merged.

@madpilot78 madpilot78 deleted the freebsd-service-sleep branch April 23, 2016 21:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants