main.yml 834 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
---
#
# edX Configuration
#
# github:     https://github.com/edx/configuration
# wiki:       https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license:    https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Tasks for role demo
#
# Overview:
#
#   Imports the demo course into studio
#   https://github.com/edx/edx-demo-course
#
#   Once imported this role will only re-import the course
#   if the edx-demo-course repo has been updated
#
# Dependencies:
#   - common
#   - edxapp
#
# Example play:
#
#   roles:
#     - common
#     - edxapp
#     - demo

- name: demo | create demo app and data dirs
  file: >
    path="{{ demo_app_dir }}" state=directory
    owner="{{ edxapp_user }}" group="{{ common_web_group }}"

- include: deploy.yml