1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/2-common/tasks/fl.yml

41 lines
1.7 KiB
YAML
Raw Normal View History

2019-01-15 20:33:51 +00:00
# fl.yml signifies "file layout"
2022-07-10 20:45:30 +00:00
- name: "File Layout - Create directories: 1 in {{ py3_dist_path }}, 2 in {{ iiab_base }}, 17 in {{ content_base }}" # iiab_base: /opt/iiab
file:
path: "{{ item }}"
2020-01-16 14:40:32 +00:00
# owner: root
# group: root
# mode: '0755'
state: directory
2017-11-09 10:51:07 +00:00
with_items:
2022-07-10 20:45:30 +00:00
#- /etc/sysconfig/olpc-scripts/setup.d/installed/
2020-01-16 14:40:32 +00:00
- "{{ py3_dist_path }}/iiab" # /usr/lib/python3/dist-packages
2022-07-10 20:45:30 +00:00
#- "{{ yum_packages_dir }}" # /opt/iiab/yum-packages
2020-01-16 14:40:32 +00:00
- "{{ pip_packages_dir }}" # /opt/iiab/pip-packages
- "{{ downloads_dir }}" # /opt/iiab/downloads
2020-01-27 08:36:16 +00:00
#- "{{ content_base }}/downloads" # /library/downloads auto-created just below
- "{{ content_base }}/downloads/zims"
- "{{ content_base }}/downloads/maps"
2020-01-27 08:44:26 +00:00
- "{{ content_base }}/downloads/rachel" # STILL USED OR NOT?
2020-01-27 14:34:57 +00:00
#- "{{ content_base }}/working" # /library/working auto-created just below
2020-01-16 14:40:32 +00:00
- "{{ content_base }}/working/zims"
- "{{ content_base }}/working/maps"
2020-01-27 08:44:26 +00:00
- "{{ content_base }}/working/rachel" # STILL USED OR NOT?
2020-01-27 14:34:57 +00:00
- "{{ iiab_zim_path }}/content" # /library/zims
2017-11-09 10:51:07 +00:00
- "{{ iiab_zim_path }}/index"
2020-01-16 14:40:32 +00:00
- "{{ doc_root }}/local_content" # /library/www/html
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"
2018-10-17 17:35:30 +00:00
2020-01-16 14:40:32 +00:00
- name: File Layout - Symlink {{ doc_root }}/common/webfonts -> {{ doc_root }}/common/fonts
2018-10-17 17:35:30 +00:00
file:
2020-01-16 14:40:32 +00:00
src: "{{ doc_root }}/common/fonts" # /library/www/html
2018-10-17 17:35:30 +00:00
path: "{{ doc_root }}/common/webfonts"
state: link