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
16
box/provisioning/roles/geerlingguy.php-pecl/tasks/main.yml
Normal file
16
box/provisioning/roles/geerlingguy.php-pecl/tasks/main.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- name: Include OS-Specific variables.
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: Ensure pecl is installed (if configured).
|
||||
package:
|
||||
name: "{{ php_pecl_package }}"
|
||||
state: present
|
||||
when: php_pecl_install_pecl
|
||||
|
||||
- name: Install PECL libaries.
|
||||
shell: "yes '' | {{ php_pecl_install_command }} {{ item }}"
|
||||
register: pecl_result
|
||||
changed_when: "pecl_result.rc == 0"
|
||||
failed_when: "not (('already installed' in pecl_result.stdout) or ('install ok:' in pecl_result.stdout))"
|
||||
with_items: "{{ php_pecl_extensions }}"
|
Loading…
Add table
Add a link
Reference in a new issue