1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00
iiab/roles
Arky 16cf3fd136 IIAB Travis CI Testing Implementation #386
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
2017-10-10 13:12:34 +07:00
..
1-prep use iiab.env for first_run test 2017-10-02 12:59:37 -05:00
2-common Revert "try to create symbolic links at boot time" 2017-09-30 12:05:23 -07:00
3-base-server Merge pull request #277 from jvonau/myway 2017-09-25 08:39:02 -07:00
4-server-options run network playbook once during runansble 2017-09-19 19:26:40 -05:00
5-xo-services Keep old ejabberd (#125) 2017-07-17 12:20:08 -07:00
6-generic-apps Keep old ejabberd (#125) 2017-07-17 12:20:08 -07:00
7-edu-apps deprecate old/unused services (#183) 2017-08-31 13:20:02 -07:00
8-mgmt-tools deprecate old/unused services (#183) 2017-08-31 13:20:02 -07:00
9-local-addons test revert 2017-10-02 09:37:58 -07:00
activity-server Test (#20) 2017-06-09 16:25:56 -07:00
ajenti With no DL2 tag it makes no sense to cache pip packages for later use 2017-07-11 09:19:16 -07:00
authserver With no DL2 tag it makes no sense to cache pip packages for later use 2017-07-11 09:19:16 -07:00
awstats Notags (#73) 2017-06-29 10:48:41 -07:00
calibre fix Calibre spelling typos during Ansible runs 2017-09-14 19:27:48 -04:00
cups Notags (#73) 2017-06-29 10:48:41 -07:00
debian_schooltool Notags (#73) 2017-06-29 10:48:41 -07:00
docker initial checkin -- May 27, 2017 2017-05-27 11:09:50 -07:00
dokuwiki get name correct (#184) 2017-08-31 14:07:42 -07:00
ejabberd Keep old ejabberd (#125) 2017-07-17 12:20:08 -07:00
ejabberd_xs Keep old ejabberd (#125) 2017-07-17 12:20:08 -07:00
elgg add Jerry's fix for disabling on Redhat 2017-10-01 18:32:44 -04:00
gateway Iiab (#68) 2017-06-27 19:53:13 -07:00
httpd Fixing broken symlink 2017-10-02 11:09:15 +07:00
idmgr typo eth0 (#251) 2017-09-18 08:19:46 -07:00
iiab-admin fix whitespace on moved files 2017-09-19 14:51:17 -05:00
kalite Disable pip caching for ka_lite_static 2017-10-04 00:47:07 +07:00
kiwix update kiwix-tools_linux64 2017-09-27 to 2017-09-28 2017-09-28 22:51:55 -04:00
mongodb smallfiles=true added to mongod.conf 2017-09-21 13:02:43 -04:00
monit Debian9 (#91) 2017-07-04 13:27:44 -07:00
moodle IIAB Travis CI Testing Implementation #386 2017-10-10 13:12:34 +07:00
moodle-1.9/moodle Iiab (#68) 2017-06-27 19:53:13 -07:00
munin Test (#20) 2017-06-09 16:25:56 -07:00
mysql typo Provisioally -> Provisionally 2017-10-01 18:48:50 -04:00
network typo currupted -> corrupted 2017-10-01 21:43:25 -04:00
nextcloud Elgg upgrade 1.12.16 LTS to 2.3.3; Nextcloud - add php's zip mbstring (#202) 2017-09-04 09:23:54 -07:00
openvpn pi zero is different ansible_machine (#144) 2017-08-31 10:09:03 -07:00
osm osm paths 2017-09-18 13:38:53 -07:00
owncloud Notags (#73) 2017-06-29 10:48:41 -07:00
pathagar Update main.yml 2017-07-11 09:19:16 -07:00
phpmyadmin Notags (#73) 2017-06-29 10:48:41 -07:00
postgresql Debian9 (#91) 2017-07-04 13:27:44 -07:00
rachel patch 0002 2017-05-27 16:10:45 -07:00
samba Test (#20) 2017-06-09 16:25:56 -07:00
schooltool Notags (#73) 2017-06-29 10:48:41 -07:00
sshd/tasks initial checkin -- May 27, 2017 2017-05-27 11:09:50 -07:00
sugar-stats With no DL2 tag it makes no sense to cache pip packages for later use 2017-07-11 09:19:16 -07:00
sugarizer disable systemd sugarizer.service2 2017-10-02 11:34:48 -05:00
teamviewer teamviewer is non-arm and CentOS only (#173) 2017-08-31 10:29:25 -07:00
usb-lib Test (#20) 2017-06-09 16:25:56 -07:00
vnstat Test (#20) 2017-06-09 16:25:56 -07:00
wordpress workaround so WordPress playbook works offline 2017-09-25 20:15:02 -04:00
xovis With no DL2 tag it makes no sense to cache pip packages for later use 2017-07-11 09:19:16 -07:00