Commit 7b2a9d3e by Kevin Falcone Committed by GitHub

Merge pull request #3722 from edx/jibsheet/configuration-model-play-updates

Improve docs and become www-data
parents 580036a7 ce57e3f3
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# code style: https://openedx.atlassian.net/wiki/display/OpenOPS/Ansible+Code+Conventions # code style: https://openedx.atlassian.net/wiki/display/OpenOPS/Ansible+Code+Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT # license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
# #
# Usage: ansible-playbook -i lms-host-1, -e "file=/path/to/json/file" -e "user=username" # Usage: ansible-playbook -i lms-host-1, ./populate_configuration_model.yml -e "file=/path/to/json/file" -e "user=username"
# #
# Overview: # Overview:
# This executes the "populate_model" management command to populate a ConfigurationModel with # This executes the "populate_model" management command to populate a ConfigurationModel with
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
vars: vars:
python_path: /edx/bin/python.edxapp python_path: /edx/bin/python.edxapp
manage_path: /edx/bin/manage.edxapp manage_path: /edx/bin/manage.edxapp
become_user: www-data
become: true
tasks: tasks:
- name: Create a temp directory - name: Create a temp directory
shell: mktemp -d /tmp/ansible_xblock_config.XXXXX shell: mktemp -d /tmp/ansible_xblock_config.XXXXX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment