mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
40 lines
1.8 KiB
YAML
40 lines
1.8 KiB
YAML
# fl.yml signifies "file layout"
|
|
|
|
- name: "File Layout - Create directories: 1 in /etc, 1 in {{ py3_dist_path }}, 3 in {{ iiab_base }}, 17 in {{ content_base }}" # iiab_base: /opt/iiab
|
|
file:
|
|
path: "{{ item }}"
|
|
# owner: root
|
|
# group: root
|
|
# mode: '0755'
|
|
state: directory
|
|
with_items:
|
|
- /etc/sysconfig/olpc-scripts/setup.d/installed/
|
|
- "{{ py3_dist_path }}/iiab" # /usr/lib/python3/dist-packages
|
|
- "{{ yum_packages_dir }}" # /opt/iiab/yum-packages
|
|
- "{{ pip_packages_dir }}" # /opt/iiab/pip-packages
|
|
- "{{ downloads_dir }}" # /opt/iiab/downloads -- generally already done by Stage 1's roles/remoteit/tasks/install.yml
|
|
#- "{{ content_base }}/downloads" # /library/downloads auto-created just below
|
|
- "{{ content_base }}/downloads/zims"
|
|
- "{{ content_base }}/downloads/maps"
|
|
- "{{ content_base }}/downloads/rachel" # STILL USED OR NOT?
|
|
#- "{{ content_base }}/working" # /library/working auto-created just below
|
|
- "{{ content_base }}/working/zims"
|
|
- "{{ content_base }}/working/maps"
|
|
- "{{ content_base }}/working/rachel" # STILL USED OR NOT?
|
|
- "{{ iiab_zim_path }}/content" # /library/zims
|
|
- "{{ iiab_zim_path }}/index"
|
|
- "{{ doc_root }}/local_content" # /library/www/html
|
|
- "{{ 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"
|
|
|
|
- name: File Layout - Symlink {{ doc_root }}/common/webfonts -> {{ doc_root }}/common/fonts
|
|
file:
|
|
src: "{{ doc_root }}/common/fonts" # /library/www/html
|
|
path: "{{ doc_root }}/common/webfonts"
|
|
state: link
|