mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
11 lines
227 B
YAML
11 lines
227 B
YAML
---
|
|
- name: Update apt cache.
|
|
apt: update_cache=yes cache_valid_time=86400
|
|
|
|
- name: Ensure PHP packages are installed.
|
|
apt:
|
|
name: "{{ item }}"
|
|
state: installed
|
|
with_items: php_packages
|
|
notify: restart webserver
|