Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
510 B

7 years ago
  1. - name: install git
  2. apt:
  3. name: "{{ item }}"
  4. with_items:
  5. - git
  6. - file:
  7. path: /srv/riot-web
  8. state: directory
  9. mode: 0755
  10. owner: www-data
  11. group: www-data
  12. - unarchive:
  13. src: "https://github.com/vector-im/riot-web/releases/download/{{ riot_web_version }}/riot-{{ riot_web_version }}.tar.gz"
  14. dest: /srv/riot-web
  15. remote_src: True
  16. owner: www-data
  17. group: www-data
  18. - template:
  19. src: config.json.j2
  20. dest: "/srv/riot-web/riot-{{ riot_web_version }}/config.json"