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

@ -1,5 +1,5 @@
- name: Get the WordPress software
get_url: url="{{ xsce_download_url }}/{{ wordpress_src }}" dest={{ downloads_dir}}/
get_url: url="{{ iiab_download_url }}/{{ wordpress_src }}" dest={{ downloads_dir}}/
when: not {{ use_cache }} and not {{ no_network }}
tags:
- download2
@ -15,7 +15,7 @@
file: path={{ wp_abs_path }}
recurse=yes
owner=root
group={{ apache_data }}
group={{ apache_user }}
mode=0664
state=directory
@ -26,23 +26,23 @@
copy: src=wp-keys.php.BAK
dest={{ wp_abs_path }}/wp-keys.php.BAK
owner=root
group={{ apache_data }}
group={{ apache_user }}
mode=0640
# Fetch random salts for WordPress config into wp-keys.php file by generating script and running
- name: Create wp salt script
template: src=get-xsce-wp-salts.j2
dest=/tmp/get-xsce-wp-salts
template: src=get-iiab-wp-salts.j2
dest=/tmp/get-iiab-wp-salts
owner=root
group=root
mode=0700
- name: Run wp salt script to create /library/wordpress/wp-keys.php
command: /tmp/get-xsce-wp-salts
command: /tmp/get-iiab-wp-salts
- name: Cleanup - remove wp salt script
file: path=/tmp/get-xsce-wp-salts
file: path=/tmp/get-iiab-wp-salts
state=absent
- name: mysql database needs to be running if we are trying to create a new db
@ -63,7 +63,7 @@
template: src=wp-config.php.j2
dest={{ wp_abs_path }}/wp-config.php
owner=root
group={{ apache_data }}
group={{ apache_user }}
mode=0660
- name: Copy WordPress httpd conf file