1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/www_base/tasks/html.yml

69 lines
1.7 KiB
YAML
Raw Normal View History

- name: Copy css files to {{ doc_root }}/common/css
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/css" # /library/www/html
# owner: root
# group: root
# mode: '0644'
2017-05-27 18:09:50 +00:00
with_fileglob:
- html/css/*.css
2017-05-27 18:09:50 +00:00
- name: Copy js files to {{ doc_root }}/common/js
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/js" # /library/www/html
# owner: root
# group: root
# mode: '0644'
2017-05-27 18:09:50 +00:00
with_fileglob:
- html/js/*.js
2017-05-27 18:09:50 +00:00
- name: Copy fonts files to {{ doc_root }}/common/fonts
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/fonts" # /library/www/html
# owner: root
# group: root
# mode: '0644'
2017-05-27 18:09:50 +00:00
with_fileglob:
- html/fonts/*
2017-05-27 18:09:50 +00:00
- name: Copy html files to {{ doc_root }}/common/html
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/html" # /library/www/html
# owner: root
# group: root
# mode: '0644'
2017-05-27 18:09:50 +00:00
with_fileglob:
- html/html/*
2017-05-27 18:09:50 +00:00
- name: Copy assets files to {{ doc_root }}/common/assets
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/assets" # /library/www/html
# owner: root
# group: root
# mode: '0644'
2017-05-27 18:09:50 +00:00
with_fileglob:
- html/assets/*
2017-05-27 18:09:50 +00:00
# Copy all services, even if not permissioned elsewhere
- name: Copy services files to {{ doc_root }}/common/services
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/services" # /library/www/html
# owner: root
# group: root
# mode: '0644'
2017-07-06 16:56:43 +00:00
with_fileglob:
- html/services/*
2017-07-06 16:56:43 +00:00
- name: Symlink {{ doc_root }}/common/assets/iiab.ini -> {{ iiab_ini_file }}
file:
src: "{{ iiab_ini_file }}" # /etc/iiab/iiab.ini
path: "{{ doc_root }}/common/assets/iiab.ini" # /library/www/html
# owner: root
# group: root
state: link