- ---
-
- - name: install apt packages
- apt:
- pkg: "{{item}}"
- state: present
- with_items:
- - apache2
- - libapache2-mod-php
- - php-xml
- - php-gd
- - php-json
- - php-mbstring
- - php-zip
- - php-mysql
- - php-curl
- - php-intl
- - php-mcrypt
- - php-imagick
- - ca-certificates
- - sudo
-
- - name: remove default page
- file:
- path: /var/www/html/index.html
- state: absent
|