Advertisement
Guest User

Openedx problem Hadavi

a guest
Apr 3rd, 2020
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 267.02 KB | None | 0 0
  1. Capturing output to logs/install-20200403-021806.log
  2. Installation started at 2020-04-03 02:18:06
  3. Installing release 'open-release/ironwood.master'
  4. Reading package lists...
  5. Building dependency tree...
  6. Reading state information...
  7. python-software-properties is already the newest version (0.96.20.9).
  8. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
  9. gpg: keyring `/tmp/tmpstd7ll6y/secring.gpg' created
  10. gpg: keyring `/tmp/tmpstd7ll6y/pubring.gpg' created
  11. gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
  12. gpg: /tmp/tmpstd7ll6y/trustdb.gpg: trustdb created
  13. gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
  14. gpg: Total number processed: 1
  15. gpg: imported: 1 (RSA: 1)
  16. OK
  17. Hit:1 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
  18. Hit:2 http://nginx.org/packages/ubuntu xenial InRelease
  19. Hit:3 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
  20. Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
  21. Hit:5 http://us.archive.ubuntu.com/ubuntu xenial InRelease
  22. Hit:6 http://ppa.edx.org xenial InRelease
  23. Ign:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
  24. Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
  25. Ign:9 http://packages.elastic.co/elasticsearch/1.5/debian stable InRelease
  26. Hit:10 http://packages.elastic.co/elasticsearch/1.5/debian stable Release
  27. Get:11 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release [3462 B]
  28. Get:12 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
  29. Get:13 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg [801 B]
  30. Ign:13 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg
  31. Hit:15 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2/multiverse amd64 Packages
  32. Hit:16 https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu xenial InRelease
  33. Fetched 329 kB in 2s (153 kB/s)
  34. Reading package lists...
  35. W: http://packages.elastic.co/elasticsearch/1.5/debian/dists/stable/Release.gpg: Signature by key 46095ACC8548582C1A2699A9D27D666CD88E42B4 uses weak digest algorithm (SHA1)
  36. W: GPG error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D68FA50FEA312927
  37. W: The repository 'http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release' is not signed.
  38. Reading package lists...
  39. Building dependency tree...
  40. Reading state information...
  41. Calculating upgrade...
  42. The following packages have been kept back:
  43. elasticsearch rabbitmq-server
  44. The following packages will be upgraded:
  45. mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell
  46. mongodb-org-tools
  47. 5 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
  48. Need to get 51.8 MB of archives.
  49. After this operation, 127 kB of additional disk space will be used.
  50. WARNING: The following packages cannot be authenticated!
  51. mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools
  52. mongodb-org
  53. E: There were unauthenticated packages and -y was used without --allow-unauthenticated
  54. Reading package lists...
  55. Building dependency tree...
  56. Reading state information...
  57. build-essential is already the newest version (12.1ubuntu2).
  58. g++ is already the newest version (4:5.3.1-1ubuntu1).
  59. gcc is already the newest version (4:5.3.1-1ubuntu1).
  60. libxmlsec1-dev is already the newest version (1.2.20-2ubuntu4).
  61. swig is already the newest version (3.0.8-0ubuntu3).
  62. curl is already the newest version (7.47.0-1ubuntu2.14).
  63. libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2.4).
  64. libmysqlclient-dev is already the newest version (5.7.29-0ubuntu0.16.04.1).
  65. libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.7).
  66. libxslt1-dev is already the newest version (1.1.28-2.1ubuntu0.3).
  67. python-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.8).
  68. python-dev is already the newest version (2.7.12-1~16.04).
  69. software-properties-common is already the newest version (0.96.20.9).
  70. python-pip is already the newest version (8.1.1-2ubuntu0.4).
  71. git-core is already the newest version (1:2.14.2-1~ppa0~ubuntu16.04.1).
  72. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
  73. Requirement already up-to-date: pip==9.0.3 in /usr/local/lib/python2.7/dist-packages
  74. You are using pip version 9.0.3, however version 20.0.2 is available.
  75. You should consider upgrading via the 'pip install --upgrade pip' command.
  76. Requirement already up-to-date: setuptools==39.0.1 in /usr/local/lib/python2.7/dist-packages
  77. You are using pip version 9.0.3, however version 20.0.2 is available.
  78. You should consider upgrading via the 'pip install --upgrade pip' command.
  79. Requirement already up-to-date: virtualenv==15.2.0 in /usr/local/lib/python2.7/dist-packages
  80. You are using pip version 9.0.3, however version 20.0.2 is available.
  81. You should consider upgrading via the 'pip install --upgrade pip' command.
  82. fatal: destination path 'configuration' already exists and is not an empty directory.
  83. Already on 'open-release/ironwood.master'
  84. Your branch is up to date with 'origin/open-release/ironwood.master'.
  85. From https://github.com/edx/configuration
  86. * [new branch] nedbat/test/j.a3 -> origin/nedbat/test/j.a3
  87. Already up to date.
  88. Requirement already satisfied: ansible==2.3.1.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 7))
  89. Requirement already satisfied: asn1crypto==0.24.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 8))
  90. Requirement already satisfied: awscli==1.15.19 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 9))
  91. Requirement already satisfied: bcrypt==3.1.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 10))
  92. Requirement already satisfied: boto3==1.7.14 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 11))
  93. Requirement already satisfied: boto==2.48.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 12))
  94. Requirement already satisfied: botocore==1.10.19 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 13))
  95. Requirement already satisfied: certifi==2018.4.16 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 14))
  96. Requirement already satisfied: cffi==1.11.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 15))
  97. Requirement already satisfied: chardet==3.0.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 16))
  98. Requirement already satisfied: colorama==0.3.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 17))
  99. Requirement already satisfied: cryptography==2.2.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 18))
  100. Requirement already satisfied: datadog==0.8.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 19))
  101. Requirement already satisfied: decorator==4.3.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 20))
  102. Requirement already satisfied: docopt==0.6.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 21))
  103. Requirement already satisfied: docutils==0.14 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 22))
  104. Requirement already satisfied: ecdsa==0.13 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 23))
  105. Requirement already satisfied: enum34==1.1.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 24))
  106. Requirement already satisfied: futures==3.2.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 25))
  107. Requirement already satisfied: idna==2.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 26))
  108. Requirement already satisfied: ipaddress==1.0.22 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 27))
  109. Requirement already satisfied: jinja2==2.8 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 28))
  110. Requirement already satisfied: jmespath==0.9.3 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 29))
  111. Requirement already satisfied: markupsafe==1.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 30))
  112. Requirement already satisfied: mysql-python==1.2.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 31))
  113. Requirement already satisfied: networkx==1.11 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 32))
  114. Requirement already satisfied: paramiko==2.4.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 33))
  115. Requirement already satisfied: pathlib2==2.3.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 34))
  116. Requirement already satisfied: prettytable==0.7.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 35))
  117. Requirement already satisfied: pyasn1==0.4.3 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 36))
  118. Requirement already satisfied: pycparser==2.18 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 37))
  119. Requirement already satisfied: pycrypto==2.6.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 38))
  120. Requirement already satisfied: pymongo==3.2.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 39))
  121. Requirement already satisfied: pynacl==1.2.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 40))
  122. Requirement already satisfied: python-dateutil==2.7.3 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 41))
  123. Requirement already satisfied: python-simple-hipchat==0.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 42))
  124. Requirement already satisfied: pyyaml==3.12 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 43))
  125. Requirement already satisfied: requests==2.18.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 44))
  126. Requirement already satisfied: rsa==3.4.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 45))
  127. Requirement already satisfied: s3transfer==0.1.13 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 46))
  128. Requirement already satisfied: scandir==1.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 47))
  129. Requirement already satisfied: simplejson==3.16.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 48))
  130. Requirement already satisfied: six==1.11.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 49))
  131. Requirement already satisfied: urllib3==1.22 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 50))
  132. Requirement already satisfied: wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 51))
  133. Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==2.3.1.0->-r requirements.txt (line 7))
  134. You are using pip version 9.0.3, however version 20.0.2 is available.
  135. You should consider upgrading via the 'pip install --upgrade pip' command.
  136. [WARNING]: While constructing a mapping from
  137. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 75, column
  138. 3, found a duplicate dict key (RACK_ENV). Using last defined value only.
  139. [WARNING]: While constructing a mapping from
  140. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 75, column
  141. 3, found a duplicate dict key (SINATRA_ENV). Using last defined value only.
  142. [WARNING]: While constructing a mapping from
  143. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 75, column
  144. 3, found a duplicate dict key (SEARCH_SERVER). Using last defined value only.
  145. [WARNING]: While constructing a mapping from
  146. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 75, column
  147. 3, found a duplicate dict key (MONGOHQ_URL). Using last defined value only.
  148.  
  149. PLAY [Bootstrap instance(s)] ***************************************************
  150.  
  151. TASK [python : Update apt-get] *************************************************
  152. changed: [localhost]
  153.  
  154. TASK [python : Install packages] ***********************************************
  155. changed: [localhost] => (item=python-minimal)
  156.  
  157. PLAY [Configure instance(s)] ***************************************************
  158.  
  159. TASK [Gathering Facts] *********************************************************
  160. ok: [localhost]
  161.  
  162. TASK [swapfile : Write swapfile] ***********************************************
  163. ok: [localhost]
  164.  
  165. TASK [swapfile : Set swapfile permissions] *************************************
  166. ok: [localhost]
  167.  
  168. TASK [swapfile : Create swapfile] **********************************************
  169. skipping: [localhost]
  170.  
  171. TASK [swapfile : Enable swapfile] **********************************************
  172. skipping: [localhost]
  173.  
  174. TASK [swapfile : Add swapfile to /etc/fstab] ***********************************
  175. ok: [localhost]
  176.  
  177. TASK [swapfile : Configure vm.swappiness] **************************************
  178. skipping: [localhost]
  179.  
  180. TASK [swapfile : Configure vm.vfs_cache_pressure] ******************************
  181. skipping: [localhost]
  182.  
  183. TASK [server_utils : Check for expired edx key] ********************************
  184. skipping: [localhost]
  185.  
  186. TASK [server_utils : remove expired edx key] ***********************************
  187. skipping: [localhost]
  188.  
  189. TASK [server_utils : Install ubuntu system packages] ***************************
  190. skipping: [localhost] => (item=[])
  191.  
  192. TASK [user : debug] ************************************************************
  193. skipping: [localhost]
  194.  
  195. TASK [user : Create the edxadmin group] ****************************************
  196. skipping: [localhost]
  197.  
  198. TASK [user : Ensure sudoers.d is read] *****************************************
  199. skipping: [localhost]
  200.  
  201. TASK [user : Grant full sudo access to the edxadmin group] *********************
  202. skipping: [localhost]
  203.  
  204. TASK [user : Create the users] *************************************************
  205.  
  206. TASK [user : Assign admin role to admin users] *********************************
  207.  
  208. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  209.  
  210. TASK [user : Print warning if github user(s) missing ssh key] ******************
  211.  
  212. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  213.  
  214. TASK [user : Get github key(s) and update the authorized_keys file] ************
  215.  
  216. TASK [user : Create bashrc file for normal users] ******************************
  217.  
  218. TASK [user : Create .profile for all users] ************************************
  219.  
  220. TASK [user : Modify shell for restricted users] ********************************
  221.  
  222. TASK [user : Create bashrc file for restricted users] **************************
  223.  
  224. TASK [user : Create sudoers file from template] ********************************
  225. skipping: [localhost]
  226.  
  227. TASK [user : Change home directory ownership to root for restricted users] *****
  228.  
  229. TASK [user : Create ~/bin directory] *******************************************
  230.  
  231. TASK [user : Create allowed command links] *************************************
  232.  
  233. TASK [security : Install security packages] ************************************
  234. skipping: [localhost] => (item=[])
  235.  
  236. TASK [security : Update all system packages] ***********************************
  237. skipping: [localhost]
  238.  
  239. TASK [security : Configure periodic unattended-upgrades] ***********************
  240. skipping: [localhost]
  241.  
  242. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  243. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  244. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  245. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  246.  
  247. TASK [security : Disable unattended-upgrades] **********************************
  248. skipping: [localhost]
  249.  
  250. TASK [security : Only unattended-upgrade from security repo] *******************
  251. skipping: [localhost]
  252.  
  253. TASK [security : Disable security only updates on unattended-upgrades] *********
  254. skipping: [localhost]
  255.  
  256. TASK [security : Take security updates during ansible runs] ********************
  257. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  258. skipping: [localhost] => (item=unattended-upgrade)
  259.  
  260. TASK [security : Install security packages] ************************************
  261. skipping: [localhost] => (item=[])
  262.  
  263. TASK [security : Enable automatic start for update service] ********************
  264. skipping: [localhost]
  265.  
  266. TASK [security : Update all system packages] ***********************************
  267. skipping: [localhost]
  268.  
  269. TASK [security : Configure security auto-updates] ******************************
  270. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  271. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  272.  
  273. TASK [security : Take security updates during ansible runs] ********************
  274. skipping: [localhost] => (item=yum check-update --security)
  275. skipping: [localhost] => (item=yum update --security -y)
  276.  
  277. TASK [common : Check Configuration Sources] ************************************
  278.  
  279. TASK [common : stat] ***********************************************************
  280. skipping: [localhost]
  281.  
  282. TASK [common : Update CA Certificates] *****************************************
  283. skipping: [localhost]
  284.  
  285. TASK [common : stat] ***********************************************************
  286. skipping: [localhost]
  287.  
  288. TASK [common : Update CA Trust] ************************************************
  289. skipping: [localhost]
  290.  
  291. TASK [common : Add common_users] ***********************************************
  292. skipping: [localhost] => (item=www-data)
  293. skipping: [localhost] => (item=syslog)
  294.  
  295. TASK [common : check if instance is vagrant] ***********************************
  296. skipping: [localhost]
  297.  
  298. TASK [common : Add git apt repository] *****************************************
  299. skipping: [localhost]
  300.  
  301. TASK [common : Add edX PPA apt key] ********************************************
  302. skipping: [localhost]
  303.  
  304. TASK [common : Update expired apt keys] ****************************************
  305. skipping: [localhost]
  306.  
  307. TASK [common : Add custom edX PPA] *********************************************
  308. skipping: [localhost]
  309.  
  310. TASK [common : Install role-independent useful system packages] ****************
  311. skipping: [localhost] => (item=[])
  312.  
  313. TASK [common : Install role-independent useful system packages from custom PPA] ***
  314. skipping: [localhost] => (item=[])
  315.  
  316. TASK [common : Install role-independent useful system packages] ****************
  317. skipping: [localhost] => (item=[])
  318.  
  319. TASK [common : Create common directories] **************************************
  320. skipping: [localhost] => (item={u'path': u'/edx/var'})
  321. skipping: [localhost] => (item={u'path': u'/edx/app'})
  322. skipping: [localhost] => (item={u'path': u'/edx/bin'})
  323. skipping: [localhost] => (item={u'path': u'/edx/etc'})
  324. skipping: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
  325. skipping: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
  326. skipping: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
  327.  
  328. TASK [common : upload sudo config for key forwarding as root] ******************
  329. skipping: [localhost]
  330.  
  331. TASK [common : pip install virtualenv] *****************************************
  332. skipping: [localhost] => (item=pip==9.0.3)
  333. skipping: [localhost] => (item=setuptools==39.0.1)
  334. skipping: [localhost] => (item=virtualenv==15.2.0)
  335. skipping: [localhost] => (item=virtualenvwrapper==4.8.2)
  336.  
  337. TASK [common : update /etc/hosts] **********************************************
  338. skipping: [localhost]
  339.  
  340. TASK [common : update /etc/hostname] *******************************************
  341. skipping: [localhost]
  342.  
  343. TASK [common : run hostname] ***************************************************
  344. skipping: [localhost]
  345.  
  346. TASK [common : Copy the templates to their respestive destination] *************
  347. skipping: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
  348. skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
  349. skipping: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
  350. skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
  351.  
  352. TASK [common : restart rsyslogd] ***********************************************
  353. skipping: [localhost]
  354.  
  355. TASK [common : Add ntp alert script] *******************************************
  356. skipping: [localhost]
  357.  
  358. TASK [common : Remove MOTD update checker] *************************************
  359. skipping: [localhost]
  360.  
  361. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  362. skipping: [localhost]
  363.  
  364. TASK [common : install logrotate configuration] ********************************
  365. skipping: [localhost]
  366.  
  367. TASK [vhost : Create all service directories] **********************************
  368. skipping: [localhost] => (item={'key': u'home', 'value': {u'owner': u'root', u'path': u'/edx/app/aws', u'group': u'root', u'mode': u'0755'}})
  369. skipping: [localhost] => (item={'key': u'data', 'value': {u'owner': u'root', u'path': u'/edx/var/aws', u'group': u'root', u'mode': u'0700'}})
  370. skipping: [localhost] => (item={'key': u'logs', 'value': {u'owner': u'syslog', u'path': u'/edx/var/log/aws', u'group': u'syslog', u'mode': u'0650'}})
  371.  
  372. TASK [vhost : Add script for syncing logs on exit] *****************************
  373. skipping: [localhost]
  374.  
  375. TASK [vhost : Force logrotate on supervisor stop] ******************************
  376. skipping: [localhost]
  377.  
  378. TASK [vhost : Add systemd service for syncing logs on exit] ********************
  379. skipping: [localhost]
  380.  
  381. TASK [vhost : Enable systemd service for syncing logs on exit] *****************
  382. skipping: [localhost]
  383.  
  384. TASK [vhost : Update /etc/dhcp/dhclient.conf] **********************************
  385. skipping: [localhost]
  386.  
  387. TASK [vhost : Rerun dhclient to apply template] ********************************
  388. skipping: [localhost]
  389.  
  390. TASK [vhost : Copy the MOTD template in place] *********************************
  391. skipping: [localhost]
  392.  
  393. TASK [vhost : Add motd.tail support for 16.04] *********************************
  394. skipping: [localhost]
  395.  
  396. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  397. skipping: [localhost]
  398.  
  399. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  400. skipping: [localhost]
  401.  
  402. TASK [vhost : Restart ssh] *****************************************************
  403. skipping: [localhost]
  404.  
  405. TASK [vhost : Restart ssh] *****************************************************
  406. skipping: [localhost]
  407.  
  408. TASK [aws : Gather ec2 facts for use in other roles] ***************************
  409. skipping: [localhost]
  410.  
  411. TASK [aws : Set the MTU to 1500 temporarily] ***********************************
  412. skipping: [localhost]
  413.  
  414. TASK [aws : Set the MTU to 1500 permanently] ***********************************
  415. skipping: [localhost]
  416.  
  417. TASK [aws : Install system packages] *******************************************
  418. skipping: [localhost] => (item=[])
  419.  
  420. TASK [aws : Copy the Python requirements file] *********************************
  421. skipping: [localhost]
  422.  
  423. TASK [aws : Install aws python packages] ***************************************
  424. skipping: [localhost]
  425.  
  426. TASK [aws : Copy the boto global config file] **********************************
  427. skipping: [localhost]
  428.  
  429. TASK [aws : Create s3 log sync script] *****************************************
  430. skipping: [localhost]
  431.  
  432. TASK [aws : Create symlink for s3 log sync script] *****************************
  433. skipping: [localhost]
  434.  
  435. TASK [aws : Check if files exist so the next task doesn't fail] ****************
  436. skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
  437. skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
  438. skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
  439. skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
  440.  
  441. TASK [aws : Update the ssh motd on Ubuntu] *************************************
  442. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/10-help-text', 'changed': False})
  443. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/usr/share/landscape/landscape-sysinfo.wrapper', 'changed': False})
  444. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/51-cloudguest', 'changed': False})
  445. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/91-release-upgrade', 'changed': False})
  446.  
  447. TASK [server_utils : Check for expired edx key] ********************************
  448. changed: [localhost]
  449.  
  450. TASK [server_utils : remove expired edx key] ***********************************
  451. skipping: [localhost]
  452.  
  453. TASK [server_utils : Install ubuntu system packages] ***************************
  454. ok: [localhost] => (item=[u'ack-grep', u'mosh', u'tree', u'screen', u'tmux', u'curl', u'vim', u'dnsutils', u'inetutils-telnet', u'netcat'])
  455.  
  456. TASK [user : debug] ************************************************************
  457. ok: [localhost] => {
  458. "user_info": []
  459. }
  460.  
  461. TASK [user : Create the edxadmin group] ****************************************
  462. ok: [localhost]
  463.  
  464. TASK [user : Ensure sudoers.d is read] *****************************************
  465. ok: [localhost]
  466.  
  467. TASK [user : Grant full sudo access to the edxadmin group] *********************
  468. ok: [localhost]
  469.  
  470. TASK [user : Create the users] *************************************************
  471.  
  472. TASK [user : Assign admin role to admin users] *********************************
  473.  
  474. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  475.  
  476. TASK [user : Print warning if github user(s) missing ssh key] ******************
  477.  
  478. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  479.  
  480. TASK [user : Get github key(s) and update the authorized_keys file] ************
  481.  
  482. TASK [user : Create bashrc file for normal users] ******************************
  483.  
  484. TASK [user : Create .profile for all users] ************************************
  485.  
  486. TASK [user : Modify shell for restricted users] ********************************
  487.  
  488. TASK [user : Create bashrc file for restricted users] **************************
  489.  
  490. TASK [user : Create sudoers file from template] ********************************
  491. ok: [localhost]
  492.  
  493. TASK [user : Change home directory ownership to root for restricted users] *****
  494.  
  495. TASK [user : Create ~/bin directory] *******************************************
  496.  
  497. TASK [user : Create allowed command links] *************************************
  498.  
  499. TASK [security : Install security packages] ************************************
  500. skipping: [localhost] => (item=[])
  501.  
  502. TASK [security : Update all system packages] ***********************************
  503. skipping: [localhost]
  504.  
  505. TASK [security : Configure periodic unattended-upgrades] ***********************
  506. skipping: [localhost]
  507.  
  508. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  509. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  510. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  511. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  512.  
  513. TASK [security : Disable unattended-upgrades] **********************************
  514. skipping: [localhost]
  515.  
  516. TASK [security : Only unattended-upgrade from security repo] *******************
  517. skipping: [localhost]
  518.  
  519. TASK [security : Disable security only updates on unattended-upgrades] *********
  520. skipping: [localhost]
  521.  
  522. TASK [security : Take security updates during ansible runs] ********************
  523. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  524. skipping: [localhost] => (item=unattended-upgrade)
  525.  
  526. TASK [security : Install security packages] ************************************
  527. skipping: [localhost] => (item=[])
  528.  
  529. TASK [security : Enable automatic start for update service] ********************
  530. skipping: [localhost]
  531.  
  532. TASK [security : Update all system packages] ***********************************
  533. skipping: [localhost]
  534.  
  535. TASK [security : Configure security auto-updates] ******************************
  536. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  537. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  538.  
  539. TASK [security : Take security updates during ansible runs] ********************
  540. skipping: [localhost] => (item=yum check-update --security)
  541. skipping: [localhost] => (item=yum update --security -y)
  542.  
  543. TASK [common : Check Configuration Sources] ************************************
  544.  
  545. TASK [common : stat] ***********************************************************
  546. ok: [localhost]
  547.  
  548. TASK [common : Update CA Certificates] *****************************************
  549. changed: [localhost]
  550.  
  551. TASK [common : stat] ***********************************************************
  552. ok: [localhost]
  553.  
  554. TASK [common : Update CA Trust] ************************************************
  555. skipping: [localhost]
  556.  
  557. TASK [common : Add common_users] ***********************************************
  558. ok: [localhost] => (item=www-data)
  559. ok: [localhost] => (item=syslog)
  560.  
  561. TASK [common : check if instance is vagrant] ***********************************
  562. ok: [localhost]
  563.  
  564. TASK [common : Add git apt repository] *****************************************
  565. ok: [localhost]
  566.  
  567. TASK [common : Add edX PPA apt key] ********************************************
  568. ok: [localhost]
  569.  
  570. TASK [common : Update expired apt keys] ****************************************
  571. changed: [localhost]
  572.  
  573. TASK [common : Add custom edX PPA] *********************************************
  574. ok: [localhost]
  575.  
  576. TASK [common : Install role-independent useful system packages] ****************
  577. ok: [localhost] => (item=[u'apt-transport-https', u'ntp', u'acl', u'iotop', u'lynx', u'logrotate', u'rsyslog', u'git', u'unzip', u'python-pip', u'python2.7-dev'])
  578.  
  579. TASK [common : Install role-independent useful system packages from custom PPA] ***
  580. skipping: [localhost] => (item=[])
  581.  
  582. TASK [common : Install role-independent useful system packages] ****************
  583. skipping: [localhost] => (item=[])
  584.  
  585. TASK [common : Create common directories] **************************************
  586. ok: [localhost] => (item={u'path': u'/edx/var'})
  587. ok: [localhost] => (item={u'path': u'/edx/app'})
  588. ok: [localhost] => (item={u'path': u'/edx/bin'})
  589. changed: [localhost] => (item={u'path': u'/edx/etc'})
  590. ok: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
  591. ok: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
  592. ok: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
  593.  
  594. TASK [common : upload sudo config for key forwarding as root] ******************
  595. ok: [localhost]
  596.  
  597. TASK [common : pip install virtualenv] *****************************************
  598. ok: [localhost] => (item=pip==9.0.3)
  599. ok: [localhost] => (item=setuptools==39.0.1)
  600. ok: [localhost] => (item=virtualenv==15.2.0)
  601. ok: [localhost] => (item=virtualenvwrapper==4.8.2)
  602.  
  603. TASK [common : update /etc/hosts] **********************************************
  604. skipping: [localhost]
  605.  
  606. TASK [common : update /etc/hostname] *******************************************
  607. skipping: [localhost]
  608.  
  609. TASK [common : run hostname] ***************************************************
  610. skipping: [localhost]
  611.  
  612. TASK [common : Copy the templates to their respestive destination] *************
  613. ok: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
  614. ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
  615. ok: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
  616. ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
  617.  
  618. TASK [common : restart rsyslogd] ***********************************************
  619. skipping: [localhost]
  620.  
  621. TASK [common : Add ntp alert script] *******************************************
  622. ok: [localhost]
  623.  
  624. TASK [common : Remove MOTD update checker] *************************************
  625. ok: [localhost]
  626.  
  627. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  628. ok: [localhost]
  629.  
  630. TASK [common : install logrotate configuration] ********************************
  631. ok: [localhost]
  632.  
  633. TASK [nginx : Create Diffie-Hellman parameters to prevent weak key exchange] ***
  634. ok: [localhost]
  635.  
  636. TASK [nginx : Restrict permissions of DH parameters file] **********************
  637. ok: [localhost]
  638.  
  639. TASK [nginx : Create nginx app and data dirs] **********************************
  640. ok: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx', u'group': u'www-data'})
  641. ok: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/sites-available', u'group': u'www-data'})
  642. ok: [localhost] => (item={u'owner': u'root', u'path': u'/etc/nginx/sites-enabled', u'group': u'www-data'})
  643. ok: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/conf.d', u'group': u'www-data'})
  644. ok: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx', u'group': u'root'})
  645. changed: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/log/nginx', u'group': u'root'})
  646. ok: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx/server-static', u'group': u'root'})
  647.  
  648. TASK [nginx : Install needed packages] *****************************************
  649. ok: [localhost] => (item=[u'python-passlib'])
  650.  
  651. TASK [nginx : Add apt key] *****************************************************
  652. ok: [localhost]
  653.  
  654. TASK [nginx : Add nginx repository] ********************************************
  655. ok: [localhost]
  656.  
  657. TASK [nginx : Remove old nginx packages] ***************************************
  658. ok: [localhost]
  659.  
  660. TASK [nginx : Install the nginx package] ***************************************
  661. ok: [localhost]
  662.  
  663. TASK [nginx : Remove the default site] *****************************************
  664. ok: [localhost]
  665.  
  666. TASK [nginx : Define server configuration file and common nginx configuration] ***
  667. ok: [localhost] => (item={u'dest': u'/etc/nginx/nginx.conf', u'src': u'etc/nginx/nginx.conf.j2', u'group': u'www-data', u'mode': u'0644'})
  668. ok: [localhost] => (item={u'dest': u'/edx/app/nginx/sites-available/maps', u'src': u'edx/app/nginx/sites-available/maps.j2', u'group': u'root', u'mode': u'0600'})
  669.  
  670. TASK [nginx : Create robot rules] **********************************************
  671. skipping: [localhost]
  672.  
  673. TASK [nginx : Creating link for common nginx configuration] ********************
  674. ok: [localhost] => (item=maps)
  675.  
  676. TASK [nginx : Copying nginx configs for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
  677. ok: [localhost] => (item=certs)
  678. ok: [localhost] => (item=cms)
  679. ok: [localhost] => (item=lms)
  680. ok: [localhost] => (item=forum)
  681. ok: [localhost] => (item=xqueue)
  682.  
  683. TASK [nginx : Creating nginx config links for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
  684. ok: [localhost] => (item=certs)
  685. ok: [localhost] => (item=cms)
  686. ok: [localhost] => (item=lms)
  687. ok: [localhost] => (item=forum)
  688. ok: [localhost] => (item=xqueue)
  689.  
  690. TASK [nginx : Copying nginx extra configs] *************************************
  691.  
  692. TASK [nginx : Creating links for nginx extra configs] **************************
  693.  
  694. TASK [nginx : Copying custom nginx config] *************************************
  695.  
  696. TASK [nginx : Copying nginx redirect configs for {}] ***************************
  697.  
  698. TASK [nginx : Creating nginx redirect links for {}] ****************************
  699.  
  700. TASK [nginx : Create NGINX server templates] ***********************************
  701. ok: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Rate limit exceeded', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'heading': u'Uh oh, we are having some server issues..', u'file': u'rate-limit.html', u'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:[email protected]">[email protected]</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;'})
  702. ok: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Server error', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'heading': u'Uh oh, we are having some server issues..', u'file': u'server-error.html', u'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:[email protected]">[email protected]</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;'})
  703.  
  704. TASK [nginx : Copy static files] ***********************************************
  705.  
  706. TASK [nginx : Write out htpasswd file] *****************************************
  707. [WARNING]: when statements should not include jinja2 templating delimiters
  708. such as {{ }} or {% %}. Found: {{ CERTS_ENABLE_BASIC_AUTH|bool or
  709. ECOMMERCE_ENABLE_BASIC_AUTH|bool or EDXAPP_CMS_ENABLE_BASIC_AUTH|bool or
  710. EDXAPP_LMS_ENABLE_BASIC_AUTH|bool or
  711. EDXAPP_LMS_PREVIEW_ENABLE_BASIC_AUTH|bool or KIBANA_ENABLE_BASIC_AUTH|bool or
  712. XQUEUE_ENABLE_BASIC_AUTH|bool or XSERVER_ENABLE_BASIC_AUTH|bool }}
  713. skipping: [localhost] => (item={u'state': u'present', u'password': u'GtMhpbeAb1VMGE03OKMR9d2W1RWIU8EwIku', u'name': u'5Dqo3D5ZAGtHzKkScCAJO3jZ616OSYBKVOR'})
  714.  
  715. TASK [nginx : Create nginx log file location (just in case)] *******************
  716. changed: [localhost]
  717.  
  718. TASK [nginx : stat] ************************************************************
  719. ok: [localhost -> localhost]
  720.  
  721. TASK [nginx : stat] ************************************************************
  722. ok: [localhost -> localhost]
  723.  
  724. TASK [nginx : copy ssl cert] ***************************************************
  725. skipping: [localhost]
  726.  
  727. TASK [nginx : copy ssl key] ****************************************************
  728. skipping: [localhost]
  729.  
  730. TASK [nginx : Removing default nginx config and restart (enabled)] *************
  731. ok: [localhost]
  732.  
  733. TASK [nginx : Set up nginx access log rotation] ********************************
  734. ok: [localhost]
  735.  
  736. TASK [nginx : Set up nginx error log rotation] *********************************
  737. ok: [localhost]
  738.  
  739. RUNNING HANDLER [nginx : restart nginx] ****************************************
  740. changed: [localhost]
  741.  
  742. TASK [nginx : make sure nginx has started] *************************************
  743. ok: [localhost]
  744.  
  745. TASK [security : Install security packages] ************************************
  746. skipping: [localhost] => (item=[])
  747.  
  748. TASK [security : Update all system packages] ***********************************
  749. skipping: [localhost]
  750.  
  751. TASK [security : Configure periodic unattended-upgrades] ***********************
  752. skipping: [localhost]
  753.  
  754. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  755. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  756. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  757. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  758.  
  759. TASK [security : Disable unattended-upgrades] **********************************
  760. skipping: [localhost]
  761.  
  762. TASK [security : Only unattended-upgrade from security repo] *******************
  763. skipping: [localhost]
  764.  
  765. TASK [security : Disable security only updates on unattended-upgrades] *********
  766. skipping: [localhost]
  767.  
  768. TASK [security : Take security updates during ansible runs] ********************
  769. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  770. skipping: [localhost] => (item=unattended-upgrade)
  771.  
  772. TASK [security : Install security packages] ************************************
  773. skipping: [localhost] => (item=[])
  774.  
  775. TASK [security : Enable automatic start for update service] ********************
  776. skipping: [localhost]
  777.  
  778. TASK [security : Update all system packages] ***********************************
  779. skipping: [localhost]
  780.  
  781. TASK [security : Configure security auto-updates] ******************************
  782. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  783. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  784.  
  785. TASK [security : Take security updates during ansible runs] ********************
  786. skipping: [localhost] => (item=yum check-update --security)
  787. skipping: [localhost] => (item=yum update --security -y)
  788.  
  789. TASK [security : Install security packages] ************************************
  790. skipping: [localhost] => (item=[])
  791.  
  792. TASK [security : Update all system packages] ***********************************
  793. skipping: [localhost]
  794.  
  795. TASK [security : Configure periodic unattended-upgrades] ***********************
  796. skipping: [localhost]
  797.  
  798. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  799. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  800. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  801. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  802.  
  803. TASK [security : Disable unattended-upgrades] **********************************
  804. skipping: [localhost]
  805.  
  806. TASK [security : Only unattended-upgrade from security repo] *******************
  807. skipping: [localhost]
  808.  
  809. TASK [security : Disable security only updates on unattended-upgrades] *********
  810. skipping: [localhost]
  811.  
  812. TASK [security : Take security updates during ansible runs] ********************
  813. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  814. skipping: [localhost] => (item=unattended-upgrade)
  815.  
  816. TASK [security : Install security packages] ************************************
  817. skipping: [localhost] => (item=[])
  818.  
  819. TASK [security : Enable automatic start for update service] ********************
  820. skipping: [localhost]
  821.  
  822. TASK [security : Update all system packages] ***********************************
  823. skipping: [localhost]
  824.  
  825. TASK [security : Configure security auto-updates] ******************************
  826. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  827. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  828.  
  829. TASK [security : Take security updates during ansible runs] ********************
  830. skipping: [localhost] => (item=yum check-update --security)
  831. skipping: [localhost] => (item=yum update --security -y)
  832.  
  833. TASK [mysql : Look for mysql 5.6] **********************************************
  834. fatal: [localhost]: FAILED! => {"changed": false, "cmd": "dpkg -s mysql-server", "delta": "0:00:00.025365", "end": "2020-04-03 02:19:40.345668", "failed": true, "rc": 1, "start": "2020-04-03 02:19:40.320303", "stderr": "dpkg-query: package 'mysql-server' is not installed and no information is available\nUse dpkg --info (= dpkg-deb --info) to examine archive files,\nand dpkg --contents (= dpkg-deb --contents) to list their contents.", "stderr_lines": ["dpkg-query: package 'mysql-server' is not installed and no information is available", "Use dpkg --info (= dpkg-deb --info) to examine archive files,", "and dpkg --contents (= dpkg-deb --contents) to list their contents."], "stdout": "", "stdout_lines": []}
  835. ...ignoring
  836.  
  837. TASK [mysql : Important message] ***********************************************
  838. skipping: [localhost]
  839.  
  840. TASK [mysql : pause] ***********************************************************
  841. skipping: [localhost]
  842.  
  843. TASK [mysql : Stop mysql service] **********************************************
  844. skipping: [localhost]
  845.  
  846. TASK [mysql : Remove experimental apt repository] ******************************
  847. skipping: [localhost]
  848.  
  849. TASK [mysql : Remove experimental version of mysql] ****************************
  850. skipping: [localhost] => (item=[])
  851.  
  852. TASK [mysql : Install mysql-5.6 and dependencies] ******************************
  853. ok: [localhost] => (item=[u'mysql-server-5.6', u'python-mysqldb'])
  854.  
  855. TASK [mysql : Set default character sets and collations] ***********************
  856. ok: [localhost]
  857.  
  858. TASK [mysql : restart mysql] ***************************************************
  859. changed: [localhost]
  860.  
  861. TASK [mysql : Ensure Anonymous user(s) does not exist] *************************
  862. ok: [localhost] => (item=localhost)
  863. ok: [localhost] => (item=298518-alquran)
  864.  
  865. TASK [edxlocal : Install packages needed for single server] ********************
  866. ok: [localhost] => (item=[u'postfix', u'libjpeg-dev'])
  867.  
  868. TASK [edxlocal : create databases] *********************************************
  869. ok: [localhost] => (item=ecommerce)
  870. ok: [localhost] => (item=dashboard)
  871. ok: [localhost] => (item=xqueue)
  872. ok: [localhost] => (item=edxapp)
  873. ok: [localhost] => (item=edxapp_csmh)
  874. skipping: [localhost] => (item=)
  875. ok: [localhost] => (item=analytics-api)
  876. ok: [localhost] => (item=reports)
  877. skipping: [localhost] => (item=)
  878. ok: [localhost] => (item=discovery)
  879. skipping: [localhost] => (item=)
  880. skipping: [localhost] => (item=)
  881.  
  882. TASK [edxlocal : create database users] ****************************************
  883. ok: [localhost] => (item={u'db': u'ecommerce', u'user': u'ecomm001', u'pass': u'Ak6bcZ9KHvdAndBwiSua0YP9ju1c8K8p3pz'})
  884. ok: [localhost] => (item={u'db': u'dashboard', u'user': u'rosencrantz', u'pass': u'rcQL05C8BmOM6M4fjgPLpxVjx1vFamQyUv0'})
  885. ok: [localhost] => (item={u'db': u'xqueue', u'user': u'xqueue001', u'pass': u'V7EpKhSJcRiF535qbhB7H4Qx34Z6rp540R4'})
  886. ok: [localhost] => (item={u'db': u'edxapp', u'user': u'edxapp001', u'pass': u'G92pwM8lwfpkrn70y8bZLh4InZ1ZNPx3UpM'})
  887. ok: [localhost] => (item={u'db': u'edxapp_csmh', u'user': u'edxapp_cmsh001', u'pass': u'Uvr3lPb4wMV7yJp1iqjHeK6o4EJCKavWIYo'})
  888. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'eZGwcXxXnVoAhewaJSoINLDpKJ6OZNIHeY4'})
  889. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'reogjKkfe4VKOZ1nJVPZuNT1H6NB8ZfdR7K'})
  890. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'0PCYp71wyPOZAte5hQVMSF1FeFWMJnfWUb4'})
  891. ok: [localhost] => (item={u'db': u'discovery', u'user': u'discov001', u'pass': u'E7Bj4lJB96UuH3Z3JJFxjdPeQkoZqggn9xE'})
  892. skipping: [localhost] => (item={u'db': u'', u'user': u'journ001', u'pass': u'password'})
  893. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u''})
  894.  
  895. TASK [edxlocal : setup the migration db user] **********************************
  896. ok: [localhost] => (item=ecommerce)
  897. ok: [localhost] => (item=dashboard)
  898. ok: [localhost] => (item=xqueue)
  899. ok: [localhost] => (item=edxapp)
  900. ok: [localhost] => (item=edxapp_csmh)
  901. skipping: [localhost] => (item=)
  902. ok: [localhost] => (item=analytics-api)
  903. ok: [localhost] => (item=reports)
  904. skipping: [localhost] => (item=)
  905. ok: [localhost] => (item=discovery)
  906. skipping: [localhost] => (item=)
  907. skipping: [localhost] => (item=)
  908.  
  909. TASK [edxlocal : create api user for the analytics api] ************************
  910. ok: [localhost]
  911.  
  912. TASK [edxlocal : create read-only reports user for the analytics-api] **********
  913. ok: [localhost]
  914.  
  915. TASK [edxlocal : create a database for the hive metastore] *********************
  916. skipping: [localhost]
  917.  
  918. TASK [edxlocal : setup the edx-notes-api db user] ******************************
  919. skipping: [localhost]
  920.  
  921. TASK [edxlocal : setup the read-only db user] **********************************
  922. ok: [localhost]
  923.  
  924. TASK [edxlocal : setup the admin db user] **************************************
  925. ok: [localhost]
  926.  
  927. TASK [memcache : Install memcached] ********************************************
  928. ok: [localhost]
  929.  
  930. TASK [security : Install security packages] ************************************
  931. skipping: [localhost] => (item=[])
  932.  
  933. TASK [security : Update all system packages] ***********************************
  934. skipping: [localhost]
  935.  
  936. TASK [security : Configure periodic unattended-upgrades] ***********************
  937. skipping: [localhost]
  938.  
  939. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  940. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  941. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  942. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  943.  
  944. TASK [security : Disable unattended-upgrades] **********************************
  945. skipping: [localhost]
  946.  
  947. TASK [security : Only unattended-upgrade from security repo] *******************
  948. skipping: [localhost]
  949.  
  950. TASK [security : Disable security only updates on unattended-upgrades] *********
  951. skipping: [localhost]
  952.  
  953. TASK [security : Take security updates during ansible runs] ********************
  954. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  955. skipping: [localhost] => (item=unattended-upgrade)
  956.  
  957. TASK [security : Install security packages] ************************************
  958. skipping: [localhost] => (item=[])
  959.  
  960. TASK [security : Enable automatic start for update service] ********************
  961. skipping: [localhost]
  962.  
  963. TASK [security : Update all system packages] ***********************************
  964. skipping: [localhost]
  965.  
  966. TASK [security : Configure security auto-updates] ******************************
  967. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  968. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  969.  
  970. TASK [security : Take security updates during ansible runs] ********************
  971. skipping: [localhost] => (item=yum check-update --security)
  972. skipping: [localhost] => (item=yum update --security -y)
  973.  
  974. TASK [mount_ebs : Unmount disk if fstype is wrong] *****************************
  975.  
  976. TASK [mount_ebs : Check that we don't want to unmount disks to change fstype when UNMOUNT_DISKS is false] ***
  977. skipping: [localhost] => (item={u'uuid': u'f857b3c0-0276-40fd-b9a6-57d7e8feaa78', u'size_total': 105554149376, u'mount': u'/', u'size_available': 83373674496, u'fstype': u'ext4', u'device': u'/dev/vda1', u'options': u'rw,relatime,nobarrier,data=ordered'})
  978.  
  979. TASK [mount_ebs : Create filesystem] *******************************************
  980.  
  981. TASK [mount_ebs : Unmount disks mounted to the wrong place] ********************
  982. skipping: [localhost] => (item={u'uuid': u'f857b3c0-0276-40fd-b9a6-57d7e8feaa78', u'size_total': 105554149376, u'mount': u'/', u'size_available': 83373674496, u'fstype': u'ext4', u'device': u'/dev/vda1', u'options': u'rw,relatime,nobarrier,data=ordered'})
  983.  
  984. TASK [mount_ebs : Check that we don't want to unmount disks to change mountpoint when UNMOUNT_DISKS is false] ***
  985. skipping: [localhost] => (item={u'uuid': u'f857b3c0-0276-40fd-b9a6-57d7e8feaa78', u'size_total': 105554149376, u'mount': u'/', u'size_available': 83373674496, u'fstype': u'ext4', u'device': u'/dev/vda1', u'options': u'rw,relatime,nobarrier,data=ordered'})
  986.  
  987. TASK [mount_ebs : Mount disks] *************************************************
  988.  
  989. TASK [mongo_3_2 : Add disable transparent huge pages systemd service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
  990. ok: [localhost]
  991.  
  992. TASK [mongo_3_2 : Enable/start disable transparent huge pages service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
  993. changed: [localhost]
  994.  
  995. TASK [mongo_3_2 : install python pymongo for mongo_user ansible module] ********
  996. ok: [localhost]
  997.  
  998. TASK [mongo_3_2 : add the mongodb signing key] *********************************
  999. ok: [localhost]
  1000.  
  1001. TASK [mongo_3_2 : add the mongodb repo to the sources list] ********************
  1002. ok: [localhost]
  1003.  
  1004. TASK [mongo_3_2 : install mongo server and recommends] *************************
  1005. ok: [localhost] => (item=[u'mongodb-org=3.2.16', u'mongodb-org-server=3.2.16', u'mongodb-org-shell=3.2.16', u'mongodb-org-mongos=3.2.16', u'mongodb-org-tools=3.2.16'])
  1006.  
  1007. TASK [mongo_3_2 : create mongo dirs] *******************************************
  1008. ok: [localhost] => (item=/edx/var/mongo)
  1009. ok: [localhost] => (item=/edx/var/mongo/mongodb)
  1010. ok: [localhost] => (item=/edx/var/log/mongo)
  1011. ok: [localhost] => (item=/edx/var/mongo/mongodb/journal)
  1012.  
  1013. TASK [mongo_3_2 : add serverStatus logging script] *****************************
  1014. ok: [localhost]
  1015.  
  1016. TASK [mongo_3_2 : add serverStatus logging script to cron] *********************
  1017. ok: [localhost]
  1018.  
  1019. TASK [mongo_3_2 : determine if there is a replica set already] *****************
  1020. [WARNING]: Module did not set no_log for password
  1021. ok: [localhost]
  1022.  
  1023. TASK [mongo_3_2 : Try checking the replica set with no user/pass in case this is a new box] ***
  1024. skipping: [localhost]
  1025.  
  1026. TASK [mongo_3_2 : set facts that default to not initializing a replica set] ****
  1027. ok: [localhost]
  1028.  
  1029. TASK [mongo_3_2 : track if you have a replica set] *****************************
  1030. skipping: [localhost]
  1031.  
  1032. TASK [mongo_3_2 : warn about unconfigured replica sets] ************************
  1033. skipping: [localhost]
  1034.  
  1035. TASK [mongo_3_2 : copy mongodb key file] ***************************************
  1036. ok: [localhost]
  1037.  
  1038. TASK [mongo_3_2 : copy configuration template] *********************************
  1039. ok: [localhost]
  1040.  
  1041. TASK [mongo_3_2 : install logrotate configuration] *****************************
  1042. ok: [localhost]
  1043.  
  1044. TASK [mongo_3_2 : restart mongo service if we changed our configuration] *******
  1045. skipping: [localhost]
  1046.  
  1047. TASK [mongo_3_2 : wait for mongo server to start] ******************************
  1048. ok: [localhost]
  1049.  
  1050. TASK [mongo_3_2 : create super user] *******************************************
  1051. skipping: [localhost]
  1052.  
  1053. TASK [mongo_3_2 : Unset our skip initializing replica set fact so that mongod.conf gets a replica set] ***
  1054. skipping: [localhost]
  1055.  
  1056. TASK [mongo_3_2 : re-copy configuration template with replica set enabled] *****
  1057. skipping: [localhost]
  1058.  
  1059. TASK [mongo_3_2 : restart mongo service] ***************************************
  1060. skipping: [localhost]
  1061.  
  1062. TASK [mongo_3_2 : wait for mongo server to start] ******************************
  1063. skipping: [localhost]
  1064.  
  1065. TASK [mongo_3_2 : configure replica set] ***************************************
  1066. changed: [localhost]
  1067.  
  1068. TASK [mongo_3_2 : Wait for the replica set to update and (if needed) elect a primary] ***
  1069. ok: [localhost]
  1070.  
  1071. TASK [mongo_3_2 : create mongodb users in a replica set] ***********************
  1072. changed: [localhost] => (item={u'password': u'ZA9YOVChZiF58eVqc40kchh2OCtL0fi4Wta', u'user': u'cs_comments_service', u'roles': u'readWrite', u'database': u'cs_comments_service'})
  1073. changed: [localhost] => (item={u'password': u'Zr0bcBJbBLzdVKz6ozjgu2pMbGEMn4Ptbom', u'user': u'edxapp', u'roles': u'readWrite', u'database': u'edxapp'})
  1074.  
  1075. TASK [mongo_3_2 : ensure mongo starts at boot time] ****************************
  1076. ok: [localhost]
  1077.  
  1078. TASK [security : Install security packages] ************************************
  1079. skipping: [localhost] => (item=[])
  1080.  
  1081. TASK [security : Update all system packages] ***********************************
  1082. skipping: [localhost]
  1083.  
  1084. TASK [security : Configure periodic unattended-upgrades] ***********************
  1085. skipping: [localhost]
  1086.  
  1087. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1088. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1089. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1090. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1091.  
  1092. TASK [security : Disable unattended-upgrades] **********************************
  1093. skipping: [localhost]
  1094.  
  1095. TASK [security : Only unattended-upgrade from security repo] *******************
  1096. skipping: [localhost]
  1097.  
  1098. TASK [security : Disable security only updates on unattended-upgrades] *********
  1099. skipping: [localhost]
  1100.  
  1101. TASK [security : Take security updates during ansible runs] ********************
  1102. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1103. skipping: [localhost] => (item=unattended-upgrade)
  1104.  
  1105. TASK [security : Install security packages] ************************************
  1106. skipping: [localhost] => (item=[])
  1107.  
  1108. TASK [security : Enable automatic start for update service] ********************
  1109. skipping: [localhost]
  1110.  
  1111. TASK [security : Update all system packages] ***********************************
  1112. skipping: [localhost]
  1113.  
  1114. TASK [security : Configure security auto-updates] ******************************
  1115. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1116. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1117.  
  1118. TASK [security : Take security updates during ansible runs] ********************
  1119. skipping: [localhost] => (item=yum check-update --security)
  1120. skipping: [localhost] => (item=yum update --security -y)
  1121.  
  1122. TASK [rabbitmq : install packages needed by rabbit] ****************************
  1123. ok: [localhost] => (item=[u'apt-transport-https'])
  1124.  
  1125. TASK [rabbitmq : trust rabbit's packagecloud repository] ***********************
  1126. ok: [localhost]
  1127.  
  1128. TASK [rabbitmq : add rabbit's packagecloud repository] *************************
  1129. ok: [localhost]
  1130.  
  1131. TASK [rabbitmq : Check if rabbit is installed] *********************************
  1132. changed: [localhost]
  1133.  
  1134. TASK [rabbitmq : Warn if wrong rabbit version is installed] ********************
  1135. skipping: [localhost]
  1136.  
  1137. TASK [rabbitmq : Install rabbit package] ***************************************
  1138. skipping: [localhost]
  1139.  
  1140. TASK [rabbitmq : Stop rabbit cluster] ******************************************
  1141. changed: [localhost]
  1142.  
  1143. TASK [rabbitmq : Send sigterm to any running rabbitmq processes] ***************
  1144. changed: [localhost]
  1145.  
  1146. TASK [rabbitmq : Create rabbitmq edx directories] ******************************
  1147. ok: [localhost] => (item=/edx/app/rabbitmq)
  1148. ok: [localhost] => (item=/edx/var/log/rabbitmq)
  1149.  
  1150. TASK [rabbitmq : Add queue monitoring script] **********************************
  1151. ok: [localhost]
  1152.  
  1153. TASK [rabbitmq : Add RabbitMQ memory usage script] *****************************
  1154. ok: [localhost]
  1155.  
  1156. TASK [rabbitmq : Set up a cron job to run queue script] ************************
  1157. ok: [localhost]
  1158.  
  1159. TASK [rabbitmq : Set up a cron job to run the script] **************************
  1160. ok: [localhost]
  1161.  
  1162. TASK [rabbitmq : install logrotate configuration] ******************************
  1163. ok: [localhost]
  1164.  
  1165. TASK [rabbitmq : Create cookie directory] **************************************
  1166. ok: [localhost]
  1167.  
  1168. TASK [rabbitmq : Add rabbitmq erlang cookie] ***********************************
  1169. ok: [localhost]
  1170.  
  1171. TASK [rabbitmq : Create rabbitmq config directory] *****************************
  1172. ok: [localhost]
  1173.  
  1174. TASK [rabbitmq : Add rabbitmq environment configuration] ***********************
  1175. ok: [localhost]
  1176.  
  1177. TASK [rabbitmq : Add rabbitmq cluster configuration] ***************************
  1178. ok: [localhost]
  1179.  
  1180. TASK [rabbitmq : Install plugins] **********************************************
  1181. ok: [localhost] => (item=rabbitmq_management)
  1182.  
  1183. TASK [rabbitmq : Remove mnesia configuration] **********************************
  1184. skipping: [localhost]
  1185.  
  1186. TASK [rabbitmq : Start rabbit nodes] *******************************************
  1187. changed: [localhost]
  1188.  
  1189. TASK [rabbitmq : Wait for rabbit to start] *************************************
  1190. ok: [localhost]
  1191.  
  1192. TASK [rabbitmq : Remove guest user] ********************************************
  1193. ok: [localhost]
  1194.  
  1195. TASK [rabbitmq : Add vhosts] ***************************************************
  1196. ok: [localhost] => (item=/)
  1197.  
  1198. TASK [rabbitmq : set_fact] *****************************************************
  1199. ok: [localhost] => (item=/)
  1200.  
  1201. TASK [rabbitmq : Add admin users] **********************************************
  1202. ok: [localhost] => (item={u'password': u'TWS7b7FGCo5ebdFRqOJW3wfVLoVnek2A5YW', u'name': u'admin'})
  1203. ok: [localhost] => (item={u'password': u'z37fb3In5G6nWX9AVdlzu5umsAE01bPiZCe', u'name': u'edx'})
  1204. ok: [localhost] => (item={u'password': u'2x1pYRcud3BgoZAn5oqoIkgSapbUoOqih0T', u'name': u'celery'})
  1205.  
  1206. TASK [rabbitmq : Make queues mirrored] *****************************************
  1207. skipping: [localhost] => (item=/)
  1208.  
  1209. TASK [rabbitmq : Install admin tools] ******************************************
  1210. ok: [localhost]
  1211.  
  1212. TASK [rabbitmq : Ensure rabbitmqadmin attributes] ******************************
  1213. ok: [localhost]
  1214.  
  1215. TASK [rabbitmq : Set cluster name] *********************************************
  1216. changed: [localhost]
  1217.  
  1218. TASK [security : Install security packages] ************************************
  1219. skipping: [localhost] => (item=[])
  1220.  
  1221. TASK [security : Update all system packages] ***********************************
  1222. skipping: [localhost]
  1223.  
  1224. TASK [security : Configure periodic unattended-upgrades] ***********************
  1225. skipping: [localhost]
  1226.  
  1227. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1228. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1229. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1230. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1231.  
  1232. TASK [security : Disable unattended-upgrades] **********************************
  1233. skipping: [localhost]
  1234.  
  1235. TASK [security : Only unattended-upgrade from security repo] *******************
  1236. skipping: [localhost]
  1237.  
  1238. TASK [security : Disable security only updates on unattended-upgrades] *********
  1239. skipping: [localhost]
  1240.  
  1241. TASK [security : Take security updates during ansible runs] ********************
  1242. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1243. skipping: [localhost] => (item=unattended-upgrade)
  1244.  
  1245. TASK [security : Install security packages] ************************************
  1246. skipping: [localhost] => (item=[])
  1247.  
  1248. TASK [security : Enable automatic start for update service] ********************
  1249. skipping: [localhost]
  1250.  
  1251. TASK [security : Update all system packages] ***********************************
  1252. skipping: [localhost]
  1253.  
  1254. TASK [security : Configure security auto-updates] ******************************
  1255. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1256. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1257.  
  1258. TASK [security : Take security updates during ansible runs] ********************
  1259. skipping: [localhost] => (item=yum check-update --security)
  1260. skipping: [localhost] => (item=yum update --security -y)
  1261.  
  1262. TASK [security : Install security packages] ************************************
  1263. skipping: [localhost] => (item=[])
  1264.  
  1265. TASK [security : Update all system packages] ***********************************
  1266. skipping: [localhost]
  1267.  
  1268. TASK [security : Configure periodic unattended-upgrades] ***********************
  1269. skipping: [localhost]
  1270.  
  1271. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1272. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1273. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1274. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1275.  
  1276. TASK [security : Disable unattended-upgrades] **********************************
  1277. skipping: [localhost]
  1278.  
  1279. TASK [security : Only unattended-upgrade from security repo] *******************
  1280. skipping: [localhost]
  1281.  
  1282. TASK [security : Disable security only updates on unattended-upgrades] *********
  1283. skipping: [localhost]
  1284.  
  1285. TASK [security : Take security updates during ansible runs] ********************
  1286. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1287. skipping: [localhost] => (item=unattended-upgrade)
  1288.  
  1289. TASK [security : Install security packages] ************************************
  1290. skipping: [localhost] => (item=[])
  1291.  
  1292. TASK [security : Enable automatic start for update service] ********************
  1293. skipping: [localhost]
  1294.  
  1295. TASK [security : Update all system packages] ***********************************
  1296. skipping: [localhost]
  1297.  
  1298. TASK [security : Configure security auto-updates] ******************************
  1299. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1300. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1301.  
  1302. TASK [security : Take security updates during ansible runs] ********************
  1303. skipping: [localhost] => (item=yum check-update --security)
  1304. skipping: [localhost] => (item=yum update --security -y)
  1305.  
  1306. TASK [supervisor : Create application and supervisor service user] *************
  1307. ok: [localhost] => (item=supervisor)
  1308. ok: [localhost] => (item=www-data)
  1309.  
  1310. TASK [supervisor : Create supervisor and service user accessible directories] ***
  1311. ok: [localhost] => (item=/edx/app/supervisor)
  1312. ok: [localhost] => (item=/edx/app/supervisor/venvs/supervisor)
  1313. ok: [localhost] => (item=/edx/app/supervisor/conf.d)
  1314. ok: [localhost] => (item=/edx/app/supervisor/conf.available.d)
  1315.  
  1316. TASK [supervisor : Create supervisor directories] ******************************
  1317. ok: [localhost] => (item=/edx/var/supervisor)
  1318. ok: [localhost] => (item=/edx/var/log/supervisor)
  1319.  
  1320. TASK [supervisor : Install supervisor in its venv] *****************************
  1321. ok: [localhost]
  1322.  
  1323. TASK [supervisor : Install supervisor in its venv] *****************************
  1324. ok: [localhost] => (item=boto=="2.48.0")
  1325. ok: [localhost] => (item=python-simple-hipchat)
  1326.  
  1327. TASK [supervisor : Create supervisor upstart job] ******************************
  1328. skipping: [localhost]
  1329.  
  1330. TASK [supervisor : Create supervisor systemd job] ******************************
  1331. ok: [localhost]
  1332.  
  1333. TASK [supervisor : Write the pre_suprevisor python script] *********************
  1334. skipping: [localhost]
  1335.  
  1336. TASK [supervisor : Create supervisor master config] ****************************
  1337. ok: [localhost]
  1338.  
  1339. TASK [supervisor : Remove a symlink for supervisortctl] ************************
  1340. changed: [localhost]
  1341.  
  1342. TASK [supervisor : Remove symlink for supervisor cfg] **************************
  1343. ok: [localhost] => (item=/edx/app/supervisor/supervisord.conf)
  1344. ok: [localhost] => (item=/edx/app/supervisor/conf.d)
  1345.  
  1346. TASK [supervisor : Create helper script for running supervisor] ****************
  1347. changed: [localhost]
  1348.  
  1349. TASK [supervisor : Are we in a Docker container] *******************************
  1350. changed: [localhost]
  1351.  
  1352. TASK [supervisor : Enable supervisor to start on boot] *************************
  1353. ok: [localhost]
  1354.  
  1355. TASK [supervisor : Start supervisor] *******************************************
  1356. ok: [localhost]
  1357.  
  1358. TASK [supervisor : Wait for web port to be available] **************************
  1359. skipping: [localhost]
  1360.  
  1361. TASK [supervisor : Update supervisor configuration] ****************************
  1362. ok: [localhost]
  1363.  
  1364. TASK [edxapp_common : Install system packages] *********************************
  1365. ok: [localhost] => (item=[u'build-essential', u'gfortran', u'graphviz', u'graphviz-dev', u'liblapack-dev', u'libmysqlclient-dev', u'libxml2-dev', u'libgeos-dev', u'libxslt1-dev', u'gettext', u'libjpeg8-dev', u'libpng12-dev', u'libxmlsec1-dev', u'swig'])
  1366.  
  1367. TASK [nltk : Install unzip] ****************************************************
  1368. ok: [localhost]
  1369.  
  1370. TASK [nltk : create the nltk data directory and subdirectories] ****************
  1371. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
  1372. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
  1373. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
  1374.  
  1375. TASK [nltk : download nltk data] ***********************************************
  1376. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
  1377. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
  1378. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
  1379.  
  1380. TASK [nltk : unarchive nltk data] **********************************************
  1381. skipping: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
  1382. skipping: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
  1383. skipping: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
  1384.  
  1385. TASK [add_user : create user groups] *******************************************
  1386. skipping: [localhost] => (item=edx-themes)
  1387.  
  1388. TASK [add_user : create application user] **************************************
  1389. skipping: [localhost]
  1390.  
  1391. TASK [add_user : ensure correct ownership of home directory] *******************
  1392. skipping: [localhost]
  1393.  
  1394. TASK [add_user : create dirs for the user] *************************************
  1395.  
  1396. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  1397. skipping: [localhost]
  1398.  
  1399. TASK [git_clone : Validate git protocol] ***************************************
  1400. skipping: [localhost] => (item=(censored due to no_log))
  1401.  
  1402. TASK [git_clone : Install read-only ssh key] ***********************************
  1403. skipping: [localhost] => (item=(censored due to no_log))
  1404.  
  1405. TASK [git_clone : Check that working tree is clean] ****************************
  1406. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  1407.  
  1408. TASK [git_clone : Require a clean working tree] ********************************
  1409. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/var/edx-themes/edx-themes', 'changed': False})
  1410.  
  1411. TASK [git_clone : Checkout code over ssh] **************************************
  1412. skipping: [localhost] => (item=(censored due to no_log))
  1413.  
  1414. TASK [git_clone : Checkout code over https] ************************************
  1415. skipping: [localhost] => (item=(censored due to no_log))
  1416.  
  1417. TASK [git_clone : Remove read-only ssh key] ************************************
  1418. skipping: [localhost] => (item=(censored due to no_log))
  1419.  
  1420. TASK [git_clone : Run git clean after checking out code] ***********************
  1421. skipping: [localhost] => (item=(censored due to no_log))
  1422.  
  1423. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  1424. skipping: [localhost]
  1425.  
  1426. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  1427. skipping: [localhost] => (item=edxapp)
  1428.  
  1429. TASK [edx_themes : update .bashrc to set umask value] **************************
  1430. skipping: [localhost]
  1431.  
  1432. TASK [edxapp : create application user] ****************************************
  1433. ok: [localhost]
  1434.  
  1435. TASK [edxapp : create edxapp user dirs] ****************************************
  1436. ok: [localhost] => (item={u'path': u'/edx/app/edxapp'})
  1437. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
  1438. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
  1439. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
  1440. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
  1441. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
  1442. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
  1443. ok: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
  1444. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
  1445.  
  1446. TASK [edxapp : write devstack script] ******************************************
  1447. skipping: [localhost]
  1448.  
  1449. TASK [edxapp : create edxapp log dir] ******************************************
  1450. ok: [localhost]
  1451.  
  1452. TASK [edxapp : Ensure the tracking folder exists] ******************************
  1453. ok: [localhost]
  1454.  
  1455. TASK [edxapp : Ensure the tracking.log file exists] ****************************
  1456. changed: [localhost]
  1457.  
  1458. TASK [edxapp : create web-writable edxapp data dirs] ***************************
  1459. changed: [localhost] => (item=/edx/var/edxapp/data)
  1460. ok: [localhost] => (item=/edx/var/edxapp/uploads)
  1461. ok: [localhost] => (item=/edx/var/edxapp/media)
  1462.  
  1463. TASK [edxapp : install system packages on which LMS and CMS rely] **************
  1464. ok: [localhost] => (item=[u's3cmd', u'pkg-config', u'g++', u'apparmor-utils', u'curl', u'ipython', u'nodejs', u'ntp', u'libfreetype6-dev', u'libffi-dev', u'python-dev', u'libsqlite3-dev'])
  1465.  
  1466. TASK [edxapp : set up edxapp .npmrc] *******************************************
  1467. changed: [localhost]
  1468.  
  1469. TASK [edxapp : create log directories for service variants] ********************
  1470. ok: [localhost] => (item=lms)
  1471. ok: [localhost] => (item=cms)
  1472.  
  1473. TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
  1474. ok: [localhost]
  1475.  
  1476. TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
  1477. skipping: [localhost]
  1478.  
  1479. TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
  1480. ok: [localhost]
  1481.  
  1482. TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
  1483. ok: [localhost]
  1484.  
  1485. TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
  1486. skipping: [localhost]
  1487.  
  1488. TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
  1489. ok: [localhost]
  1490.  
  1491. TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
  1492. ok: [localhost]
  1493.  
  1494. TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
  1495. ok: [localhost]
  1496.  
  1497. TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
  1498. ok: [localhost]
  1499.  
  1500. TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
  1501. ok: [localhost]
  1502.  
  1503. TASK [edxapp : code sandbox | start apparmor service] **************************
  1504. ok: [localhost]
  1505.  
  1506. TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
  1507. changed: [localhost]
  1508.  
  1509. TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
  1510. changed: [localhost]
  1511.  
  1512. TASK [edxapp : copy the template to the desired location] **********************
  1513. ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/edxapp_env', u'src': u'edxapp_env.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  1514. ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/newrelic.ini', u'src': u'newrelic.ini.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  1515. ok: [localhost] => (item={u'dest': u'/tmp/edxapp_git_ssh.sh', u'src': u'git_ssh.sh.j2', u'group': u'edxapp', u'mode': u'0750', u'owner': u'edxapp'})
  1516. ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/.boto', u'src': u'boto.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  1517.  
  1518. TASK [edxapp : install read-only ssh key] **************************************
  1519. skipping: [localhost]
  1520.  
  1521. TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
  1522. changed: [localhost]
  1523.  
  1524. TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
  1525. ok: [localhost]
  1526.  
  1527. TASK [edxapp : git clean after checking out edx-platform] **********************
  1528. changed: [localhost]
  1529.  
  1530. TASK [edxapp : checkout Stanford-style theme] **********************************
  1531. skipping: [localhost]
  1532.  
  1533. TASK [simple_theme : assert] ***************************************************
  1534. skipping: [localhost]
  1535.  
  1536. TASK [simple_theme : assert] ***************************************************
  1537. skipping: [localhost]
  1538.  
  1539. TASK [simple_theme : Check whether theme directory already exists] *************
  1540. skipping: [localhost]
  1541.  
  1542. TASK [simple_theme : Download skeleton theme] **********************************
  1543. skipping: [localhost]
  1544.  
  1545. TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
  1546. skipping: [localhost]
  1547.  
  1548. TASK [simple_theme : Create default skeleton (dirs)] ***************************
  1549. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1550. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1551. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1552. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1553. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1554. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1555. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1556. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': u'file', 'gid': 0, 'mode': u'0644', 'mtime': 1585864120.1257432, 'owner': u'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1557.  
  1558. TASK [simple_theme : Create default skeleton (files)] **************************
  1559. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1560. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1561. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1562. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1563. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1564. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1565. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1566. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': u'file', 'gid': 0, 'mode': u'0644', 'mtime': 1585864120.1257432, 'owner': u'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  1567.  
  1568. TASK [simple_theme : Create directory to hold the theme and styles] ************
  1569. skipping: [localhost] => (item=.)
  1570. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
  1571.  
  1572. TASK [simple_theme : Compile the templates] ************************************
  1573. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
  1574. skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
  1575.  
  1576. TASK [simple_theme : Create directories for static files to be copied] *********
  1577. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1578. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1579. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1580. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1581. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1582. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1583. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1584. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1585. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1586. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1587. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1588. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1589. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1590. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1591. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1592. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1593. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1594. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1595. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1596.  
  1597. TASK [simple_theme : Copy static files (adding "static/")] *********************
  1598. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1599. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1600. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1601. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1602. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1603. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1604. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1605. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1606. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1607. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1608. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1609. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1610. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1611. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1612. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1613. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1614. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1615. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1616. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': u'file', 'gid': 0, 'mode': u'0644', 'mtime': 1585864120.1257432, 'owner': u'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  1617.  
  1618. TASK [simple_theme : Create directories for static files to be downloaded] *****
  1619.  
  1620. TASK [simple_theme : Download static files to be included in theme] ************
  1621.  
  1622. TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
  1623. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  1624. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  1625. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  1626.  
  1627. TASK [edxapp : Updating requirement files for git mirror] **********************
  1628. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1629. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1002, u'exists': True, u'attr_flags': u'e', u'woth': False, u'isreg': True, u'device_type': 0, u'mtime': 1585866246.7420313, u'block_size': 4096, u'inode': 6033313, u'isgid': False, u'size': 8266, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'859456608', u'pw_name': u'edxapp', u'gid': 1003, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 24, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1585866249.0380027, u'md5': u'8e05a7b9821c0c5207b2932e5dea8964', u'isdir': False, u'ctime': 1585866246.7420313, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 64769, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'4dbbf3095416e40a5f2a49fcb80e2e8bc76829f5', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1630. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1002, u'exists': True, u'attr_flags': u'e', u'woth': False, u'isreg': True, u'device_type': 0, u'mtime': 1585866246.9580286, u'block_size': 4096, u'inode': 6032995, u'isgid': False, u'size': 692, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'859456616', u'pw_name': u'edxapp', u'gid': 1003, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 8, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'xusr': False, u'atime': 1585866321.3851347, u'md5': u'9171a4311d1fe40ab9d2b9a57299cccb', u'isdir': False, u'ctime': 1585866246.9580286, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 64769, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'60d9560b20540ba67b52a70959b4a11ef449b5ac', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1631.  
  1632. TASK [edxapp : Create the virtualenv to install the Python requirements] *******
  1633. ok: [localhost]
  1634.  
  1635. TASK [edxapp : Pin pip to a specific version.] *********************************
  1636. changed: [localhost]
  1637.  
  1638. TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
  1639. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  1640. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  1641.  
  1642. TASK [edxapp : install python requirements] ************************************
  1643. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1644. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1002, u'exists': True, u'attr_flags': u'e', u'woth': False, u'isreg': True, u'device_type': 0, u'mtime': 1585869718.3011007, u'block_size': 4096, u'inode': 6033316, u'isgid': False, u'size': 8266, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'860022497', u'pw_name': u'edxapp', u'gid': 1003, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 24, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1585869718.3011007, u'md5': u'8e05a7b9821c0c5207b2932e5dea8964', u'isdir': False, u'ctime': 1585869718.3011007, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 64769, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'4dbbf3095416e40a5f2a49fcb80e2e8bc76829f5', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1645.  
  1646. TASK [edxapp : install python private requirements] ****************************
  1647. skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.1.3'})
  1648. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/oppia/xblock.git@9f6b95b7eb7dbabb96b77198a3202604f96adf65#egg=oppia-xblock'})
  1649. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/OfficeDev/xblock-officemix.git@3f876b5f0267b017812620239533a29c7d562d24#egg=officemix'})
  1650. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/schoolyourself/schoolyourself-xblock.git@5e4d37716e3e72640e832e961f7cc0d38d4ec47b#egg=schoolyourself-xblock'})
  1651. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@2376fde9ebdd83684b78dde77ef96361c3bd1aa0#egg=concept-xblock'})
  1652. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@1fbf19cc21613aead62799469e1593adb037fdd9#egg=audio-xblock'})
  1653. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@d2b551bb8f49a138088e10298576102164145b87#egg=animation-xblock'})
  1654. skipping: [localhost] => (item={u'name': u'ubcpi-xblock==0.6.4'})
  1655. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-vectordraw.git@c57df9d98119fd2ca4cb31b9d16c27333cdc65ca#egg=xblock-vectordraw==0.2.1'})
  1656. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@e933d41bb86a8d50fb878787ca680165a092a6d5#egg=xblock-activetable'})
  1657.  
  1658. TASK [edxapp : install python extra requirements] ******************************
  1659.  
  1660. TASK [edxapp : install CAS attribute module] ***********************************
  1661. skipping: [localhost]
  1662.  
  1663. TASK [edxapp : install sandbox requirements into regular venv] *****************
  1664. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  1665.  
  1666. TASK [edxapp : create nodeenv] *************************************************
  1667. changed: [localhost]
  1668.  
  1669. TASK [edxapp : Set the npm registry] *******************************************
  1670. ok: [localhost]
  1671.  
  1672. TASK [edxapp : Set the npm registry permissions] *******************************
  1673. changed: [localhost]
  1674.  
  1675. TASK [edxapp : install node dependencies] **************************************
  1676. changed: [localhost]
  1677.  
  1678. TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
  1679. changed: [localhost]
  1680.  
  1681. TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  1682. ok: [localhost]
  1683.  
  1684. TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
  1685. changed: [localhost]
  1686.  
  1687. TASK [edxapp : compiling all py files in the edx-platform repo] ****************
  1688. changed: [localhost]
  1689.  
  1690. TASK [edxapp : give other read permissions to the virtualenv] ******************
  1691. ok: [localhost]
  1692.  
  1693. TASK [edxapp : create service wrapper scripts - {{item}}] **********************
  1694. ok: [localhost] => (item=lms.sh)
  1695. ok: [localhost] => (item=cms.sh)
  1696. ok: [localhost] => (item=worker.sh)
  1697.  
  1698. TASK [edxapp : create application and auth config] *****************************
  1699. ok: [localhost] => (item=[u'lms', u'env'])
  1700. ok: [localhost] => (item=[u'lms', u'auth'])
  1701. ok: [localhost] => (item=[u'cms', u'env'])
  1702. ok: [localhost] => (item=[u'cms', u'auth'])
  1703.  
  1704. TASK [edxapp : combined lms auth env for yml] **********************************
  1705. ok: [localhost]
  1706.  
  1707. TASK [edxapp : render lms yml config] ******************************************
  1708. ok: [localhost] => (item=lms)
  1709. ok: [localhost] => (item=cms)
  1710.  
  1711. TASK [edxapp : combined cms auth env for yml] **********************************
  1712. ok: [localhost]
  1713.  
  1714. TASK [edxapp : render studio yml config] ***************************************
  1715. ok: [localhost] => (item=lms)
  1716. ok: [localhost] => (item=cms)
  1717.  
  1718. TASK [edxapp : writing {{ item }} supervisor script] ***************************
  1719. ok: [localhost] => (item=lms)
  1720. ok: [localhost] => (item=cms)
  1721.  
  1722. TASK [edxapp : writing celery supervisor scripts] ******************************
  1723. ok: [localhost] => (item=workers.conf)
  1724.  
  1725. TASK [edxapp : clean out old edxapp.conf] **************************************
  1726. ok: [localhost]
  1727.  
  1728. TASK [edxapp : add gunicorn configuration files] *******************************
  1729. ok: [localhost] => (item=lms)
  1730. ok: [localhost] => (item=cms)
  1731.  
  1732. TASK [edxapp : enable {{ item }} supervisor script] ****************************
  1733. skipping: [localhost] => (item=lms)
  1734. skipping: [localhost] => (item=cms)
  1735.  
  1736. TASK [edxapp : enable celery worker supervisor script] *************************
  1737. ok: [localhost]
  1738.  
  1739. TASK [edxapp : create helper scripts for managing edxapp] **********************
  1740. ok: [localhost] => (item=[u'edxapp-migrate', u'lms'])
  1741. ok: [localhost] => (item=[u'edxapp-migrate', u'cms'])
  1742. ok: [localhost] => (item=[u'edxapp-runserver', u'lms'])
  1743. ok: [localhost] => (item=[u'edxapp-runserver', u'cms'])
  1744. ok: [localhost] => (item=[u'edxapp-shell', u'lms'])
  1745. ok: [localhost] => (item=[u'edxapp-shell', u'cms'])
  1746.  
  1747. TASK [edxapp : create script to compile and update assets] *********************
  1748. ok: [localhost]
  1749.  
  1750. TASK [edxapp : migrate] ********************************************************
  1751. changed: [localhost] => (item=lms)
  1752. changed: [localhost] => (item=cms)
  1753.  
  1754. TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
  1755. skipping: [localhost] => (item=absent)
  1756. skipping: [localhost] => (item=directory)
  1757.  
  1758. TASK [edxapp : gather static assets with paver] ********************************
  1759. skipping: [localhost]
  1760.  
  1761. TASK [edxapp : update supervisor configuration] ********************************
  1762. ok: [localhost]
  1763.  
  1764. TASK [edxapp : ensure edxapp has started] **************************************
  1765. skipping: [localhost] => (item=lms)
  1766. skipping: [localhost] => (item=cms)
  1767.  
  1768. TASK [edxapp : ensure edxapp_workers has started] ******************************
  1769. ok: [localhost]
  1770.  
  1771. TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
  1772. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
  1773. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
  1774. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
  1775. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
  1776.  
  1777. TASK [edxapp : remove read-only ssh key] ***************************************
  1778. skipping: [localhost]
  1779.  
  1780. TASK [edxapp : get instance information] ***************************************
  1781. skipping: [localhost]
  1782.  
  1783. TASK [edxapp : tag instance with edx_platform version] *************************
  1784. skipping: [localhost]
  1785.  
  1786. TASK [edxapp : tag instance with edxapp theme version] *************************
  1787. skipping: [localhost]
  1788.  
  1789. TASK [edxapp : set_fact] *******************************************************
  1790. ok: [localhost]
  1791.  
  1792. TASK [edxapp : restart edxapp] *************************************************
  1793. skipping: [localhost] => (item=lms)
  1794. skipping: [localhost] => (item=cms)
  1795.  
  1796. TASK [edxapp : restart edxapp_workers] *****************************************
  1797. changed: [localhost]
  1798.  
  1799. TASK [edxapp : create service worker users] ************************************
  1800. changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1801. changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1802. skipping: [localhost] => (item={u'username': u'journals_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'[email protected]'})
  1803. changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1804. changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1805. changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1806.  
  1807. TASK [edxapp : reindex all courses] ********************************************
  1808. skipping: [localhost]
  1809.  
  1810. TASK [edxapp : install cron job to run clearsessions] **************************
  1811. skipping: [localhost]
  1812.  
  1813. TASK [edxapp : install additional cron jobs] ***********************************
  1814.  
  1815. TASK [security : Install security packages] ************************************
  1816. skipping: [localhost] => (item=[])
  1817.  
  1818. TASK [security : Update all system packages] ***********************************
  1819. skipping: [localhost]
  1820.  
  1821. TASK [security : Configure periodic unattended-upgrades] ***********************
  1822. skipping: [localhost]
  1823.  
  1824. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1825. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1826. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1827. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1828.  
  1829. TASK [security : Disable unattended-upgrades] **********************************
  1830. skipping: [localhost]
  1831.  
  1832. TASK [security : Only unattended-upgrade from security repo] *******************
  1833. skipping: [localhost]
  1834.  
  1835. TASK [security : Disable security only updates on unattended-upgrades] *********
  1836. skipping: [localhost]
  1837.  
  1838. TASK [security : Take security updates during ansible runs] ********************
  1839. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1840. skipping: [localhost] => (item=unattended-upgrade)
  1841.  
  1842. TASK [security : Install security packages] ************************************
  1843. skipping: [localhost] => (item=[])
  1844.  
  1845. TASK [security : Enable automatic start for update service] ********************
  1846. skipping: [localhost]
  1847.  
  1848. TASK [security : Update all system packages] ***********************************
  1849. skipping: [localhost]
  1850.  
  1851. TASK [security : Configure security auto-updates] ******************************
  1852. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1853. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1854.  
  1855. TASK [security : Take security updates during ansible runs] ********************
  1856. skipping: [localhost] => (item=yum check-update --security)
  1857. skipping: [localhost] => (item=yum update --security -y)
  1858.  
  1859. TASK [security : Install security packages] ************************************
  1860. skipping: [localhost] => (item=[])
  1861.  
  1862. TASK [security : Update all system packages] ***********************************
  1863. skipping: [localhost]
  1864.  
  1865. TASK [security : Configure periodic unattended-upgrades] ***********************
  1866. skipping: [localhost]
  1867.  
  1868. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1869. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1870. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1871. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1872.  
  1873. TASK [security : Disable unattended-upgrades] **********************************
  1874. skipping: [localhost]
  1875.  
  1876. TASK [security : Only unattended-upgrade from security repo] *******************
  1877. skipping: [localhost]
  1878.  
  1879. TASK [security : Disable security only updates on unattended-upgrades] *********
  1880. skipping: [localhost]
  1881.  
  1882. TASK [security : Take security updates during ansible runs] ********************
  1883. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1884. skipping: [localhost] => (item=unattended-upgrade)
  1885.  
  1886. TASK [security : Install security packages] ************************************
  1887. skipping: [localhost] => (item=[])
  1888.  
  1889. TASK [security : Enable automatic start for update service] ********************
  1890. skipping: [localhost]
  1891.  
  1892. TASK [security : Update all system packages] ***********************************
  1893. skipping: [localhost]
  1894.  
  1895. TASK [security : Configure security auto-updates] ******************************
  1896. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1897. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1898.  
  1899. TASK [security : Take security updates during ansible runs] ********************
  1900. skipping: [localhost] => (item=yum check-update --security)
  1901. skipping: [localhost] => (item=yum update --security -y)
  1902.  
  1903. TASK [add_user : create user groups] *******************************************
  1904. skipping: [localhost] => (item=edx-themes)
  1905.  
  1906. TASK [add_user : create application user] **************************************
  1907. skipping: [localhost]
  1908.  
  1909. TASK [add_user : ensure correct ownership of home directory] *******************
  1910. skipping: [localhost]
  1911.  
  1912. TASK [add_user : create dirs for the user] *************************************
  1913.  
  1914. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  1915. skipping: [localhost]
  1916.  
  1917. TASK [git_clone : Validate git protocol] ***************************************
  1918. skipping: [localhost] => (item=(censored due to no_log))
  1919.  
  1920. TASK [git_clone : Install read-only ssh key] ***********************************
  1921. skipping: [localhost] => (item=(censored due to no_log))
  1922.  
  1923. TASK [git_clone : Check that working tree is clean] ****************************
  1924. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  1925.  
  1926. TASK [git_clone : Require a clean working tree] ********************************
  1927. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/var/edx-themes/edx-themes', 'changed': False})
  1928.  
  1929. TASK [git_clone : Checkout code over ssh] **************************************
  1930. skipping: [localhost] => (item=(censored due to no_log))
  1931.  
  1932. TASK [git_clone : Checkout code over https] ************************************
  1933. skipping: [localhost] => (item=(censored due to no_log))
  1934.  
  1935. TASK [git_clone : Remove read-only ssh key] ************************************
  1936. skipping: [localhost] => (item=(censored due to no_log))
  1937.  
  1938. TASK [git_clone : Run git clean after checking out code] ***********************
  1939. skipping: [localhost] => (item=(censored due to no_log))
  1940.  
  1941. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  1942. skipping: [localhost]
  1943.  
  1944. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  1945. skipping: [localhost] => (item=edxapp)
  1946.  
  1947. TASK [edx_themes : update .bashrc to set umask value] **************************
  1948. skipping: [localhost]
  1949.  
  1950. TASK [edxapp : create application user] ****************************************
  1951. ok: [localhost]
  1952.  
  1953. TASK [edxapp : create edxapp user dirs] ****************************************
  1954. ok: [localhost] => (item={u'path': u'/edx/app/edxapp'})
  1955. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
  1956. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
  1957. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
  1958. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
  1959. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
  1960. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
  1961. ok: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
  1962. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
  1963.  
  1964. TASK [edxapp : write devstack script] ******************************************
  1965. skipping: [localhost]
  1966.  
  1967. TASK [edxapp : create edxapp log dir] ******************************************
  1968. ok: [localhost]
  1969.  
  1970. TASK [edxapp : Ensure the tracking folder exists] ******************************
  1971. ok: [localhost]
  1972.  
  1973. TASK [edxapp : Ensure the tracking.log file exists] ****************************
  1974. changed: [localhost]
  1975.  
  1976. TASK [edxapp : create web-writable edxapp data dirs] ***************************
  1977. changed: [localhost] => (item=/edx/var/edxapp/data)
  1978. ok: [localhost] => (item=/edx/var/edxapp/uploads)
  1979. ok: [localhost] => (item=/edx/var/edxapp/media)
  1980.  
  1981. TASK [edxapp : install system packages on which LMS and CMS rely] **************
  1982. ok: [localhost] => (item=[u's3cmd', u'pkg-config', u'g++', u'apparmor-utils', u'curl', u'ipython', u'nodejs', u'ntp', u'libfreetype6-dev', u'libffi-dev', u'python-dev', u'libsqlite3-dev'])
  1983.  
  1984. TASK [edxapp : set up edxapp .npmrc] *******************************************
  1985. changed: [localhost]
  1986.  
  1987. TASK [edxapp : create log directories for service variants] ********************
  1988. ok: [localhost] => (item=lms)
  1989. ok: [localhost] => (item=cms)
  1990.  
  1991. TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
  1992. ok: [localhost]
  1993.  
  1994. TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
  1995. skipping: [localhost]
  1996.  
  1997. TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
  1998. ok: [localhost]
  1999.  
  2000. TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
  2001. ok: [localhost]
  2002.  
  2003. TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
  2004. skipping: [localhost]
  2005.  
  2006. TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
  2007. ok: [localhost]
  2008.  
  2009. TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
  2010. ok: [localhost]
  2011.  
  2012. TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
  2013. ok: [localhost]
  2014.  
  2015. TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
  2016. ok: [localhost]
  2017.  
  2018. TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
  2019. ok: [localhost]
  2020.  
  2021. TASK [edxapp : code sandbox | start apparmor service] **************************
  2022. ok: [localhost]
  2023.  
  2024. TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
  2025. changed: [localhost]
  2026.  
  2027. TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
  2028. changed: [localhost]
  2029.  
  2030. TASK [edxapp : copy the template to the desired location] **********************
  2031. ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/edxapp_env', u'src': u'edxapp_env.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  2032. ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/newrelic.ini', u'src': u'newrelic.ini.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  2033. ok: [localhost] => (item={u'dest': u'/tmp/edxapp_git_ssh.sh', u'src': u'git_ssh.sh.j2', u'group': u'edxapp', u'mode': u'0750', u'owner': u'edxapp'})
  2034. ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/.boto', u'src': u'boto.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  2035.  
  2036. TASK [edxapp : install read-only ssh key] **************************************
  2037. skipping: [localhost]
  2038.  
  2039. TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
  2040. changed: [localhost]
  2041.  
  2042. TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
  2043. ok: [localhost]
  2044.  
  2045. TASK [edxapp : git clean after checking out edx-platform] **********************
  2046. changed: [localhost]
  2047.  
  2048. TASK [edxapp : checkout Stanford-style theme] **********************************
  2049. skipping: [localhost]
  2050.  
  2051. TASK [simple_theme : assert] ***************************************************
  2052. skipping: [localhost]
  2053.  
  2054. TASK [simple_theme : assert] ***************************************************
  2055. skipping: [localhost]
  2056.  
  2057. TASK [simple_theme : Check whether theme directory already exists] *************
  2058. skipping: [localhost]
  2059.  
  2060. TASK [simple_theme : Download skeleton theme] **********************************
  2061. skipping: [localhost]
  2062.  
  2063. TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
  2064. skipping: [localhost]
  2065.  
  2066. TASK [simple_theme : Create default skeleton (dirs)] ***************************
  2067. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2068. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2069. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2070. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2071. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2072. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2073. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2074. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': u'file', 'gid': 0, 'mode': u'0644', 'mtime': 1585864120.1257432, 'owner': u'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2075.  
  2076. TASK [simple_theme : Create default skeleton (files)] **************************
  2077. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2078. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2079. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2080. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2081. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2082. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2083. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2084. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1585864120.1257432})
  2085.  
  2086. TASK [simple_theme : Create directory to hold the theme and styles] ************
  2087. skipping: [localhost] => (item=.)
  2088. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
  2089.  
  2090. TASK [simple_theme : Compile the templates] ************************************
  2091. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
  2092. skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
  2093.  
  2094. TASK [simple_theme : Create directories for static files to be copied] *********
  2095. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2096. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2097. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2098. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2099. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2100. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2101. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2102. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2103. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2104. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2105. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2106. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2107. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2108. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2109. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2110. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2111. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2112. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2113. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': u'file', 'gid': 0, 'mode': u'0644', 'mtime': 1585864120.1257432, 'owner': u'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2114.  
  2115. TASK [simple_theme : Copy static files (adding "static/")] *********************
  2116. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2117. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2118. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2119. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2120. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2121. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2122. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2123. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2124. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2125. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2126. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2127. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2128. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2129. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2130. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2131. skipping: [localhost] => (item={'group': 'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2132. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2133. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2134. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': 'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1585864120.1257432, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1585864120.1257432})
  2135.  
  2136. TASK [simple_theme : Create directories for static files to be downloaded] *****
  2137.  
  2138. TASK [simple_theme : Download static files to be included in theme] ************
  2139.  
  2140. TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
  2141. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  2142. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  2143. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  2144.  
  2145. TASK [edxapp : Updating requirement files for git mirror] **********************
  2146. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2147. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1002, u'exists': True, u'attr_flags': u'e', u'woth': False, u'isreg': True, u'device_type': 0, u'mtime': 1585869718.3011007, u'block_size': 4096, u'inode': 6033316, u'isgid': False, u'size': 8266, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'860022497', u'pw_name': u'edxapp', u'gid': 1003, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 24, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1585869720.8450716, u'md5': u'8e05a7b9821c0c5207b2932e5dea8964', u'isdir': False, u'ctime': 1585869718.3011007, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 64769, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'4dbbf3095416e40a5f2a49fcb80e2e8bc76829f5', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2148. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1002, u'exists': True, u'attr_flags': u'e', u'woth': False, u'isreg': True, u'device_type': 0, u'mtime': 1585869718.5250983, u'block_size': 4096, u'inode': 6033313, u'isgid': False, u'size': 692, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'860022505', u'pw_name': u'edxapp', u'gid': 1003, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 8, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'xusr': False, u'atime': 1585869797.8641937, u'md5': u'9171a4311d1fe40ab9d2b9a57299cccb', u'isdir': False, u'ctime': 1585869718.5250983, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 64769, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'60d9560b20540ba67b52a70959b4a11ef449b5ac', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2149.  
  2150. TASK [edxapp : Create the virtualenv to install the Python requirements] *******
  2151. ok: [localhost]
  2152.  
  2153. TASK [edxapp : Pin pip to a specific version.] *********************************
  2154. changed: [localhost]
  2155.  
  2156. TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
  2157. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  2158. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  2159.  
  2160. TASK [edxapp : install python requirements] ************************************
  2161. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2162. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1002, u'exists': True, u'attr_flags': u'e', u'woth': False, u'isreg': True, u'device_type': 0, u'mtime': 1585870002.9847283, u'block_size': 4096, u'inode': 6032995, u'isgid': False, u'size': 8266, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'860072172', u'pw_name': u'edxapp', u'gid': 1003, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 24, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1585870002.9847283, u'md5': u'8e05a7b9821c0c5207b2932e5dea8964', u'isdir': False, u'ctime': 1585870002.9847283, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 64769, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'4dbbf3095416e40a5f2a49fcb80e2e8bc76829f5', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2163.  
  2164. TASK [edxapp : install python private requirements] ****************************
  2165. skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.1.3'})
  2166. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/oppia/xblock.git@9f6b95b7eb7dbabb96b77198a3202604f96adf65#egg=oppia-xblock'})
  2167. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/OfficeDev/xblock-officemix.git@3f876b5f0267b017812620239533a29c7d562d24#egg=officemix'})
  2168. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/schoolyourself/schoolyourself-xblock.git@5e4d37716e3e72640e832e961f7cc0d38d4ec47b#egg=schoolyourself-xblock'})
  2169. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@2376fde9ebdd83684b78dde77ef96361c3bd1aa0#egg=concept-xblock'})
  2170. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@1fbf19cc21613aead62799469e1593adb037fdd9#egg=audio-xblock'})
  2171. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@d2b551bb8f49a138088e10298576102164145b87#egg=animation-xblock'})
  2172. skipping: [localhost] => (item={u'name': u'ubcpi-xblock==0.6.4'})
  2173. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-vectordraw.git@c57df9d98119fd2ca4cb31b9d16c27333cdc65ca#egg=xblock-vectordraw==0.2.1'})
  2174. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@e933d41bb86a8d50fb878787ca680165a092a6d5#egg=xblock-activetable'})
  2175.  
  2176. TASK [edxapp : install python extra requirements] ******************************
  2177.  
  2178. TASK [edxapp : install CAS attribute module] ***********************************
  2179. skipping: [localhost]
  2180.  
  2181. TASK [edxapp : install sandbox requirements into regular venv] *****************
  2182. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  2183.  
  2184. TASK [edxapp : create nodeenv] *************************************************
  2185. changed: [localhost]
  2186.  
  2187. TASK [edxapp : Set the npm registry] *******************************************
  2188. ok: [localhost]
  2189.  
  2190. TASK [edxapp : Set the npm registry permissions] *******************************
  2191. changed: [localhost]
  2192.  
  2193. TASK [edxapp : install node dependencies] **************************************
  2194. changed: [localhost]
  2195.  
  2196. TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
  2197. changed: [localhost]
  2198.  
  2199. TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  2200. ok: [localhost]
  2201.  
  2202. TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
  2203. changed: [localhost]
  2204.  
  2205. TASK [edxapp : compiling all py files in the edx-platform repo] ****************
  2206. changed: [localhost]
  2207.  
  2208. TASK [edxapp : give other read permissions to the virtualenv] ******************
  2209. ok: [localhost]
  2210.  
  2211. TASK [edxapp : create service wrapper scripts - {{item}}] **********************
  2212. ok: [localhost] => (item=lms.sh)
  2213. ok: [localhost] => (item=cms.sh)
  2214. ok: [localhost] => (item=worker.sh)
  2215.  
  2216. TASK [edxapp : create application and auth config] *****************************
  2217. ok: [localhost] => (item=[u'lms', u'env'])
  2218. ok: [localhost] => (item=[u'lms', u'auth'])
  2219. ok: [localhost] => (item=[u'cms', u'env'])
  2220. ok: [localhost] => (item=[u'cms', u'auth'])
  2221.  
  2222. TASK [edxapp : combined lms auth env for yml] **********************************
  2223. ok: [localhost]
  2224.  
  2225. TASK [edxapp : render lms yml config] ******************************************
  2226. ok: [localhost] => (item=lms)
  2227. ok: [localhost] => (item=cms)
  2228.  
  2229. TASK [edxapp : combined cms auth env for yml] **********************************
  2230. ok: [localhost]
  2231.  
  2232. TASK [edxapp : render studio yml config] ***************************************
  2233. ok: [localhost] => (item=lms)
  2234. ok: [localhost] => (item=cms)
  2235.  
  2236. TASK [edxapp : writing {{ item }} supervisor script] ***************************
  2237. ok: [localhost] => (item=lms)
  2238. ok: [localhost] => (item=cms)
  2239.  
  2240. TASK [edxapp : writing celery supervisor scripts] ******************************
  2241. ok: [localhost] => (item=workers.conf)
  2242.  
  2243. TASK [edxapp : clean out old edxapp.conf] **************************************
  2244. ok: [localhost]
  2245.  
  2246. TASK [edxapp : add gunicorn configuration files] *******************************
  2247. ok: [localhost] => (item=lms)
  2248. ok: [localhost] => (item=cms)
  2249.  
  2250. TASK [edxapp : enable {{ item }} supervisor script] ****************************
  2251. ok: [localhost] => (item=lms)
  2252. ok: [localhost] => (item=cms)
  2253.  
  2254. TASK [edxapp : enable celery worker supervisor script] *************************
  2255. skipping: [localhost]
  2256.  
  2257. TASK [edxapp : create helper scripts for managing edxapp] **********************
  2258. ok: [localhost] => (item=[u'edxapp-migrate', u'lms'])
  2259. ok: [localhost] => (item=[u'edxapp-migrate', u'cms'])
  2260. ok: [localhost] => (item=[u'edxapp-runserver', u'lms'])
  2261. ok: [localhost] => (item=[u'edxapp-runserver', u'cms'])
  2262. ok: [localhost] => (item=[u'edxapp-shell', u'lms'])
  2263. ok: [localhost] => (item=[u'edxapp-shell', u'cms'])
  2264.  
  2265. TASK [edxapp : create script to compile and update assets] *********************
  2266. ok: [localhost]
  2267.  
  2268. TASK [edxapp : migrate] ********************************************************
  2269. changed: [localhost] => (item=lms)
  2270. changed: [localhost] => (item=cms)
  2271.  
  2272. TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
  2273. changed: [localhost] => (item=absent)
  2274. changed: [localhost] => (item=directory)
  2275.  
  2276. TASK [edxapp : gather static assets with paver] ********************************
  2277. changed: [localhost]
  2278.  
  2279. TASK [edxapp : update supervisor configuration] ********************************
  2280. ok: [localhost]
  2281.  
  2282. TASK [edxapp : ensure edxapp has started] **************************************
  2283. ok: [localhost] => (item=lms)
  2284. ok: [localhost] => (item=cms)
  2285.  
  2286. TASK [edxapp : ensure edxapp_workers has started] ******************************
  2287. skipping: [localhost]
  2288.  
  2289. TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
  2290. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
  2291. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
  2292. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
  2293. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
  2294.  
  2295. TASK [edxapp : remove read-only ssh key] ***************************************
  2296. skipping: [localhost]
  2297.  
  2298. TASK [edxapp : get instance information] ***************************************
  2299. skipping: [localhost]
  2300.  
  2301. TASK [edxapp : tag instance with edx_platform version] *************************
  2302. skipping: [localhost]
  2303.  
  2304. TASK [edxapp : tag instance with edxapp theme version] *************************
  2305. skipping: [localhost]
  2306.  
  2307. TASK [edxapp : set_fact] *******************************************************
  2308. ok: [localhost]
  2309.  
  2310. TASK [edxapp : restart edxapp] *************************************************
  2311. changed: [localhost] => (item=lms)
  2312. changed: [localhost] => (item=cms)
  2313.  
  2314. TASK [edxapp : restart edxapp_workers] *****************************************
  2315. skipping: [localhost]
  2316.  
  2317. TASK [edxapp : create service worker users] ************************************
  2318. changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2319. changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2320. skipping: [localhost] => (item={u'username': u'journals_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'[email protected]'})
  2321. changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2322. changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2323. changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2324.  
  2325. TASK [edxapp : reindex all courses] ********************************************
  2326. skipping: [localhost]
  2327.  
  2328. TASK [edxapp : install cron job to run clearsessions] **************************
  2329. skipping: [localhost]
  2330.  
  2331. TASK [edxapp : install additional cron jobs] ***********************************
  2332.  
  2333. TASK [add_user : create user groups] *******************************************
  2334. skipping: [localhost] => (item=edx-themes)
  2335.  
  2336. TASK [add_user : create application user] **************************************
  2337. skipping: [localhost]
  2338.  
  2339. TASK [add_user : ensure correct ownership of home directory] *******************
  2340. skipping: [localhost]
  2341.  
  2342. TASK [add_user : create dirs for the user] *************************************
  2343.  
  2344. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  2345. skipping: [localhost]
  2346.  
  2347. TASK [git_clone : Validate git protocol] ***************************************
  2348. skipping: [localhost] => (item=(censored due to no_log))
  2349.  
  2350. TASK [git_clone : Install read-only ssh key] ***********************************
  2351. skipping: [localhost] => (item=(censored due to no_log))
  2352.  
  2353. TASK [git_clone : Check that working tree is clean] ****************************
  2354. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  2355.  
  2356. TASK [git_clone : Require a clean working tree] ********************************
  2357. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/var/edx-themes/edx-themes', 'changed': False})
  2358.  
  2359. TASK [git_clone : Checkout code over ssh] **************************************
  2360. skipping: [localhost] => (item=(censored due to no_log))
  2361.  
  2362. TASK [git_clone : Checkout code over https] ************************************
  2363. skipping: [localhost] => (item=(censored due to no_log))
  2364.  
  2365. TASK [git_clone : Remove read-only ssh key] ************************************
  2366. skipping: [localhost] => (item=(censored due to no_log))
  2367.  
  2368. TASK [git_clone : Run git clean after checking out code] ***********************
  2369. skipping: [localhost] => (item=(censored due to no_log))
  2370.  
  2371. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  2372. skipping: [localhost]
  2373.  
  2374. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  2375. skipping: [localhost] => (item=ecommerce)
  2376.  
  2377. TASK [edx_themes : update .bashrc to set umask value] **************************
  2378. skipping: [localhost]
  2379.  
  2380. TASK [security : Install security packages] ************************************
  2381. skipping: [localhost] => (item=[])
  2382.  
  2383. TASK [security : Update all system packages] ***********************************
  2384. skipping: [localhost]
  2385.  
  2386. TASK [security : Configure periodic unattended-upgrades] ***********************
  2387. skipping: [localhost]
  2388.  
  2389. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2390. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2391. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2392. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2393.  
  2394. TASK [security : Disable unattended-upgrades] **********************************
  2395. skipping: [localhost]
  2396.  
  2397. TASK [security : Only unattended-upgrade from security repo] *******************
  2398. skipping: [localhost]
  2399.  
  2400. TASK [security : Disable security only updates on unattended-upgrades] *********
  2401. skipping: [localhost]
  2402.  
  2403. TASK [security : Take security updates during ansible runs] ********************
  2404. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2405. skipping: [localhost] => (item=unattended-upgrade)
  2406.  
  2407. TASK [security : Install security packages] ************************************
  2408. skipping: [localhost] => (item=[])
  2409.  
  2410. TASK [security : Enable automatic start for update service] ********************
  2411. skipping: [localhost]
  2412.  
  2413. TASK [security : Update all system packages] ***********************************
  2414. skipping: [localhost]
  2415.  
  2416. TASK [security : Configure security auto-updates] ******************************
  2417. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2418. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2419.  
  2420. TASK [security : Take security updates during ansible runs] ********************
  2421. skipping: [localhost] => (item=yum check-update --security)
  2422. skipping: [localhost] => (item=yum update --security -y)
  2423.  
  2424. TASK [security : Install security packages] ************************************
  2425. skipping: [localhost] => (item=[])
  2426.  
  2427. TASK [security : Update all system packages] ***********************************
  2428. skipping: [localhost]
  2429.  
  2430. TASK [security : Configure periodic unattended-upgrades] ***********************
  2431. skipping: [localhost]
  2432.  
  2433. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2434. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2435. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2436. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2437.  
  2438. TASK [security : Disable unattended-upgrades] **********************************
  2439. skipping: [localhost]
  2440.  
  2441. TASK [security : Only unattended-upgrade from security repo] *******************
  2442. skipping: [localhost]
  2443.  
  2444. TASK [security : Disable security only updates on unattended-upgrades] *********
  2445. skipping: [localhost]
  2446.  
  2447. TASK [security : Take security updates during ansible runs] ********************
  2448. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2449. skipping: [localhost] => (item=unattended-upgrade)
  2450.  
  2451. TASK [security : Install security packages] ************************************
  2452. skipping: [localhost] => (item=[])
  2453.  
  2454. TASK [security : Enable automatic start for update service] ********************
  2455. skipping: [localhost]
  2456.  
  2457. TASK [security : Update all system packages] ***********************************
  2458. skipping: [localhost]
  2459.  
  2460. TASK [security : Configure security auto-updates] ******************************
  2461. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2462. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2463.  
  2464. TASK [security : Take security updates during ansible runs] ********************
  2465. skipping: [localhost] => (item=yum check-update --security)
  2466. skipping: [localhost] => (item=yum update --security -y)
  2467.  
  2468. TASK [automated : Create automated user] ***************************************
  2469.  
  2470. TASK [automated : Create sudoers file from template] ***************************
  2471.  
  2472. TASK [automated : Create .ssh directory] ***************************************
  2473.  
  2474. TASK [automated : Build authorized_keys file] **********************************
  2475.  
  2476. TASK [automated : Build known_hosts file] **************************************
  2477.  
  2478. TASK [add_user : create user groups] *******************************************
  2479. ok: [localhost] => (item=ecommerce)
  2480.  
  2481. TASK [add_user : create application user] **************************************
  2482. ok: [localhost]
  2483.  
  2484. TASK [add_user : ensure correct ownership of home directory] *******************
  2485. ok: [localhost]
  2486.  
  2487. TASK [add_user : create dirs for the user] *************************************
  2488.  
  2489. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  2490. changed: [localhost]
  2491.  
  2492. TASK [git_clone : Validate git protocol] ***************************************
  2493. skipping: [localhost] => (item=(censored due to no_log))
  2494.  
  2495. TASK [git_clone : Install read-only ssh key] ***********************************
  2496. skipping: [localhost] => (item=(censored due to no_log))
  2497.  
  2498. TASK [git_clone : Check that working tree is clean] ****************************
  2499. changed: [localhost] => (item=/edx/app/ecommerce/ecommerce)
  2500.  
  2501. TASK [git_clone : Require a clean working tree] ********************************
  2502. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-04-03 02:37:54.298539', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-04-03 02:37:54.237438', u'cmd': u'test ! -e "/edx/app/ecommerce/ecommerce" || git -C "/edx/app/ecommerce/ecommerce" status --porcelain --untracked-files=no', 'item': u'/edx/app/ecommerce/ecommerce', u'delta': u'0:00:00.061101', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/ecommerce/ecommerce" || git -C "/edx/app/ecommerce/ecommerce" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  2503.  
  2504. TASK [git_clone : Checkout code over ssh] **************************************
  2505. skipping: [localhost] => (item=(censored due to no_log))
  2506.  
  2507. TASK [git_clone : Checkout code over https] ************************************
  2508. ok: [localhost] => (item=(censored due to no_log))
  2509.  
  2510. TASK [git_clone : Remove read-only ssh key] ************************************
  2511. skipping: [localhost] => (item=(censored due to no_log))
  2512.  
  2513. TASK [git_clone : Run git clean after checking out code] ***********************
  2514. changed: [localhost] => (item=(censored due to no_log))
  2515.  
  2516. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  2517. ok: [localhost] => (item=)
  2518. ok: [localhost] => (item=venvs)
  2519. ok: [localhost] => (item=data)
  2520. ok: [localhost] => (item=staticfiles)
  2521.  
  2522. TASK [edx_service : Create /edx/var/app dir] ***********************************
  2523. ok: [localhost]
  2524.  
  2525. TASK [edx_service : Create /edx/etc dir] ***************************************
  2526. changed: [localhost]
  2527.  
  2528. TASK [edx_service : Create edx_service log dir] ********************************
  2529. ok: [localhost] => (item=/edx/var/log/ecommerce)
  2530.  
  2531. TASK [edx_service : Write out app config file] *********************************
  2532. [WARNING]: when statements should not include jinja2 templating delimiters
  2533. such as {{ }} or {% %}. Found: {{ edx_django_service_config }}
  2534. ok: [localhost]
  2535.  
  2536. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2537. ok: [localhost] => (item=[u'gettext', u'libffi-dev', u'libmemcached-dev', u'libmysqlclient-dev', u'libssl-dev', u'libmysqlclient-dev', u'libjpeg-dev', u'libssl-dev', u'libffi-dev'])
  2538.  
  2539. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2540.  
  2541. TASK [edx_service : Get instance information] **********************************
  2542. ok: [localhost]
  2543.  
  2544. TASK [edx_service : Tag instance] **********************************************
  2545. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None, u'REPO': u'ecommerce.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None, u'REPO': u'ecommerce.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/ecommerce/ecommerce', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/ecommerce.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'1245bf43a8fcffd296781ea7557acc0b353015c5', u'before': u'1245bf43a8fcffd296781ea7557acc0b353015c5'}])
  2546.  
  2547. TASK [edx_django_service : add gunicorn configuration file] ********************
  2548. ok: [localhost]
  2549.  
  2550. TASK [edx_django_service : install python3] ************************************
  2551. skipping: [localhost] => (item=[])
  2552.  
  2553. TASK [edx_django_service : build virtualenv with python3] **********************
  2554. skipping: [localhost]
  2555.  
  2556. TASK [edx_django_service : build virtualenv with python2.7] ********************
  2557. ok: [localhost]
  2558.  
  2559. TASK [edx_django_service : Pin pip to a specific version.] *********************
  2560. changed: [localhost]
  2561.  
  2562. TASK [edx_django_service : install nodenv] *************************************
  2563. changed: [localhost]
  2564.  
  2565. TASK [edx_django_service : create nodeenv] *************************************
  2566. ok: [localhost]
  2567.  
  2568. TASK [edx_django_service : install production requirements] ********************
  2569. changed: [localhost]
  2570.  
  2571. TASK [edx_django_service : install development requirements] *******************
  2572. skipping: [localhost]
  2573.  
  2574. TASK [edx_django_service : migrate database] ***********************************
  2575. changed: [localhost]
  2576.  
  2577. TASK [edx_django_service : run post-migrate commands] **************************
  2578. changed: [localhost] => (item={u'when': True, u'command': u'./manage.py oscar_populate_countries --initial-only'})
  2579. changed: [localhost] => (item={u'when': True, u'command': u'./manage.py create_or_update_site --site-id=1 --site-domain=localhost:8002 --partner-code=edX --partner-name="Open edX" --lms-url-root=http://127.0.0.1:8000 --client-side-payment-processor=cybersource --payment-processors=cybersource,paypal --client-id=ecommerce-key --client-secret=ecommerce-secret --from-email [email protected] --discovery_api_url=http://localhost:8008/api/v1/ --journals_api_url='})
  2580. changed: [localhost] => (item={u'when': True, u'command': u'./manage.py create_demo_data --partner=edX'})
  2581.  
  2582. TASK [edx_django_service : ensure log files exist for tailing] *****************
  2583. changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stdout.log)
  2584. changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stderr.log)
  2585.  
  2586. TASK [edx_django_service : write out the supervisor wrapper] *******************
  2587. ok: [localhost]
  2588.  
  2589. TASK [edx_django_service : write supervisord config] ***************************
  2590. ok: [localhost]
  2591.  
  2592. TASK [edx_django_service : write devstack script] ******************************
  2593. skipping: [localhost]
  2594.  
  2595. TASK [edx_django_service : setup the app env file] *****************************
  2596. ok: [localhost]
  2597.  
  2598. TASK [edx_django_service : enable supervisor script] ***************************
  2599. ok: [localhost]
  2600.  
  2601. TASK [edx_django_service : update supervisor configuration] ********************
  2602. changed: [localhost]
  2603.  
  2604. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  2605. ok: [localhost] => (item=python)
  2606. ok: [localhost] => (item=pip)
  2607. ok: [localhost] => (item=django-admin.py)
  2608.  
  2609. TASK [edx_django_service : create symlinks from the repo dir] ******************
  2610. ok: [localhost] => (item=manage.py)
  2611.  
  2612. TASK [edx_django_service : compile static assets] ******************************
  2613. changed: [localhost]
  2614.  
  2615. TASK [edx_django_service : restart the application] ****************************
  2616. changed: [localhost]
  2617.  
  2618. TASK [edx_django_service : Copying nginx configs for the service] **************
  2619. ok: [localhost]
  2620.  
  2621. TASK [edx_django_service : Creating nginx config links for the service] ********
  2622. ok: [localhost]
  2623.  
  2624. TASK [security : Install security packages] ************************************
  2625. skipping: [localhost] => (item=[])
  2626.  
  2627. TASK [security : Update all system packages] ***********************************
  2628. skipping: [localhost]
  2629.  
  2630. TASK [security : Configure periodic unattended-upgrades] ***********************
  2631. skipping: [localhost]
  2632.  
  2633. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2634. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2635. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2636. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2637.  
  2638. TASK [security : Disable unattended-upgrades] **********************************
  2639. skipping: [localhost]
  2640.  
  2641. TASK [security : Only unattended-upgrade from security repo] *******************
  2642. skipping: [localhost]
  2643.  
  2644. TASK [security : Disable security only updates on unattended-upgrades] *********
  2645. skipping: [localhost]
  2646.  
  2647. TASK [security : Take security updates during ansible runs] ********************
  2648. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2649. skipping: [localhost] => (item=unattended-upgrade)
  2650.  
  2651. TASK [security : Install security packages] ************************************
  2652. skipping: [localhost] => (item=[])
  2653.  
  2654. TASK [security : Enable automatic start for update service] ********************
  2655. skipping: [localhost]
  2656.  
  2657. TASK [security : Update all system packages] ***********************************
  2658. skipping: [localhost]
  2659.  
  2660. TASK [security : Configure security auto-updates] ******************************
  2661. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2662. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2663.  
  2664. TASK [security : Take security updates during ansible runs] ********************
  2665. skipping: [localhost] => (item=yum check-update --security)
  2666. skipping: [localhost] => (item=yum update --security -y)
  2667.  
  2668. TASK [antivirus : install antivirus system packages] ***************************
  2669. skipping: [localhost] => (item=[])
  2670.  
  2671. TASK [antivirus : create antivirus scanner user] *******************************
  2672. skipping: [localhost]
  2673.  
  2674. TASK [antivirus : create antivirus edx directories] ****************************
  2675. skipping: [localhost] => (item=/edx/app/antivirus)
  2676. skipping: [localhost] => (item=/edx/app/antivirus/data)
  2677. skipping: [localhost] => (item=/edx/var/log/antivirus)
  2678.  
  2679. TASK [antivirus : Ensure the clamav.log file exists] ***************************
  2680. skipping: [localhost]
  2681.  
  2682. TASK [antivirus : install antivirus s3 scanner script] *************************
  2683. skipping: [localhost]
  2684.  
  2685. TASK [antivirus : install antivirus s3 scanner cronjob] ************************
  2686. skipping: [localhost] => (item=None)
  2687.  
  2688. TASK [antivirus : install antivirus server scanner script] *********************
  2689. skipping: [localhost]
  2690.  
  2691. TASK [antivirus : install antivirus server scanner cronjob] ********************
  2692. skipping: [localhost]
  2693.  
  2694. TASK [ecommerce : Create Apple Pay certificates directory] *********************
  2695. ok: [localhost]
  2696.  
  2697. TASK [ecommerce : Write Apple Pay merchant certificates] ***********************
  2698. ok: [localhost]
  2699.  
  2700. TASK [security : Install security packages] ************************************
  2701. skipping: [localhost] => (item=[])
  2702.  
  2703. TASK [security : Update all system packages] ***********************************
  2704. skipping: [localhost]
  2705.  
  2706. TASK [security : Configure periodic unattended-upgrades] ***********************
  2707. skipping: [localhost]
  2708.  
  2709. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2710. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2711. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2712. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2713.  
  2714. TASK [security : Disable unattended-upgrades] **********************************
  2715. skipping: [localhost]
  2716.  
  2717. TASK [security : Only unattended-upgrade from security repo] *******************
  2718. skipping: [localhost]
  2719.  
  2720. TASK [security : Disable security only updates on unattended-upgrades] *********
  2721. skipping: [localhost]
  2722.  
  2723. TASK [security : Take security updates during ansible runs] ********************
  2724. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2725. skipping: [localhost] => (item=unattended-upgrade)
  2726.  
  2727. TASK [security : Install security packages] ************************************
  2728. skipping: [localhost] => (item=[])
  2729.  
  2730. TASK [security : Enable automatic start for update service] ********************
  2731. skipping: [localhost]
  2732.  
  2733. TASK [security : Update all system packages] ***********************************
  2734. skipping: [localhost]
  2735.  
  2736. TASK [security : Configure security auto-updates] ******************************
  2737. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2738. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2739.  
  2740. TASK [security : Take security updates during ansible runs] ********************
  2741. skipping: [localhost] => (item=yum check-update --security)
  2742. skipping: [localhost] => (item=yum update --security -y)
  2743.  
  2744. TASK [security : Install security packages] ************************************
  2745. skipping: [localhost] => (item=[])
  2746.  
  2747. TASK [security : Update all system packages] ***********************************
  2748. skipping: [localhost]
  2749.  
  2750. TASK [security : Configure periodic unattended-upgrades] ***********************
  2751. skipping: [localhost]
  2752.  
  2753. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2754. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2755. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2756. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2757.  
  2758. TASK [security : Disable unattended-upgrades] **********************************
  2759. skipping: [localhost]
  2760.  
  2761. TASK [security : Only unattended-upgrade from security repo] *******************
  2762. skipping: [localhost]
  2763.  
  2764. TASK [security : Disable security only updates on unattended-upgrades] *********
  2765. skipping: [localhost]
  2766.  
  2767. TASK [security : Take security updates during ansible runs] ********************
  2768. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2769. skipping: [localhost] => (item=unattended-upgrade)
  2770.  
  2771. TASK [security : Install security packages] ************************************
  2772. skipping: [localhost] => (item=[])
  2773.  
  2774. TASK [security : Enable automatic start for update service] ********************
  2775. skipping: [localhost]
  2776.  
  2777. TASK [security : Update all system packages] ***********************************
  2778. skipping: [localhost]
  2779.  
  2780. TASK [security : Configure security auto-updates] ******************************
  2781. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2782. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2783.  
  2784. TASK [security : Take security updates during ansible runs] ********************
  2785. skipping: [localhost] => (item=yum check-update --security)
  2786. skipping: [localhost] => (item=yum update --security -y)
  2787.  
  2788. TASK [add_user : create user groups] *******************************************
  2789. ok: [localhost] => (item=ecomworker)
  2790.  
  2791. TASK [add_user : create application user] **************************************
  2792. ok: [localhost]
  2793.  
  2794. TASK [add_user : ensure correct ownership of home directory] *******************
  2795. ok: [localhost]
  2796.  
  2797. TASK [add_user : create dirs for the user] *************************************
  2798.  
  2799. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  2800. changed: [localhost]
  2801.  
  2802. TASK [git_clone : Validate git protocol] ***************************************
  2803. skipping: [localhost] => (item=(censored due to no_log))
  2804.  
  2805. TASK [git_clone : Install read-only ssh key] ***********************************
  2806. skipping: [localhost] => (item=(censored due to no_log))
  2807.  
  2808. TASK [git_clone : Check that working tree is clean] ****************************
  2809. changed: [localhost] => (item=/edx/app/ecomworker/ecomworker)
  2810.  
  2811. TASK [git_clone : Require a clean working tree] ********************************
  2812. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-04-03 02:39:50.062760', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-04-03 02:39:50.044230', u'cmd': u'test ! -e "/edx/app/ecomworker/ecomworker" || git -C "/edx/app/ecomworker/ecomworker" status --porcelain --untracked-files=no', 'item': u'/edx/app/ecomworker/ecomworker', u'delta': u'0:00:00.018530', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/ecomworker/ecomworker" || git -C "/edx/app/ecomworker/ecomworker" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  2813.  
  2814. TASK [git_clone : Checkout code over ssh] **************************************
  2815. skipping: [localhost] => (item=(censored due to no_log))
  2816.  
  2817. TASK [git_clone : Checkout code over https] ************************************
  2818. ok: [localhost] => (item=(censored due to no_log))
  2819.  
  2820. TASK [git_clone : Remove read-only ssh key] ************************************
  2821. skipping: [localhost] => (item=(censored due to no_log))
  2822.  
  2823. TASK [git_clone : Run git clean after checking out code] ***********************
  2824. changed: [localhost] => (item=(censored due to no_log))
  2825.  
  2826. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  2827. ok: [localhost] => (item=)
  2828. ok: [localhost] => (item=venvs)
  2829. ok: [localhost] => (item=data)
  2830. ok: [localhost] => (item=staticfiles)
  2831.  
  2832. TASK [edx_service : Create /edx/var/app dir] ***********************************
  2833. ok: [localhost]
  2834.  
  2835. TASK [edx_service : Create /edx/etc dir] ***************************************
  2836. changed: [localhost]
  2837.  
  2838. TASK [edx_service : Create edx_service log dir] ********************************
  2839. ok: [localhost] => (item=/edx/var/log/ecomworker)
  2840.  
  2841. TASK [edx_service : Write out app config file] *********************************
  2842. [WARNING]: when statements should not include jinja2 templating delimiters
  2843. such as {{ }} or {% %}. Found: {{ ECOMMERCE_WORKER_SERVICE_CONFIG }}
  2844. ok: [localhost]
  2845.  
  2846. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2847.  
  2848. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2849.  
  2850. TASK [edx_service : Get instance information] **********************************
  2851. ok: [localhost]
  2852.  
  2853. TASK [edx_service : Tag instance] **********************************************
  2854. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None, u'REPO': u'ecommerce-worker.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None, u'REPO': u'ecommerce-worker.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/ecomworker/ecomworker', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/ecommerce-worker.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'33ee0068d1b6d2ffd4d2ba806f2fc00c57a0ae03', u'before': u'33ee0068d1b6d2ffd4d2ba806f2fc00c57a0ae03'}])
  2855.  
  2856. TASK [ecomworker : install application requirements] ***************************
  2857. ok: [localhost] => (item=production.txt)
  2858. ok: [localhost] => (item=optional.txt)
  2859.  
  2860. TASK [ecomworker : write out the supervisor wrapper] ***************************
  2861. ok: [localhost]
  2862.  
  2863. TASK [ecomworker : write supervisord config] ***********************************
  2864. ok: [localhost]
  2865.  
  2866. TASK [ecomworker : setup the ecommerce_worker env file] ************************
  2867. ok: [localhost]
  2868.  
  2869. TASK [ecomworker : enable supervisor script] ***********************************
  2870. ok: [localhost]
  2871.  
  2872. TASK [ecomworker : update supervisor configuration] ****************************
  2873. changed: [localhost]
  2874.  
  2875. TASK [ecomworker : create symlinks from the venv bin dir] **********************
  2876. ok: [localhost] => (item=python)
  2877. ok: [localhost] => (item=pip)
  2878.  
  2879. TASK [ecomworker : restart the applicaton] *************************************
  2880. changed: [localhost]
  2881.  
  2882. TASK [security : Install security packages] ************************************
  2883. skipping: [localhost] => (item=[])
  2884.  
  2885. TASK [security : Update all system packages] ***********************************
  2886. skipping: [localhost]
  2887.  
  2888. TASK [security : Configure periodic unattended-upgrades] ***********************
  2889. skipping: [localhost]
  2890.  
  2891. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2892. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2893. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2894. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2895.  
  2896. TASK [security : Disable unattended-upgrades] **********************************
  2897. skipping: [localhost]
  2898.  
  2899. TASK [security : Only unattended-upgrade from security repo] *******************
  2900. skipping: [localhost]
  2901.  
  2902. TASK [security : Disable security only updates on unattended-upgrades] *********
  2903. skipping: [localhost]
  2904.  
  2905. TASK [security : Take security updates during ansible runs] ********************
  2906. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2907. skipping: [localhost] => (item=unattended-upgrade)
  2908.  
  2909. TASK [security : Install security packages] ************************************
  2910. skipping: [localhost] => (item=[])
  2911.  
  2912. TASK [security : Enable automatic start for update service] ********************
  2913. skipping: [localhost]
  2914.  
  2915. TASK [security : Update all system packages] ***********************************
  2916. skipping: [localhost]
  2917.  
  2918. TASK [security : Configure security auto-updates] ******************************
  2919. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2920. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2921.  
  2922. TASK [security : Take security updates during ansible runs] ********************
  2923. skipping: [localhost] => (item=yum check-update --security)
  2924. skipping: [localhost] => (item=yum update --security -y)
  2925.  
  2926. TASK [security : Install security packages] ************************************
  2927. skipping: [localhost] => (item=[])
  2928.  
  2929. TASK [security : Update all system packages] ***********************************
  2930. skipping: [localhost]
  2931.  
  2932. TASK [security : Configure periodic unattended-upgrades] ***********************
  2933. skipping: [localhost]
  2934.  
  2935. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2936. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2937. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2938. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2939.  
  2940. TASK [security : Disable unattended-upgrades] **********************************
  2941. skipping: [localhost]
  2942.  
  2943. TASK [security : Only unattended-upgrade from security repo] *******************
  2944. skipping: [localhost]
  2945.  
  2946. TASK [security : Disable security only updates on unattended-upgrades] *********
  2947. skipping: [localhost]
  2948.  
  2949. TASK [security : Take security updates during ansible runs] ********************
  2950. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2951. skipping: [localhost] => (item=unattended-upgrade)
  2952.  
  2953. TASK [security : Install security packages] ************************************
  2954. skipping: [localhost] => (item=[])
  2955.  
  2956. TASK [security : Enable automatic start for update service] ********************
  2957. skipping: [localhost]
  2958.  
  2959. TASK [security : Update all system packages] ***********************************
  2960. skipping: [localhost]
  2961.  
  2962. TASK [security : Configure security auto-updates] ******************************
  2963. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2964. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2965.  
  2966. TASK [security : Take security updates during ansible runs] ********************
  2967. skipping: [localhost] => (item=yum check-update --security)
  2968. skipping: [localhost] => (item=yum update --security -y)
  2969.  
  2970. TASK [automated : Create automated user] ***************************************
  2971. ok: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  2972.  
  2973. TASK [automated : Create sudoers file from template] ***************************
  2974. ok: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  2975.  
  2976. TASK [automated : Create .ssh directory] ***************************************
  2977. ok: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  2978.  
  2979. TASK [automated : Build authorized_keys file] **********************************
  2980. ok: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  2981.  
  2982. TASK [automated : Build known_hosts file] **************************************
  2983. changed: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  2984.  
  2985. TASK [add_user : create user groups] *******************************************
  2986. ok: [localhost] => (item=analytics_api)
  2987.  
  2988. TASK [add_user : create application user] **************************************
  2989. ok: [localhost]
  2990.  
  2991. TASK [add_user : ensure correct ownership of home directory] *******************
  2992. ok: [localhost]
  2993.  
  2994. TASK [add_user : create dirs for the user] *************************************
  2995.  
  2996. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  2997. changed: [localhost]
  2998.  
  2999. TASK [git_clone : Validate git protocol] ***************************************
  3000. skipping: [localhost] => (item=(censored due to no_log))
  3001.  
  3002. TASK [git_clone : Install read-only ssh key] ***********************************
  3003. skipping: [localhost] => (item=(censored due to no_log))
  3004.  
  3005. TASK [git_clone : Check that working tree is clean] ****************************
  3006. changed: [localhost] => (item=/edx/app/analytics_api/analytics_api)
  3007.  
  3008. TASK [git_clone : Require a clean working tree] ********************************
  3009. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-04-03 02:40:15.516949', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-04-03 02:40:15.493640', u'cmd': u'test ! -e "/edx/app/analytics_api/analytics_api" || git -C "/edx/app/analytics_api/analytics_api" status --porcelain --untracked-files=no', 'item': u'/edx/app/analytics_api/analytics_api', u'delta': u'0:00:00.023309', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/analytics_api/analytics_api" || git -C "/edx/app/analytics_api/analytics_api" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  3010.  
  3011. TASK [git_clone : Checkout code over ssh] **************************************
  3012. skipping: [localhost] => (item=(censored due to no_log))
  3013.  
  3014. TASK [git_clone : Checkout code over https] ************************************
  3015. ok: [localhost] => (item=(censored due to no_log))
  3016.  
  3017. TASK [git_clone : Remove read-only ssh key] ************************************
  3018. skipping: [localhost] => (item=(censored due to no_log))
  3019.  
  3020. TASK [git_clone : Run git clean after checking out code] ***********************
  3021. changed: [localhost] => (item=(censored due to no_log))
  3022.  
  3023. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  3024. ok: [localhost] => (item=)
  3025. ok: [localhost] => (item=venvs)
  3026. ok: [localhost] => (item=data)
  3027. ok: [localhost] => (item=staticfiles)
  3028.  
  3029. TASK [edx_service : Create /edx/var/app dir] ***********************************
  3030. ok: [localhost]
  3031.  
  3032. TASK [edx_service : Create /edx/etc dir] ***************************************
  3033. changed: [localhost]
  3034.  
  3035. TASK [edx_service : Create edx_service log dir] ********************************
  3036. ok: [localhost] => (item=/edx/var/log/analytics_api)
  3037.  
  3038. TASK [edx_service : Write out app config file] *********************************
  3039. [WARNING]: when statements should not include jinja2 templating delimiters
  3040. such as {{ }} or {% %}. Found: {{ edx_django_service_config }}
  3041. ok: [localhost]
  3042.  
  3043. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3044. ok: [localhost] => (item=[u'gettext', u'libffi-dev', u'libmemcached-dev', u'libmysqlclient-dev', u'libssl-dev', u'libmysqlclient-dev'])
  3045.  
  3046. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3047.  
  3048. TASK [edx_service : Get instance information] **********************************
  3049. ok: [localhost]
  3050.  
  3051. TASK [edx_service : Tag instance] **********************************************
  3052. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None, u'REPO': u'edx-analytics-data-api.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None, u'REPO': u'edx-analytics-data-api.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/analytics_api/analytics_api', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/edx-analytics-data-api.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'e2e55b22c054672111b3233c1c32c3b0907ae582', u'before': u'e2e55b22c054672111b3233c1c32c3b0907ae582'}])
  3053.  
  3054. TASK [edx_django_service : add gunicorn configuration file] ********************
  3055. ok: [localhost]
  3056.  
  3057. TASK [edx_django_service : install python3] ************************************
  3058. skipping: [localhost] => (item=[])
  3059.  
  3060. TASK [edx_django_service : build virtualenv with python3] **********************
  3061. skipping: [localhost]
  3062.  
  3063. TASK [edx_django_service : build virtualenv with python2.7] ********************
  3064. ok: [localhost]
  3065.  
  3066. TASK [edx_django_service : Pin pip to a specific version.] *********************
  3067. changed: [localhost]
  3068.  
  3069. TASK [edx_django_service : install nodenv] *************************************
  3070. changed: [localhost]
  3071.  
  3072. TASK [edx_django_service : create nodeenv] *************************************
  3073. ok: [localhost]
  3074.  
  3075. TASK [edx_django_service : install production requirements] ********************
  3076. changed: [localhost]
  3077.  
  3078. TASK [edx_django_service : install development requirements] *******************
  3079. skipping: [localhost]
  3080.  
  3081. TASK [edx_django_service : migrate database] ***********************************
  3082. changed: [localhost]
  3083.  
  3084. TASK [edx_django_service : run post-migrate commands] **************************
  3085.  
  3086. TASK [edx_django_service : ensure log files exist for tailing] *****************
  3087. changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stdout.log)
  3088. changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stderr.log)
  3089.  
  3090. TASK [edx_django_service : write out the supervisor wrapper] *******************
  3091. ok: [localhost]
  3092.  
  3093. TASK [edx_django_service : write supervisord config] ***************************
  3094. ok: [localhost]
  3095.  
  3096. TASK [edx_django_service : write devstack script] ******************************
  3097. skipping: [localhost]
  3098.  
  3099. TASK [edx_django_service : setup the app env file] *****************************
  3100. ok: [localhost]
  3101.  
  3102. TASK [edx_django_service : enable supervisor script] ***************************
  3103. ok: [localhost]
  3104.  
  3105. TASK [edx_django_service : update supervisor configuration] ********************
  3106. changed: [localhost]
  3107.  
  3108. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  3109. ok: [localhost] => (item=python)
  3110. ok: [localhost] => (item=pip)
  3111. ok: [localhost] => (item=django-admin.py)
  3112.  
  3113. TASK [edx_django_service : create symlinks from the repo dir] ******************
  3114. ok: [localhost] => (item=manage.py)
  3115.  
  3116. TASK [edx_django_service : compile static assets] ******************************
  3117. changed: [localhost]
  3118.  
  3119. TASK [edx_django_service : restart the application] ****************************
  3120. changed: [localhost]
  3121.  
  3122. TASK [edx_django_service : Copying nginx configs for the service] **************
  3123. ok: [localhost]
  3124.  
  3125. TASK [edx_django_service : Creating nginx config links for the service] ********
  3126. ok: [localhost]
  3127.  
  3128. TASK [analytics_api : create api users] ****************************************
  3129. changed: [localhost] => (item={'key': u'dummy-api-user', 'value': u'changeme'})
  3130.  
  3131. TASK [security : Install security packages] ************************************
  3132. skipping: [localhost] => (item=[])
  3133.  
  3134. TASK [security : Update all system packages] ***********************************
  3135. skipping: [localhost]
  3136.  
  3137. TASK [security : Configure periodic unattended-upgrades] ***********************
  3138. skipping: [localhost]
  3139.  
  3140. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3141. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3142. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3143. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3144.  
  3145. TASK [security : Disable unattended-upgrades] **********************************
  3146. skipping: [localhost]
  3147.  
  3148. TASK [security : Only unattended-upgrade from security repo] *******************
  3149. skipping: [localhost]
  3150.  
  3151. TASK [security : Disable security only updates on unattended-upgrades] *********
  3152. skipping: [localhost]
  3153.  
  3154. TASK [security : Take security updates during ansible runs] ********************
  3155. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3156. skipping: [localhost] => (item=unattended-upgrade)
  3157.  
  3158. TASK [security : Install security packages] ************************************
  3159. skipping: [localhost] => (item=[])
  3160.  
  3161. TASK [security : Enable automatic start for update service] ********************
  3162. skipping: [localhost]
  3163.  
  3164. TASK [security : Update all system packages] ***********************************
  3165. skipping: [localhost]
  3166.  
  3167. TASK [security : Configure security auto-updates] ******************************
  3168. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3169. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3170.  
  3171. TASK [security : Take security updates during ansible runs] ********************
  3172. skipping: [localhost] => (item=yum check-update --security)
  3173. skipping: [localhost] => (item=yum update --security -y)
  3174.  
  3175. TASK [security : Install security packages] ************************************
  3176. skipping: [localhost] => (item=[])
  3177.  
  3178. TASK [security : Update all system packages] ***********************************
  3179. skipping: [localhost]
  3180.  
  3181. TASK [security : Configure periodic unattended-upgrades] ***********************
  3182. skipping: [localhost]
  3183.  
  3184. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3185. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3186. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3187. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3188.  
  3189. TASK [security : Disable unattended-upgrades] **********************************
  3190. skipping: [localhost]
  3191.  
  3192. TASK [security : Only unattended-upgrade from security repo] *******************
  3193. skipping: [localhost]
  3194.  
  3195. TASK [security : Disable security only updates on unattended-upgrades] *********
  3196. skipping: [localhost]
  3197.  
  3198. TASK [security : Take security updates during ansible runs] ********************
  3199. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3200. skipping: [localhost] => (item=unattended-upgrade)
  3201.  
  3202. TASK [security : Install security packages] ************************************
  3203. skipping: [localhost] => (item=[])
  3204.  
  3205. TASK [security : Enable automatic start for update service] ********************
  3206. skipping: [localhost]
  3207.  
  3208. TASK [security : Update all system packages] ***********************************
  3209. skipping: [localhost]
  3210.  
  3211. TASK [security : Configure security auto-updates] ******************************
  3212. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3213. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3214.  
  3215. TASK [security : Take security updates during ansible runs] ********************
  3216. skipping: [localhost] => (item=yum check-update --security)
  3217. skipping: [localhost] => (item=yum update --security -y)
  3218.  
  3219. TASK [add_user : create user groups] *******************************************
  3220. ok: [localhost] => (item=insights)
  3221.  
  3222. TASK [add_user : create application user] **************************************
  3223. ok: [localhost]
  3224.  
  3225. TASK [add_user : ensure correct ownership of home directory] *******************
  3226. ok: [localhost]
  3227.  
  3228. TASK [add_user : create dirs for the user] *************************************
  3229.  
  3230. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  3231. changed: [localhost]
  3232.  
  3233. TASK [git_clone : Validate git protocol] ***************************************
  3234. skipping: [localhost] => (item=(censored due to no_log))
  3235.  
  3236. TASK [git_clone : Install read-only ssh key] ***********************************
  3237. skipping: [localhost] => (item=(censored due to no_log))
  3238.  
  3239. TASK [git_clone : Check that working tree is clean] ****************************
  3240. changed: [localhost] => (item=/edx/app/insights/edx_analytics_dashboard)
  3241.  
  3242. TASK [git_clone : Require a clean working tree] ********************************
  3243. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-04-03 02:40:51.200397', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-04-03 02:40:51.123409', u'cmd': u'test ! -e "/edx/app/insights/edx_analytics_dashboard" || git -C "/edx/app/insights/edx_analytics_dashboard" status --porcelain --untracked-files=no', 'item': u'/edx/app/insights/edx_analytics_dashboard', u'delta': u'0:00:00.076988', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/insights/edx_analytics_dashboard" || git -C "/edx/app/insights/edx_analytics_dashboard" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  3244.  
  3245. TASK [git_clone : Checkout code over ssh] **************************************
  3246. skipping: [localhost] => (item=(censored due to no_log))
  3247.  
  3248. TASK [git_clone : Checkout code over https] ************************************
  3249. ok: [localhost] => (item=(censored due to no_log))
  3250.  
  3251. TASK [git_clone : Remove read-only ssh key] ************************************
  3252. skipping: [localhost] => (item=(censored due to no_log))
  3253.  
  3254. TASK [git_clone : Run git clean after checking out code] ***********************
  3255. changed: [localhost] => (item=(censored due to no_log))
  3256.  
  3257. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  3258. ok: [localhost] => (item=)
  3259. ok: [localhost] => (item=venvs)
  3260. ok: [localhost] => (item=data)
  3261. ok: [localhost] => (item=staticfiles)
  3262.  
  3263. TASK [edx_service : Create /edx/var/app dir] ***********************************
  3264. ok: [localhost]
  3265.  
  3266. TASK [edx_service : Create /edx/etc dir] ***************************************
  3267. changed: [localhost]
  3268.  
  3269. TASK [edx_service : Create edx_service log dir] ********************************
  3270. ok: [localhost] => (item=/edx/var/log/insights)
  3271.  
  3272. TASK [edx_service : Write out app config file] *********************************
  3273. [WARNING]: when statements should not include jinja2 templating delimiters
  3274. such as {{ }} or {% %}. Found: {{ INSIGHTS_CONFIG }}
  3275. ok: [localhost]
  3276.  
  3277. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3278. ok: [localhost] => (item=[u'libmysqlclient-dev', u'build-essential', u'gettext', u'openjdk-8-jdk'])
  3279.  
  3280. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3281.  
  3282. TASK [edx_service : Get instance information] **********************************
  3283. ok: [localhost]
  3284.  
  3285. TASK [edx_service : Tag instance] **********************************************
  3286. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None, u'REPO': u'edx-analytics-dashboard.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None, u'REPO': u'edx-analytics-dashboard.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/insights/edx_analytics_dashboard', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/edx-analytics-dashboard.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'db26118b5e92aff582e18ec47335403df048bba0', u'before': u'db26118b5e92aff582e18ec47335403df048bba0'}])
  3287.  
  3288. TASK [insights : setup the insights env file] **********************************
  3289. ok: [localhost]
  3290.  
  3291. TASK [insights : install application requirements] *****************************
  3292. ok: [localhost] => (item=production.txt)
  3293. ok: [localhost] => (item=optional.txt)
  3294.  
  3295. TASK [insights : create nodeenv] ***********************************************
  3296. changed: [localhost]
  3297.  
  3298. TASK [insights : install node dependencies] ************************************
  3299. changed: [localhost]
  3300.  
  3301. TASK [insights : migrate] ******************************************************
  3302. changed: [localhost]
  3303.  
  3304. TASK [insights : run webpack] **************************************************
  3305. changed: [localhost]
  3306.  
  3307. TASK [insights : run collectstatic] ********************************************
  3308. changed: [localhost] => (item=collectstatic --noinput)
  3309.  
  3310. TASK [insights : write out the supervisior wrapper] ****************************
  3311. ok: [localhost]
  3312.  
  3313. TASK [insights : write supervisord config] *************************************
  3314. ok: [localhost]
  3315.  
  3316. TASK [insights : enable supervisor script] *************************************
  3317. ok: [localhost]
  3318.  
  3319. TASK [insights : update supervisor configuration] ******************************
  3320. changed: [localhost]
  3321.  
  3322. TASK [insights : create symlinks from the venv bin dir] ************************
  3323. ok: [localhost] => (item=python)
  3324. ok: [localhost] => (item=pip)
  3325. ok: [localhost] => (item=django-admin.py)
  3326.  
  3327. TASK [insights : create manage.py symlink] *************************************
  3328. ok: [localhost]
  3329.  
  3330. TASK [insights : restart insights] *********************************************
  3331. changed: [localhost]
  3332.  
  3333. TASK [security : Install security packages] ************************************
  3334. skipping: [localhost] => (item=[])
  3335.  
  3336. TASK [security : Update all system packages] ***********************************
  3337. skipping: [localhost]
  3338.  
  3339. TASK [security : Configure periodic unattended-upgrades] ***********************
  3340. skipping: [localhost]
  3341.  
  3342. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3343. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3344. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3345. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3346.  
  3347. TASK [security : Disable unattended-upgrades] **********************************
  3348. skipping: [localhost]
  3349.  
  3350. TASK [security : Only unattended-upgrade from security repo] *******************
  3351. skipping: [localhost]
  3352.  
  3353. TASK [security : Disable security only updates on unattended-upgrades] *********
  3354. skipping: [localhost]
  3355.  
  3356. TASK [security : Take security updates during ansible runs] ********************
  3357. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3358. skipping: [localhost] => (item=unattended-upgrade)
  3359.  
  3360. TASK [security : Install security packages] ************************************
  3361. skipping: [localhost] => (item=[])
  3362.  
  3363. TASK [security : Enable automatic start for update service] ********************
  3364. skipping: [localhost]
  3365.  
  3366. TASK [security : Update all system packages] ***********************************
  3367. skipping: [localhost]
  3368.  
  3369. TASK [security : Configure security auto-updates] ******************************
  3370. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3371. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3372.  
  3373. TASK [security : Take security updates during ansible runs] ********************
  3374. skipping: [localhost] => (item=yum check-update --security)
  3375. skipping: [localhost] => (item=yum update --security -y)
  3376.  
  3377. TASK [demo : create demo app and data dirs] ************************************
  3378. ok: [localhost]
  3379.  
  3380. TASK [demo : check out the demo course] ****************************************
  3381. ok: [localhost]
  3382.  
  3383. TASK [demo : import demo course] ***********************************************
  3384. skipping: [localhost]
  3385.  
  3386. TASK [demo : build staff and test user list] ***********************************
  3387. ok: [localhost]
  3388.  
  3389. TASK [demo : build staff and test user list] ***********************************
  3390. skipping: [localhost]
  3391.  
  3392. TASK [demo : build staff, admin, and test user list] ***************************
  3393. ok: [localhost]
  3394.  
  3395. TASK [demo : create some test users] *******************************************
  3396. skipping: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3397. skipping: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3398. skipping: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3399. skipping: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'[email protected]'})
  3400.  
  3401. TASK [demo : enroll test users in the demo course] *****************************
  3402. skipping: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3403. skipping: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3404. skipping: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3405. skipping: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'[email protected]'})
  3406.  
  3407. TASK [demo : add test users to the certificate whitelist] **********************
  3408. skipping: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3409. skipping: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3410. skipping: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3411.  
  3412. TASK [demo : seed the forums for the demo course] ******************************
  3413. skipping: [localhost]
  3414.  
  3415. TASK [oauth_client_setup : create OAuth2 Clients] ******************************
  3416. changed: [localhost] => (item={u'username': u'ecommerce_worker', u'url_root': u'http://localhost:8002', u'name': u'ecommerce', u'logout_uri': u'http://localhost:8002/logout/', u'secret': u'ecommerce-secret', u'id': u'ecommerce-key'})
  3417. changed: [localhost] => (item={u'username': u'insights_worker', u'url_root': u'http://127.0.0.1:8110', u'name': u'insights', u'logout_uri': u'http://example.com/accounts/logout/', u'secret': u'secret', u'id': u'YOUR_OAUTH2_KEY'})
  3418. skipping: [localhost] => (item={u'username': u'credentials_worker', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
  3419. changed: [localhost] => (item={u'username': u'discovery_worker', u'url_root': u'http://localhost:18381', u'name': u'discovery', u'logout_uri': u'http://localhost:18381/logout/', u'secret': u'discovery-secret', u'id': u'discovery-key'})
  3420. skipping: [localhost] => (item={u'username': u'journals_worker', u'url_root': u'http://localhost:18606', u'name': u'None', u'logout_uri': u'http://localhost:18606/logout/', u'secret': u'journals-secret', u'id': u'journals-key'})
  3421. skipping: [localhost] => (item={u'username': u'veda_service_user', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
  3422.  
  3423. TASK [oraclejdk : Install debian needed pkgs] **********************************
  3424. ok: [localhost] => (item=[u'curl'])
  3425.  
  3426. TASK [oraclejdk : Download Oracle Java] ****************************************
  3427. ok: [localhost]
  3428.  
  3429. TASK [oraclejdk : Create jvm dir] **********************************************
  3430. ok: [localhost]
  3431.  
  3432. TASK [oraclejdk : Untar Oracle Java] *******************************************
  3433. ok: [localhost]
  3434.  
  3435. TASK [oraclejdk : Create symlink expected by elasticsearch] ********************
  3436. ok: [localhost]
  3437.  
  3438. TASK [oraclejdk : Update alternatives java] ************************************
  3439. ok: [localhost] => (item=java)
  3440. ok: [localhost] => (item=javac)
  3441. ok: [localhost] => (item=javaws)
  3442. ok: [localhost] => (item=jarsigner)
  3443.  
  3444. TASK [oraclejdk : Add JAVA_HOME for Oracle Java] *******************************
  3445. ok: [localhost]
  3446.  
  3447. TASK [security : Install security packages] ************************************
  3448. skipping: [localhost] => (item=[])
  3449.  
  3450. TASK [security : Update all system packages] ***********************************
  3451. skipping: [localhost]
  3452.  
  3453. TASK [security : Configure periodic unattended-upgrades] ***********************
  3454. skipping: [localhost]
  3455.  
  3456. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3457. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3458. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3459. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3460.  
  3461. TASK [security : Disable unattended-upgrades] **********************************
  3462. skipping: [localhost]
  3463.  
  3464. TASK [security : Only unattended-upgrade from security repo] *******************
  3465. skipping: [localhost]
  3466.  
  3467. TASK [security : Disable security only updates on unattended-upgrades] *********
  3468. skipping: [localhost]
  3469.  
  3470. TASK [security : Take security updates during ansible runs] ********************
  3471. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3472. skipping: [localhost] => (item=unattended-upgrade)
  3473.  
  3474. TASK [security : Install security packages] ************************************
  3475. skipping: [localhost] => (item=[])
  3476.  
  3477. TASK [security : Enable automatic start for update service] ********************
  3478. skipping: [localhost]
  3479.  
  3480. TASK [security : Update all system packages] ***********************************
  3481. skipping: [localhost]
  3482.  
  3483. TASK [security : Configure security auto-updates] ******************************
  3484. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3485. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3486.  
  3487. TASK [security : Take security updates during ansible runs] ********************
  3488. skipping: [localhost] => (item=yum check-update --security)
  3489. skipping: [localhost] => (item=yum update --security -y)
  3490.  
  3491. TASK [elasticsearch : Install Elasticsearch repo key] **************************
  3492. ok: [localhost]
  3493.  
  3494. TASK [elasticsearch : Add Elasticsearch Repo] **********************************
  3495. ok: [localhost]
  3496.  
  3497. TASK [elasticsearch : install elasticsearch] ***********************************
  3498. ok: [localhost]
  3499.  
  3500. TASK [elasticsearch : create directories] **************************************
  3501. ok: [localhost] => (item=/edx/var/elasticsearch)
  3502. ok: [localhost] => (item=/edx/var/log/elasticsearch)
  3503. ok: [localhost] => (item=/edx/etc/elasticsearch)
  3504.  
  3505. TASK [elasticsearch : update elasticsearch defaults] ***************************
  3506. ok: [localhost]
  3507.  
  3508. TASK [elasticsearch : drop the elasticsearch config] ***************************
  3509. ok: [localhost]
  3510.  
  3511. TASK [elasticsearch : drop the elasticsearch logging config] *******************
  3512. ok: [localhost]
  3513.  
  3514. TASK [elasticsearch : Ensure elasticsearch is enabled and started] *************
  3515. ok: [localhost]
  3516.  
  3517. TASK [elasticsearch : Restart elastic when there has been an upgrade] **********
  3518. skipping: [localhost]
  3519.  
  3520. TASK [security : Install security packages] ************************************
  3521. skipping: [localhost] => (item=[])
  3522.  
  3523. TASK [security : Update all system packages] ***********************************
  3524. skipping: [localhost]
  3525.  
  3526. TASK [security : Configure periodic unattended-upgrades] ***********************
  3527. skipping: [localhost]
  3528.  
  3529. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3530. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3531. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3532. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3533.  
  3534. TASK [security : Disable unattended-upgrades] **********************************
  3535. skipping: [localhost]
  3536.  
  3537. TASK [security : Only unattended-upgrade from security repo] *******************
  3538. skipping: [localhost]
  3539.  
  3540. TASK [security : Disable security only updates on unattended-upgrades] *********
  3541. skipping: [localhost]
  3542.  
  3543. TASK [security : Take security updates during ansible runs] ********************
  3544. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3545. skipping: [localhost] => (item=unattended-upgrade)
  3546.  
  3547. TASK [security : Install security packages] ************************************
  3548. skipping: [localhost] => (item=[])
  3549.  
  3550. TASK [security : Enable automatic start for update service] ********************
  3551. skipping: [localhost]
  3552.  
  3553. TASK [security : Update all system packages] ***********************************
  3554. skipping: [localhost]
  3555.  
  3556. TASK [security : Configure security auto-updates] ******************************
  3557. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3558. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3559.  
  3560. TASK [security : Take security updates during ansible runs] ********************
  3561. skipping: [localhost] => (item=yum check-update --security)
  3562. skipping: [localhost] => (item=yum update --security -y)
  3563.  
  3564. TASK [security : Install security packages] ************************************
  3565. skipping: [localhost] => (item=[])
  3566.  
  3567. TASK [security : Update all system packages] ***********************************
  3568. skipping: [localhost]
  3569.  
  3570. TASK [security : Configure periodic unattended-upgrades] ***********************
  3571. skipping: [localhost]
  3572.  
  3573. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3574. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3575. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3576. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3577.  
  3578. TASK [security : Disable unattended-upgrades] **********************************
  3579. skipping: [localhost]
  3580.  
  3581. TASK [security : Only unattended-upgrade from security repo] *******************
  3582. skipping: [localhost]
  3583.  
  3584. TASK [security : Disable security only updates on unattended-upgrades] *********
  3585. skipping: [localhost]
  3586.  
  3587. TASK [security : Take security updates during ansible runs] ********************
  3588. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3589. skipping: [localhost] => (item=unattended-upgrade)
  3590.  
  3591. TASK [security : Install security packages] ************************************
  3592. skipping: [localhost] => (item=[])
  3593.  
  3594. TASK [security : Enable automatic start for update service] ********************
  3595. skipping: [localhost]
  3596.  
  3597. TASK [security : Update all system packages] ***********************************
  3598. skipping: [localhost]
  3599.  
  3600. TASK [security : Configure security auto-updates] ******************************
  3601. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3602. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3603.  
  3604. TASK [security : Take security updates during ansible runs] ********************
  3605. skipping: [localhost] => (item=yum check-update --security)
  3606. skipping: [localhost] => (item=yum update --security -y)
  3607.  
  3608. TASK [rbenv : fail] ************************************************************
  3609. skipping: [localhost]
  3610.  
  3611. TASK [rbenv : fail] ************************************************************
  3612. skipping: [localhost]
  3613.  
  3614. TASK [rbenv : fail] ************************************************************
  3615. skipping: [localhost]
  3616.  
  3617. TASK [rbenv : create rbenv user forum] *****************************************
  3618. ok: [localhost]
  3619.  
  3620. TASK [rbenv : create rbenv dir if it does not exist] ***************************
  3621. ok: [localhost]
  3622.  
  3623. TASK [rbenv : install build depends] *******************************************
  3624. ok: [localhost] => (item=curl)
  3625. ok: [localhost] => (item=build-essential)
  3626. ok: [localhost] => (item=libcurl4-openssl-dev)
  3627. ok: [localhost] => (item=libreadline-dev)
  3628. ok: [localhost] => (item=libssl-dev)
  3629. ok: [localhost] => (item=libxml2-dev)
  3630. ok: [localhost] => (item=libxslt1-dev)
  3631. ok: [localhost] => (item=zlib1g-dev)
  3632.  
  3633. TASK [rbenv : update rbenv repo] ***********************************************
  3634. ok: [localhost]
  3635.  
  3636. TASK [rbenv : ensure ruby_env exists] ******************************************
  3637. ok: [localhost]
  3638.  
  3639. TASK [rbenv : check ruby-build installed] **************************************
  3640. changed: [localhost]
  3641.  
  3642. TASK [rbenv : if ruby-build exists, which versions we can install] *************
  3643. changed: [localhost]
  3644.  
  3645. TASK [rbenv : create temporary directory] **************************************
  3646. changed: [localhost]
  3647.  
  3648. TASK [rbenv : clone ruby-build repo] *******************************************
  3649. changed: [localhost]
  3650.  
  3651. TASK [rbenv : install ruby-build] **********************************************
  3652. changed: [localhost]
  3653.  
  3654. TASK [rbenv : remove temporary directory] **************************************
  3655. changed: [localhost]
  3656.  
  3657. TASK [rbenv : check ruby 2.4.1 installed] **************************************
  3658. changed: [localhost]
  3659.  
  3660. TASK [rbenv : install ruby 2.4.1] **********************************************
  3661. skipping: [localhost]
  3662.  
  3663. TASK [rbenv : set global ruby 2.4.1] *******************************************
  3664. changed: [localhost]
  3665.  
  3666. TASK [rbenv : update rubygems] *************************************************
  3667. changed: [localhost]
  3668.  
  3669. TASK [rbenv : install bundler] *************************************************
  3670. changed: [localhost]
  3671.  
  3672. TASK [rbenv : remove rbenv version of rake] ************************************
  3673. ok: [localhost]
  3674.  
  3675. TASK [rbenv : install rake gem] ************************************************
  3676. changed: [localhost]
  3677.  
  3678. TASK [rbenv : rehash] **********************************************************
  3679. changed: [localhost]
  3680.  
  3681. TASK [forum : create application user] *****************************************
  3682. ok: [localhost]
  3683.  
  3684. TASK [forum : set forum app dir permissions] ***********************************
  3685. ok: [localhost]
  3686.  
  3687. TASK [forum : setup the forum env for stage/prod] ******************************
  3688. ok: [localhost] => (item={u'LISTEN_HOST': u'0.0.0.0', u'NEW_RELIC_APP_NAME': u'default_env-default_deployment-forum', u'DATA_DIR': u'/edx/var/forum', u'LISTEN_PORT': u'4567', u'MONGOID_USE_SSL': False, u'MONGOHQ_URL': u'mongodb://cs_comments_service:ZA9YOVChZiF58eVqc40kchh2OCtL0fi4Wta@localhost:27017/cs_comments_service', u'NEW_RELIC_LICENSE_KEY': u'', u'PATH': u'/edx/app/forum/cs_comments_service/bin:/edx/app/forum/.rbenv/bin:/edx/app/forum/.rbenv/shims:/edx/app/forum/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', u'RACK_ENV': u'development', u'NEW_RELIC_ENABLE': False, u'SINATRA_ENV': u'development', u'SEARCH_SERVER': u'http://localhost:9200', u'WORKER_PROCESSES': u'4', u'API_KEY': u'6bKaKo8KlB898sjAvsphTkO6n2jcU0s0G72', u'HOME': u'/edx/app/forum', u'GEM_PATH': u'/edx/app/forum/.gem', u'RBENV_ROOT': u'/edx/app/forum/.rbenv', u'GEM_HOME': u'/edx/app/forum/.gem'})
  3689.  
  3690. TASK [forum : setup the forum env for devstack] ********************************
  3691. skipping: [localhost] => (item={u'LISTEN_HOST': u'0.0.0.0', u'NEW_RELIC_APP_NAME': u'default_env-default_deployment-forum', u'DATA_DIR': u'/edx/var/forum', u'LISTEN_PORT': u'4567', u'MONGOID_USE_SSL': False, u'MONGOHQ_URL': u'mongodb://cs_comments_service:[email protected]:27017/cs_comments_service', u'NEW_RELIC_LICENSE_KEY': u'', u'PATH': u'/edx/app/forum/cs_comments_service/bin:/edx/app/forum/.rbenv/bin:/edx/app/forum/.rbenv/shims:/edx/app/forum/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', u'RACK_ENV': u'development', u'NEW_RELIC_ENABLE': False, u'SINATRA_ENV': u'development', u'SEARCH_SERVER': u'http://edx.devstack.elasticsearch:9200/', u'WORKER_PROCESSES': u'4', u'API_KEY': u'6bKaKo8KlB898sjAvsphTkO6n2jcU0s0G72', u'HOME': u'/edx/app/forum', u'GEM_PATH': u'/edx/app/forum/.gem', u'RBENV_ROOT': u'/edx/app/forum/.rbenv', u'GEM_HOME': u'/edx/app/forum/.gem'})
  3692.  
  3693. TASK [forum : create /edx/var/forum] *******************************************
  3694. ok: [localhost]
  3695.  
  3696. TASK [forum : create the supervisor config] ************************************
  3697. ok: [localhost]
  3698.  
  3699. TASK [forum : enable the supervisor config] ************************************
  3700. ok: [localhost]
  3701.  
  3702. TASK [forum : create the supervisor wrapper] ***********************************
  3703. ok: [localhost]
  3704.  
  3705. TASK [forum : git checkout forum repo into /edx/app/forum/cs_comments_service] ***
  3706. ok: [localhost]
  3707.  
  3708. TASK [forum : install comments service bundle] *********************************
  3709. changed: [localhost]
  3710.  
  3711. TASK [forum : initialize elasticsearch] ****************************************
  3712. changed: [localhost]
  3713.  
  3714. TASK [forum : rebuild elasticsearch indexes] ***********************************
  3715. skipping: [localhost]
  3716.  
  3717. TASK [forum : update supervisor configuration] *********************************
  3718. ok: [localhost]
  3719.  
  3720. TASK [forum : ensure forum is started] *****************************************
  3721. ok: [localhost]
  3722.  
  3723. TASK [forum : test that the required service are listening] ********************
  3724. ok: [localhost] => (item={u'host': u'localhost', u'port': u'9200', u'service': u'elasticsearch'})
  3725.  
  3726. TASK [forum : test that mongo replica set members are listing] *****************
  3727. ok: [localhost] => (item=localhost)
  3728.  
  3729. TASK [forum : get instance information] ****************************************
  3730. skipping: [localhost]
  3731.  
  3732. TASK [forum : tag instance] ****************************************************
  3733. skipping: [localhost]
  3734.  
  3735. TASK [forum : set_fact] ********************************************************
  3736. ok: [localhost]
  3737.  
  3738. TASK [security : Install security packages] ************************************
  3739. skipping: [localhost] => (item=[])
  3740.  
  3741. TASK [security : Update all system packages] ***********************************
  3742. skipping: [localhost]
  3743.  
  3744. TASK [security : Configure periodic unattended-upgrades] ***********************
  3745. skipping: [localhost]
  3746.  
  3747. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3748. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3749. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3750. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3751.  
  3752. TASK [security : Disable unattended-upgrades] **********************************
  3753. skipping: [localhost]
  3754.  
  3755. TASK [security : Only unattended-upgrade from security repo] *******************
  3756. skipping: [localhost]
  3757.  
  3758. TASK [security : Disable security only updates on unattended-upgrades] *********
  3759. skipping: [localhost]
  3760.  
  3761. TASK [security : Take security updates during ansible runs] ********************
  3762. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3763. skipping: [localhost] => (item=unattended-upgrade)
  3764.  
  3765. TASK [security : Install security packages] ************************************
  3766. skipping: [localhost] => (item=[])
  3767.  
  3768. TASK [security : Enable automatic start for update service] ********************
  3769. skipping: [localhost]
  3770.  
  3771. TASK [security : Update all system packages] ***********************************
  3772. skipping: [localhost]
  3773.  
  3774. TASK [security : Configure security auto-updates] ******************************
  3775. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3776. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3777.  
  3778. TASK [security : Take security updates during ansible runs] ********************
  3779. skipping: [localhost] => (item=yum check-update --security)
  3780. skipping: [localhost] => (item=yum update --security -y)
  3781.  
  3782. TASK [security : Install security packages] ************************************
  3783. skipping: [localhost] => (item=[])
  3784.  
  3785. TASK [security : Update all system packages] ***********************************
  3786. skipping: [localhost]
  3787.  
  3788. TASK [security : Configure periodic unattended-upgrades] ***********************
  3789. skipping: [localhost]
  3790.  
  3791. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3792. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3793. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3794. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3795.  
  3796. TASK [security : Disable unattended-upgrades] **********************************
  3797. skipping: [localhost]
  3798.  
  3799. TASK [security : Only unattended-upgrade from security repo] *******************
  3800. skipping: [localhost]
  3801.  
  3802. TASK [security : Disable security only updates on unattended-upgrades] *********
  3803. skipping: [localhost]
  3804.  
  3805. TASK [security : Take security updates during ansible runs] ********************
  3806. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3807. skipping: [localhost] => (item=unattended-upgrade)
  3808.  
  3809. TASK [security : Install security packages] ************************************
  3810. skipping: [localhost] => (item=[])
  3811.  
  3812. TASK [security : Enable automatic start for update service] ********************
  3813. skipping: [localhost]
  3814.  
  3815. TASK [security : Update all system packages] ***********************************
  3816. skipping: [localhost]
  3817.  
  3818. TASK [security : Configure security auto-updates] ******************************
  3819. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3820. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3821.  
  3822. TASK [security : Take security updates during ansible runs] ********************
  3823. skipping: [localhost] => (item=yum check-update --security)
  3824. skipping: [localhost] => (item=yum update --security -y)
  3825.  
  3826. TASK [automated : Create automated user] ***************************************
  3827.  
  3828. TASK [automated : Create sudoers file from template] ***************************
  3829.  
  3830. TASK [automated : Create .ssh directory] ***************************************
  3831.  
  3832. TASK [automated : Build authorized_keys file] **********************************
  3833.  
  3834. TASK [automated : Build known_hosts file] **************************************
  3835.  
  3836. TASK [add_user : create user groups] *******************************************
  3837. ok: [localhost] => (item=discovery)
  3838.  
  3839. TASK [add_user : create application user] **************************************
  3840. ok: [localhost]
  3841.  
  3842. TASK [add_user : ensure correct ownership of home directory] *******************
  3843. ok: [localhost]
  3844.  
  3845. TASK [add_user : create dirs for the user] *************************************
  3846.  
  3847. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  3848. changed: [localhost]
  3849.  
  3850. TASK [git_clone : Validate git protocol] ***************************************
  3851. skipping: [localhost] => (item=(censored due to no_log))
  3852.  
  3853. TASK [git_clone : Install read-only ssh key] ***********************************
  3854. skipping: [localhost] => (item=(censored due to no_log))
  3855.  
  3856. TASK [git_clone : Check that working tree is clean] ****************************
  3857. changed: [localhost] => (item=/edx/app/discovery/discovery)
  3858.  
  3859. TASK [git_clone : Require a clean working tree] ********************************
  3860. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-04-03 02:46:59.368864', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-04-03 02:46:59.318247', u'cmd': u'test ! -e "/edx/app/discovery/discovery" || git -C "/edx/app/discovery/discovery" status --porcelain --untracked-files=no', 'item': u'/edx/app/discovery/discovery', u'delta': u'0:00:00.050617', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/discovery/discovery" || git -C "/edx/app/discovery/discovery" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  3861.  
  3862. TASK [git_clone : Checkout code over ssh] **************************************
  3863. skipping: [localhost] => (item=(censored due to no_log))
  3864.  
  3865. TASK [git_clone : Checkout code over https] ************************************
  3866. ok: [localhost] => (item=(censored due to no_log))
  3867.  
  3868. TASK [git_clone : Remove read-only ssh key] ************************************
  3869. skipping: [localhost] => (item=(censored due to no_log))
  3870.  
  3871. TASK [git_clone : Run git clean after checking out code] ***********************
  3872. changed: [localhost] => (item=(censored due to no_log))
  3873.  
  3874. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  3875. ok: [localhost] => (item=)
  3876. ok: [localhost] => (item=venvs)
  3877. ok: [localhost] => (item=data)
  3878. ok: [localhost] => (item=staticfiles)
  3879.  
  3880. TASK [edx_service : Create /edx/var/app dir] ***********************************
  3881. ok: [localhost]
  3882.  
  3883. TASK [edx_service : Create /edx/etc dir] ***************************************
  3884. changed: [localhost]
  3885.  
  3886. TASK [edx_service : Create edx_service log dir] ********************************
  3887. ok: [localhost] => (item=/edx/var/log/discovery)
  3888.  
  3889. TASK [edx_service : Write out app config file] *********************************
  3890. [WARNING]: when statements should not include jinja2 templating delimiters
  3891. such as {{ }} or {% %}. Found: {{ edx_django_service_config }}
  3892. ok: [localhost]
  3893.  
  3894. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3895. ok: [localhost] => (item=[u'gettext', u'libffi-dev', u'libmemcached-dev', u'libmysqlclient-dev', u'libssl-dev', u'libxml2-dev', u'libxslt-dev', u'libjpeg-dev'])
  3896.  
  3897. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3898.  
  3899. TASK [edx_service : Get instance information] **********************************
  3900. ok: [localhost]
  3901.  
  3902. TASK [edx_service : Tag instance] **********************************************
  3903. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None, u'REPO': u'course-discovery.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None, u'REPO': u'course-discovery.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/discovery/discovery', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/course-discovery.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'ee399881148daa1cfd1e13a4dff826332d937f94', u'before': u'ee399881148daa1cfd1e13a4dff826332d937f94'}])
  3904.  
  3905. TASK [edx_django_service : add gunicorn configuration file] ********************
  3906. ok: [localhost]
  3907.  
  3908. TASK [edx_django_service : install python3] ************************************
  3909. ok: [localhost] => (item=[u'python3-pip', u'python3-dev'])
  3910.  
  3911. TASK [edx_django_service : build virtualenv with python3] **********************
  3912. ok: [localhost]
  3913.  
  3914. TASK [edx_django_service : build virtualenv with python2.7] ********************
  3915. skipping: [localhost]
  3916.  
  3917. TASK [edx_django_service : Pin pip to a specific version.] *********************
  3918. changed: [localhost]
  3919.  
  3920. TASK [edx_django_service : install nodenv] *************************************
  3921. changed: [localhost]
  3922.  
  3923. TASK [edx_django_service : create nodeenv] *************************************
  3924. ok: [localhost]
  3925.  
  3926. TASK [edx_django_service : install production requirements] ********************
  3927. fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["make", "production-requirements"], "delta": "0:00:22.566787", "end": "2020-04-03 02:47:37.315081", "failed": true, "rc": 2, "start": "2020-04-03 02:47:14.748294", "stderr": "Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-_hrr1erf/unicode-slugify/\nYou are using pip version 9.0.3, however version 20.0.2 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\nmake: *** [production-requirements] Error 1", "stderr_lines": ["Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-_hrr1erf/unicode-slugify/", "You are using pip version 9.0.3, however version 20.0.2 is available.", "You should consider upgrading via the 'pip install --upgrade pip' command.", "make: *** [production-requirements] Error 1"], "stdout": "pip install -r requirements.txt\nObtaining edx-analytics-data-api-client==0.15.2 from git+https://github.com/edx/[email protected]#egg=edx-analytics-data-api-client==0.15.2 (from -r requirements/base.txt (line 1))\n Updating /edx/app/discovery/venvs/discovery/src/edx-analytics-data-api-client clone (to 0.15.2)\nCollecting beautifulsoup4==4.5.1 (from -r requirements/base.txt (line 2))\n Using cached https://files.pythonhosted.org/packages/1f/da/4b0d439054fd6b22fa121e0ac672fd8f34f6cce4f375dfd13e955b89306d/beautifulsoup4-4.5.1-py3-none-any.whl\nCollecting boto==2.42.0 (from -r requirements/base.txt (line 3))\n Using cached https://files.pythonhosted.org/packages/bb/89/ea1b2239aa6dfc94629438901d2e5b1a7ccf16b3b0a87f1e9e69fb24084d/boto-2.42.0-py2.py3-none-any.whl\nCollecting cryptography==1.7.1 (from -r requirements/base.txt (line 4))\n Using cached https://files.pythonhosted.org/packages/82/f7/d6dfd7595910a20a563a83a762bf79a253c4df71759c3b228accb3d7e5e4/cryptography-1.7.1.tar.gz\nCollecting django==1.11.29 (from -r requirements/base.txt (line 5))\n Using cached https://files.pythonhosted.org/packages/49/49/178daa8725d29c475216259eb19e90b2aa0b8c0431af8c7e9b490ae6481d/Django-1.11.29-py2.py3-none-any.whl\nCollecting django-autocomplete-light==3.1.8 (from -r requirements/base.txt (line 6))\n Using cached https://files.pythonhosted.org/packages/f2/31/d72ff9557e38f1a6d82b44571684344947436c54dbeb5c9c92314aa174b5/django-autocomplete-light-3.1.8.tar.gz\nCollecting django-choices==1.4.3 (from -r requirements/base.txt (line 7))\n Using cached https://files.pythonhosted.org/packages/52/a7/742f4fdac837f97ccd2ad1ad233686b6947f8375e9686368768237c08ec3/django-choices-1.4.3.tar.gz\nCollecting django-compressor==2.1.1 (from -r requirements/base.txt (line 8))\n Using cached https://files.pythonhosted.org/packages/c4/94/53737018f7d318d429e77dcd48ca42b9cfc55804c151cc4f3d5c77a9574c/django_compressor-2.1.1-py2.py3-none-any.whl\nCollecting django-contrib-comments==1.8.0 (from -r requirements/base.txt (line 9))\n Using cached https://files.pythonhosted.org/packages/8f/6c/490306f717e242f21485264ef7432b4f6fea42ce17998f6ff3fa0a2a2e2f/django_contrib_comments-1.8.0-py2.py3-none-any.whl\nCollecting django-cors-headers==2.4.0 (from -r requirements/base.txt (line 10))\n Using cached https://files.pythonhosted.org/packages/cc/7e/83ba784ad2b95317bbbed915f0888d7d1cd8dc3d2e4b8ddec8fbc4c3e800/django_cors_headers-2.4.0-py2.py3-none-any.whl\nCollecting django-extensions==1.7.8 (from -r requirements/base.txt (line 11))\n Using cached https://files.pythonhosted.org/packages/81/3a/7531edf895f0efb170e2a9091c1ed0493e4f9e352efc567430ef116a1862/django_extensions-1.7.8-py2.py3-none-any.whl\nCollecting django-filter==1.0.4 (from -r requirements/base.txt (line 12))\n Using cached https://files.pythonhosted.org/packages/af/73/06e81b4a83cb970cff814d0a68c496e75e6d7e5233d80808b33564a6c71a/django_filter-1.0.4-py2.py3-none-any.whl\nCollecting django-fsm==2.6.0 (from -r requirements/base.txt (line 13))\n Using cached https://files.pythonhosted.org/packages/cc/81/6074f9e46a81e004b84d9000e7805c6620fa56e43c5eb30a04ae176fcba1/django_fsm-2.6.0-py2.py3-none-any.whl\nCollecting django-guardian==1.4.8 (from -r requirements/base.txt (line 14))\n Using cached https://files.pythonhosted.org/packages/18/60/1d3bdd046241944bae40c4d3c6a21d45d257e8e3aa1d79877a76102b3cc2/django_guardian-1.4.8-py2.py3-none-any.whl\nCollecting django-haystack==2.5.0 (from -r requirements/base.txt (line 15))\n Using cached https://files.pythonhosted.org/packages/6c/4f/86e39c8760048f0b75d99726c5448bc4114eaff2897920367aa6c72b9830/django-haystack-2.5.0.tar.gz\nCollecting django-libsass==0.7 (from -r requirements/base.txt (line 16))\n Using cached https://files.pythonhosted.org/packages/96/1a/0ebcb4e90b41f27d2b96adba01c62a590942686c6dbc7371ab89be044066/django-libsass-0.7.tar.gz\nCollecting django-parler==1.8 (from -r requirements/base.txt (line 17))\n Using cached https://files.pythonhosted.org/packages/b0/0a/7156ed5816aed3e70c7f3328753ac24f651e67219504754b348d90129b65/django_parler-1.8-py2.py3-none-any.whl\nCollecting django-simple-history==1.9.0 (from -r requirements/base.txt (line 18))\n Using cached https://files.pythonhosted.org/packages/0b/2b/244347867ec680ddcd54722604bdce883613ec9c3da965c6707e548f37ae/django_simple_history-1.9.0-py2.py3-none-any.whl\nCollecting django-solo==1.1.2 (from -r requirements/base.txt (line 19))\n Using cached https://files.pythonhosted.org/packages/f2/cf/f46babe0b84d0ec6b0e48cd82ddae60282f0e61565b9a6a606e2a68db263/django-solo-1.1.2.tar.gz\nCollecting django-sortedm2m==1.4.0 (from -r requirements/base.txt (line 20))\n Using cached https://files.pythonhosted.org/packages/93/f7/5dc928d9ff217e99a55a2aedc1eae9119c5c804d1584e1d0f1d1f563b606/django-sortedm2m-1.4.0.tar.gz\nCollecting django-stdimage==2.4.1 (from -r requirements/base.txt (line 21))\n Using cached https://files.pythonhosted.org/packages/85/55/8d691213736116831b51f2ccae2bdcc40fe0354051432e7a5e33c9698545/django_stdimage-2.4.1-py3-none-any.whl\nCollecting django-storages==1.5.2 (from -r requirements/base.txt (line 22))\n Using cached https://files.pythonhosted.org/packages/f7/57/385bac5fdb4ee24d0c833f01e98516834d352f44786b5d4f4b16932206f9/django_storages-1.5.2-py2.py3-none-any.whl\nCollecting django-taggit==0.22.1 (from -r requirements/base.txt (line 23))\n Using cached https://files.pythonhosted.org/packages/68/5b/f2e3ec053ba30606f9d7d3655422baf69e992acbb52e02c1bea254e71a43/django_taggit-0.22.1-py2.py3-none-any.whl\nCollecting django-taggit-autosuggest==0.3.0 (from -r requirements/base.txt (line 24))\n Using cached https://files.pythonhosted.org/packages/8f/6f/9f39e65058101f2cbab0bb7de534fbe354adb6b9fd95a2a264518c05c839/django-taggit-autosuggest-0.3.0.tar.gz\nCollecting django-taggit-serializer==0.1.5 (from -r requirements/base.txt (line 25))\n Using cached https://files.pythonhosted.org/packages/02/96/fb5ed4c8215b5de688fb4d4a9de3ae66cb1e444485be04103b5e9d68e975/django-taggit-serializer-0.1.5.tar.gz\nCollecting django-waffle==0.11.1 (from -r requirements/base.txt (line 26))\n Using cached https://files.pythonhosted.org/packages/c5/97/d0f8a26c910207115f7bea20e2dac344bb04bba594dbe1f22c9cbf19c37c/django_waffle-0.11.1-py2.py3-none-any.whl\nCollecting django-webpack-loader==0.5.0 (from -r requirements/base.txt (line 27))\n Using cached https://files.pythonhosted.org/packages/6a/1d/3680c3cd7bf5a35a0ed451201fbdd93d7b17e63045d97bb8e2d4ba754e5f/django_webpack_loader-0.5.0-py2.py3-none-any.whl\nCollecting djangorestframework==3.6.3 (from -r requirements/base.txt (line 28))\n Using cached https://files.pythonhosted.org/packages/28/1a/6228d127f426b23360f1d62fde153da500c35cad1ba115ffc03fbb40ebe9/djangorestframework-3.6.3-py2.py3-none-any.whl\nCollecting djangorestframework-csv==1.4.1 (from -r requirements/base.txt (line 29))\n Using cached https://files.pythonhosted.org/packages/31/de/68492c3f97a8bb7ede4d7ff929567a723c4255ad762147a04f3207f44415/djangorestframework-csv-1.4.1.tar.gz\nCollecting djangorestframework-jwt==1.8.0 (from -r requirements/base.txt (line 30))\n Using cached https://files.pythonhosted.org/packages/63/eb/a400626245920c57c6284b08d036320907e4fc83281fa402cb6c90e4166f/djangorestframework_jwt-1.8.0-py2.py3-none-any.whl\nCollecting djangorestframework-xml==1.3.0 (from -r requirements/base.txt (line 31))\n Using cached https://files.pythonhosted.org/packages/83/05/7f7f23d0e49435abcfa8fe22d9d3da50ffdb0130cdca371991286565077b/djangorestframework_xml-1.3.0-py2.py3-none-any.whl\nCollecting django-rest-swagger==2.1.2 (from -r requirements/base.txt (line 32))\n Using cached https://files.pythonhosted.org/packages/2c/12/28d0677756283d913f8371ad7590e16f5e6c8444044f5b1b1586f956e610/django_rest_swagger-2.1.2-py2.py3-none-any.whl\nCollecting drf-extensions==0.3.1 (from -r requirements/base.txt (line 33))\n Using cached https://files.pythonhosted.org/packages/54/a9/ab65fa8febdb701deaea33498673639f9f3d43c78402951524a4e3b39346/drf_extensions-0.3.1-py2.py3-none-any.whl\nCollecting drf-haystack==1.6.1 (from -r requirements/base.txt (line 34))\n Using cached https://files.pythonhosted.org/packages/33/f0/4bf4a43f9b1eb72e112c52a703f985e017238dd720d529146c27c93ecd80/drf-haystack-1.6.1.tar.gz\nCollecting dry-rest-permissions==0.1.6 (from -r requirements/base.txt (line 35))\n Using cached https://files.pythonhosted.org/packages/1f/ce/864e73cf30b9a35967f58103060c1329d7ee08f2241684a651a322dd5ed1/dry_rest_permissions-0.1.6-py2.py3-none-any.whl\nCollecting edx-auth-backends==1.1.3 (from -r requirements/base.txt (line 36))\n Using cached https://files.pythonhosted.org/packages/19/7f/8c7ccd08e67b9f570ae0aa2ac5b400089b655e11f02240a4304878c3abc4/edx_auth_backends-1.1.3-py2.py3-none-any.whl\nCollecting edx-ccx-keys==0.2.0 (from -r requirements/base.txt (line 37))\n Using cached https://files.pythonhosted.org/packages/38/ed/fc1ba905c1eb671d4da78f86e10c5e85d0e51c22194eee540eac9ef0f01b/edx-ccx-keys-0.2.0.tar.gz\nCollecting edx-django-release-util==0.3.1 (from -r requirements/base.txt (line 38))\n Using cached https://files.pythonhosted.org/packages/2e/11/44f32ad2a8db82c76e95aaafa15e9fe2756eed510d68f563e3526c32cf01/edx_django_release_util-0.3.1-py3-none-any.whl\nCollecting edx-django-sites-extensions==2.3.0 (from -r requirements/base.txt (line 39))\n Using cached https://files.pythonhosted.org/packages/73/c2/7963b2755c1f2f3a8c10184036aec36bb257de31f7e602037c7b911a804f/edx_django_sites_extensions-2.3.0-py3-none-any.whl\nCollecting edx-django-utils==1.0.1 (from -r requirements/base.txt (line 40))\n Using cached https://files.pythonhosted.org/packages/56/59/31c65329650d5354eb3f9e3c694fb409df6bd1bbd7581521b3f4323d84b4/edx_django_utils-1.0.1-py2.py3-none-any.whl\nCollecting edx-drf-extensions==2.0.1 (from -r requirements/base.txt (line 41))\n Using cached https://files.pythonhosted.org/packages/93/c3/f6a0a1954dcef85118e56761500f13fbf0e8cc4c9f7c7865ff754f49f3a3/edx_drf_extensions-2.0.1-py2.py3-none-any.whl\nCollecting edx-opaque-keys==0.3.1 (from -r requirements/base.txt (line 42))\n Using cached https://files.pythonhosted.org/packages/bc/fe/96cbf88de7ff7bb245f52ef8197adca6e09793d9c4bc77e33bdf762b9c52/edx-opaque-keys-0.3.1.tar.gz\nCollecting edx-rest-api-client==1.8.2 (from -r requirements/base.txt (line 43))\n Using cached https://files.pythonhosted.org/packages/37/a9/182c44c0aa42ab07f90bc7f3e666c935f1770265bf5b25c31f6faf386d10/edx_rest_api_client-1.8.2-py3-none-any.whl\nCollecting elasticsearch<2.0.0,>=1.0.0 (from -r requirements/base.txt (line 44))\n Using cached https://files.pythonhosted.org/packages/b8/ed/cc80a5c8a1f8931589f2f1070c929ea851ed66bad29746d3b0140e14cd96/elasticsearch-1.9.0-py2.py3-none-any.whl\nCollecting html2text==2016.9.19 (from -r requirements/base.txt (line 45))\n Using cached https://files.pythonhosted.org/packages/22/c0/2d02a1fb9027f54796af2c2d38cf3a5b89319125b03734a9964e6db8dfa0/html2text-2016.9.19.tar.gz\nCollecting jsonfield==1.0.3 (from -r requirements/base.txt (line 46))\n Using cached https://files.pythonhosted.org/packages/ad/e2/e1d8a62edb0aa3c9984ed5cb73d9001065520796f1740caf6daf1c5540c4/jsonfield-1.0.3.tar.gz\nCollecting markdown==2.6.6 (from -r requirements/base.txt (line 47))\n Using cached https://files.pythonhosted.org/packages/9b/53/4492f2888408a2462fd7f364028b6c708f3ecaa52a028587d7dd729f40b4/Markdown-2.6.6.tar.gz\nCollecting pillow==3.4.2 (from -r requirements/base.txt (line 48))\n Using cached https://files.pythonhosted.org/packages/06/74/ba6a83f48448d125eb4307cd140d6661b677822628ef5862869a10dcdd30/Pillow-3.4.2-cp35-cp35m-manylinux1_x86_64.whl\nCollecting pycountry==1.20 (from -r requirements/base.txt (line 49))\n Using cached https://files.pythonhosted.org/packages/6c/40/13c8d2e66cc786dc8593b038c2c9df97631e5e31b4f155ef3f05ae3ccfc8/pycountry-1.20.tar.gz\nCollecting python-dateutil==2.5.3 (from -r requirements/base.txt (line 50))\n Using cached https://files.pythonhosted.org/packages/33/68/9eadc96f9899caebd98f55f942d6a8f3fb2b8f8e69ba81a0f771269897e9/python_dateutil-2.5.3-py2.py3-none-any.whl\nCollecting pytz==2016.6.1 (from -r requirements/base.txt (line 51))\n Using cached https://files.pythonhosted.org/packages/ba/c7/3d54cad4fb6cf7bf375d39771e67680ec779a541c68459210fcfdc3ba952/pytz-2016.6.1-py2.py3-none-any.whl\nCollecting requests==2.9.1 (from -r requirements/base.txt (line 53))\n Using cached https://files.pythonhosted.org/packages/b8/f7/3bb4d18c234a8ce7044d5ee2e1082b7d72bf6c550afb8d51ae266dea56f1/requests-2.9.1-py2.py3-none-any.whl\nCollecting unicode-slugify==0.1.3 (from -r requirements/base.txt (line 54))\n Using cached https://files.pythonhosted.org/packages/8c/ba/1a05f61c7fd72df85ae4dc1c7967a3e5a4b6c61f016e794bc7f09b2597c0/unicode-slugify-0.1.3.tar.gz\n Complete output from command python setup.py egg_info:\n Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/tmp/pip-build-_hrr1erf/unicode-slugify/setup.py\", line 7, in <module>\n long_description=open('README.md').read(),\n File \"/edx/app/discovery/venvs/discovery/lib/python3.5/encodings/ascii.py\", line 26, in decode\n return codecs.ascii_decode(input, self.errors)[0]\n UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 361: ordinal not in range(128)\n \n ----------------------------------------\nMakefile:41: recipe for target 'production-requirements' failed", "stdout_lines": ["pip install -r requirements.txt", "Obtaining edx-analytics-data-api-client==0.15.2 from git+https://github.com/edx/[email protected]#egg=edx-analytics-data-api-client==0.15.2 (from -r requirements/base.txt (line 1))", " Updating /edx/app/discovery/venvs/discovery/src/edx-analytics-data-api-client clone (to 0.15.2)", "Collecting beautifulsoup4==4.5.1 (from -r requirements/base.txt (line 2))", " Using cached https://files.pythonhosted.org/packages/1f/da/4b0d439054fd6b22fa121e0ac672fd8f34f6cce4f375dfd13e955b89306d/beautifulsoup4-4.5.1-py3-none-any.whl", "Collecting boto==2.42.0 (from -r requirements/base.txt (line 3))", " Using cached https://files.pythonhosted.org/packages/bb/89/ea1b2239aa6dfc94629438901d2e5b1a7ccf16b3b0a87f1e9e69fb24084d/boto-2.42.0-py2.py3-none-any.whl", "Collecting cryptography==1.7.1 (from -r requirements/base.txt (line 4))", " Using cached https://files.pythonhosted.org/packages/82/f7/d6dfd7595910a20a563a83a762bf79a253c4df71759c3b228accb3d7e5e4/cryptography-1.7.1.tar.gz", "Collecting django==1.11.29 (from -r requirements/base.txt (line 5))", " Using cached https://files.pythonhosted.org/packages/49/49/178daa8725d29c475216259eb19e90b2aa0b8c0431af8c7e9b490ae6481d/Django-1.11.29-py2.py3-none-any.whl", "Collecting django-autocomplete-light==3.1.8 (from -r requirements/base.txt (line 6))", " Using cached https://files.pythonhosted.org/packages/f2/31/d72ff9557e38f1a6d82b44571684344947436c54dbeb5c9c92314aa174b5/django-autocomplete-light-3.1.8.tar.gz", "Collecting django-choices==1.4.3 (from -r requirements/base.txt (line 7))", " Using cached https://files.pythonhosted.org/packages/52/a7/742f4fdac837f97ccd2ad1ad233686b6947f8375e9686368768237c08ec3/django-choices-1.4.3.tar.gz", "Collecting django-compressor==2.1.1 (from -r requirements/base.txt (line 8))", " Using cached https://files.pythonhosted.org/packages/c4/94/53737018f7d318d429e77dcd48ca42b9cfc55804c151cc4f3d5c77a9574c/django_compressor-2.1.1-py2.py3-none-any.whl", "Collecting django-contrib-comments==1.8.0 (from -r requirements/base.txt (line 9))", " Using cached https://files.pythonhosted.org/packages/8f/6c/490306f717e242f21485264ef7432b4f6fea42ce17998f6ff3fa0a2a2e2f/django_contrib_comments-1.8.0-py2.py3-none-any.whl", "Collecting django-cors-headers==2.4.0 (from -r requirements/base.txt (line 10))", " Using cached https://files.pythonhosted.org/packages/cc/7e/83ba784ad2b95317bbbed915f0888d7d1cd8dc3d2e4b8ddec8fbc4c3e800/django_cors_headers-2.4.0-py2.py3-none-any.whl", "Collecting django-extensions==1.7.8 (from -r requirements/base.txt (line 11))", " Using cached https://files.pythonhosted.org/packages/81/3a/7531edf895f0efb170e2a9091c1ed0493e4f9e352efc567430ef116a1862/django_extensions-1.7.8-py2.py3-none-any.whl", "Collecting django-filter==1.0.4 (from -r requirements/base.txt (line 12))", " Using cached https://files.pythonhosted.org/packages/af/73/06e81b4a83cb970cff814d0a68c496e75e6d7e5233d80808b33564a6c71a/django_filter-1.0.4-py2.py3-none-any.whl", "Collecting django-fsm==2.6.0 (from -r requirements/base.txt (line 13))", " Using cached https://files.pythonhosted.org/packages/cc/81/6074f9e46a81e004b84d9000e7805c6620fa56e43c5eb30a04ae176fcba1/django_fsm-2.6.0-py2.py3-none-any.whl", "Collecting django-guardian==1.4.8 (from -r requirements/base.txt (line 14))", " Using cached https://files.pythonhosted.org/packages/18/60/1d3bdd046241944bae40c4d3c6a21d45d257e8e3aa1d79877a76102b3cc2/django_guardian-1.4.8-py2.py3-none-any.whl", "Collecting django-haystack==2.5.0 (from -r requirements/base.txt (line 15))", " Using cached https://files.pythonhosted.org/packages/6c/4f/86e39c8760048f0b75d99726c5448bc4114eaff2897920367aa6c72b9830/django-haystack-2.5.0.tar.gz", "Collecting django-libsass==0.7 (from -r requirements/base.txt (line 16))", " Using cached https://files.pythonhosted.org/packages/96/1a/0ebcb4e90b41f27d2b96adba01c62a590942686c6dbc7371ab89be044066/django-libsass-0.7.tar.gz", "Collecting django-parler==1.8 (from -r requirements/base.txt (line 17))", " Using cached https://files.pythonhosted.org/packages/b0/0a/7156ed5816aed3e70c7f3328753ac24f651e67219504754b348d90129b65/django_parler-1.8-py2.py3-none-any.whl", "Collecting django-simple-history==1.9.0 (from -r requirements/base.txt (line 18))", " Using cached https://files.pythonhosted.org/packages/0b/2b/244347867ec680ddcd54722604bdce883613ec9c3da965c6707e548f37ae/django_simple_history-1.9.0-py2.py3-none-any.whl", "Collecting django-solo==1.1.2 (from -r requirements/base.txt (line 19))", " Using cached https://files.pythonhosted.org/packages/f2/cf/f46babe0b84d0ec6b0e48cd82ddae60282f0e61565b9a6a606e2a68db263/django-solo-1.1.2.tar.gz", "Collecting django-sortedm2m==1.4.0 (from -r requirements/base.txt (line 20))", " Using cached https://files.pythonhosted.org/packages/93/f7/5dc928d9ff217e99a55a2aedc1eae9119c5c804d1584e1d0f1d1f563b606/django-sortedm2m-1.4.0.tar.gz", "Collecting django-stdimage==2.4.1 (from -r requirements/base.txt (line 21))", " Using cached https://files.pythonhosted.org/packages/85/55/8d691213736116831b51f2ccae2bdcc40fe0354051432e7a5e33c9698545/django_stdimage-2.4.1-py3-none-any.whl", "Collecting django-storages==1.5.2 (from -r requirements/base.txt (line 22))", " Using cached https://files.pythonhosted.org/packages/f7/57/385bac5fdb4ee24d0c833f01e98516834d352f44786b5d4f4b16932206f9/django_storages-1.5.2-py2.py3-none-any.whl", "Collecting django-taggit==0.22.1 (from -r requirements/base.txt (line 23))", " Using cached https://files.pythonhosted.org/packages/68/5b/f2e3ec053ba30606f9d7d3655422baf69e992acbb52e02c1bea254e71a43/django_taggit-0.22.1-py2.py3-none-any.whl", "Collecting django-taggit-autosuggest==0.3.0 (from -r requirements/base.txt (line 24))", " Using cached https://files.pythonhosted.org/packages/8f/6f/9f39e65058101f2cbab0bb7de534fbe354adb6b9fd95a2a264518c05c839/django-taggit-autosuggest-0.3.0.tar.gz", "Collecting django-taggit-serializer==0.1.5 (from -r requirements/base.txt (line 25))", " Using cached https://files.pythonhosted.org/packages/02/96/fb5ed4c8215b5de688fb4d4a9de3ae66cb1e444485be04103b5e9d68e975/django-taggit-serializer-0.1.5.tar.gz", "Collecting django-waffle==0.11.1 (from -r requirements/base.txt (line 26))", " Using cached https://files.pythonhosted.org/packages/c5/97/d0f8a26c910207115f7bea20e2dac344bb04bba594dbe1f22c9cbf19c37c/django_waffle-0.11.1-py2.py3-none-any.whl", "Collecting django-webpack-loader==0.5.0 (from -r requirements/base.txt (line 27))", " Using cached https://files.pythonhosted.org/packages/6a/1d/3680c3cd7bf5a35a0ed451201fbdd93d7b17e63045d97bb8e2d4ba754e5f/django_webpack_loader-0.5.0-py2.py3-none-any.whl", "Collecting djangorestframework==3.6.3 (from -r requirements/base.txt (line 28))", " Using cached https://files.pythonhosted.org/packages/28/1a/6228d127f426b23360f1d62fde153da500c35cad1ba115ffc03fbb40ebe9/djangorestframework-3.6.3-py2.py3-none-any.whl", "Collecting djangorestframework-csv==1.4.1 (from -r requirements/base.txt (line 29))", " Using cached https://files.pythonhosted.org/packages/31/de/68492c3f97a8bb7ede4d7ff929567a723c4255ad762147a04f3207f44415/djangorestframework-csv-1.4.1.tar.gz", "Collecting djangorestframework-jwt==1.8.0 (from -r requirements/base.txt (line 30))", " Using cached https://files.pythonhosted.org/packages/63/eb/a400626245920c57c6284b08d036320907e4fc83281fa402cb6c90e4166f/djangorestframework_jwt-1.8.0-py2.py3-none-any.whl", "Collecting djangorestframework-xml==1.3.0 (from -r requirements/base.txt (line 31))", " Using cached https://files.pythonhosted.org/packages/83/05/7f7f23d0e49435abcfa8fe22d9d3da50ffdb0130cdca371991286565077b/djangorestframework_xml-1.3.0-py2.py3-none-any.whl", "Collecting django-rest-swagger==2.1.2 (from -r requirements/base.txt (line 32))", " Using cached https://files.pythonhosted.org/packages/2c/12/28d0677756283d913f8371ad7590e16f5e6c8444044f5b1b1586f956e610/django_rest_swagger-2.1.2-py2.py3-none-any.whl", "Collecting drf-extensions==0.3.1 (from -r requirements/base.txt (line 33))", " Using cached https://files.pythonhosted.org/packages/54/a9/ab65fa8febdb701deaea33498673639f9f3d43c78402951524a4e3b39346/drf_extensions-0.3.1-py2.py3-none-any.whl", "Collecting drf-haystack==1.6.1 (from -r requirements/base.txt (line 34))", " Using cached https://files.pythonhosted.org/packages/33/f0/4bf4a43f9b1eb72e112c52a703f985e017238dd720d529146c27c93ecd80/drf-haystack-1.6.1.tar.gz", "Collecting dry-rest-permissions==0.1.6 (from -r requirements/base.txt (line 35))", " Using cached https://files.pythonhosted.org/packages/1f/ce/864e73cf30b9a35967f58103060c1329d7ee08f2241684a651a322dd5ed1/dry_rest_permissions-0.1.6-py2.py3-none-any.whl", "Collecting edx-auth-backends==1.1.3 (from -r requirements/base.txt (line 36))", " Using cached https://files.pythonhosted.org/packages/19/7f/8c7ccd08e67b9f570ae0aa2ac5b400089b655e11f02240a4304878c3abc4/edx_auth_backends-1.1.3-py2.py3-none-any.whl", "Collecting edx-ccx-keys==0.2.0 (from -r requirements/base.txt (line 37))", " Using cached https://files.pythonhosted.org/packages/38/ed/fc1ba905c1eb671d4da78f86e10c5e85d0e51c22194eee540eac9ef0f01b/edx-ccx-keys-0.2.0.tar.gz", "Collecting edx-django-release-util==0.3.1 (from -r requirements/base.txt (line 38))", " Using cached https://files.pythonhosted.org/packages/2e/11/44f32ad2a8db82c76e95aaafa15e9fe2756eed510d68f563e3526c32cf01/edx_django_release_util-0.3.1-py3-none-any.whl", "Collecting edx-django-sites-extensions==2.3.0 (from -r requirements/base.txt (line 39))", " Using cached https://files.pythonhosted.org/packages/73/c2/7963b2755c1f2f3a8c10184036aec36bb257de31f7e602037c7b911a804f/edx_django_sites_extensions-2.3.0-py3-none-any.whl", "Collecting edx-django-utils==1.0.1 (from -r requirements/base.txt (line 40))", " Using cached https://files.pythonhosted.org/packages/56/59/31c65329650d5354eb3f9e3c694fb409df6bd1bbd7581521b3f4323d84b4/edx_django_utils-1.0.1-py2.py3-none-any.whl", "Collecting edx-drf-extensions==2.0.1 (from -r requirements/base.txt (line 41))", " Using cached https://files.pythonhosted.org/packages/93/c3/f6a0a1954dcef85118e56761500f13fbf0e8cc4c9f7c7865ff754f49f3a3/edx_drf_extensions-2.0.1-py2.py3-none-any.whl", "Collecting edx-opaque-keys==0.3.1 (from -r requirements/base.txt (line 42))", " Using cached https://files.pythonhosted.org/packages/bc/fe/96cbf88de7ff7bb245f52ef8197adca6e09793d9c4bc77e33bdf762b9c52/edx-opaque-keys-0.3.1.tar.gz", "Collecting edx-rest-api-client==1.8.2 (from -r requirements/base.txt (line 43))", " Using cached https://files.pythonhosted.org/packages/37/a9/182c44c0aa42ab07f90bc7f3e666c935f1770265bf5b25c31f6faf386d10/edx_rest_api_client-1.8.2-py3-none-any.whl", "Collecting elasticsearch<2.0.0,>=1.0.0 (from -r requirements/base.txt (line 44))", " Using cached https://files.pythonhosted.org/packages/b8/ed/cc80a5c8a1f8931589f2f1070c929ea851ed66bad29746d3b0140e14cd96/elasticsearch-1.9.0-py2.py3-none-any.whl", "Collecting html2text==2016.9.19 (from -r requirements/base.txt (line 45))", " Using cached https://files.pythonhosted.org/packages/22/c0/2d02a1fb9027f54796af2c2d38cf3a5b89319125b03734a9964e6db8dfa0/html2text-2016.9.19.tar.gz", "Collecting jsonfield==1.0.3 (from -r requirements/base.txt (line 46))", " Using cached https://files.pythonhosted.org/packages/ad/e2/e1d8a62edb0aa3c9984ed5cb73d9001065520796f1740caf6daf1c5540c4/jsonfield-1.0.3.tar.gz", "Collecting markdown==2.6.6 (from -r requirements/base.txt (line 47))", " Using cached https://files.pythonhosted.org/packages/9b/53/4492f2888408a2462fd7f364028b6c708f3ecaa52a028587d7dd729f40b4/Markdown-2.6.6.tar.gz", "Collecting pillow==3.4.2 (from -r requirements/base.txt (line 48))", " Using cached https://files.pythonhosted.org/packages/06/74/ba6a83f48448d125eb4307cd140d6661b677822628ef5862869a10dcdd30/Pillow-3.4.2-cp35-cp35m-manylinux1_x86_64.whl", "Collecting pycountry==1.20 (from -r requirements/base.txt (line 49))", " Using cached https://files.pythonhosted.org/packages/6c/40/13c8d2e66cc786dc8593b038c2c9df97631e5e31b4f155ef3f05ae3ccfc8/pycountry-1.20.tar.gz", "Collecting python-dateutil==2.5.3 (from -r requirements/base.txt (line 50))", " Using cached https://files.pythonhosted.org/packages/33/68/9eadc96f9899caebd98f55f942d6a8f3fb2b8f8e69ba81a0f771269897e9/python_dateutil-2.5.3-py2.py3-none-any.whl", "Collecting pytz==2016.6.1 (from -r requirements/base.txt (line 51))", " Using cached https://files.pythonhosted.org/packages/ba/c7/3d54cad4fb6cf7bf375d39771e67680ec779a541c68459210fcfdc3ba952/pytz-2016.6.1-py2.py3-none-any.whl", "Collecting requests==2.9.1 (from -r requirements/base.txt (line 53))", " Using cached https://files.pythonhosted.org/packages/b8/f7/3bb4d18c234a8ce7044d5ee2e1082b7d72bf6c550afb8d51ae266dea56f1/requests-2.9.1-py2.py3-none-any.whl", "Collecting unicode-slugify==0.1.3 (from -r requirements/base.txt (line 54))", " Using cached https://files.pythonhosted.org/packages/8c/ba/1a05f61c7fd72df85ae4dc1c7967a3e5a4b6c61f016e794bc7f09b2597c0/unicode-slugify-0.1.3.tar.gz", " Complete output from command python setup.py egg_info:", " Traceback (most recent call last):", " File \"<string>\", line 1, in <module>", " File \"/tmp/pip-build-_hrr1erf/unicode-slugify/setup.py\", line 7, in <module>", " long_description=open('README.md').read(),", " File \"/edx/app/discovery/venvs/discovery/lib/python3.5/encodings/ascii.py\", line 26, in decode", " return codecs.ascii_decode(input, self.errors)[0]", " UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 361: ordinal not in range(128)", " ", " ----------------------------------------", "Makefile:41: recipe for target 'production-requirements' failed"]}
  3928.  
  3929. RUNNING HANDLER [forum : restart the forum service] ****************************
  3930. to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry
  3931.  
  3932. PLAY RECAP *********************************************************************
  3933. localhost : ok=448 changed=128 unreachable=0 failed=1
  3934.  
  3935.  
  3936. ========================================
  3937. Ansible failed!
  3938. ----------------------------------------
  3939. If you need help, see https://open.edx.org/getting-help .
  3940. When asking for help, please provide as much information as you can.
  3941. These might be helpful:
  3942. Your log file is at logs/install-20200403-021806.log
  3943. Your environment:
  3944. OPENEDX_RELEASE=open-release/ironwood.master
  3945. ========================================
  3946. Installation finished at 2020-04-03 02:47:37
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement