1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #1239 from arky/TravisCI-test.yml-refactor

[TravisCI] Test all maintained roles. tests/test.yml refactor
This commit is contained in:
A Holt 2018-10-17 14:57:45 -04:00 committed by GitHub
commit bf00b9f497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 62 additions and 58 deletions

View file

@ -17,7 +17,7 @@ install:
- pip install ansible - pip install ansible
# Create ansible.cfg with correct roles_path and local_tmp # Create ansible.cfg with correct roles_path and local_tmp
- "{ echo '[defaults]'; echo 'roles_path = ../'; } >> ansible.cfg" - "{ echo '[defaults]'; echo 'roles_path = ./roles/'; } >> ansible.cfg"
script: script:
# Basic role syntax check # Basic role syntax check

View file

@ -1,61 +1,65 @@
--- ---
- hosts: localhost - hosts: localhost
remote_user: root remote_user: root
# TODO: Making a anisble-iiab roles for ansible-galaxy
# roles:
# - iiab
# For now hardcoding all the roles manually with ls -l roles/ | cut -d " " -f 10
roles: roles:
- ../roles/1-prep - { role: 0-init }
- ../roles/2-common - { role: 1-prep }
- ../roles/3-base-server - { role: 2-common }
- ../roles/4-server-options - { role: 3-base-server }
- ../roles/5-xo-services - { role: 4-server-options }
- ../roles/6-generic-apps - { role: 5-xo-services }
- ../roles/7-edu-apps - { role: 6-generic-apps }
- ../roles/8-mgmt-tools - { role: 7-edu-apps }
- ../roles/9-local-addons - { role: 8-mgmt-tools }
- ../roles/activity-server - { role: 9-local-addons }
- ../roles/ajenti #- { role: activity-server
- ../roles/authserver #- { role: ajenti }
- ../roles/awstats #- { role: authserver }
- ../roles/calibre - { role: awstats }
- ../roles/cups - { role: calibre }
- ../roles/debian_schooltool - { role: calibre-web }
- ../roles/docker - { role: cups }
- ../roles/dokuwiki #- { role: debian_schooltool }
- ../roles/ejabberd #- { role: docker }
- ../roles/ejabberd_xs - { role: dokuwiki }
- ../roles/elgg - { role: ejabberd }
# Disabling gateway doesn't contain any tasks? #- { role: ejabberd_xs }
#- ../roles/gateway - { role: elgg }
- ../roles/httpd - { role: homepage }
- ../roles/idmgr - { role: httpd }
- ../roles/iiab-admin #- { role: idmgr }
- ../roles/kalite - { role: iiab-admin }
- ../roles/kiwix - { role: kalite }
- ../roles/mongodb - { role: kiwix }
- ../roles/monit - { role: kolibri }
- ../roles/moodle - { role: mediawiki }
- ../roles/moodle-1.9 - { role: mongodb }
- ../roles/munin - { role: monit }
- ../roles/mysql - { role: moodle }
- ../roles/network #- { role: moodle-1.9 }
- ../roles/nextcloud - { role: munin }
- ../roles/openvpn - { role: mysql }
- ../roles/osm - { role: network }
- ../roles/owncloud - { role: nextcloud }
- ../roles/pathagar #- { role: nodogsplash }
- ../roles/phpmyadmin - { role: openvpn }
- ../roles/postgresql - { role: osm }
- ../roles/rachel #- { role: owncloud }
- ../roles/samba #- { role: pathagar }
- ../roles/schooltool - { role: phpmyadmin }
- ../roles/sshd - { role: postgresql }
- ../roles/sugarizer #- { role: rachel }
- ../roles/sugar-stats - { role: samba }
- ../roles/teamviewer #- { role: schooltool }
- ../roles/usb-lib - { role: sshd }
- ../roles/vnstat - { role: sugarizer }
- ../roles/wordpress #- { role: sugar-stats }
- ../roles/xovis - { role: teamviewer }
- { role: transmission }
- { role: usb-lib }
- { role: vnstat }
- { role: wordpress }
#- { roles: xovis }
# Let's try to keep the above list synchronized with:
# https://github.com/iiab/iiab/blob/master/unmaintained-roles.txt