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
490 B
17 lines
490 B
- name: Install LAMP stack
|
|
apt:
|
|
name: apache2, php, libapache2-mod-php, php-mysql, mariadb-server
|
|
state: present
|
|
update_cache: true
|
|
|
|
- name: Install Wordpress Pre-Reqs
|
|
apt:
|
|
name: php-curl, php-imagick, php-json, php-mbstring, php-xml, php-zip, php-gd, ghostscript, imagemagick, sendmail
|
|
state: present
|
|
|
|
- name: Loop over sites to setup
|
|
include_tasks: setup.yml
|
|
loop: "{{ site_urls }}"
|
|
loop_control:
|
|
loop_var: site_url
|
|
|
|
|