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

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?
This commit is contained in:
A Holt 2017-10-26 17:08:37 -04:00 committed by GitHub
parent 0e49901759
commit 6ef437cc79

View file

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