mirror of https://github.com/ansible/ansible.git
Make service work when the service is not present in rc.conf
After installing a package from the ports collection on a fresh FreeBSD 11.0, Ansible was unable to enable it, failing with "unable to get current rcvar value". Debugging showed that sysrc didn't see the variable from /usr/local/etc/rc.d/myservice, but adding the value was working. So we will just fallback to the default value if we can't find it.reviewable/pr18780/r1
parent
94d28fbd6f
commit
872594b49a
Loading…
Reference in New Issue