system: yes
group: nogroup
home: /var/lib/nodejs
+ create_home: no
shell: /bin/false
+- name: create nodejs dir
+ file: path=/var/lib/nodejs state=directory owner=nodejs group=nogroup
- name: create etherpad dir
file: path=/srv/{{etherpad.domain}} state=directory owner=nodejs group=www-data
- name: check out etherpad sources
git:
dest: /srv/{{etherpad.domain}}/etherpad-lite
repo: 'https://github.com/ether/etherpad-lite.git'
- version: '1.6.6'
+ version: '1.8.14'
force: yes
- name: create etherpad service file
register: etherpad_service