2019-01-15 20:33:51 +00:00
|
|
|
# fl.yml signifies "file layout"
|
|
|
|
|
2019-11-19 13:34:38 +00:00
|
|
|
- name: Create directories with ownership root:root and permissions 0755 (1 in /etc, 3 in {{ iiab_base }} and 15 in /library) # iiab_base is /opt/iiab
|
2018-02-13 00:51:02 +00:00
|
|
|
file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0755
|
|
|
|
state: directory
|
2017-11-09 10:51:07 +00:00
|
|
|
with_items:
|
2018-11-02 22:17:44 +00:00
|
|
|
- /etc/sysconfig/olpc-scripts/setup.d/installed/
|
2017-11-09 10:51:07 +00:00
|
|
|
- "{{ yum_packages_dir }}"
|
|
|
|
- "{{ pip_packages_dir }}"
|
|
|
|
- "{{ downloads_dir }}"
|
|
|
|
- /library/downloads/zims
|
|
|
|
- /library/downloads/rachel
|
2019-05-09 19:09:40 +00:00
|
|
|
- /library/downloads/maps
|
2017-11-09 10:51:07 +00:00
|
|
|
- /library/working/zims
|
|
|
|
- /library/working/rachel
|
2019-05-09 19:09:40 +00:00
|
|
|
- /library/working/maps
|
2017-11-09 10:51:07 +00:00
|
|
|
- "{{ iiab_zim_path }}/content"
|
|
|
|
- "{{ iiab_zim_path }}/index"
|
2017-11-13 02:16:28 +00:00
|
|
|
- "{{ doc_root }}/local_content"
|
2017-11-09 10:51:07 +00:00
|
|
|
- "{{ doc_root }}/modules"
|
|
|
|
- "{{ doc_root }}/common/css"
|
|
|
|
- "{{ doc_root }}/common/js"
|
|
|
|
- "{{ doc_root }}/common/fonts"
|
|
|
|
- "{{ doc_root }}/common/html"
|
|
|
|
- "{{ doc_root }}/common/images"
|
|
|
|
- "{{ doc_root }}/common/assets"
|
|
|
|
- "{{ doc_root }}/common/services"
|
2019-11-19 13:34:38 +00:00
|
|
|
- "{{ py3_dist_path }}/iiab"
|
2018-10-17 17:35:30 +00:00
|
|
|
|
2018-11-02 22:17:44 +00:00
|
|
|
- name: Symlink from {{ doc_root }}/common/webfonts to {{ doc_root }}/common/fonts
|
2018-10-17 17:35:30 +00:00
|
|
|
file:
|
|
|
|
src: "{{ doc_root }}/common/fonts"
|
|
|
|
path: "{{ doc_root }}/common/webfonts"
|
|
|
|
state: link
|