mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2025-01-06 18:57:36 +01:00
Move variables to defaults.
This commit is contained in:
parent
1652fe7da7
commit
574694d0f9
@ -2,14 +2,13 @@
|
||||
- name: Include OS-specific variables.
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: Ensure PHP packages are installed (RedHat).
|
||||
- name: Ensure PHP packages are installed yo.
|
||||
yum: >
|
||||
name={{ item }}
|
||||
state=installed
|
||||
enablerepo={{ php_enablerepo }}
|
||||
with_items: php_packages
|
||||
notify: restart webserver
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Ensure PHP packages are installed (Debian).
|
||||
apt: >
|
||||
|
Loading…
Reference in New Issue
Block a user