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

69 lines
1.3 KiB
YAML
Raw Normal View History

2017-05-27 18:09:50 +00:00
- name: Copy css files
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/css"
mode: 0644
owner: root
group: root
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
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/js"
mode: 0644
owner: root
group: root
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
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/fonts"
mode: 0644
owner: root
group: root
2017-05-27 18:09:50 +00:00
with_fileglob:
- html/fonts/*
2017-05-27 18:09:50 +00:00
- name: Copy html files
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/html"
mode: 0644
owner: root
group: root
2017-05-27 18:09:50 +00:00
with_fileglob:
- html/html/*
2017-05-27 18:09:50 +00:00
- name: Copy assets files
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/assets"
mode: 0644
owner: root
group: root
2017-05-27 18:09:50 +00:00
with_fileglob:
- html/assets/*
2017-05-27 18:09:50 +00:00
2017-07-06 16:56:43 +00:00
# copy all services, even if not permissioned elsewhere
- name: Copy services files
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/services"
mode: 0644
owner: root
group: root
2017-07-06 16:56:43 +00:00
with_fileglob:
- html/services/*
2017-07-06 16:56:43 +00:00
- name: Create symlink from assets to iiab.ini
file:
src: "/etc/iiab/iiab.ini"
dest: "{{ doc_root }}/common/assets/iiab.ini"
owner: root
group: root
state: link