Add all files needed to bring up VM and run agaric.com locally
This commit is contained in:
parent
52c8b60bac
commit
4d2bc0ee24
742 changed files with 24037 additions and 0 deletions
29
box/provisioning/roles/geerlingguy.php-mysql/tasks/main.yml
Normal file
29
box/provisioning/roles/geerlingguy.php-mysql/tasks/main.yml
Normal 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'
|
Loading…
Add table
Add a link
Reference in a new issue