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.

17 lines
469 B

  1. ---
  2. - hosts: wiki
  3. remote_user: root
  4. tasks:
  5. - name: ensure that php5 is at the latest versions
  6. apt: name={{ item }} state=latest
  7. with-items:
  8. - php5-cgi
  9. - php5-gd
  10. - name: ensure that dokuwiki is at the latest version
  11. apt: name=dokuwiki state=latest
  12. notify:
  13. - restart nginx
  14. roles:
  15. - role: nginx
  16. configuration_file: 'templates/dokuwiki-nginx.conf'
  17. dest: 'dokuwiki'