mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
68 lines
1.6 KiB
YAML
68 lines
1.6 KiB
YAML
- name: Create /opt/schoolserver/iiab
|
|
file: path={{ iiab_dir }}
|
|
owner=root
|
|
group=root
|
|
mode=0755
|
|
state=directory
|
|
|
|
- name: Create /opt/schoolserver/yum-packages
|
|
file: path={{ yum_packages_dir }}
|
|
owner=root
|
|
group=root
|
|
mode=0755
|
|
state=directory
|
|
|
|
- name: Create /opt/schoolserver/pip-packages
|
|
file: path={{ pip_packages_dir }}
|
|
owner=root
|
|
group=root
|
|
mode=0755
|
|
state=directory
|
|
|
|
- name: Create /opt/schoolserver/downloads
|
|
file: path={{ downloads_dir }}
|
|
owner=root
|
|
group=root
|
|
mode=0755
|
|
state=directory
|
|
|
|
- name: Create various library directories
|
|
file: path={{ item }}
|
|
owner=root
|
|
group=root
|
|
mode=0755
|
|
state=directory
|
|
with_items:
|
|
- /library/downloads/zims
|
|
- /library/downloads/rachel
|
|
- /library/working/zims
|
|
- /library/working/rachel
|
|
- "{{ iiab_zim_path }}/content"
|
|
- "{{ iiab_zim_path }}/index"
|
|
- "{{ rachel_doc_root }}"
|
|
|
|
- name: Create directory for common packages
|
|
file: path={{ item }}
|
|
mode=0755
|
|
owner=root
|
|
group=root
|
|
state=directory
|
|
with_items:
|
|
- "{{ 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: Create olpc-scripts directory
|
|
file: path={{ item }}
|
|
owner=root
|
|
group=root
|
|
mode=0755
|
|
state=directory
|
|
with_items:
|
|
- /etc/sysconfig/olpc-scripts/
|
|
- /etc/sysconfig/olpc-scripts/setup.d/installed/
|
|
|