--- - name: Install Etherpad dependencies apt: update_cache: true name: - libssl-dev - pkg-config - build-essential - nodejs register: apt_result retries: 3 until: apt_result is succeeded - name: Clone EtherPad git: repo: https://github.com/ether/etherpad-lite.git dest: /var/www/etherpad-lite version: 1.8.4 become: true become_user: etherpad #- name: Configure EtherPad # template: # src: etherpad/settings.json.j2 # dest: /var/www/etherpad-lite/settings.json - name: Install EtherPad systemd unit template: src: systemd/system/etherpad-lite.service.j2 dest: /etc/systemd/system/etherpad-lite.service - name: Activate EtherPad service systemd: daemon_reload: true name: etherpad enabled: true state: started - name: Indicate role in motd template: src: update-motd.d/05-service.j2 dest: /etc/update-motd.d/05-etherpad mode: 0755