Add all files needed to bring up VM and run agaric.com locally

This commit is contained in:
benjamin melançon 2018-08-20 10:45:20 -04:00
parent 52c8b60bac
commit 4d2bc0ee24
742 changed files with 24037 additions and 0 deletions

View file

@ -0,0 +1,29 @@
---
# Variable setup.
- name: Include OS-specific variables.
include_vars: "{{ ansible_os_family }}.yml"
- name: Define php_mysql_package.
set_fact:
php_mysql_package: "{{ __php_mysql_package }}"
when: php_mysql_package is not defined
# Installation.
- name: Install PHP MySQL dependencies (RedHat).
yum:
name: "{{ php_mysql_package }}"
state: present
enablerepo: "{{ php_enablerepo }}"
notify:
- restart webserver
- restart php-fpm
when: ansible_os_family == 'RedHat'
- name: Install PHP MySQL dependencies (Debian).
apt:
name: "{{ php_mysql_package }}"
state: present
notify:
- restart webserver
- restart php-fpm
when: ansible_os_family == 'Debian'