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.

35 lines
852 B

  1. - name: add jessie-backports repository
  2. apt_repository: repo='deb http://ftp.debian.org/debian jessie-backports main' state=present
  3. - name: install roundcube packages
  4. apt:
  5. name: "{{ item }}"
  6. state: present
  7. update_cache: yes
  8. cache_valid_time: 3600
  9. with_items:
  10. - roundcube-sqlite3
  11. - roundcube
  12. - roundcube-plugins
  13. notify:
  14. - restart nginx
  15. - name: copy lilik-150x54.png
  16. copy:
  17. src: lilik-150x54.png
  18. dest: /usr/share/roundcube/skins/classic/images/
  19. - name: copy my-roundcube.php
  20. template:
  21. src: "my-roundcube.php.j2"
  22. dest: "/etc/roundcube/my-roundcube.php"
  23. mode: 0640
  24. owner: root
  25. group: www-data
  26. - name: include my-roundcube.php
  27. lineinfile:
  28. dest: /etc/roundcube/config.inc.php
  29. insertafter: '\?>'
  30. line: include_once("/etc/roundcube/my-roundcube.php");