mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
- name: Create 20 directories with ownership root:root and permissions 0755 (1 in /etc, 3 in {{ iiab_base }} and 15 in /library) # iiab_base is /opt/iiab
|
|
file:
|
|
path: "{{ item }}"
|
|
owner: root
|
|
group: root
|
|
mode: 0755
|
|
state: directory
|
|
with_items:
|
|
- /etc/sysconfig/olpc-scripts/setup.d/installed/
|
|
- "{{ yum_packages_dir }}"
|
|
- "{{ pip_packages_dir }}"
|
|
- "{{ downloads_dir }}"
|
|
- /library/downloads/zims
|
|
- /library/downloads/rachel
|
|
- /library/working/zims
|
|
- /library/working/rachel
|
|
- "{{ iiab_zim_path }}/content"
|
|
- "{{ iiab_zim_path }}/index"
|
|
- "{{ doc_root }}/local_content"
|
|
- "{{ 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: Symlink from {{ doc_root }}/common/webfonts to {{ doc_root }}/common/fonts
|
|
file:
|
|
src: "{{ doc_root }}/common/fonts"
|
|
path: "{{ doc_root }}/common/webfonts"
|
|
state: link
|