|
|
@ -56,12 +56,27 @@ |
|
|
|
recursive: True |
|
|
|
recursive: True |
|
|
|
delegate_to: "{{ inventory_hostname }}" |
|
|
|
delegate_to: "{{ inventory_hostname }}" |
|
|
|
|
|
|
|
|
|
|
|
- name: Install extensions |
|
|
|
- name: Download php CAS lib |
|
|
|
get_url: |
|
|
|
get_url: |
|
|
|
url: "{{ itop_extensions[item].url }}" |
|
|
|
url: "{{ itop_php_cas_archive_url }}" |
|
|
|
checksum: sha1:{{ itop_extensions[item].sha1 }} |
|
|
|
checksum: sha1:{{ itop_php_cas_archive_sha1 }} |
|
|
|
dest: "{{ itop_root_dir }}/tmp" |
|
|
|
dest: "{{ itop_root_dir }}/tmp" |
|
|
|
loop: "{{ itop_extensions.keys() | list }}" |
|
|
|
|
|
|
|
|
|
|
|
- name: Extract php CAS lib |
|
|
|
|
|
|
|
unarchive: |
|
|
|
|
|
|
|
src: "{{ itop_root_dir }}/tmp/CAS-{{ itop_php_cas_version }}.tgz" |
|
|
|
|
|
|
|
dest: "{{ itop_root_dir }}/tmp" |
|
|
|
|
|
|
|
remote_src: True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install php CAS lib |
|
|
|
|
|
|
|
synchronize: |
|
|
|
|
|
|
|
src: "{{ itop_root_dir }}/tmp/CAS-{{ itop_php_cas_version }}/{{ item }}" |
|
|
|
|
|
|
|
dest: "{{ itop_root_dir }}/web/lib/" |
|
|
|
|
|
|
|
recursive: True |
|
|
|
|
|
|
|
delegate_to: "{{ inventory_hostname }}" |
|
|
|
|
|
|
|
loop: |
|
|
|
|
|
|
|
- CAS.php |
|
|
|
|
|
|
|
- CAS |
|
|
|
|
|
|
|
|
|
|
|
tags: itop |
|
|
|
tags: itop |
|
|
|
|
|
|
|
|
|
|
|