This pull request is complete implementation of IIAB Travis CI Testing for synatx errors, code linting and code review.
Adds: Top level .travis.yml file. Add 'tests' directory with a 'inventory' and 'tests.yml' files.
Modifies: roles/moodle/tasks/main.yml to fix ansible-lint parsing problem.
Modifies: README.md to add Build status button
This is Git squash of many commits. Please look at individual commit message for the content changes.
Creating an initial travis testing based on Jeff geerlings testing ansible methodology
https://www.jeffgeerling.com/blog/testing-ansible-roles-travis-ci-github
Adding Ansible-lint, Ansible-review tests to travis
Aded ansible-review for full repo and diff master
Removing ansible-lint install step, it automatically installed by ansible-review
Ansible-review only .yml files in root and roles, vars, tests folders
Updated comments
Corrected ansible-lint parameters
Removed extranous tab that breaks ansible-lint
Removed a tab character that causes problems with ansible-lint
See https://github.com/willthames/ansible-lint/issues/166
Fixing Travis Ansible Syntax tests roles path
The ansible roles path had problems due:
1. Absense of top level global role 'iiab'
2. Hardcoded paths '/etc/iiab' in ansible.cfg
Fixing them in a hacky way. :(
Adding Travis Build status to Readme file
* xs- goes to iiab-
* more xs->iiab
* sysconfig was forgotten
* hyphen vs underscore i roles network templates
* bulk sed on pgsql-xs
* create links for old script names
* missed named-xs -> named-iiab
* squid-xs ->squid-iiab
* misspelled squid-iiab.conf.j2
* 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