Ansible 2.1.1.0
I ran the following locally on Ubuntu 14.04 LTS and in production on Ubuntu 16.04 LTS.
It runs fine on 14.04 but errors on 16.04. I'm no server whiz but it probably has something to do with the upstart to systemd change as of 15.04.
- name: Run BLAH app.
runit:
name="BLAH"
state="up"
enabled="yes"
command="node /home/admin/blah/app.js"
user="admin"
TASK [gotansible.runit : Ubuntu - start and enable runit service] **************
fatal: [alice]: FAILED! => {"changed": false, "failed": true, "msg": "Error when trying to enable runsvdir: rc=1 Failed to execute operation: No such file or directory\n"}
Ansible 2.1.1.0I ran the following locally on Ubuntu 14.04 LTS and in production on Ubuntu 16.04 LTS.
It runs fine on 14.04 but errors on 16.04. I'm no server whiz but it probably has something to do with the upstart to systemd change as of 15.04.