ansible/roles/webserver/tasks/packages.yml

30 lines
636 B
YAML

# Install apache and accoutrements www, irrespective of what role they might have
---
- name: Install packages for webserver
apt:
name: "{{ packages }}"
state: present
update_cache: yes
vars:
packages:
- apache2
- mariadb-server
- mariadb-client
- php7.0
- libapache2-mod-php7.0
- php7.0-mysql
- php7.0-curl
- php7.0-gd
- php7.0-intl
- php-pear
- php-imagick
- php7.0-imap
- php7.0-mcrypt
- php-memcache
- php7.0-pspell
- php7.0-recode
- php7.0-sqlite3
- php7.0-tidy
- php7.0-xmlrpc
- php7.0-xsl