绕过EC2安装edx分析

时间:2019-06-17 20:50:44

标签: amazon-ec2 openedx

安装过程要求使用ec2服务器,但我想在自己的虚拟ubuntu 16.04服务器上安装edx分析。我遵循这些说明https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/43385371/edX+Analytics+Installation

在这里安装过程要求ece(/aws/tasks/main.yml)

#
# Start dealing with Jumbo frames issue in mixed MTU deployements in AWS
#
- name: Gather ec2 facts for use in other roles
  action: ec2_metadata_facts
  no_log: False
  tags:
    - deploy

该过程失败,并出现以下错误。

TASK [aws : Gather ec2 facts for use in other roles] *******************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: '
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  Fi"/tmp/ansible_vSMq7O/ansible_module_ec2_metadata_facts.py\", line 541, in main\n    ec2_metadata_facts = Ec2n\n    data['ansible_ec2_placement_region'] = data['ansible_ec2_instance_identity_document_region']\nKeyErro}

0 个答案:

没有答案