1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/7-edu-apps/tasks/main.yml
A Holt 6ef437cc79 comments included..not quite there yet
3 problems:

1. include_role: does not permit tags, so presumably prevents more advanced use of "./runtags olpc" including roles across several of the 9 stages

2. I really want a "dynamic" approach like include_tasks: that spares us the madness of dozens of pages of "skipping, skipping, skipping" crap that should not be running anyway (avoiding the "static" behavior of the old "include:")

But unfortunately include_role: does not accept "static: no" (as currently works within "include: ... when:")

3. Any way to squeeze things onto 1 line in Ansible, so it's actually readable as https://github.com/iiab/iiab/blob/master/roles/7-edu-apps/meta/main.yml was?
2017-10-26 17:08:37 -04:00

41 lines
875 B
YAML

- name: BEGINNING Educational Apps and Content Installed
command: echo BEGINNING Educational Apps and Content Installed
- include_role:
name: moodle
# static: no
# tags: ['olpc','moodle','edu-apps']
when: moodle_install
- include_role:
name: osm
# tags: ['olpc','moodle','edu-apps']
when: osm_install
- include_role:
name: pathagar
# ['pathagar','edu-apps']
when: pathagar_install
- include_role:
name: rachel
# ['rachel','edu-apps']
when: rachel_install
- include_role:
name: kalite
# ['kalite','edu-apps']
when: kalite_install
- include_role:
name: kiwix
# ['kiwix','edu-apps']
when: kiwix_install
- include_role:
name: sugarizer
# ['sugarizer','edu-apps']
when: sugarizer_install
- name: COMPLETING Educational Apps and Content Installed
command: echo COMPLETING Educational Apps and Content Installed