2018-11-04 03:29:36 +00:00
|
|
|
- name: Copy css files to {{ doc_root }}/common/css # doc_root is /library/www/html
|
2018-02-07 00:11:13 +00:00
|
|
|
copy:
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: "{{ doc_root }}/common/css"
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
2017-05-27 18:09:50 +00:00
|
|
|
with_fileglob:
|
2018-02-07 00:11:13 +00:00
|
|
|
- html/css/*.css
|
2017-05-27 18:09:50 +00:00
|
|
|
|
2018-11-04 03:29:36 +00:00
|
|
|
- name: Copy js files to {{ doc_root }}/common/js # doc_root is /library/www/html
|
2018-02-07 00:11:13 +00:00
|
|
|
copy:
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: "{{ doc_root }}/common/js"
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
2017-05-27 18:09:50 +00:00
|
|
|
with_fileglob:
|
2018-02-07 00:11:13 +00:00
|
|
|
- html/js/*.js
|
2017-05-27 18:09:50 +00:00
|
|
|
|
2018-11-04 03:29:36 +00:00
|
|
|
- name: Copy fonts files to {{ doc_root }}/common/fonts # doc_root is /library/www/html
|
2018-02-07 00:11:13 +00:00
|
|
|
copy:
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: "{{ doc_root }}/common/fonts"
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
2017-05-27 18:09:50 +00:00
|
|
|
with_fileglob:
|
2018-02-07 00:11:13 +00:00
|
|
|
- html/fonts/*
|
2017-05-27 18:09:50 +00:00
|
|
|
|
2018-11-04 03:29:36 +00:00
|
|
|
- name: Copy html files to {{ doc_root }}/common/html # doc_root is /library/www/html
|
2018-02-07 00:11:13 +00:00
|
|
|
copy:
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: "{{ doc_root }}/common/html"
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
2017-05-27 18:09:50 +00:00
|
|
|
with_fileglob:
|
2018-02-07 00:11:13 +00:00
|
|
|
- html/html/*
|
2017-05-27 18:09:50 +00:00
|
|
|
|
2018-11-04 03:29:36 +00:00
|
|
|
- name: Copy assets files to {{ doc_root }}/common/assets # doc_root is /library/www/html
|
2018-02-07 00:11:13 +00:00
|
|
|
copy:
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: "{{ doc_root }}/common/assets"
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
2017-05-27 18:09:50 +00:00
|
|
|
with_fileglob:
|
2018-02-07 00:11:13 +00:00
|
|
|
- html/assets/*
|
2017-05-27 18:09:50 +00:00
|
|
|
|
2017-07-06 16:56:43 +00:00
|
|
|
# copy all services, even if not permissioned elsewhere
|
2018-11-04 03:29:36 +00:00
|
|
|
- name: Copy services files to {{ doc_root }}/common/services # doc_root is /library/www/html
|
2018-02-07 00:11:13 +00:00
|
|
|
copy:
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: "{{ doc_root }}/common/services"
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
2017-07-06 16:56:43 +00:00
|
|
|
with_fileglob:
|
2018-02-07 00:11:13 +00:00
|
|
|
- html/services/*
|
2017-07-06 16:56:43 +00:00
|
|
|
|
2018-11-04 03:29:36 +00:00
|
|
|
- name: Symlink {{ doc_root }}/common/assets/iiab.ini to {{ iiab_ini_file }} # doc_root is /library/www/html
|
2018-02-07 00:11:13 +00:00
|
|
|
file:
|
2018-10-15 11:01:09 +00:00
|
|
|
src: "{{ iiab_ini_file }}"
|
2018-11-04 03:29:36 +00:00
|
|
|
path: "{{ doc_root }}/common/assets/iiab.ini"
|
2018-02-07 00:11:13 +00:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
state: link
|