Advertisement
ragutierrez

cordigera.prendho.com error1

May 30th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 127.05 KB | None | 0 0
  1. PLAY [Configure instance(s)] **************************************************
  2.  
  3. GATHERING FACTS ***************************************************************
  4. ok: [localhost]
  5.  
  6. TASK: [swapfile | Write swapfile] *********************************************
  7. ok: [localhost]
  8.  
  9. TASK: [swapfile | Set swapfile permissions] ***********************************
  10. ok: [localhost]
  11.  
  12. TASK: [swapfile | Create swapfile] ********************************************
  13. skipping: [localhost]
  14.  
  15. TASK: [swapfile | Enable swapfile] ********************************************
  16. skipping: [localhost]
  17.  
  18. TASK: [swapfile | Add swapfile to /etc/fstab] *********************************
  19. ok: [localhost]
  20.  
  21. TASK: [swapfile | Configure vm.swappiness] ************************************
  22. skipping: [localhost]
  23.  
  24. TASK: [swapfile | Configure vm.vfs_cache_pressure] ****************************
  25. skipping: [localhost]
  26.  
  27. TASK: [server_utils | Install ubuntu system packages] *************************
  28. ok: [localhost] => (item=ack-grep,mosh,curl,tree,screen,tmux,curl,vim-tiny,dnsutils,inetutils-telnet,netcat)
  29.  
  30. TASK: [user | debug ] *********************************************************
  31. ok: [localhost] => {
  32. "var": {
  33. "user_info": []
  34. }
  35. }
  36.  
  37. TASK: [user | create the edxadmin group] **************************************
  38. ok: [localhost]
  39.  
  40. TASK: [user | ensure sudoers.d is read] ***************************************
  41. ok: [localhost]
  42.  
  43. TASK: [user | grant full sudo access to the edxadmin group] *******************
  44. ok: [localhost]
  45.  
  46. TASK: [user | create the users] ***********************************************
  47. skipping: [localhost]
  48.  
  49. TASK: [user | assign admin role to admin users] *******************************
  50. skipping: [localhost]
  51.  
  52. TASK: [user | get github key(s) and update the authorized_keys file] **********
  53. skipping: [localhost]
  54.  
  55. TASK: [user | create bashrc file for normal users] ****************************
  56. skipping: [localhost]
  57.  
  58. TASK: [user | create .profile for all users] **********************************
  59. skipping: [localhost]
  60.  
  61. TASK: [user | modify shell for restricted users] ******************************
  62. skipping: [localhost]
  63.  
  64. TASK: [user | create bashrc file for restricted users] ************************
  65. skipping: [localhost]
  66.  
  67. TASK: [user | create sudoers file from template] ******************************
  68. ok: [localhost]
  69.  
  70. TASK: [user | change home directory ownership to root for restricted users] ***
  71. skipping: [localhost]
  72.  
  73. TASK: [user | create ~/bin directory] *****************************************
  74. skipping: [localhost]
  75.  
  76. TASK: [user | create allowed command links] ***********************************
  77. skipping: [localhost]
  78.  
  79. TASK: [security | install security packages] **********************************
  80. skipping: [localhost]
  81.  
  82. TASK: [security | update all system packages] *********************************
  83. skipping: [localhost]
  84.  
  85. TASK: [security | configure periodic unattended-upgrades] *********************
  86. skipping: [localhost]
  87.  
  88. TASK: [security | disable unattended-upgrades] ********************************
  89. skipping: [localhost]
  90.  
  91. TASK: [security | only unattended-upgrade from security repo] *****************
  92. skipping: [localhost]
  93.  
  94. TASK: [security | disable security only updates on unattended-upgrades] *******
  95. skipping: [localhost]
  96.  
  97. TASK: [security | Check if we are vulnerable] *********************************
  98. skipping: [localhost]
  99.  
  100. TASK: [security | Apply bash security update if we are vulnerable] ************
  101. skipping: [localhost]
  102.  
  103. TASK: [security | Check again and fail if we are still vulnerable] ************
  104. skipping: [localhost]
  105.  
  106. TASK: [security | GHOST.c] ****************************************************
  107. skipping: [localhost]
  108.  
  109. TASK: [security | compile GHOST] **********************************************
  110. skipping: [localhost]
  111.  
  112. TASK: [security | Check if we are vulnerable] *********************************
  113. skipping: [localhost]
  114.  
  115. TASK: [security | Apply glibc security update if we are vulnerable] ***********
  116. skipping: [localhost]
  117.  
  118. TASK: [common | stat ] ********************************************************
  119. ok: [localhost]
  120.  
  121. TASK: [common | Update CA Certificates] ***************************************
  122. changed: [localhost]
  123.  
  124. TASK: [common | stat path=/usr/bin/update-ca-trust] ***************************
  125. ok: [localhost]
  126.  
  127. TASK: [common | Update CA Trust] **********************************************
  128. skipping: [localhost]
  129.  
  130. TASK: [common | Add common_users] *********************************************
  131. ok: [localhost] => (item=www-data)
  132. ok: [localhost] => (item=syslog)
  133.  
  134. TASK: [common | check if instance is vagrant] *********************************
  135. ok: [localhost]
  136.  
  137. TASK: [common | add edx ppa apt key] ******************************************
  138. ok: [localhost]
  139.  
  140. TASK: [common | Add git apt repository] ***************************************
  141. ok: [localhost] => (item=ppa:git-core/ppa)
  142. ok: [localhost] => (item=deb http://ppa.edx.org trusty main)
  143.  
  144. TASK: [common | Install role-independent useful system packages] **************
  145. ok: [localhost] => (item=ntp,lynx-cur,logrotate,rsyslog,git,unzip,python2.7=2.7.10-0+trusty1,python-pip,python2.7-dev)
  146.  
  147. TASK: [common | Install role-independent useful system packages] **************
  148. skipping: [localhost]
  149.  
  150. TASK: [common | Create common directories] ************************************
  151. ok: [localhost] => (item={'path': u'/edx/var'})
  152. ok: [localhost] => (item={'path': u'/edx/app'})
  153. ok: [localhost] => (item={'path': u'/edx/bin'})
  154. ok: [localhost] => (item={'path': u'/edx/etc'})
  155. ok: [localhost] => (item={'owner': u'syslog', 'path': u'/edx/var/log', 'group': u'syslog'})
  156. ok: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
  157. ok: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': 'absent'})
  158.  
  159. TASK: [common | upload sudo config for key forwarding as root] ****************
  160. ok: [localhost]
  161.  
  162. TASK: [common | pip install virtualenv] ***************************************
  163. ok: [localhost] => (item=pip==7.1.2)
  164. ok: [localhost] => (item=setuptools==18.3.2)
  165. ok: [localhost] => (item=virtualenv==13.1.2)
  166. ok: [localhost] => (item=virtualenvwrapper==4.7.1)
  167.  
  168. TASK: [common | update /etc/hosts] ********************************************
  169. skipping: [localhost]
  170.  
  171. TASK: [common | update /etc/hostname] *****************************************
  172. skipping: [localhost]
  173.  
  174. TASK: [common | run hostname] *************************************************
  175. skipping: [localhost]
  176.  
  177. TASK: [common | Copy the templates to their respestive destination] ***********
  178. ok: [localhost] => (item={'dest': '/etc/rsyslog.d/99-edx.conf', 'src': 'edx_rsyslog.j2'})
  179. ok: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/edx-services', 'src': 'etc/logrotate.d/hourly/edx_logrotate.j2'})
  180. ok: [localhost] => (item={'dest': '/etc/cron.hourly/logrotate', 'src': 'etc/cron.hourly/logrotate.j2', 'mode': '555'})
  181. ok: [localhost] => (item={'dest': '/etc/logrotate.d/hourly/tracking.log', 'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
  182.  
  183. TASK: [common | restart rsyslogd] *********************************************
  184. skipping: [localhost]
  185.  
  186. TASK: [nginx | create nginx app dirs] *****************************************
  187. ok: [localhost] => (item=/edx/app/nginx)
  188. ok: [localhost] => (item=/edx/app/nginx/sites-available)
  189. ok: [localhost] => (item=/etc/nginx/sites-enabled)
  190. ok: [localhost] => (item=/edx/app/nginx/conf.d)
  191.  
  192. TASK: [nginx | create nginx data dirs] ****************************************
  193. ok: [localhost] => (item=/edx/var/nginx)
  194. changed: [localhost] => (item=/edx/var/log/nginx)
  195. ok: [localhost] => (item=/edx/var/nginx/server-static)
  196.  
  197. TASK: [nginx | Install needed packages] ***************************************
  198. ok: [localhost] => (item=python-passlib)
  199.  
  200. TASK: [nginx | Add apt key] ***************************************************
  201. ok: [localhost]
  202.  
  203. TASK: [nginx | Add nginx repository] ******************************************
  204. ok: [localhost]
  205.  
  206. TASK: [nginx | Remove old nginx packages] *************************************
  207. ok: [localhost]
  208.  
  209. TASK: [nginx | Install the nginx package] *************************************
  210. ok: [localhost]
  211.  
  212. TASK: [nginx | Remove the default site] ***************************************
  213. ok: [localhost]
  214.  
  215. TASK: [nginx | Server configuration file] *************************************
  216. ok: [localhost]
  217.  
  218. TASK: [nginx | Creating common nginx configuration] ***************************
  219. ok: [localhost]
  220.  
  221. TASK: [nginx | Create robot rules] ********************************************
  222. skipping: [localhost]
  223.  
  224. TASK: [nginx | Creating link for common nginx configuration] ******************
  225. ok: [localhost]
  226.  
  227. TASK: [nginx | Copying nginx configs for ['certs', 'cms', 'lms', 'forum', 'xqueue']] ***
  228. ok: [localhost] => (item=certs)
  229. ok: [localhost] => (item=cms)
  230. ok: [localhost] => (item=lms)
  231. ok: [localhost] => (item=forum)
  232. ok: [localhost] => (item=xqueue)
  233.  
  234. TASK: [nginx | Creating nginx config links for ['certs', 'cms', 'lms', 'forum', 'xqueue']] ***
  235. ok: [localhost] => (item=certs)
  236. ok: [localhost] => (item=cms)
  237. ok: [localhost] => (item=lms)
  238. ok: [localhost] => (item=forum)
  239. ok: [localhost] => (item=xqueue)
  240.  
  241. TASK: [nginx | Copying nginx extra configs] ***********************************
  242. skipping: [localhost]
  243.  
  244. TASK: [nginx | Creating links for nginx extra configs] ************************
  245. skipping: [localhost]
  246.  
  247. TASK: [nginx | Copying custom nginx config] ***********************************
  248. skipping: [localhost]
  249.  
  250. TASK: [nginx | Copying nginx redirect configs for {{ nginx_redirects }}] ******
  251. skipping: [localhost]
  252.  
  253. TASK: [nginx | Creating nginx redirect links for {{ nginx_redirects }}] *******
  254. skipping: [localhost]
  255.  
  256. TASK: [nginx | Create NGINX server templates] *********************************
  257. ok: [localhost] => (item={'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'heading': 'Uh oh, we are having some server issues..', 'file': 'rate-limit.html', 'title': 'Rate limit exceeded'})
  258. ok: [localhost] => (item={'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'heading': 'Uh oh, we are having some server issues..', 'file': 'server-error.html', 'title': 'Server error'})
  259.  
  260. TASK: [nginx | Write out htpasswd file] ***************************************
  261. skipping: [localhost] => (item={'state': 'present', 'password': u'edx', 'name': u'edx'})
  262.  
  263. TASK: [nginx | Create nginx log file location (just in case)] *****************
  264. changed: [localhost]
  265.  
  266. TASK: [nginx | stat] **********************************************************
  267. ok: [localhost -> 127.0.0.1]
  268.  
  269. TASK: [nginx | stat] **********************************************************
  270. ok: [localhost -> 127.0.0.1]
  271.  
  272. TASK: [nginx | copy ssl cert] *************************************************
  273. skipping: [localhost]
  274.  
  275. TASK: [nginx | copy ssl key] **************************************************
  276. skipping: [localhost]
  277.  
  278. TASK: [nginx | Removing default nginx config and restart (enabled)] ***********
  279. ok: [localhost]
  280.  
  281. TASK: [nginx | Set up nginx access log rotation] ******************************
  282. ok: [localhost]
  283.  
  284. TASK: [nginx | Set up nginx access log rotation] ******************************
  285. ok: [localhost]
  286.  
  287. NOTIFIED: [nginx | restart nginx] *********************************************
  288. changed: [localhost]
  289.  
  290. TASK: [nginx | make sure nginx has started] ***********************************
  291. ok: [localhost]
  292.  
  293. TASK: [nginx | create nginx app dirs] *****************************************
  294. skipping: [localhost] => (item=/edx/app/nginx)
  295. skipping: [localhost] => (item=/edx/app/nginx/sites-available)
  296. skipping: [localhost] => (item=/etc/nginx/sites-enabled)
  297. skipping: [localhost] => (item=/edx/app/nginx/conf.d)
  298.  
  299. TASK: [nginx | create nginx data dirs] ****************************************
  300. skipping: [localhost] => (item=/edx/var/nginx)
  301. skipping: [localhost] => (item=/edx/var/log/nginx)
  302. skipping: [localhost] => (item=/edx/var/nginx/server-static)
  303.  
  304. TASK: [nginx | Install needed packages] ***************************************
  305. skipping: [localhost]
  306.  
  307. TASK: [nginx | Add apt key] ***************************************************
  308. skipping: [localhost]
  309.  
  310. TASK: [nginx | Add nginx repository] ******************************************
  311. skipping: [localhost]
  312.  
  313. TASK: [nginx | Remove old nginx packages] *************************************
  314. skipping: [localhost]
  315.  
  316. TASK: [nginx | Install the nginx package] *************************************
  317. skipping: [localhost]
  318.  
  319. TASK: [nginx | Remove the default site] ***************************************
  320. skipping: [localhost]
  321.  
  322. TASK: [nginx | Server configuration file] *************************************
  323. skipping: [localhost]
  324.  
  325. TASK: [nginx | Creating common nginx configuration] ***************************
  326. skipping: [localhost]
  327.  
  328. TASK: [nginx | Create robot rules] ********************************************
  329. skipping: [localhost]
  330.  
  331. TASK: [nginx | Creating link for common nginx configuration] ******************
  332. skipping: [localhost]
  333.  
  334. TASK: [nginx | Copying nginx configs for ['ecommerce']] ***********************
  335. skipping: [localhost] => (item=ecommerce)
  336.  
  337. TASK: [nginx | Creating nginx config links for ['ecommerce']] *****************
  338. skipping: [localhost] => (item=ecommerce)
  339.  
  340. TASK: [nginx | Copying nginx extra configs] ***********************************
  341. skipping: [localhost]
  342.  
  343. TASK: [nginx | Creating links for nginx extra configs] ************************
  344. skipping: [localhost]
  345.  
  346. TASK: [nginx | Copying custom nginx config] ***********************************
  347. skipping: [localhost]
  348.  
  349. TASK: [nginx | Copying nginx redirect configs for {{ nginx_redirects }}] ******
  350. skipping: [localhost]
  351.  
  352. TASK: [nginx | Creating nginx redirect links for {{ nginx_redirects }}] *******
  353. skipping: [localhost]
  354.  
  355. TASK: [nginx | Create NGINX server templates] *********************************
  356. skipping: [localhost] => (item={'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'heading': 'Uh oh, we are having some server issues..', 'file': 'rate-limit.html', 'title': 'Rate limit exceeded'})
  357. skipping: [localhost] => (item={'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', 'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'heading': 'Uh oh, we are having some server issues..', 'file': 'server-error.html', 'title': 'Server error'})
  358.  
  359. TASK: [nginx | Write out htpasswd file] ***************************************
  360. skipping: [localhost] => (item={'state': 'present', 'password': u'edx', 'name': u'edx'})
  361.  
  362. TASK: [nginx | Create nginx log file location (just in case)] *****************
  363. skipping: [localhost]
  364.  
  365. TASK: [nginx | stat] **********************************************************
  366. skipping: [localhost]
  367.  
  368. TASK: [nginx | stat] **********************************************************
  369. skipping: [localhost]
  370.  
  371. TASK: [nginx | copy ssl cert] *************************************************
  372. skipping: [localhost]
  373.  
  374. TASK: [nginx | copy ssl key] **************************************************
  375. skipping: [localhost]
  376.  
  377. TASK: [nginx | Removing default nginx config and restart (enabled)] ***********
  378. skipping: [localhost]
  379.  
  380. TASK: [nginx | Set up nginx access log rotation] ******************************
  381. skipping: [localhost]
  382.  
  383. TASK: [nginx | Set up nginx access log rotation] ******************************
  384. skipping: [localhost]
  385.  
  386. TASK: [nginx | make sure nginx has started] ***********************************
  387. skipping: [localhost]
  388.  
  389. TASK: [mysql | Look for mysql 5.6] ********************************************
  390. failed: [localhost] => {"changed": false, "cmd": "dpkg -s mysql-server", "delta": "0:00:00.042128", "end": "2016-05-30 16:37:24.036142", "rc": 1, "start": "2016-05-30 16:37:23.994014", "stdout_lines": [], "warnings": []}
  391. stderr: dpkg-query: package 'mysql-server' is not installed and no information is available
  392. Use dpkg --info (= dpkg-deb --info) to examine archive files,
  393. and dpkg --contents (= dpkg-deb --contents) to list their contents.
  394. ...ignoring
  395.  
  396. TASK: [mysql | Important message] *********************************************
  397. skipping: [localhost]
  398.  
  399. TASK: [mysql | pause ] ********************************************************
  400. skipping: [localhost]
  401.  
  402. TASK: [mysql | Stop mysql service] ********************************************
  403. skipping: [localhost]
  404.  
  405. TASK: [mysql | Remove experimental apt repository] ****************************
  406. skipping: [localhost]
  407.  
  408. TASK: [mysql | Remove experimental version of mysql] **************************
  409. skipping: [localhost]
  410.  
  411. TASK: [mysql | Add MySQL community apt key] ***********************************
  412. ok: [localhost]
  413.  
  414. TASK: [mysql | Install MySQL community apt repositories] **********************
  415. ok: [localhost]
  416.  
  417. TASK: [mysql | Install mysql-5.6 and dependencies] ****************************
  418. ok: [localhost] => (item=mysql-server-5.6,python-mysqldb)
  419.  
  420. TASK: [mysql | Start mysql] ***************************************************
  421. ok: [localhost]
  422.  
  423. TASK: [mysql | Ensure Anonymous user(s) does not exist] ***********************
  424. ok: [localhost] => (item=localhost)
  425. ok: [localhost] => (item=cordigera)
  426.  
  427. TASK: [edxlocal | install packages needed for single server] ******************
  428. ok: [localhost] => (item=postfix,libjpeg-dev)
  429.  
  430. TASK: [edxlocal | create databases] *******************************************
  431. ok: [localhost] => (item=ecommerce)
  432. ok: [localhost] => (item=dashboard)
  433. skipping: [localhost]
  434. ok: [localhost] => (item=xqueue)
  435. ok: [localhost] => (item=edxapp)
  436. ok: [localhost] => (item=edxapp_csmh)
  437. ok: [localhost] => (item=edx_notes_api)
  438. skipping: [localhost]
  439. ok: [localhost] => (item=analytics-api)
  440. ok: [localhost] => (item=reports)
  441. skipping: [localhost]
  442. skipping: [localhost]
  443.  
  444. TASK: [edxlocal | create database users] **************************************
  445. ok: [localhost] => (item={'db': u'ecommerce', 'user': u'ecomm001', 'pass': u'password'})
  446. ok: [localhost] => (item={'db': u'dashboard', 'user': u'rosencrantz', 'pass': u'secret'})
  447. skipping: [localhost] => (item={'db': u'', 'user': u'', 'pass': u''})
  448. ok: [localhost] => (item={'db': u'xqueue', 'user': u'xqueue001', 'pass': u'password'})
  449. ok: [localhost] => (item={'db': u'edxapp', 'user': u'edxapp001', 'pass': u'password'})
  450. ok: [localhost] => (item={'db': u'edxapp_csmh', 'user': u'edxapp001', 'pass': u'password'})
  451. skipping: [localhost] => (item={'db': u'', 'user': u'{# PROGRAMS_DATABASES.default.USER | default(None) #}', 'pass': u'{# PROGRAMS_DATABASES.default.PASSWORD | default(None) #}'})
  452. skipping: [localhost] => (item={'db': u'', 'user': u'{# ANALYTICS_PIPELINE_OUTPUT_DATABASE.username #}', 'pass': u'{# ANALYTICS_PIPELINE_OUTPUT_DATABASE.password #}'})
  453. skipping: [localhost] => (item={'db': u'', 'user': u'{# HIVE_METASTORE_DATABASE.user | default(None) #}', 'pass': u'{# HIVE_METASTORE_DATABASE.password | default(None) #}'})
  454. skipping: [localhost] => (item={'db': u'', 'user': u'', 'pass': u''})
  455. skipping: [localhost] => (item={'db': u'', 'user': u'', 'pass': u''})
  456.  
  457. TASK: [edxlocal | setup the migration db user] ********************************
  458. ok: [localhost] => (item=ecommerce)
  459. ok: [localhost] => (item=dashboard)
  460. skipping: [localhost]
  461. ok: [localhost] => (item=xqueue)
  462. ok: [localhost] => (item=edxapp)
  463. ok: [localhost] => (item=edxapp_csmh)
  464. ok: [localhost] => (item=edx_notes_api)
  465. skipping: [localhost]
  466. ok: [localhost] => (item=analytics-api)
  467. ok: [localhost] => (item=reports)
  468. skipping: [localhost]
  469. skipping: [localhost]
  470.  
  471. TASK: [edxlocal | create api user for the analytics api] **********************
  472. ok: [localhost]
  473.  
  474. TASK: [edxlocal | create read-only reports user for the analytics-api] ********
  475. ok: [localhost]
  476.  
  477. TASK: [edxlocal | create a database for the hive metastore] *******************
  478. skipping: [localhost]
  479.  
  480. TASK: [edxlocal | setup the edx-notes-api db user] ****************************
  481. ok: [localhost]
  482.  
  483. TASK: [edxlocal | setup the read-only db user] ********************************
  484. ok: [localhost]
  485.  
  486. TASK: [edxlocal | setup the admin db user] ************************************
  487. ok: [localhost]
  488.  
  489. TASK: [edxlocal | install memcached] ******************************************
  490. ok: [localhost]
  491.  
  492. TASK: [mongo | check to see that MongoDB 2.4 is not installed] ****************
  493. ok: [localhost]
  494.  
  495. TASK: [mongo | verify 2.4 not installed] **************************************
  496. skipping: [localhost]
  497.  
  498. TASK: [mongo | remove mongo 2.4 if present] ***********************************
  499. skipping: [localhost]
  500.  
  501. TASK: [mongo | install python pymongo for mongo_user ansible module] **********
  502. ok: [localhost]
  503.  
  504. TASK: [mongo | add the mongodb signing key] ***********************************
  505. ok: [localhost]
  506.  
  507. TASK: [mongo | add the mongodb repo to the sources list] **********************
  508. ok: [localhost]
  509.  
  510. TASK: [mongo | install mongo server and recommends] ***************************
  511. ok: [localhost]
  512.  
  513. TASK: [mongo | create mongo dirs] *********************************************
  514. ok: [localhost] => (item=/edx/var/mongo)
  515. ok: [localhost] => (item=/edx/var/mongo/mongodb)
  516. ok: [localhost] => (item=/edx/var/log/mongo)
  517. ok: [localhost] => (item=/edx/var/mongo/mongodb/journal)
  518.  
  519. TASK: [mongo | stop mongod service] *******************************************
  520. changed: [localhost]
  521.  
  522. TASK: [mongo | move mongodb to {{ mongo_data_dir }}] **************************
  523. ok: [localhost]
  524.  
  525. TASK: [mongo | copy mongodb key file] *****************************************
  526. skipping: [localhost]
  527.  
  528. TASK: [mongo | copy configuration template] ***********************************
  529. ok: [localhost]
  530.  
  531. TASK: [mongo | start mongo service] *******************************************
  532. changed: [localhost]
  533.  
  534. TASK: [mongo | wait for mongo server to start] ********************************
  535. ok: [localhost]
  536.  
  537. TASK: [mongo | drop super user script] ****************************************
  538. changed: [localhost]
  539.  
  540. TASK: [mongo | create super user with js] *************************************
  541. changed: [localhost]
  542.  
  543. TASK: [mongo | delete super user script] **************************************
  544. changed: [localhost]
  545.  
  546. TASK: [mongo | Create the file to initialize the mongod replica set] **********
  547. skipping: [localhost]
  548.  
  549. TASK: [mongo | Initialize the replication set] ********************************
  550. skipping: [localhost]
  551.  
  552. TASK: [mongo | create a mongodb user] *****************************************
  553. ok: [localhost] => (item={'password': 'password', 'user': 'cs_comments_service', 'roles': 'readWrite', 'database': 'cs_comments_service'})
  554. ok: [localhost] => (item={'password': 'password', 'user': 'edxapp', 'roles': 'readWrite', 'database': 'edxapp'})
  555.  
  556. TASK: [mongo | create a mongodb user] *****************************************
  557. skipping: [localhost] => (item={'password': 'password', 'user': 'cs_comments_service', 'roles': 'readWrite', 'database': 'cs_comments_service'})
  558. skipping: [localhost] => (item={'password': 'password', 'user': 'edxapp', 'roles': 'readWrite', 'database': 'edxapp'})
  559.  
  560. TASK: [mongo | install s3cmd] *************************************************
  561. skipping: [localhost]
  562.  
  563. TASK: [mongo | configure s3cmd] ***********************************************
  564. skipping: [localhost]
  565.  
  566. TASK: [mongo | install backup-mongo-to-s3 script] *****************************
  567. skipping: [localhost]
  568.  
  569. TASK: [mongo | schedule backup-mongo-to-3s crontab] ***************************
  570. skipping: [localhost]
  571.  
  572. TASK: [rabbitmq | install python-software-properties if debian] ***************
  573. ok: [localhost]
  574.  
  575. TASK: [rabbitmq | fetch the rabbitmq server deb] ******************************
  576. ok: [localhost]
  577.  
  578. TASK: [rabbitmq | check if rabbit is installed] *******************************
  579. changed: [localhost]
  580.  
  581. TASK: [rabbitmq | install rabbit package using gdebi] *************************
  582. skipping: [localhost]
  583.  
  584. TASK: [rabbitmq | stop rabbit cluster] ****************************************
  585. changed: [localhost]
  586.  
  587. TASK: [rabbitmq | send sigterm to any running rabbitmq processes] *************
  588. changed: [localhost]
  589.  
  590. TASK: [rabbitmq | create rabbitmq edx directories] ****************************
  591. ok: [localhost] => (item=/edx/app/rabbitmq)
  592. ok: [localhost] => (item=/edx/var/log/rabbitmq)
  593.  
  594. TASK: [rabbitmq | add queue monitoring script] ********************************
  595. ok: [localhost]
  596.  
  597. TASK: [rabbitmq | set up a cron job to run the script] ************************
  598. ok: [localhost]
  599.  
  600. TASK: [rabbitmq | create cookie directory] ************************************
  601. ok: [localhost]
  602.  
  603. TASK: [rabbitmq | add rabbitmq erlang cookie] *********************************
  604. ok: [localhost]
  605.  
  606. TASK: [rabbitmq | create rabbitmq config directory] ***************************
  607. ok: [localhost]
  608.  
  609. TASK: [rabbitmq | add rabbitmq environment configuration] *********************
  610. ok: [localhost]
  611.  
  612. TASK: [rabbitmq | add rabbitmq cluster configuration] *************************
  613. ok: [localhost]
  614.  
  615. TASK: [rabbitmq | install plugins] ********************************************
  616. ok: [localhost]
  617.  
  618. TASK: [rabbitmq | remove mnesia configuration] ********************************
  619. skipping: [localhost]
  620.  
  621. TASK: [rabbitmq | start rabbit nodes] *****************************************
  622. changed: [localhost]
  623.  
  624. TASK: [rabbitmq | wait for rabbit to start] ***********************************
  625. ok: [localhost]
  626.  
  627. TASK: [rabbitmq | remove guest user] ******************************************
  628. ok: [localhost]
  629.  
  630. TASK: [rabbitmq | add vhosts] *************************************************
  631. ok: [localhost] => (item=/)
  632.  
  633. TASK: [rabbitmq | add admin users] ********************************************
  634. ok: [localhost] => (item=[{'password': 'the example admin password', 'name': 'admin'}, '/'])
  635. ok: [localhost] => (item=[{'password': 'edx', 'name': 'edx'}, '/'])
  636. ok: [localhost] => (item=[{'password': 'celery', 'name': 'celery'}, '/'])
  637.  
  638. TASK: [rabbitmq | make queues mirrored] ***************************************
  639. skipping: [localhost] => (item=/)
  640.  
  641. TASK: [rabbitmq | install admin tools] ****************************************
  642. ok: [localhost]
  643.  
  644. TASK: [rabbitmq | ensure rabbitmqadmin attributes] ****************************
  645. ok: [localhost]
  646.  
  647. TASK: [supervisor | create application user] **********************************
  648. ok: [localhost]
  649.  
  650. TASK: [supervisor | create supervisor service user] ***************************
  651. ok: [localhost]
  652.  
  653. TASK: [supervisor | create supervisor directories] ****************************
  654. ok: [localhost] => (item=/edx/app/supervisor)
  655. ok: [localhost] => (item=/edx/app/supervisor/venvs/supervisor)
  656.  
  657. TASK: [supervisor | create service user accessible dirs] **********************
  658. ok: [localhost] => (item=/edx/app/supervisor/conf.d)
  659. ok: [localhost] => (item=/edx/app/supervisor/conf.available.d)
  660.  
  661. TASK: [supervisor | create supervisor directories] ****************************
  662. ok: [localhost] => (item=/edx/var/supervisor)
  663. ok: [localhost] => (item=/edx/var/log/supervisor)
  664.  
  665. TASK: [supervisor | install supervisor in its venv] ***************************
  666. ok: [localhost]
  667.  
  668. TASK: [supervisor | install supervisor in its venv] ***************************
  669. ok: [localhost] => (item=boto=="2.34.0")
  670. ok: [localhost] => (item=python-simple-hipchat)
  671.  
  672. TASK: [supervisor | create supervisor upstart job] ****************************
  673. ok: [localhost]
  674.  
  675. TASK: [supervisor | create pre_supervisor upstart job] ************************
  676. skipping: [localhost]
  677.  
  678. TASK: [supervisor | write the pre_suprevisor python script] *******************
  679. skipping: [localhost]
  680.  
  681. TASK: [supervisor | create supervisor master config] **************************
  682. ok: [localhost]
  683.  
  684. TASK: [supervisor | create a symlink for supervisortctl] **********************
  685. changed: [localhost]
  686.  
  687. TASK: [supervisor | create a symlink for supervisor cfg] **********************
  688. ok: [localhost] => (item=/edx/app/supervisor/supervisord.conf)
  689. ok: [localhost] => (item=/edx/app/supervisor/conf.d)
  690.  
  691. TASK: [supervisor | create helper script for running supervisor] **************
  692. changed: [localhost]
  693.  
  694. TASK: [supervisor | start supervisor] *****************************************
  695. ok: [localhost]
  696.  
  697. TASK: [supervisor | wait for web port to be available] ************************
  698. skipping: [localhost]
  699.  
  700. TASK: [supervisor | update supervisor configuration] **************************
  701. ok: [localhost]
  702.  
  703. TASK: [edxapp_common | Install system packages] *******************************
  704. ok: [localhost]
  705.  
  706. TASK: [nltk | Install unzip] **************************************************
  707. ok: [localhost]
  708.  
  709. TASK: [nltk | create the nltk data directory and subdirectories] **************
  710. ok: [localhost] => (item={'url': 'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
  711. ok: [localhost] => (item={'url': 'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
  712. ok: [localhost] => (item={'url': 'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
  713.  
  714. TASK: [nltk | download nltk data] *********************************************
  715. ok: [localhost] => (item={'url': 'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
  716. ok: [localhost] => (item={'url': 'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
  717. ok: [localhost] => (item={'url': 'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
  718.  
  719. TASK: [nltk | unarchive nltk data] ********************************************
  720. skipping: [localhost] => (item={'url': 'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
  721. skipping: [localhost] => (item={'url': 'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
  722. skipping: [localhost] => (item={'url': 'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
  723.  
  724. TASK: [user | debug ] *********************************************************
  725. skipping: [localhost]
  726.  
  727. TASK: [user | create the edxadmin group] **************************************
  728. skipping: [localhost]
  729.  
  730. TASK: [user | ensure sudoers.d is read] ***************************************
  731. skipping: [localhost]
  732.  
  733. TASK: [user | grant full sudo access to the edxadmin group] *******************
  734. skipping: [localhost]
  735.  
  736. TASK: [user | create the users] ***********************************************
  737. skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []})
  738.  
  739. TASK: [user | assign admin role to admin users] *******************************
  740. skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []})
  741.  
  742. TASK: [user | get github key(s) and update the authorized_keys file] **********
  743. skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []})
  744.  
  745. TASK: [user | create bashrc file for normal users] ****************************
  746. skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []})
  747.  
  748. TASK: [user | create .profile for all users] **********************************
  749. skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []})
  750.  
  751. TASK: [user | modify shell for restricted users] ******************************
  752. skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []})
  753.  
  754. TASK: [user | create bashrc file for restricted users] ************************
  755. skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []})
  756.  
  757. TASK: [user | create sudoers file from template] ******************************
  758. skipping: [localhost]
  759.  
  760. TASK: [user | change home directory ownership to root for restricted users] ***
  761. skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []})
  762.  
  763. TASK: [user | create ~/bin directory] *****************************************
  764. skipping: [localhost] => (item={'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []})
  765.  
  766. TASK: [user | create allowed command links] ***********************************
  767. skipping: [localhost] => (item=[{'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'type': 'restricted', 'name': u'automator', 'authorized_keys': []}, '/usr/bin/sudo'])
  768.  
  769. TASK: [edxapp | create application user] **************************************
  770. ok: [localhost]
  771.  
  772. TASK: [edxapp | create edxapp user dirs] **************************************
  773. ok: [localhost] => (item=/edx/app/edxapp)
  774. ok: [localhost] => (item=/edx/app/edxapp/.ssh)
  775. ok: [localhost] => (item=/edx/app/edxapp/venvs)
  776. ok: [localhost] => (item=/edx/var/edxapp/themes)
  777. ok: [localhost] => (item=/edx/var/edxapp/staticfiles)
  778. ok: [localhost] => (item=/edx/var/edxapp/course_static)
  779. changed: [localhost] => (item=/edx/var/edxapp/data)
  780.  
  781. TASK: [edxapp | create edxapp var dir] ****************************************
  782. ok: [localhost]
  783.  
  784. TASK: [edxapp | create directory to import the courses from github] ***********
  785. ok: [localhost]
  786.  
  787. TASK: [edxapp | make the course data dir] *************************************
  788. ok: [localhost]
  789.  
  790. TASK: [edxapp | create edxapp log dir] ****************************************
  791. ok: [localhost]
  792.  
  793. TASK: [edxapp | create web-writable edxapp data dirs] *************************
  794. changed: [localhost] => (item=/edx/var/edxapp/data)
  795. ok: [localhost] => (item=/edx/var/edxapp/uploads)
  796. ok: [localhost] => (item=/edx/var/edxapp/media)
  797.  
  798. TASK: [edxapp | add ppas for current versions of nodejs] **********************
  799. ok: [localhost]
  800.  
  801. TASK: [edxapp | install system packages on which LMS and CMS rely] ************
  802. ok: [localhost]
  803.  
  804. TASK: [edxapp | set up edxapp .npmrc] *****************************************
  805. changed: [localhost]
  806.  
  807. TASK: [edxapp | create log directories for service variants] ******************
  808. ok: [localhost] => (item=lms)
  809. ok: [localhost] => (item=cms)
  810.  
  811. TASK: [edxapp | code sandbox | Check which `libblas` to use] ******************
  812. ok: [localhost]
  813.  
  814. TASK: [edxapp | code sandbox | Use libblas.so.3gf in Ubuntu 12.04] ************
  815. skipping: [localhost]
  816.  
  817. TASK: [edxapp | code sandbox | Use libblas.so.3 in Ubuntu 14.04] **************
  818. ok: [localhost]
  819.  
  820. TASK: [edxapp | code sandbox | Check which `liblapac` to use] *****************
  821. ok: [localhost]
  822.  
  823. TASK: [edxapp | code sandbox | Use liblapack.so.3gf in Ubuntu 12.04] **********
  824. skipping: [localhost]
  825.  
  826. TASK: [edxapp | code sandbox | Use liblapack.so.3 in Ubuntu 14.04] ************
  827. ok: [localhost]
  828.  
  829. TASK: [edxapp | code sandbox | Create edxapp sandbox user] ********************
  830. ok: [localhost]
  831.  
  832. TASK: [edxapp | code sandbox | Install apparmor utils system pkg] *************
  833. ok: [localhost]
  834.  
  835. TASK: [edxapp | code sandbox | write out apparmor code sandbox config] ********
  836. ok: [localhost]
  837.  
  838. TASK: [edxapp | code sandbox | write out sandbox user sudoers config] *********
  839. ok: [localhost]
  840.  
  841. TASK: [edxapp | code sandbox | start apparmor service] ************************
  842. ok: [localhost]
  843.  
  844. TASK: [edxapp | code sandbox | (bootstrap) load code sandbox profile] *********
  845. changed: [localhost]
  846.  
  847. TASK: [edxapp | code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
  848. changed: [localhost]
  849.  
  850. TASK: [edxapp | setup the edxapp env] *****************************************
  851. ok: [localhost]
  852.  
  853. TASK: [edxapp | create edxapp configuration dir] ******************************
  854. ok: [localhost]
  855.  
  856. TASK: [edxapp | setup the newrelic python agent config] ***********************
  857. ok: [localhost]
  858.  
  859. TASK: [edxapp | create ssh script for git (not authenticated)] ****************
  860. ok: [localhost]
  861.  
  862. TASK: [edxapp | create ssh script for git (authenticated)] ********************
  863. skipping: [localhost]
  864.  
  865. TASK: [edxapp | install read-only ssh key] ************************************
  866. skipping: [localhost]
  867.  
  868. TASK: [edxapp | set git fetch.prune to ignore deleted remote refs] ************
  869. changed: [localhost]
  870.  
  871. TASK: [edxapp | checkout edx-platform repo into {{ edxapp_code_dir }}] ********
  872. changed: [localhost]
  873.  
  874. TASK: [edxapp | git clean after checking out edx-platform] ********************
  875. changed: [localhost]
  876.  
  877. TASK: [edxapp | checkout Stanford-style theme] ********************************
  878. skipping: [localhost]
  879.  
  880. TASK: [edxapp | checkout comprehensive theme] *********************************
  881. skipping: [localhost]
  882.  
  883. TASK: [edxapp | Stat each requirements file with Github URLs to ensure it exists] ***
  884. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/pre.txt)
  885. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/github.txt)
  886. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  887. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  888. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/post.txt)
  889. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/paver.txt)
  890. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt)
  891. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
  892. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
  893. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  894.  
  895. TASK: [edxapp | Updating requirement files for git mirror] ********************
  896. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/pre.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/pre.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464297829.5844831, 'inode': 1190361, 'isgid': False, 'size': 508, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/pre.txt', 'xusr': False, 'atime': 1464626334.0385904, 'md5': '7763b286c06275190831255964cf8238', 'isdir': False, 'ctime': 1464297829.5844831, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '1a863e2284e87b221c853891de5a925f8434c425', 'islnk': False}, 'changed': False})
  897. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/github.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/github.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626351.1467798, 'inode': 1190403, 'isgid': False, 'size': 5520, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/github.txt', 'xusr': False, 'atime': 1464626351.1467798, 'md5': 'd6c9e2944a33812290fb9efc493ca14f', 'isdir': False, 'ctime': 1464626351.1467798, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '32e34a7593aa8611b7715cc407d5f518ba73b799', 'islnk': False}, 'changed': False})
  898. skipping: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/custom.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'stat': {'exists': False}, 'changed': False})
  899. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/base.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464297830.048488, 'inode': 1190142, 'isgid': False, 'size': 3965, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'xusr': False, 'atime': 1464626334.0345905, 'md5': 'f11876063481fe9aacc2879879758de0', 'isdir': False, 'ctime': 1464297830.048488, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': 'e14d86d720440d4f94b13fee8e15d325b00da5c8', 'islnk': False}, 'changed': False})
  900. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/post.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/post.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464297830.2844903, 'inode': 1181484, 'isgid': False, 'size': 565, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/post.txt', 'xusr': False, 'atime': 1464626334.0385904, 'md5': '4bc5635ad55f23b28229e2901672c593', 'isdir': False, 'ctime': 1464297830.2844903, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '12d41702bd09fbdd6c3291c11ff5434c68c743c2', 'islnk': False}, 'changed': False})
  901. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/paver.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/paver.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464297830.5084927, 'inode': 1190286, 'isgid': False, 'size': 127, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/paver.txt', 'xusr': False, 'atime': 1464626334.0385904, 'md5': '2a65af8b4655641ed531cff8dba51b20', 'isdir': False, 'ctime': 1464297830.5084927, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '0811c372115d2a8b67471f58b390583e0ede870a', 'islnk': False}, 'changed': False})
  902. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464297830.740495, 'inode': 1190143, 'isgid': False, 'size': 2206, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt', 'xusr': False, 'atime': 1464626334.0385904, 'md5': 'a387ebae62e53bde12fe8a51e93373d6', 'isdir': False, 'ctime': 1464297830.740495, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': 'ea1c559737ba55acf759e8a7821dd0a1a36a4606', 'islnk': False}, 'changed': False})
  903. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464297830.948497, 'inode': 1189975, 'isgid': False, 'size': 313, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt', 'xusr': False, 'atime': 1464626334.0345905, 'md5': '1f8d2ca7aa01706f2859c25b8bede5f3', 'isdir': False, 'ctime': 1464297830.948497, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': 'cb294b185d8f40e49506c4c342acc8fd6b3683f6', 'islnk': False}, 'changed': False})
  904. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464297831.1644993, 'inode': 1189971, 'isgid': False, 'size': 507, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt', 'xusr': False, 'atime': 1464626334.0345905, 'md5': '09046a50cef36e7ca9f622fd3b3b397f', 'isdir': False, 'ctime': 1464297831.1644993, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '01e96ac6feaff75b076e04cbdb2b9b9a632a7034', 'islnk': False}, 'changed': False})
  905. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464297831.4005017, 'inode': 1189968, 'isgid': False, 'size': 411, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', 'xusr': False, 'atime': 1464626334.0305903, 'md5': 'e62d71c98cff3129bbe6333ad96f9b00', 'isdir': False, 'ctime': 1464297831.4005017, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '8f31577e172d28cddd2e202214e5dd24ab90a243', 'islnk': False}, 'changed': False})
  906.  
  907. TASK: [edxapp | Set the npm registry] *****************************************
  908. ok: [localhost]
  909.  
  910. TASK: [edxapp | Set the npm registry permissions] *****************************
  911. changed: [localhost]
  912.  
  913. TASK: [edxapp | Install edx-platform npm dependencies] ************************
  914. changed: [localhost]
  915.  
  916. TASK: [edxapp | Create the virtualenv to install the Python requirements] *****
  917. ok: [localhost]
  918.  
  919. TASK: [edxapp | Stat each Python requirements file to ensure it exists] *******
  920. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/pre.txt)
  921. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/github.txt)
  922. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  923. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/local.txt)
  924. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  925. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/post.txt)
  926. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/paver.txt)
  927.  
  928. TASK: [edxapp | install python requirements] **********************************
  929. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/pre.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/pre.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626356.2028358, 'inode': 1189966, 'isgid': False, 'size': 508, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/pre.txt', 'xusr': False, 'atime': 1464626356.1988356, 'md5': '7763b286c06275190831255964cf8238', 'isdir': False, 'ctime': 1464626356.2028358, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '1a863e2284e87b221c853891de5a925f8434c425', 'islnk': False}, 'changed': False})
  930. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/github.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/github.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626356.4388382, 'inode': 1190361, 'isgid': False, 'size': 5520, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/github.txt', 'xusr': False, 'atime': 1464626356.4388382, 'md5': 'd6c9e2944a33812290fb9efc493ca14f', 'isdir': False, 'ctime': 1464626356.4388382, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '32e34a7593aa8611b7715cc407d5f518ba73b799', 'islnk': False}, 'changed': False})
  931. skipping: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/custom.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'stat': {'exists': False}, 'changed': False})
  932. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/local.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/local.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464215197.3549953, 'inode': 1189972, 'isgid': False, 'size': 254, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/local.txt', 'xusr': False, 'atime': 1464215198.9350083, 'md5': '55ace0c3ccdb0b161709e8c7623be39e', 'isdir': False, 'ctime': 1464215197.3549953, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '108dd87a867bcb78ca0e0797122bb07c870157bc', 'islnk': False}, 'changed': False})
  933. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/base.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626356.6628408, 'inode': 1190403, 'isgid': False, 'size': 3965, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'xusr': False, 'atime': 1464626356.658841, 'md5': 'f11876063481fe9aacc2879879758de0', 'isdir': False, 'ctime': 1464626356.6628408, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': 'e14d86d720440d4f94b13fee8e15d325b00da5c8', 'islnk': False}, 'changed': False})
  934. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/post.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/post.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626356.9028435, 'inode': 1190142, 'isgid': False, 'size': 565, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/post.txt', 'xusr': False, 'atime': 1464626356.9028435, 'md5': '4bc5635ad55f23b28229e2901672c593', 'isdir': False, 'ctime': 1464626356.9028435, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '12d41702bd09fbdd6c3291c11ff5434c68c743c2', 'islnk': False}, 'changed': False})
  935. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/paver.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/paver.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626357.122846, 'inode': 1181484, 'isgid': False, 'size': 127, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/paver.txt', 'xusr': False, 'atime': 1464626357.122846, 'md5': '2a65af8b4655641ed531cff8dba51b20', 'isdir': False, 'ctime': 1464626357.122846, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '0811c372115d2a8b67471f58b390583e0ede870a', 'islnk': False}, 'changed': False})
  936.  
  937. TASK: [edxapp | install python private requirements] **************************
  938. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt)
  939.  
  940. TASK: [edxapp | install python extra requirements] ****************************
  941. skipping: [localhost]
  942.  
  943. TASK: [edxapp | install CAS attribute module] *********************************
  944. skipping: [localhost]
  945.  
  946. TASK: [edxapp | install sandbox requirements into regular venv] ***************
  947. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  948. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
  949. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
  950.  
  951. TASK: [edxapp | code sandbox | put sandbox apparmor profile in complain mode] ***
  952. changed: [localhost]
  953.  
  954. TASK: [edxapp | code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  955. ok: [localhost]
  956.  
  957. TASK: [edxapp | code sandbox | Install sandbox requirements into sandbox venv] ***
  958. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
  959. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
  960.  
  961. TASK: [edxapp | code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
  962. changed: [localhost]
  963.  
  964. TASK: [edxapp | compiling all py files in the edx-platform repo] **************
  965. changed: [localhost]
  966.  
  967. TASK: [edxapp | give other read permissions to the virtualenv] ****************
  968. changed: [localhost]
  969.  
  970. TASK: [edxapp | create {{ item }} application config] *************************
  971. ok: [localhost] => (item=lms)
  972. ok: [localhost] => (item=cms)
  973.  
  974. TASK: [edxapp | create {{ item }} auth file] **********************************
  975. ok: [localhost] => (item=lms)
  976. ok: [localhost] => (item=cms)
  977.  
  978. TASK: [edxapp | create {{ item }} yaml application config] ********************
  979. ok: [localhost] => (item=lms)
  980. ok: [localhost] => (item=cms)
  981.  
  982. TASK: [edxapp | create {{ item }} yaml auth file] *****************************
  983. ok: [localhost] => (item=lms)
  984. ok: [localhost] => (item=cms)
  985.  
  986. TASK: [edxapp | writing {{ item }} supervisor script] *************************
  987. ok: [localhost] => (item=lms)
  988. ok: [localhost] => (item=cms)
  989.  
  990. TASK: [edxapp | writing edxapp supervisor script] *****************************
  991. ok: [localhost]
  992.  
  993. TASK: [edxapp | add gunicorn configuration files] *****************************
  994. ok: [localhost] => (item=lms)
  995. ok: [localhost] => (item=cms)
  996.  
  997. TASK: [edxapp | writing celery worker supervisor script] **********************
  998. ok: [localhost]
  999.  
  1000. TASK: [edxapp | enable {{ item }} supervisor script] **************************
  1001. skipping: [localhost] => (item=lms)
  1002. skipping: [localhost] => (item=cms)
  1003.  
  1004. TASK: [edxapp | enable edxapp supervisor script] ******************************
  1005. skipping: [localhost]
  1006.  
  1007. TASK: [edxapp | enable celery worker supervisor script] ***********************
  1008. ok: [localhost]
  1009.  
  1010. TASK: [edxapp | create helper scripts for managing edxapp] ********************
  1011. ok: [localhost] => (item=['edxapp-migrate', 'lms'])
  1012. ok: [localhost] => (item=['edxapp-migrate', 'cms'])
  1013. ok: [localhost] => (item=['edxapp-runserver', 'lms'])
  1014. ok: [localhost] => (item=['edxapp-runserver', 'cms'])
  1015. ok: [localhost] => (item=['edxapp-update-assets', 'lms'])
  1016. ok: [localhost] => (item=['edxapp-update-assets', 'cms'])
  1017. ok: [localhost] => (item=['edxapp-shell', 'lms'])
  1018. ok: [localhost] => (item=['edxapp-shell', 'cms'])
  1019.  
  1020. TASK: [edxapp | migrate] ******************************************************
  1021. changed: [localhost] => (item=lms)
  1022. changed: [localhost] => (item=cms)
  1023.  
  1024. TASK: [edxapp | gather {{ item }} static assets with paver] *******************
  1025. skipping: [localhost] => (item=lms)
  1026. skipping: [localhost] => (item=cms)
  1027.  
  1028. TASK: [edxapp | update supervisor configuration] ******************************
  1029. ok: [localhost]
  1030.  
  1031. TASK: [edxapp | ensure edxapp has started] ************************************
  1032. skipping: [localhost]
  1033.  
  1034. TASK: [edxapp | ensure edxapp_workers has started] ****************************
  1035. ok: [localhost]
  1036.  
  1037. TASK: [edxapp | create symlinks from the venv bin dir] ************************
  1038. ok: [localhost] => (item=python)
  1039. ok: [localhost] => (item=pip)
  1040. ok: [localhost] => (item=django-admin.py)
  1041.  
  1042. TASK: [edxapp | create symlinks from the repo dir] ****************************
  1043. ok: [localhost] => (item=manage.py)
  1044.  
  1045. TASK: [edxapp | remove read-only ssh key] *************************************
  1046. skipping: [localhost]
  1047.  
  1048. TASK: [edxapp | get instance information] *************************************
  1049. skipping: [localhost]
  1050.  
  1051. TASK: [edxapp | tag instance with edx_platform version] ***********************
  1052. skipping: [localhost]
  1053.  
  1054. TASK: [edxapp | tag instance with edxapp theme version] **********************
  1055. skipping: [localhost]
  1056.  
  1057. TASK: [edxapp | set_fact edxapp_installed=true] *******************************
  1058. ok: [localhost]
  1059.  
  1060. TASK: [edxapp | restart edxapp] ***********************************************
  1061. skipping: [localhost]
  1062.  
  1063. TASK: [edxapp | restart edxapp_workers] ***************************************
  1064. changed: [localhost]
  1065.  
  1066. TASK: [edxapp | create application user] **************************************
  1067. ok: [localhost]
  1068.  
  1069. TASK: [edxapp | create edxapp user dirs] **************************************
  1070. ok: [localhost] => (item=/edx/app/edxapp)
  1071. ok: [localhost] => (item=/edx/app/edxapp/.ssh)
  1072. ok: [localhost] => (item=/edx/app/edxapp/venvs)
  1073. ok: [localhost] => (item=/edx/var/edxapp/themes)
  1074. ok: [localhost] => (item=/edx/var/edxapp/staticfiles)
  1075. ok: [localhost] => (item=/edx/var/edxapp/course_static)
  1076. changed: [localhost] => (item=/edx/var/edxapp/data)
  1077.  
  1078. TASK: [edxapp | create edxapp var dir] ****************************************
  1079. ok: [localhost]
  1080.  
  1081. TASK: [edxapp | create directory to import the courses from github] ***********
  1082. ok: [localhost]
  1083.  
  1084. TASK: [edxapp | make the course data dir] *************************************
  1085. ok: [localhost]
  1086.  
  1087. TASK: [edxapp | create edxapp log dir] ****************************************
  1088. ok: [localhost]
  1089.  
  1090. TASK: [edxapp | create web-writable edxapp data dirs] *************************
  1091. changed: [localhost] => (item=/edx/var/edxapp/data)
  1092. ok: [localhost] => (item=/edx/var/edxapp/uploads)
  1093. ok: [localhost] => (item=/edx/var/edxapp/media)
  1094.  
  1095. TASK: [edxapp | add ppas for current versions of nodejs] **********************
  1096. ok: [localhost]
  1097.  
  1098. TASK: [edxapp | install system packages on which LMS and CMS rely] ************
  1099. ok: [localhost]
  1100.  
  1101. TASK: [edxapp | set up edxapp .npmrc] *****************************************
  1102. changed: [localhost]
  1103.  
  1104. TASK: [edxapp | create log directories for service variants] ******************
  1105. ok: [localhost] => (item=lms)
  1106. ok: [localhost] => (item=cms)
  1107.  
  1108. TASK: [edxapp | code sandbox | Check which `libblas` to use] ******************
  1109. ok: [localhost]
  1110.  
  1111. TASK: [edxapp | code sandbox | Use libblas.so.3gf in Ubuntu 12.04] ************
  1112. skipping: [localhost]
  1113.  
  1114. TASK: [edxapp | code sandbox | Use libblas.so.3 in Ubuntu 14.04] **************
  1115. ok: [localhost]
  1116.  
  1117. TASK: [edxapp | code sandbox | Check which `liblapac` to use] *****************
  1118. ok: [localhost]
  1119.  
  1120. TASK: [edxapp | code sandbox | Use liblapack.so.3gf in Ubuntu 12.04] **********
  1121. skipping: [localhost]
  1122.  
  1123. TASK: [edxapp | code sandbox | Use liblapack.so.3 in Ubuntu 14.04] ************
  1124. ok: [localhost]
  1125.  
  1126. TASK: [edxapp | code sandbox | Create edxapp sandbox user] ********************
  1127. ok: [localhost]
  1128.  
  1129. TASK: [edxapp | code sandbox | Install apparmor utils system pkg] *************
  1130. ok: [localhost]
  1131.  
  1132. TASK: [edxapp | code sandbox | write out apparmor code sandbox config] ********
  1133. ok: [localhost]
  1134.  
  1135. TASK: [edxapp | code sandbox | write out sandbox user sudoers config] *********
  1136. ok: [localhost]
  1137.  
  1138. TASK: [edxapp | code sandbox | start apparmor service] ************************
  1139. ok: [localhost]
  1140.  
  1141. TASK: [edxapp | code sandbox | (bootstrap) load code sandbox profile] *********
  1142. changed: [localhost]
  1143.  
  1144. TASK: [edxapp | code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
  1145. changed: [localhost]
  1146.  
  1147. TASK: [edxapp | setup the edxapp env] *****************************************
  1148. ok: [localhost]
  1149.  
  1150. TASK: [edxapp | create edxapp configuration dir] ******************************
  1151. ok: [localhost]
  1152.  
  1153. TASK: [edxapp | setup the newrelic python agent config] ***********************
  1154. ok: [localhost]
  1155.  
  1156. TASK: [edxapp | create ssh script for git (not authenticated)] ****************
  1157. ok: [localhost]
  1158.  
  1159. TASK: [edxapp | create ssh script for git (authenticated)] ********************
  1160. skipping: [localhost]
  1161.  
  1162. TASK: [edxapp | install read-only ssh key] ************************************
  1163. skipping: [localhost]
  1164.  
  1165. TASK: [edxapp | set git fetch.prune to ignore deleted remote refs] ************
  1166. changed: [localhost]
  1167.  
  1168. TASK: [edxapp | checkout edx-platform repo into {{ edxapp_code_dir }}] ********
  1169. ok: [localhost]
  1170.  
  1171. TASK: [edxapp | git clean after checking out edx-platform] ********************
  1172. changed: [localhost]
  1173.  
  1174. TASK: [edxapp | checkout Stanford-style theme] ********************************
  1175. skipping: [localhost]
  1176.  
  1177. TASK: [edxapp | checkout comprehensive theme] *********************************
  1178. skipping: [localhost]
  1179.  
  1180. TASK: [edxapp | Stat each requirements file with Github URLs to ensure it exists] ***
  1181. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/pre.txt)
  1182. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/github.txt)
  1183. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  1184. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  1185. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/post.txt)
  1186. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/paver.txt)
  1187. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt)
  1188. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
  1189. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
  1190. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  1191.  
  1192. TASK: [edxapp | Updating requirement files for git mirror] ********************
  1193. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/pre.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/pre.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626356.2028358, 'inode': 1189966, 'isgid': False, 'size': 508, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/pre.txt', 'xusr': False, 'atime': 1464626380.1151004, 'md5': '7763b286c06275190831255964cf8238', 'isdir': False, 'ctime': 1464626356.2028358, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '1a863e2284e87b221c853891de5a925f8434c425', 'islnk': False}, 'changed': False})
  1194. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/github.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/github.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626356.4388382, 'inode': 1190361, 'isgid': False, 'size': 5520, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/github.txt', 'xusr': False, 'atime': 1464626380.2711022, 'md5': 'd6c9e2944a33812290fb9efc493ca14f', 'isdir': False, 'ctime': 1464626356.4388382, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '32e34a7593aa8611b7715cc407d5f518ba73b799', 'islnk': False}, 'changed': False})
  1195. skipping: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/custom.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'stat': {'exists': False}, 'changed': False})
  1196. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/base.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626356.6628408, 'inode': 1190403, 'isgid': False, 'size': 3965, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'xusr': False, 'atime': 1464626380.7511075, 'md5': 'f11876063481fe9aacc2879879758de0', 'isdir': False, 'ctime': 1464626356.6628408, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': 'e14d86d720440d4f94b13fee8e15d325b00da5c8', 'islnk': False}, 'changed': False})
  1197. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/post.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/post.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626356.9028435, 'inode': 1190142, 'isgid': False, 'size': 565, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/post.txt', 'xusr': False, 'atime': 1464626380.8991091, 'md5': '4bc5635ad55f23b28229e2901672c593', 'isdir': False, 'ctime': 1464626356.9028435, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '12d41702bd09fbdd6c3291c11ff5434c68c743c2', 'islnk': False}, 'changed': False})
  1198. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/paver.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/paver.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626357.122846, 'inode': 1181484, 'isgid': False, 'size': 127, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/paver.txt', 'xusr': False, 'atime': 1464626381.0511107, 'md5': '2a65af8b4655641ed531cff8dba51b20', 'isdir': False, 'ctime': 1464626357.122846, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '0811c372115d2a8b67471f58b390583e0ede870a', 'islnk': False}, 'changed': False})
  1199. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626357.3588486, 'inode': 1190286, 'isgid': False, 'size': 2206, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt', 'xusr': False, 'atime': 1464626547.5489542, 'md5': 'a387ebae62e53bde12fe8a51e93373d6', 'isdir': False, 'ctime': 1464626357.3588486, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': 'ea1c559737ba55acf759e8a7821dd0a1a36a4606', 'islnk': False}, 'changed': False})
  1200. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626357.582851, 'inode': 1190143, 'isgid': False, 'size': 313, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt', 'xusr': False, 'atime': 1464626455.0359297, 'md5': '1f8d2ca7aa01706f2859c25b8bede5f3', 'isdir': False, 'ctime': 1464626357.582851, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': 'cb294b185d8f40e49506c4c342acc8fd6b3683f6', 'islnk': False}, 'changed': False})
  1201. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626357.8108535, 'inode': 1189975, 'isgid': False, 'size': 507, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt', 'xusr': False, 'atime': 1464626452.7759047, 'md5': '09046a50cef36e7ca9f622fd3b3b397f', 'isdir': False, 'ctime': 1464626357.8108535, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '01e96ac6feaff75b076e04cbdb2b9b9a632a7034', 'islnk': False}, 'changed': False})
  1202. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626358.042856, 'inode': 1189971, 'isgid': False, 'size': 411, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', 'xusr': False, 'atime': 1464626451.791894, 'md5': 'e62d71c98cff3129bbe6333ad96f9b00', 'isdir': False, 'ctime': 1464626358.042856, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '8f31577e172d28cddd2e202214e5dd24ab90a243', 'islnk': False}, 'changed': False})
  1203.  
  1204. TASK: [edxapp | Set the npm registry] *****************************************
  1205. ok: [localhost]
  1206.  
  1207. TASK: [edxapp | Set the npm registry permissions] *****************************
  1208. changed: [localhost]
  1209.  
  1210. TASK: [edxapp | Install edx-platform npm dependencies] ************************
  1211. changed: [localhost]
  1212.  
  1213. TASK: [edxapp | Create the virtualenv to install the Python requirements] *****
  1214. ok: [localhost]
  1215.  
  1216. TASK: [edxapp | Stat each Python requirements file to ensure it exists] *******
  1217. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/pre.txt)
  1218. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/github.txt)
  1219. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  1220. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/local.txt)
  1221. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  1222. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/post.txt)
  1223. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/paver.txt)
  1224.  
  1225. TASK: [edxapp | install python requirements] **********************************
  1226. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/pre.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/pre.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626563.973136, 'inode': 1181464, 'isgid': False, 'size': 508, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/pre.txt', 'xusr': False, 'atime': 1464626563.973136, 'md5': '7763b286c06275190831255964cf8238', 'isdir': False, 'ctime': 1464626563.973136, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '1a863e2284e87b221c853891de5a925f8434c425', 'islnk': False}, 'changed': False})
  1227. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/github.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/github.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626564.2051387, 'inode': 1189966, 'isgid': False, 'size': 5520, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/github.txt', 'xusr': False, 'atime': 1464626564.2051387, 'md5': 'd6c9e2944a33812290fb9efc493ca14f', 'isdir': False, 'ctime': 1464626564.2051387, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '32e34a7593aa8611b7715cc407d5f518ba73b799', 'islnk': False}, 'changed': False})
  1228. skipping: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/custom.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'stat': {'exists': False}, 'changed': False})
  1229. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/local.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/local.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464215197.3549953, 'inode': 1189972, 'isgid': False, 'size': 254, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/local.txt', 'xusr': False, 'atime': 1464626380.5911057, 'md5': '55ace0c3ccdb0b161709e8c7623be39e', 'isdir': False, 'ctime': 1464215197.3549953, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '108dd87a867bcb78ca0e0797122bb07c870157bc', 'islnk': False}, 'changed': False})
  1230. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/base.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626564.4451413, 'inode': 1190361, 'isgid': False, 'size': 3965, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'xusr': False, 'atime': 1464626564.4451413, 'md5': 'f11876063481fe9aacc2879879758de0', 'isdir': False, 'ctime': 1464626564.4451413, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': 'e14d86d720440d4f94b13fee8e15d325b00da5c8', 'islnk': False}, 'changed': False})
  1231. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/post.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/post.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626564.685144, 'inode': 1190403, 'isgid': False, 'size': 565, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/post.txt', 'xusr': False, 'atime': 1464626564.685144, 'md5': '4bc5635ad55f23b28229e2901672c593', 'isdir': False, 'ctime': 1464626564.685144, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '12d41702bd09fbdd6c3291c11ff5434c68c743c2', 'islnk': False}, 'changed': False})
  1232. changed: [localhost] => (item={'invocation': {'module_name': u'stat', 'module_complex_args': {}, 'module_args': u'path="/edx/app/edxapp/edx-platform/requirements/edx/paver.txt"'}, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/paver.txt', 'stat': {'uid': 1001, 'exists': True, 'woth': False, 'mtime': 1464626564.9011464, 'inode': 1190142, 'isgid': False, 'size': 127, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'edxapp', 'gid': 1002, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'edxapp', 'path': '/edx/app/edxapp/edx-platform/requirements/edx/paver.txt', 'xusr': False, 'atime': 1464626564.9011464, 'md5': '2a65af8b4655641ed531cff8dba51b20', 'isdir': False, 'ctime': 1464626564.9051464, 'isblk': False, 'xgrp': False, 'dev': 51714, 'roth': True, 'isfifo': False, 'mode': '0644', 'checksum': '0811c372115d2a8b67471f58b390583e0ede870a', 'islnk': False}, 'changed': False})
  1233.  
  1234. TASK: [edxapp | install python private requirements] **************************
  1235. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt)
  1236.  
  1237. TASK: [edxapp | install python extra requirements] ****************************
  1238. skipping: [localhost]
  1239.  
  1240. TASK: [edxapp | install CAS attribute module] *********************************
  1241. skipping: [localhost]
  1242.  
  1243. TASK: [edxapp | install sandbox requirements into regular venv] ***************
  1244. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  1245. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
  1246. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
  1247.  
  1248. TASK: [edxapp | code sandbox | put sandbox apparmor profile in complain mode] ***
  1249. changed: [localhost]
  1250.  
  1251. TASK: [edxapp | code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  1252. ok: [localhost]
  1253.  
  1254. TASK: [edxapp | code sandbox | Install sandbox requirements into sandbox venv] ***
  1255. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
  1256. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
  1257.  
  1258. TASK: [edxapp | code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
  1259. changed: [localhost]
  1260.  
  1261. TASK: [edxapp | compiling all py files in the edx-platform repo] **************
  1262. changed: [localhost]
  1263.  
  1264. TASK: [edxapp | give other read permissions to the virtualenv] ****************
  1265. changed: [localhost]
  1266.  
  1267. TASK: [edxapp | create {{ item }} application config] *************************
  1268. ok: [localhost] => (item=lms)
  1269. ok: [localhost] => (item=cms)
  1270.  
  1271. TASK: [edxapp | create {{ item }} auth file] **********************************
  1272. ok: [localhost] => (item=lms)
  1273. ok: [localhost] => (item=cms)
  1274.  
  1275. TASK: [edxapp | create {{ item }} yaml application config] ********************
  1276. ok: [localhost] => (item=lms)
  1277. ok: [localhost] => (item=cms)
  1278.  
  1279. TASK: [edxapp | create {{ item }} yaml auth file] *****************************
  1280. ok: [localhost] => (item=lms)
  1281. ok: [localhost] => (item=cms)
  1282.  
  1283. TASK: [edxapp | writing {{ item }} supervisor script] *************************
  1284. ok: [localhost] => (item=lms)
  1285. ok: [localhost] => (item=cms)
  1286.  
  1287. TASK: [edxapp | writing edxapp supervisor script] *****************************
  1288. ok: [localhost]
  1289.  
  1290. TASK: [edxapp | add gunicorn configuration files] *****************************
  1291. ok: [localhost] => (item=lms)
  1292. ok: [localhost] => (item=cms)
  1293.  
  1294. TASK: [edxapp | writing celery worker supervisor script] **********************
  1295. ok: [localhost]
  1296.  
  1297. TASK: [edxapp | enable {{ item }} supervisor script] **************************
  1298. ok: [localhost] => (item=lms)
  1299. ok: [localhost] => (item=cms)
  1300.  
  1301. TASK: [edxapp | enable edxapp supervisor script] ******************************
  1302. ok: [localhost]
  1303.  
  1304. TASK: [edxapp | enable celery worker supervisor script] ***********************
  1305. skipping: [localhost]
  1306.  
  1307. TASK: [edxapp | create helper scripts for managing edxapp] ********************
  1308. ok: [localhost] => (item=['edxapp-migrate', 'lms'])
  1309. ok: [localhost] => (item=['edxapp-migrate', 'cms'])
  1310. ok: [localhost] => (item=['edxapp-runserver', 'lms'])
  1311. ok: [localhost] => (item=['edxapp-runserver', 'cms'])
  1312. ok: [localhost] => (item=['edxapp-update-assets', 'lms'])
  1313. ok: [localhost] => (item=['edxapp-update-assets', 'cms'])
  1314. ok: [localhost] => (item=['edxapp-shell', 'lms'])
  1315. ok: [localhost] => (item=['edxapp-shell', 'cms'])
  1316.  
  1317. TASK: [edxapp | migrate] ******************************************************
  1318. changed: [localhost] => (item=lms)
  1319. changed: [localhost] => (item=cms)
  1320.  
  1321. TASK: [edxapp | gather {{ item }} static assets with paver] *******************
  1322. changed: [localhost] => (item=lms)
  1323. changed: [localhost] => (item=cms)
  1324.  
  1325. TASK: [edxapp | update supervisor configuration] ******************************
  1326. ok: [localhost]
  1327.  
  1328. TASK: [edxapp | ensure edxapp has started] ************************************
  1329. ok: [localhost]
  1330.  
  1331. TASK: [edxapp | ensure edxapp_workers has started] ****************************
  1332. skipping: [localhost]
  1333.  
  1334. TASK: [edxapp | create symlinks from the venv bin dir] ************************
  1335. ok: [localhost] => (item=python)
  1336. ok: [localhost] => (item=pip)
  1337. ok: [localhost] => (item=django-admin.py)
  1338.  
  1339. TASK: [edxapp | create symlinks from the repo dir] ****************************
  1340. ok: [localhost] => (item=manage.py)
  1341.  
  1342. TASK: [edxapp | remove read-only ssh key] *************************************
  1343. skipping: [localhost]
  1344.  
  1345. TASK: [edxapp | get instance information] *************************************
  1346. skipping: [localhost]
  1347.  
  1348. TASK: [edxapp | tag instance with edx_platform version] ***********************
  1349. skipping: [localhost]
  1350.  
  1351. TASK: [edxapp | tag instance with edxapp theme version] **********************
  1352. skipping: [localhost]
  1353.  
  1354. TASK: [edxapp | set_fact edxapp_installed=true] *******************************
  1355. ok: [localhost]
  1356.  
  1357. TASK: [edxapp | restart edxapp] ***********************************************
  1358. changed: [localhost]
  1359.  
  1360. TASK: [edxapp | restart edxapp_workers] ***************************************
  1361. skipping: [localhost]
  1362.  
  1363. TASK: [edx_service | create application user] *********************************
  1364. skipping: [localhost]
  1365.  
  1366. TASK: [edx_service | create edx_service app, venv, data, and staticfiles dirs] ***
  1367. skipping: [localhost]
  1368. skipping: [localhost] => (item=venvs)
  1369. skipping: [localhost] => (item=data)
  1370. skipping: [localhost] => (item=staticfiles)
  1371.  
  1372. TASK: [edx_service | create /edx/var and /edx/etc dirs] ***********************
  1373. skipping: [localhost] => (item=/edx/var)
  1374. skipping: [localhost] => (item=/edx/etc)
  1375.  
  1376. TASK: [edx_service | create edx_service log dir] ******************************
  1377. skipping: [localhost] => (item=/edx/var/log/ecommerce)
  1378.  
  1379. TASK: [edx_service | write out app config file] *******************************
  1380. skipping: [localhost]
  1381.  
  1382. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1383. skipping: [localhost]
  1384.  
  1385. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1386. skipping: [localhost]
  1387.  
  1388. TASK: [edx_service | set git fetch.prune to ignore deleted remote refs] *******
  1389. skipping: [localhost]
  1390.  
  1391. TASK: [edx_service | validate git protocol] ***********************************
  1392. skipping: [localhost] => (item={'REPO': 'ecommerce.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecommerce/ecommerce', 'SSH_KEY': None})
  1393.  
  1394. TASK: [edx_service | install read-only ssh key] *******************************
  1395. skipping: [localhost] => (item={'REPO': 'ecommerce.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecommerce/ecommerce', 'SSH_KEY': None})
  1396.  
  1397. TASK: [edx_service | checkout code over ssh] **********************************
  1398. skipping: [localhost] => (item={'REPO': 'ecommerce.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecommerce/ecommerce', 'SSH_KEY': None})
  1399.  
  1400. TASK: [edx_service | checkout code over https] ********************************
  1401. skipping: [localhost] => (item={'REPO': 'ecommerce.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecommerce/ecommerce', 'SSH_KEY': None})
  1402.  
  1403. TASK: [edx_service | get instance information] ********************************
  1404. skipping: [localhost]
  1405.  
  1406. TASK: [edx_service | tag instance] ********************************************
  1407. skipping: [localhost] => (item=[{'REPO': 'ecommerce.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecommerce/ecommerce', 'SSH_KEY': None}, {u'skipped': True, u'changed': False}])
  1408.  
  1409. TASK: [edx-themes | create application user] **********************************
  1410. skipping: [localhost]
  1411.  
  1412. TASK: [edx-themes | create themes home dirs] **********************************
  1413. skipping: [localhost]
  1414.  
  1415. TASK: [edx-themes | set git fetch.prune to ignore deleted remote refs] ********
  1416. skipping: [localhost]
  1417.  
  1418. TASK: [edx-themes | validate git protocol] ************************************
  1419. skipping: [localhost] => (item={'REPO': u'sample-themes.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/etc/edx-themes/edx-themes', 'SSH_KEY': None})
  1420.  
  1421. TASK: [edx-themes | install read-only ssh key] ********************************
  1422. skipping: [localhost] => (item={'REPO': u'sample-themes.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/etc/edx-themes/edx-themes', 'SSH_KEY': None})
  1423.  
  1424. TASK: [edx-themes | checkout code over ssh] ***********************************
  1425. skipping: [localhost] => (item={'REPO': u'sample-themes.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/etc/edx-themes/edx-themes', 'SSH_KEY': None})
  1426.  
  1427. TASK: [edx-themes | checkout code over https] *********************************
  1428. skipping: [localhost] => (item={'REPO': u'sample-themes.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/etc/edx-themes/edx-themes', 'SSH_KEY': None})
  1429.  
  1430. TASK: [edx-themes | remove read-only ssh key] *********************************
  1431. skipping: [localhost] => (item={'REPO': u'sample-themes.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/etc/edx-themes/edx-themes', 'SSH_KEY': None})
  1432.  
  1433. TASK: [oraclejdk | install debian needed pkgs] ********************************
  1434. skipping: [localhost]
  1435.  
  1436. TASK: [oraclejdk | download Oracle Java] **************************************
  1437. skipping: [localhost]
  1438.  
  1439. TASK: [oraclejdk | create jvm dir] ********************************************
  1440. skipping: [localhost]
  1441.  
  1442. TASK: [oraclejdk | untar Oracle Java] *****************************************
  1443. skipping: [localhost]
  1444.  
  1445. TASK: [oraclejdk | create symlink expected by elasticsearch] ******************
  1446. skipping: [localhost]
  1447.  
  1448. TASK: [oraclejdk | update alternatives java] **********************************
  1449. skipping: [localhost] => (item=java)
  1450. skipping: [localhost] => (item=javac)
  1451. skipping: [localhost] => (item=javaws)
  1452.  
  1453. TASK: [oraclejdk | add JAVA_HOME for Oracle Java] *****************************
  1454. skipping: [localhost]
  1455.  
  1456. TASK: [ecommerce | synchronize theme directories] *****************************
  1457. skipping: [localhost]
  1458.  
  1459. TASK: [ecommerce | add gunicorn configuration file] ***************************
  1460. skipping: [localhost]
  1461.  
  1462. TASK: [ecommerce | install application requirements] **************************
  1463. skipping: [localhost] => (item=production.txt)
  1464. skipping: [localhost] => (item=optional.txt)
  1465.  
  1466. TASK: [ecommerce | create nodeenv] ********************************************
  1467. skipping: [localhost]
  1468.  
  1469. TASK: [ecommerce | install node dependencies] *********************************
  1470. skipping: [localhost]
  1471.  
  1472. TASK: [ecommerce | install bower dependencies] ********************************
  1473. skipping: [localhost]
  1474.  
  1475. TASK: [ecommerce | migrate] ***************************************************
  1476. skipping: [localhost]
  1477.  
  1478. TASK: [ecommerce | populate countries] ****************************************
  1479. skipping: [localhost]
  1480.  
  1481. TASK: [ecommerce | compile sass] **********************************************
  1482. skipping: [localhost] => (item=update_assets --skip-collect)
  1483.  
  1484. TASK: [ecommerce | run r.js optimizer] ****************************************
  1485. skipping: [localhost]
  1486.  
  1487. TASK: [ecommerce | run collectstatic] *****************************************
  1488. skipping: [localhost] => (item=collectstatic --noinput)
  1489. skipping: [localhost] => (item=compress)
  1490.  
  1491. TASK: [ecommerce | write out the supervisor wrapper] **************************
  1492. skipping: [localhost]
  1493.  
  1494. TASK: [ecommerce | write supervisord config] **********************************
  1495. skipping: [localhost]
  1496.  
  1497. TASK: [ecommerce | setup the ecommence env file] ******************************
  1498. skipping: [localhost]
  1499.  
  1500. TASK: [ecommerce | enable supervisor script] **********************************
  1501. skipping: [localhost]
  1502.  
  1503. TASK: [ecommerce | update supervisor configuration] ***************************
  1504. skipping: [localhost]
  1505.  
  1506. TASK: [ecommerce | create symlinks from the-er venv bin dir] ******************
  1507. skipping: [localhost] => (item=python)
  1508. skipping: [localhost] => (item=pip)
  1509. skipping: [localhost] => (item=django-admin.py)
  1510.  
  1511. TASK: [ecommerce | create symlinks from the repo dir] *************************
  1512. skipping: [localhost] => (item=manage.py)
  1513.  
  1514. TASK: [ecommerce | restart the applicaton] ************************************
  1515. skipping: [localhost]
  1516.  
  1517. TASK: [edx_service | create application user] *********************************
  1518. skipping: [localhost]
  1519.  
  1520. TASK: [edx_service | create edx_service app, venv, data, and staticfiles dirs] ***
  1521. skipping: [localhost]
  1522. skipping: [localhost] => (item=venvs)
  1523. skipping: [localhost] => (item=data)
  1524. skipping: [localhost] => (item=staticfiles)
  1525.  
  1526. TASK: [edx_service | create /edx/var and /edx/etc dirs] ***********************
  1527. skipping: [localhost] => (item=/edx/var)
  1528. skipping: [localhost] => (item=/edx/etc)
  1529.  
  1530. TASK: [edx_service | create edx_service log dir] ******************************
  1531. skipping: [localhost] => (item=/edx/var/log/ecomworker)
  1532.  
  1533. TASK: [edx_service | write out app config file] *******************************
  1534. skipping: [localhost]
  1535.  
  1536. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1537. skipping: [localhost]
  1538.  
  1539. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1540. skipping: [localhost]
  1541.  
  1542. TASK: [edx_service | set git fetch.prune to ignore deleted remote refs] *******
  1543. skipping: [localhost]
  1544.  
  1545. TASK: [edx_service | validate git protocol] ***********************************
  1546. skipping: [localhost] => (item={'REPO': 'ecommerce-worker.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecomworker/ecomworker', 'SSH_KEY': None})
  1547.  
  1548. TASK: [edx_service | install read-only ssh key] *******************************
  1549. skipping: [localhost] => (item={'REPO': 'ecommerce-worker.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecomworker/ecomworker', 'SSH_KEY': None})
  1550.  
  1551. TASK: [edx_service | checkout code over ssh] **********************************
  1552. skipping: [localhost] => (item={'REPO': 'ecommerce-worker.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecomworker/ecomworker', 'SSH_KEY': None})
  1553.  
  1554. TASK: [edx_service | checkout code over https] ********************************
  1555. skipping: [localhost] => (item={'REPO': 'ecommerce-worker.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecomworker/ecomworker', 'SSH_KEY': None})
  1556.  
  1557. TASK: [edx_service | get instance information] ********************************
  1558. skipping: [localhost]
  1559.  
  1560. TASK: [edx_service | tag instance] ********************************************
  1561. skipping: [localhost] => (item=[{'REPO': 'ecommerce-worker.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/ecomworker/ecomworker', 'SSH_KEY': None}, {u'skipped': True, u'changed': False}])
  1562.  
  1563. TASK: [ecomworker | install application requirements] *************************
  1564. skipping: [localhost] => (item=production.txt)
  1565. skipping: [localhost] => (item=optional.txt)
  1566.  
  1567. TASK: [ecomworker | write out the supervisor wrapper] *************************
  1568. skipping: [localhost]
  1569.  
  1570. TASK: [ecomworker | write supervisord config] *********************************
  1571. skipping: [localhost]
  1572.  
  1573. TASK: [ecomworker | setup the ecommerce_worker env file] **********************
  1574. skipping: [localhost]
  1575.  
  1576. TASK: [ecomworker | enable supervisor script] *********************************
  1577. skipping: [localhost]
  1578.  
  1579. TASK: [ecomworker | update supervisor configuration] **************************
  1580. skipping: [localhost]
  1581.  
  1582. TASK: [ecomworker | create symlinks from the venv bin dir] ********************
  1583. skipping: [localhost] => (item=python)
  1584. skipping: [localhost] => (item=pip)
  1585.  
  1586. TASK: [ecomworker | restart the applicaton] ***********************************
  1587. skipping: [localhost]
  1588.  
  1589. TASK: [notifier | install notifier specific system packages] ******************
  1590. ok: [localhost]
  1591.  
  1592. TASK: [notifier | check if incommon ca is installed] **************************
  1593. changed: [localhost]
  1594.  
  1595. TASK: [notifier | create incommon ca directory] *******************************
  1596. skipping: [localhost]
  1597.  
  1598. TASK: [notifier | retrieve incommon server CA] ********************************
  1599. skipping: [localhost]
  1600.  
  1601. TASK: [notifier | add InCommon ca cert] ***************************************
  1602. ok: [localhost]
  1603.  
  1604. TASK: [notifier | update ca certs globally] ***********************************
  1605. changed: [localhost]
  1606.  
  1607. TASK: [notifier | create notifier user {{ notifier_user }}] *******************
  1608. ok: [localhost]
  1609.  
  1610. TASK: [notifier | create notifier app dir] ************************************
  1611. ok: [localhost]
  1612.  
  1613. TASK: [notifier | setup the notifier env] *************************************
  1614. ok: [localhost]
  1615.  
  1616. TASK: [notifier | drop a bash_profile] ****************************************
  1617. ok: [localhost]
  1618.  
  1619. TASK: [notifier | ensure .bashrc exists] **************************************
  1620. changed: [localhost]
  1621.  
  1622. TASK: [notifier | add source of notifier_env to .bashrc] **********************
  1623. ok: [localhost]
  1624.  
  1625. TASK: [notifier | add source venv to .bashrc] *********************************
  1626. ok: [localhost]
  1627.  
  1628. TASK: [notifier | create notifier DB directory] *******************************
  1629. ok: [localhost]
  1630.  
  1631. TASK: [notifier | create notifier/bin directory] ******************************
  1632. ok: [localhost]
  1633.  
  1634. TASK: [notifier | create notifier/.ssh directory] *****************************
  1635. ok: [localhost]
  1636.  
  1637. TASK: [notifier | create service log dir] *************************************
  1638. ok: [localhost] => (item=/edx/var/log/notifier)
  1639.  
  1640. TASK: [notifier | write supervisord wrapper for celery workers] ***************
  1641. ok: [localhost]
  1642.  
  1643. TASK: [notifier | write supervisord wrapper for scheduler] ********************
  1644. ok: [localhost]
  1645.  
  1646. TASK: [notifier | write supervisord config for celery workers] ****************
  1647. ok: [localhost]
  1648.  
  1649. TASK: [notifier | write supervisord config for scheduler] *********************
  1650. ok: [localhost]
  1651.  
  1652. TASK: [notifier | enable supervisord config for celery workers] ***************
  1653. ok: [localhost]
  1654.  
  1655. TASK: [notifier | enable supervisord config for scheduler] ********************
  1656. ok: [localhost]
  1657.  
  1658. TASK: [notifier | checkout code] **********************************************
  1659. ok: [localhost]
  1660.  
  1661. TASK: [notifier | create ssh script for git (not authenticated)] **************
  1662. ok: [localhost]
  1663.  
  1664. TASK: [notifier | create ssh script for git (authenticated)] ******************
  1665. skipping: [localhost]
  1666.  
  1667. TASK: [notifier | install read-only ssh key] **********************************
  1668. skipping: [localhost]
  1669.  
  1670. TASK: [notifier | checkout theme] *********************************************
  1671. skipping: [localhost]
  1672.  
  1673. TASK: [notifier | write notifier local settings] ******************************
  1674. skipping: [localhost]
  1675.  
  1676. TASK: [notifier | install application requirements] ***************************
  1677. changed: [localhost]
  1678.  
  1679. TASK: [notifier | fix permissions on notifer db file] *************************
  1680. changed: [localhost]
  1681.  
  1682. TASK: [notifier | syncdb] *****************************************************
  1683. changed: [localhost]
  1684.  
  1685. TASK: [edx_service | create application user] *********************************
  1686. ok: [localhost]
  1687.  
  1688. TASK: [edx_service | create edx_service app, venv, data, and staticfiles dirs] ***
  1689. ok: [localhost]
  1690. ok: [localhost] => (item=venvs)
  1691. ok: [localhost] => (item=data)
  1692. ok: [localhost] => (item=staticfiles)
  1693.  
  1694. TASK: [edx_service | create /edx/var and /edx/etc dirs] ***********************
  1695. ok: [localhost] => (item=/edx/var)
  1696. ok: [localhost] => (item=/edx/etc)
  1697.  
  1698. TASK: [edx_service | create edx_service log dir] ******************************
  1699. ok: [localhost] => (item=/edx/var/log/analytics_api)
  1700.  
  1701. TASK: [edx_service | write out app config file] *******************************
  1702. ok: [localhost]
  1703.  
  1704. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1705. ok: [localhost] => (item=libmysqlclient-dev)
  1706.  
  1707. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1708. skipping: [localhost]
  1709.  
  1710. TASK: [edx_service | set git fetch.prune to ignore deleted remote refs] *******
  1711. changed: [localhost]
  1712.  
  1713. TASK: [edx_service | validate git protocol] ***********************************
  1714. skipping: [localhost] => (item={'REPO': 'edx-analytics-data-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/analytics_api/analytics_api', 'SSH_KEY': None})
  1715.  
  1716. TASK: [edx_service | install read-only ssh key] *******************************
  1717. skipping: [localhost] => (item={'REPO': 'edx-analytics-data-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/analytics_api/analytics_api', 'SSH_KEY': None})
  1718.  
  1719. TASK: [edx_service | checkout code over ssh] **********************************
  1720. skipping: [localhost] => (item={'REPO': 'edx-analytics-data-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/analytics_api/analytics_api', 'SSH_KEY': None})
  1721.  
  1722. TASK: [edx_service | checkout code over https] ********************************
  1723. ok: [localhost] => (item={'REPO': 'edx-analytics-data-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/analytics_api/analytics_api', 'SSH_KEY': None})
  1724.  
  1725. TASK: [edx_service | get instance information] ********************************
  1726. ok: [localhost]
  1727.  
  1728. TASK: [edx_service | tag instance] ********************************************
  1729. skipping: [localhost] => (item=[{'REPO': 'edx-analytics-data-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/analytics_api/analytics_api', 'SSH_KEY': None}, {'invocation': {'module_name': u'git_2_0_1', 'module_complex_args': {}, 'module_args': u'repo=https://github.com/edx/edx-analytics-data-api.git dest=/edx/app/analytics_api/analytics_api version=master'}, 'item': {'REPO': 'edx-analytics-data-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/analytics_api/analytics_api', 'SSH_KEY': None}, 'changed': False, 'after': 'a4b39021e061297bfa27672998dc0a5941404263', 'before': 'a4b39021e061297bfa27672998dc0a5941404263'}])
  1730.  
  1731. TASK: [analytics_api | setup the analytics_api env file] **********************
  1732. ok: [localhost]
  1733.  
  1734. TASK: [analytics_api | add gunicorn configuration file] ***********************
  1735. ok: [localhost]
  1736.  
  1737. TASK: [analytics_api | install application requirements] **********************
  1738. changed: [localhost] => (item=base.txt)
  1739. changed: [localhost] => (item=production.txt)
  1740. ok: [localhost] => (item=optional.txt)
  1741.  
  1742. TASK: [analytics_api | migrate] ***********************************************
  1743. changed: [localhost]
  1744.  
  1745. TASK: [analytics_api | run collectstatic] *************************************
  1746. changed: [localhost]
  1747.  
  1748. TASK: [analytics_api | create api users] **************************************
  1749. changed: [localhost] => (item={'key': 'dummy-api-user', 'value': 'changeme'})
  1750.  
  1751. TASK: [analytics_api | write out the supervisor wrapper] **********************
  1752. ok: [localhost]
  1753.  
  1754. TASK: [analytics_api | write supervisord config] ******************************
  1755. ok: [localhost]
  1756.  
  1757. TASK: [analytics_api | enable supervisor script] ******************************
  1758. ok: [localhost]
  1759.  
  1760. TASK: [analytics_api | update supervisor configuration] ***********************
  1761. changed: [localhost]
  1762.  
  1763. TASK: [analytics_api | create symlinks from the venv bin dir] *****************
  1764. ok: [localhost] => (item=python)
  1765. ok: [localhost] => (item=pip)
  1766. ok: [localhost] => (item=django-admin.py)
  1767.  
  1768. TASK: [analytics_api | create symlinks from the repo dir] *********************
  1769. ok: [localhost] => (item=manage.py)
  1770.  
  1771. TASK: [analytics_api | restart analytics_api] *********************************
  1772. changed: [localhost]
  1773.  
  1774. TASK: [edx_service | create application user] *********************************
  1775. ok: [localhost]
  1776.  
  1777. TASK: [edx_service | create edx_service app, venv, data, and staticfiles dirs] ***
  1778. ok: [localhost]
  1779. ok: [localhost] => (item=venvs)
  1780. ok: [localhost] => (item=data)
  1781. ok: [localhost] => (item=staticfiles)
  1782.  
  1783. TASK: [edx_service | create /edx/var and /edx/etc dirs] ***********************
  1784. ok: [localhost] => (item=/edx/var)
  1785. ok: [localhost] => (item=/edx/etc)
  1786.  
  1787. TASK: [edx_service | create edx_service log dir] ******************************
  1788. ok: [localhost] => (item=/edx/var/log/insights)
  1789.  
  1790. TASK: [edx_service | write out app config file] *******************************
  1791. ok: [localhost]
  1792.  
  1793. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1794. ok: [localhost] => (item=libmysqlclient-dev,build-essential,gettext,openjdk-7-jdk)
  1795.  
  1796. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1797. skipping: [localhost]
  1798.  
  1799. TASK: [edx_service | set git fetch.prune to ignore deleted remote refs] *******
  1800. changed: [localhost]
  1801.  
  1802. TASK: [edx_service | validate git protocol] ***********************************
  1803. skipping: [localhost] => (item={'REPO': 'edx-analytics-dashboard.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', 'SSH_KEY': None})
  1804.  
  1805. TASK: [edx_service | install read-only ssh key] *******************************
  1806. skipping: [localhost] => (item={'REPO': 'edx-analytics-dashboard.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', 'SSH_KEY': None})
  1807.  
  1808. TASK: [edx_service | checkout code over ssh] **********************************
  1809. skipping: [localhost] => (item={'REPO': 'edx-analytics-dashboard.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', 'SSH_KEY': None})
  1810.  
  1811. TASK: [edx_service | checkout code over https] ********************************
  1812. ok: [localhost] => (item={'REPO': 'edx-analytics-dashboard.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', 'SSH_KEY': None})
  1813.  
  1814. TASK: [edx_service | get instance information] ********************************
  1815. ok: [localhost]
  1816.  
  1817. TASK: [edx_service | tag instance] ********************************************
  1818. skipping: [localhost] => (item=[{'REPO': 'edx-analytics-dashboard.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', 'SSH_KEY': None}, {'invocation': {'module_name': u'git_2_0_1', 'module_complex_args': {}, 'module_args': u'repo=https://github.com/edx/edx-analytics-dashboard.git dest=/edx/app/insights/edx_analytics_dashboard version=master'}, 'item': {'REPO': 'edx-analytics-dashboard.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', 'SSH_KEY': None}, 'changed': False, 'after': '4fb26be385bd47584e0b0eaa8c14db88fe3281e3', 'before': '4fb26be385bd47584e0b0eaa8c14db88fe3281e3'}])
  1819.  
  1820. TASK: [insights | setup the insights env file] ********************************
  1821. ok: [localhost]
  1822.  
  1823. TASK: [insights | install application requirements] ***************************
  1824. ok: [localhost] => (item=production.txt)
  1825. ok: [localhost] => (item=optional.txt)
  1826.  
  1827. TASK: [insights | create nodeenv] *********************************************
  1828. ok: [localhost]
  1829.  
  1830. TASK: [insights | install node dependencies] **********************************
  1831. ok: [localhost]
  1832.  
  1833. TASK: [insights | install bower dependencies] *********************************
  1834. changed: [localhost]
  1835.  
  1836. TASK: [insights | migrate] ****************************************************
  1837. changed: [localhost]
  1838.  
  1839. TASK: [insights | run r.js optimizer] *****************************************
  1840. changed: [localhost]
  1841.  
  1842. TASK: [insights | run collectstatic] ******************************************
  1843. changed: [localhost] => (item=collectstatic --noinput)
  1844. changed: [localhost] => (item=compress)
  1845.  
  1846. TASK: [insights | compile translations] ***************************************
  1847. changed: [localhost]
  1848.  
  1849. TASK: [insights | write out the supervisior wrapper] **************************
  1850. ok: [localhost]
  1851.  
  1852. TASK: [insights | write supervisord config] ***********************************
  1853. ok: [localhost]
  1854.  
  1855. TASK: [insights | enable supervisor script] ***********************************
  1856. ok: [localhost]
  1857.  
  1858. TASK: [insights | update supervisor configuration] ****************************
  1859. changed: [localhost]
  1860.  
  1861. TASK: [insights | create symlinks from the venv bin dir] **********************
  1862. ok: [localhost] => (item=python)
  1863. ok: [localhost] => (item=pip)
  1864. ok: [localhost] => (item=django-admin.py)
  1865.  
  1866. TASK: [insights | create manage.py symlink] ***********************************
  1867. ok: [localhost]
  1868.  
  1869. TASK: [insights | restart insights] *******************************************
  1870. changed: [localhost]
  1871.  
  1872. TASK: [edx_service | create application user] *********************************
  1873. ok: [localhost]
  1874.  
  1875. TASK: [edx_service | create edx_service app, venv, data, and staticfiles dirs] ***
  1876. ok: [localhost]
  1877. ok: [localhost] => (item=venvs)
  1878. ok: [localhost] => (item=data)
  1879. ok: [localhost] => (item=staticfiles)
  1880.  
  1881. TASK: [edx_service | create /edx/var and /edx/etc dirs] ***********************
  1882. ok: [localhost] => (item=/edx/var)
  1883. ok: [localhost] => (item=/edx/etc)
  1884.  
  1885. TASK: [edx_service | create edx_service log dir] ******************************
  1886. ok: [localhost] => (item=/edx/var/log/edx_notes_api)
  1887.  
  1888. TASK: [edx_service | write out app config file] *******************************
  1889. ok: [localhost]
  1890.  
  1891. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1892. ok: [localhost] => (item=libmysqlclient-dev,python-mysqldb)
  1893.  
  1894. TASK: [edx_service | install a bunch of system packages on which edx_service relies] ***
  1895. skipping: [localhost]
  1896.  
  1897. TASK: [edx_service | set git fetch.prune to ignore deleted remote refs] *******
  1898. changed: [localhost]
  1899.  
  1900. TASK: [edx_service | validate git protocol] ***********************************
  1901. skipping: [localhost] => (item={'REPO': 'edx-notes-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', 'SSH_KEY': None})
  1902.  
  1903. TASK: [edx_service | install read-only ssh key] *******************************
  1904. skipping: [localhost] => (item={'REPO': 'edx-notes-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', 'SSH_KEY': None})
  1905.  
  1906. TASK: [edx_service | checkout code over ssh] **********************************
  1907. skipping: [localhost] => (item={'REPO': 'edx-notes-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', 'SSH_KEY': None})
  1908.  
  1909. TASK: [edx_service | checkout code over https] ********************************
  1910. ok: [localhost] => (item={'REPO': 'edx-notes-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', 'SSH_KEY': None})
  1911.  
  1912. TASK: [edx_service | get instance information] ********************************
  1913. ok: [localhost]
  1914.  
  1915. TASK: [edx_service | tag instance] ********************************************
  1916. skipping: [localhost] => (item=[{'REPO': 'edx-notes-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', 'SSH_KEY': None}, {'invocation': {'module_name': u'git_2_0_1', 'module_complex_args': {}, 'module_args': u'repo=https://github.com/edx/edx-notes-api.git dest=/edx/app/edx_notes_api/edx_notes_api version=master'}, 'item': {'REPO': 'edx-notes-api.git', 'DOMAIN': u'github.com', 'VERSION': u'master', 'PROTOCOL': u'https', 'PATH': u'edx', 'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', 'SSH_KEY': None}, 'changed': False, 'after': 'caf5719aa1fbcf344927c7530a2fd627d9d7782f', 'before': 'caf5719aa1fbcf344927c7530a2fd627d9d7782f'}])
  1917.  
  1918. TASK: [edx_notes_api | install application requirements] **********************
  1919. ok: [localhost] => (item=base.txt)
  1920.  
  1921. TASK: [edx_notes_api | migrate] ***********************************************
  1922. changed: [localhost]
  1923.  
  1924. TASK: [edx_notes_api | write out gunicorn.py] *********************************
  1925. ok: [localhost]
  1926.  
  1927. TASK: [edx_notes_api | write out the supervisor wrapper] **********************
  1928. ok: [localhost]
  1929.  
  1930. TASK: [edx_notes_api | write supervisord config] ******************************
  1931. ok: [localhost]
  1932.  
  1933. TASK: [edx_notes_api | setup the edx_notes_api env file] **********************
  1934. ok: [localhost]
  1935.  
  1936. TASK: [edx_notes_api | enable supervisor script] ******************************
  1937. ok: [localhost]
  1938.  
  1939. TASK: [edx_notes_api | update supervisor configuration] ***********************
  1940. changed: [localhost]
  1941.  
  1942. TASK: [edx_notes_api | restart supervisor] ************************************
  1943. changed: [localhost]
  1944.  
  1945. TASK: [edx_notes_api | create symlinks from the venv bin dir] *****************
  1946. ok: [localhost] => (item=python)
  1947. ok: [localhost] => (item=pip)
  1948. ok: [localhost] => (item=django-admin.py)
  1949.  
  1950. TASK: [edx_notes_api | create manage.py symlink] ******************************
  1951. ok: [localhost]
  1952.  
  1953. TASK: [edx_notes_api | restart edx_notes_api] *********************************
  1954. changed: [localhost]
  1955.  
  1956. TASK: [demo | create demo app and data dirs] **********************************
  1957. ok: [localhost]
  1958.  
  1959. TASK: [demo | check out the demo course] **************************************
  1960. ok: [localhost]
  1961.  
  1962. TASK: [demo | import demo course] *********************************************
  1963. skipping: [localhost]
  1964.  
  1965. TASK: [demo | create some test users and enroll them in the course] ***********
  1966. skipping: [localhost] => (item={'password': 'edx', 'email': 'honor@example.com', 'mode': 'honor'})
  1967. skipping: [localhost] => (item={'password': 'edx', 'email': 'audit@example.com', 'mode': 'audit'})
  1968. skipping: [localhost] => (item={'password': 'edx', 'email': 'verified@example.com', 'mode': 'verified'})
  1969.  
  1970. TASK: [demo | create staff user] **********************************************
  1971. skipping: [localhost]
  1972.  
  1973. TASK: [demo | add test users to the certificate whitelist] ********************
  1974. skipping: [localhost] => (item={'password': 'edx', 'email': 'honor@example.com', 'mode': 'honor'})
  1975. skipping: [localhost] => (item={'password': 'edx', 'email': 'audit@example.com', 'mode': 'audit'})
  1976. skipping: [localhost] => (item={'password': 'edx', 'email': 'verified@example.com', 'mode': 'verified'})
  1977.  
  1978. TASK: [demo | seed the forums for the demo course] ****************************
  1979. skipping: [localhost] => (item={'password': 'edx', 'email': 'honor@example.com', 'mode': 'honor'})
  1980. skipping: [localhost] => (item={'password': 'edx', 'email': 'audit@example.com', 'mode': 'audit'})
  1981. skipping: [localhost] => (item={'password': 'edx', 'email': 'verified@example.com', 'mode': 'verified'})
  1982.  
  1983. TASK: [oauth_client_setup | create OAuth2 Clients] ****************************
  1984. changed: [localhost] => (item={'id': u'ecommerce-key', 'url_root': u'http://localhost:8002', 'secret': u'ecommerce-secret', 'name': u'ecommerce'})
  1985. changed: [localhost] => (item={'id': u'YOUR_OAUTH2_KEY', 'url_root': u'http://127.0.0.1:8110', 'secret': u'secret', 'name': u'insights'})
  1986. skipping: [localhost] => (item={'id': u'{# PROGRAMS_SOCIAL_AUTH_EDX_OIDC_KEY #}', 'url_root': u'{# PROGRAMS_URL_ROOT #}', 'secret': u'{# PROGRAMS_SOCIAL_AUTH_EDX_OIDC_SECRET #}', 'name': u'None'})
  1987. skipping: [localhost] => (item={'id': u'{# CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_KEY #}', 'url_root': u'{# CREDENTIALS_URL_ROOT #}', 'secret': u'{# CREDENTIALS_SOCIAL_AUTH_EDX_OIDC_SECRET #}', 'name': u'None'})
  1988.  
  1989. TASK: [oraclejdk | install debian needed pkgs] ********************************
  1990. ok: [localhost] => (item=curl)
  1991.  
  1992. TASK: [oraclejdk | download Oracle Java] **************************************
  1993. ok: [localhost]
  1994.  
  1995. TASK: [oraclejdk | create jvm dir] ********************************************
  1996. ok: [localhost]
  1997.  
  1998. TASK: [oraclejdk | untar Oracle Java] *****************************************
  1999. ok: [localhost]
  2000.  
  2001. TASK: [oraclejdk | create symlink expected by elasticsearch] ******************
  2002. ok: [localhost]
  2003.  
  2004. TASK: [oraclejdk | update alternatives java] **********************************
  2005. ok: [localhost] => (item=java)
  2006. ok: [localhost] => (item=javac)
  2007. ok: [localhost] => (item=javaws)
  2008.  
  2009. TASK: [oraclejdk | add JAVA_HOME for Oracle Java] *****************************
  2010. ok: [localhost]
  2011.  
  2012. TASK: [elasticsearch | Install Elasticsearch repo key] ************************
  2013. ok: [localhost]
  2014.  
  2015. TASK: [elasticsearch | Add Elasticsearch Repo] ********************************
  2016. ok: [localhost]
  2017.  
  2018. TASK: [elasticsearch | install elasticsearch] *********************************
  2019. ok: [localhost]
  2020.  
  2021. TASK: [elasticsearch | create directories] ************************************
  2022. ok: [localhost] => (item=/edx/var/elasticsearch)
  2023. ok: [localhost] => (item=/edx/var/log/elasticsearch)
  2024. ok: [localhost] => (item=/edx/etc/elasticsearch)
  2025.  
  2026. TASK: [elasticsearch | update elasticsearch defaults] *************************
  2027. ok: [localhost]
  2028.  
  2029. TASK: [elasticsearch | drop the elasticsearch config] *************************
  2030. ok: [localhost]
  2031.  
  2032. TASK: [elasticsearch | drop the elasticsearch logging config] *****************
  2033. ok: [localhost]
  2034.  
  2035. TASK: [elasticsearch | Ensure elasticsearch is enabled and started] ***********
  2036. ok: [localhost]
  2037.  
  2038. TASK: [elasticsearch | Restart elastic when there has been an upgrade] ********
  2039. skipping: [localhost]
  2040.  
  2041. TASK: [rbenv | fail rbenv_user required for role] *****************************
  2042. skipping: [localhost]
  2043.  
  2044. TASK: [rbenv | fail rbenv_dir required for role] ******************************
  2045. skipping: [localhost]
  2046.  
  2047. TASK: [rbenv | fail rbenv_ruby_version required for role] *********************
  2048. skipping: [localhost]
  2049.  
  2050. TASK: [rbenv | create rbenv user {{ forum_user }}] ****************************
  2051. ok: [localhost]
  2052.  
  2053. TASK: [rbenv | create rbenv dir if it does not exist] *************************
  2054. ok: [localhost]
  2055.  
  2056. TASK: [rbenv | install build depends] *****************************************
  2057. ok: [localhost] => (item=curl,build-essential,libcurl4-openssl-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev)
  2058.  
  2059. TASK: [rbenv | update rbenv repo] *********************************************
  2060. ok: [localhost]
  2061.  
  2062. TASK: [rbenv | ensure ruby_env exists] ****************************************
  2063. ok: [localhost]
  2064.  
  2065. TASK: [rbenv | check ruby-build installed] ************************************
  2066. changed: [localhost]
  2067.  
  2068. TASK: [rbenv | if ruby-build exists, which versions we can install] ***********
  2069. changed: [localhost]
  2070.  
  2071. TASK: [rbenv | create temporary directory] ************************************
  2072. changed: [localhost]
  2073.  
  2074. TASK: [rbenv | clone ruby-build repo] *****************************************
  2075. changed: [localhost]
  2076.  
  2077. TASK: [rbenv | install ruby-build] ********************************************
  2078. changed: [localhost]
  2079.  
  2080. TASK: [rbenv | remove temporary directory] ************************************
  2081. changed: [localhost]
  2082.  
  2083. TASK: [rbenv | check ruby {{ forum_ruby_version }} installed] *****************
  2084. changed: [localhost]
  2085.  
  2086. TASK: [rbenv | install ruby {{ forum_ruby_version }}] *************************
  2087. skipping: [localhost]
  2088.  
  2089. TASK: [rbenv | set global ruby {{ forum_ruby_version }}] **********************
  2090. changed: [localhost]
  2091.  
  2092. TASK: [rbenv | install bundler] ***********************************************
  2093. failed: [localhost] => {"changed": true, "cmd": "gem install bundler -v 1.11.2", "delta": "0:00:00.008546", "end": "2016-05-30 16:59:19.484287", "rc": 127, "start": "2016-05-30 16:59:19.475741", "warnings": []}
  2094. stderr: /bin/sh: 1: gem: not found
  2095.  
  2096. FATAL: all hosts have already failed -- aborting
  2097.  
  2098. PLAY RECAP ********************************************************************
  2099. INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | gather {{ item }} static assets with paver ---------------------------- 525.69s
  2100. INFO:ansible.callback_plugins.datadog_tasks_timing:insights | run collectstatic ---------------------------------------------------- 82.41s
  2101. INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | install python requirements -------------------------------------------- 50.46s
  2102. INFO:ansible.callback_plugins.datadog_tasks_timing:edx_service | get instance information ------------------------------------------ 30.22s
  2103. INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | Install edx-platform npm dependencies ---------------------------------- 25.79s
  2104. INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | migrate ---------------------------------------------------------------- 25.36s
  2105. INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | restart edxapp --------------------------------------------------------- 23.04s
  2106. INFO:ansible.callback_plugins.datadog_tasks_timing:insights | run r.js optimizer --------------------------------------------------- 16.61s
  2107. INFO:ansible.callback_plugins.datadog_tasks_timing:edxapp | checkout edx-platform repo into {{ edxapp_code_dir }} ------------------ 14.17s
  2108. INFO:ansible.callback_plugins.datadog_tasks_timing:server_utils | Install ubuntu system packages ----------------------------------- 13.48s
  2109. INFO:ansible.callback_plugins.datadog_tasks_timing:
  2110. Playbook edx_sandbox finished: Mon May 30 16:59:19 2016, 415 total tasks. 0:17:27 elapsed.
  2111.  
  2112. to retry, use: --limit @/root/edx_sandbox.retry
  2113.  
  2114. localhost : ok=432 changed=86 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement