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.

32 line
507B

  1. ---
  2. - name: install apt packages
  3. apt:
  4. pkg: "{{item}}"
  5. state: present
  6. with_items:
  7. - apache2
  8. - libapache2-mod-php
  9. - php-xml
  10. - php-gd
  11. - php-json
  12. - php-mbstring
  13. - php-zip
  14. - php-mysql
  15. - php-curl
  16. - php-intl
  17. - php-mcrypt
  18. - php-imagick
  19. - ca-certificates
  20. - sudo
  21. - php-apcu
  22. - memcached
  23. - php-memcached
  24. - libreoffice
  25. notify: restart apache2
  26. - name: remove default page
  27. file:
  28. path: /var/www/html/index.html
  29. state: absent