mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Cleaner roles/web_support & httpd/tasks/install.yml
This commit is contained in:
parent
ac8e160e52
commit
4b1b2780de
21 changed files with 38 additions and 38 deletions
|
@ -162,14 +162,14 @@
|
||||||
|
|
||||||
# MOVED FROM roles/homepage/tasks/main.yml (as NGINX-only IIAB's won't need it)
|
# MOVED FROM roles/homepage/tasks/main.yml (as NGINX-only IIAB's won't need it)
|
||||||
# and 'mkdir /library/www/html/home' is now done by roles/web_support for Admin
|
# and 'mkdir /library/www/html/home' is now done by roles/web_support for Admin
|
||||||
# Console which hard-codes that as a requirement as of 2020-02-12.
|
# Console which hard-codes that as a requirement, as of 2020-02-12.
|
||||||
#
|
#
|
||||||
# './runrole --reinstall apache' is a decent solution today, for folks needing
|
# './runrole --reinstall apache' is a decent solution today, for folks needing
|
||||||
# changes, but to make sure such things work in the field/offline/etc: soft-
|
# changes, but to make sure such things work in the field/offline/etc: soft-
|
||||||
# coding of iiab_home_url should probably be taken more seriously thruout IIAB!
|
# coding of iiab_home_url should probably be taken more seriously thruout IIAB!
|
||||||
#
|
#
|
||||||
- name: "IN CASE NGINX IS DISABLED: Enable iiab-homepage.conf via Apache (e.g. on port 80) by running 'a2ensite iiab-homepage.conf'"
|
- name: "IN CASE NGINX IS DISABLED: Enable iiab-homepage.conf via Apache (e.g. on port 80) by running 'a2ensite iiab-homepage.conf'"
|
||||||
command: a2ensite: iiab-homepage.conf
|
command: a2ensite iiab-homepage.conf
|
||||||
#when: apache_enabled | bool
|
#when: apache_enabled | bool
|
||||||
|
|
||||||
# - name: Disable IIAB pages via Apache (e.g. on port 80) by running 'a2dissite iiab-homepage.conf', if not apache_enabled"
|
# - name: Disable IIAB pages via Apache (e.g. on port 80) by running 'a2dissite iiab-homepage.conf', if not apache_enabled"
|
||||||
|
|
0
roles/web_support/files/html/assets/lang_codes.json
Executable file → Normal file
0
roles/web_support/files/html/assets/lang_codes.json
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap-theme.css
vendored
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap-theme.css
vendored
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap-theme.css.map
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap-theme.css.map
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap-theme.min.css
vendored
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap-theme.min.css
vendored
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap.css
vendored
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap.css
vendored
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap.css.map
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap.css.map
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap.min.css
vendored
Executable file → Normal file
0
roles/web_support/files/html/css/bootstrap.min.css
vendored
Executable file → Normal file
0
roles/web_support/files/html/css/xo-common.css
Executable file → Normal file
0
roles/web_support/files/html/css/xo-common.css
Executable file → Normal file
0
roles/web_support/files/html/fonts/glyphicons-halflings-regular.eot
Executable file → Normal file
0
roles/web_support/files/html/fonts/glyphicons-halflings-regular.eot
Executable file → Normal file
0
roles/web_support/files/html/fonts/glyphicons-halflings-regular.svg
Executable file → Normal file
0
roles/web_support/files/html/fonts/glyphicons-halflings-regular.svg
Executable file → Normal file
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
0
roles/web_support/files/html/fonts/glyphicons-halflings-regular.ttf
Executable file → Normal file
0
roles/web_support/files/html/fonts/glyphicons-halflings-regular.ttf
Executable file → Normal file
0
roles/web_support/files/html/fonts/glyphicons-halflings-regular.woff
Executable file → Normal file
0
roles/web_support/files/html/fonts/glyphicons-halflings-regular.woff
Executable file → Normal file
0
roles/web_support/files/html/html/credits.html
Executable file → Normal file
0
roles/web_support/files/html/html/credits.html
Executable file → Normal file
0
roles/web_support/files/html/js/Markdown.Converter.js
Executable file → Normal file
0
roles/web_support/files/html/js/Markdown.Converter.js
Executable file → Normal file
0
roles/web_support/files/html/js/Markdown.Sanitizer.js
Executable file → Normal file
0
roles/web_support/files/html/js/Markdown.Sanitizer.js
Executable file → Normal file
0
roles/web_support/files/html/js/XMLDisplay.js
Executable file → Normal file
0
roles/web_support/files/html/js/XMLDisplay.js
Executable file → Normal file
0
roles/web_support/files/html/js/bootstrap.js
vendored
Executable file → Normal file
0
roles/web_support/files/html/js/bootstrap.js
vendored
Executable file → Normal file
0
roles/web_support/files/html/js/bootstrap.min.js
vendored
Executable file → Normal file
0
roles/web_support/files/html/js/bootstrap.min.js
vendored
Executable file → Normal file
0
roles/web_support/files/html/js/jquery.min.js
vendored
Executable file → Normal file
0
roles/web_support/files/html/js/jquery.min.js
vendored
Executable file → Normal file
|
@ -1,68 +1,68 @@
|
||||||
- name: Copy css files to {{ doc_root }}/common/css # doc_root is /library/www/html
|
- name: Copy css files to {{ doc_root }}/common/css
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ doc_root }}/common/css"
|
dest: "{{ doc_root }}/common/css" # /library/www/html
|
||||||
mode: 0644
|
# owner: root
|
||||||
owner: root
|
# group: root
|
||||||
group: root
|
# mode: '0644'
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- html/css/*.css
|
- html/css/*.css
|
||||||
|
|
||||||
- name: Copy js files to {{ doc_root }}/common/js # doc_root is /library/www/html
|
- name: Copy js files to {{ doc_root }}/common/js
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ doc_root }}/common/js"
|
dest: "{{ doc_root }}/common/js" # /library/www/html
|
||||||
mode: 0644
|
# owner: root
|
||||||
owner: root
|
# group: root
|
||||||
group: root
|
# mode: '0644'
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- html/js/*.js
|
- html/js/*.js
|
||||||
|
|
||||||
- name: Copy fonts files to {{ doc_root }}/common/fonts # doc_root is /library/www/html
|
- name: Copy fonts files to {{ doc_root }}/common/fonts
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ doc_root }}/common/fonts"
|
dest: "{{ doc_root }}/common/fonts" # /library/www/html
|
||||||
mode: 0644
|
# owner: root
|
||||||
owner: root
|
# group: root
|
||||||
group: root
|
# mode: '0644'
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- html/fonts/*
|
- html/fonts/*
|
||||||
|
|
||||||
- name: Copy html files to {{ doc_root }}/common/html # doc_root is /library/www/html
|
- name: Copy html files to {{ doc_root }}/common/html
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ doc_root }}/common/html"
|
dest: "{{ doc_root }}/common/html" # /library/www/html
|
||||||
mode: 0644
|
# owner: root
|
||||||
owner: root
|
# group: root
|
||||||
group: root
|
# mode: '0644'
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- html/html/*
|
- html/html/*
|
||||||
|
|
||||||
- name: Copy assets files to {{ doc_root }}/common/assets # doc_root is /library/www/html
|
- name: Copy assets files to {{ doc_root }}/common/assets
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ doc_root }}/common/assets"
|
dest: "{{ doc_root }}/common/assets" # /library/www/html
|
||||||
mode: 0644
|
# owner: root
|
||||||
owner: root
|
# group: root
|
||||||
group: root
|
# mode: '0644'
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- html/assets/*
|
- html/assets/*
|
||||||
|
|
||||||
# copy all services, even if not permissioned elsewhere
|
# Copy all services, even if not permissioned elsewhere
|
||||||
- name: Copy services files to {{ doc_root }}/common/services # doc_root is /library/www/html
|
- name: Copy services files to {{ doc_root }}/common/services
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ doc_root }}/common/services"
|
dest: "{{ doc_root }}/common/services" # /library/www/html
|
||||||
mode: 0644
|
# owner: root
|
||||||
owner: root
|
# group: root
|
||||||
group: root
|
# mode: '0644'
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- html/services/*
|
- html/services/*
|
||||||
|
|
||||||
- name: Symlink {{ doc_root }}/common/assets/iiab.ini to {{ iiab_ini_file }} # doc_root is /library/www/html
|
- name: Symlink {{ doc_root }}/common/assets/iiab.ini -> {{ iiab_ini_file }}
|
||||||
file:
|
file:
|
||||||
src: "{{ iiab_ini_file }}"
|
src: "{{ iiab_ini_file }}" # /etc/iiab/iiab.ini
|
||||||
path: "{{ doc_root }}/common/assets/iiab.ini"
|
path: "{{ doc_root }}/common/assets/iiab.ini" # /library/www/html
|
||||||
owner: root
|
# owner: root
|
||||||
group: root
|
# group: root
|
||||||
state: link
|
state: link
|
||||||
|
|
Loading…
Reference in a new issue