2015-10-15 27 views
0

我試圖通過本教程https://github.com/edx/configuration/wiki/edX-Ubuntu-12.04-64-bit-Installation在ubuntu 12.04上安裝edx平臺。我不使用流浪,但在步驟[aws | update the ssh motd on Ubuntu]我有錯誤fatal: [localhost] => error while evaluating conditional: vagrant_home_dir.stat.exists == false。這很奇怪,因爲教程有助於安裝edx而無需流浪。爲什麼我會收到關於不存在流浪者的錯誤?我是否需要在Ubuntu 12.04上安裝edx平臺才能通過AWS步驟

這部分,我的意思是aws,追蹤certs。看看那裏https://github.com/edx/configuration/blob/master/playbooks/edx_sandbox.yml#L51。所以......我不確定這會安裝什麼,但它似乎與Amazon Web Services有關。在獲得關於AWS和edx的一些搜索信息之後,我已經知道,edx可以安裝在AWS上。但是我在我的VPS上安裝了edx,這讓我更加困惑。也許我不需要通過這一步。也許我還不明白。

對不起,如果我的英語不清楚。謝謝。

回答

0

的ansible任務,讓你的錯誤是update the ssh motd on Ubuntu 它位於configuration/playbooks/roles/aws/tasks/main.yml 這個任務是更新ubuntu上的SSH MODT,它消除了一些在Ubuntu默認MOTD顯示,添加需要自定義motd.This用於EC2實例。

- name: update the ssh motd on Ubuntu 
    file: > 
    mode=0644 
    path={{ item }} 
    when: vagrant_home_dir.stat.exists == false 
    with_items: 
    - "/etc/update-motd.d/10-help-text" 
    - "/usr/share/landscape/landscape-sysinfo.wrapper" 
    - "/etc/update-motd.d/51-cloudguest" 
    - "/etc/update-motd.d/91-release-upgrade" 

由於您未使用EC2實例,因此您可以通過註釋將其忽略。

+0

謝謝澄清! – ANtlord

相關問題