library/roles/yii: Newest 1.1 version. Ansible 2.0+ compatibility.
This commit is contained in:
parent
356bff91f1
commit
5ff1ae9ade
|
@ -3,8 +3,8 @@
|
||||||
# Note: in the index.php directory, the path to the yii distribution will be something like
|
# Note: in the index.php directory, the path to the yii distribution will be something like
|
||||||
# $yii='{{ yii_install_dir }}/yii/framework/yii.php';
|
# $yii='{{ yii_install_dir }}/yii/framework/yii.php';
|
||||||
#
|
#
|
||||||
yii_version: 1.1.16
|
yii_version: 1.1.19
|
||||||
yii_release: bca042
|
yii_release: 5790cb
|
||||||
yii_installs:
|
yii_installs:
|
||||||
- { version: '{{ yii_version }}', release: '{{ yii_release }}' }
|
- { version: '{{ yii_version }}', release: '{{ yii_release }}' }
|
||||||
|
|
||||||
|
|
|
@ -28,17 +28,17 @@
|
||||||
|
|
||||||
- name: Remove the unneeded files
|
- name: Remove the unneeded files
|
||||||
file: dest={{ yii_install_dir }}/yii-{{ yii_version }}.{{ yii_release }}/{{ item }} state=absent
|
file: dest={{ yii_install_dir }}/yii-{{ yii_version }}.{{ yii_release }}/{{ item }} state=absent
|
||||||
with_items: yii_unneeded_files
|
with_items: '{{ yii_unneeded_files }}'
|
||||||
tags: [ 'yii', 'yii-framework' ]
|
tags: [ 'yii', 'yii-framework' ]
|
||||||
|
|
||||||
- name: Install the php required modules
|
- name: Install the php required modules
|
||||||
apt: name={{ item }} state=present
|
apt: name={{ item }} state=present
|
||||||
with_items: yii_php_modules
|
with_items: '{{ yii_php_modules }}'
|
||||||
notify: Reload php-fpm
|
notify: Reload php-fpm
|
||||||
tags: [ 'yii', 'yii-framework' ]
|
tags: [ 'yii', 'yii-framework' ]
|
||||||
|
|
||||||
- name: Install the php modules to access the db servers
|
- name: Install the php modules to access the db servers
|
||||||
apt: name={{ item }} state=present
|
apt: name={{ item }} state=present
|
||||||
with_items: yii_php_db_server_modules
|
with_items: '{{ yii_php_db_server_modules }}'
|
||||||
notify: Reload php-fpm
|
notify: Reload php-fpm
|
||||||
tags: [ 'yii', 'yii-framework' ]
|
tags: [ 'yii', 'yii-framework' ]
|
||||||
|
|
Loading…
Reference in New Issue