Skip to content

Instantly share code, notes, and snippets.

@jbergstroem
Created October 4, 2016 02:33
Show Gist options
  • Select an option

  • Save jbergstroem/e97af6f1117be025ac47bea77bf9f606 to your computer and use it in GitHub Desktop.

Select an option

Save jbergstroem/e97af6f1117be025ac47bea77bf9f606 to your computer and use it in GitHub Desktop.
- name: enable jenkins at startup
service: name=jenkins state=started enabled=yes
TASK [jenkins-worker : enable jenkins at startup] ******************************
fatal: [test-joyent-freebsd10-x64-1]: FAILED! => {"changed": false, "failed": true, "msg": "unable to get current rcvar value", "stderr": "", "stdout": "# jenkins\n#\njenkins_enable=\"\"\n# (default: \"\")\n\n", "stdout_lines": ["# jenkins", "#", "jenkins_enable=\"\"", "# (default: \"\")", ""]}
test:~ # grep jenkins /etc/rc.conf
test:~ #
test:~ # stat /usr/local/etc/rc.conf
stat: /usr/local/etc/rc.conf: stat: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment