1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00
* change apache_data to apache_user in all

* no libapach2 in centos. just php. no php-magick in centos

* remove redundant vars entries

* do not create apache user

* missed one pound sign

* soft code all references to apache_user

* centos requires older setuptools

* revert ansible_lsb.id in xsce.yml

* try getting recent pip

* move pip download to 2prep so that kalite success is not dependent on iiab coming first

* still need to replace setuptools in kalite

* add curl -- needed in debian

* massivly substitue iiab for xsce, and rename files

* completed runansible

* centos fixes,install  pip

* appliance means no iptables rules

* change to earlier version of setuptools for centos

* delete file duplicate, hopefully unnecessary. generate the offline docs

* wiki docs errors

* create the admin group -- deleted earlier

* use the --yes option with pip uninstall

* base of repo moved from schoolserver to iiab, unleashkids.org->iiab.io

* network detection broken due to tupo
This commit is contained in:
georgejhunt 2017-06-09 16:25:56 -07:00 committed by GitHub
parent 6ef68cc480
commit f319afa432
179 changed files with 978 additions and 672 deletions

View file

@ -41,7 +41,7 @@
# but we use the tar file to get the latest version
- name: Get the owncloud software
get_url: url={{ xsce_download_url }}/{{ owncloud_src_file }} dest={{ downloads_dir }}/{{ owncloud_src_file }}
get_url: url={{ iiab_download_url }}/{{ owncloud_src_file }} dest={{ downloads_dir }}/{{ owncloud_src_file }}
when: not {{ use_cache }} and not {{ no_network }}
async: 300
poll: 5
@ -73,7 +73,7 @@
- name: Make apache owner
file: path={{ owncloud_prefix }}/owncloud
owner={{ apache_data }}
owner={{ apache_user }}
group=apache
recurse=yes
state=directory
@ -81,7 +81,7 @@
- name: Create data directory library
file: path={{ item }}
mode=0750
owner={{ apache_data}}
owner={{ apache_user}}
group=apache
state=directory
with_items:

View file

@ -27,7 +27,7 @@
service: name={{ apache_service }} state=restarted
- name: Run owncloud initial install wizard
shell: curl http://{{ xsce_hostname }}{{ owncloud_url }}/index.php
shell: curl http://{{ iiab_hostname }}{{ owncloud_url }}/index.php
- name: Remove Rewrite URL
lineinfile: regexp='overwrite.cli.url'

View file

@ -3,8 +3,8 @@ $AUTOCONFIG = array(
'directory' => '{{ owncloud_data_dir }}',
'trusted_domains' =>
array (
0 => '{{ xsce_hostname }}.{{ xsce_domain }}',
1 => "{{ xsce_hostname }}",
0 => '{{ iiab_hostname }}.{{ iiab_domain }}',
1 => "{{ iiab_hostname }}",
2 => 'localhost',
3 => 'internet-in-a-box.lan',
4 => 'internet-in-a-box',
@ -16,7 +16,7 @@ $AUTOCONFIG = array(
10 => 'box',
11 => '172.18.96.1',
),
'overwrite.cli.url' => 'http://{{ xsce_hostname }}.{{ xsce_domain }}/owncloud',
'overwrite.cli.url' => 'http://{{ iiab_hostname }}.{{ iiab_domain }}/owncloud',
'dbtype' => 'mysql',
'dbname' => '{{ owncloud_dbname }}',
'dbhost' => '{{ owncloud_dbhost }}',