Advertisement
Guest User

Untitled

a guest
May 20th, 2021
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 164.11 KB | None | 0 0
  1. Capturing output to /home/taha/edx/logs/install-20210520-052827.log
  2. Installation started at 2021-05-20 05:28:27
  3. Installing release 'open-release/koa.master'
  4. Hit:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
  5. Hit:2 http://pk.archive.ubuntu.com/ubuntu focal InRelease
  6. Get:3 http://pk.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
  7. Hit:4 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
  8. Get:5 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease [17.5 kB]
  9. Get:6 http://pk.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
  10. Get:7 http://pk.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
  11. Get:8 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [988 kB]
  12. Get:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal/main amd64 Packages [17.0 kB]
  13. Get:10 http://pk.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [777 kB]
  14. Get:11 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal/main Translation-en [7,444 B]
  15. Fetched 2,136 kB in 3s (716 kB/s)
  16. Reading package lists...
  17. Hit:1 http://pk.archive.ubuntu.com/ubuntu focal InRelease
  18. Hit:2 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
  19. Hit:3 http://pk.archive.ubuntu.com/ubuntu focal-updates InRelease
  20. Hit:4 http://pk.archive.ubuntu.com/ubuntu focal-backports InRelease
  21. Hit:5 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
  22. Hit:6 http://pk.archive.ubuntu.com/ubuntu focal-security InRelease
  23. Hit:7 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease
  24. Reading package lists...
  25. Reading package lists...
  26. Building dependency tree...
  27. Reading state information...
  28. Calculating upgrade...
  29. The following packages have been kept back:
  30. libatomic1 libcc1-0 libgcc-s1 libgomp1 libitm1 liblsan0 libquadmath0
  31. libstdc++6 libtsan0 libubsan1 ubuntu-advantage-tools
  32. 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
  33. Reading package lists...
  34. Building dependency tree...
  35. Reading state information...
  36. g++ is already the newest version (4:9.3.0-1ubuntu2).
  37. g++ set to manually installed.
  38. gcc is already the newest version (4:9.3.0-1ubuntu2).
  39. gcc set to manually installed.
  40. libxml2-dev is already the newest version (2.9.10+dfsg-5).
  41. libxslt1-dev is already the newest version (1.1.34-4).
  42. python3-dev is already the newest version (3.8.2-0ubuntu2).
  43. build-essential is already the newest version (12.8ubuntu1.1).
  44. curl is already the newest version (7.68.0-1ubuntu2.5).
  45. libmysqlclient-dev is already the newest version (8.0.25-0ubuntu0.20.04.1).
  46. python3-apt is already the newest version (2.0.0ubuntu0.20.04.4).
  47. software-properties-common is already the newest version (0.98.9.5).
  48. python3-pip is already the newest version (20.0.2-5ubuntu1.5).
  49. git is already the newest version (1:2.31.1-0ppa1~ubuntu20.04.1).
  50. The following additional packages will be installed:
  51. libfreetype-dev libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dane0
  52. libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libgpg-error-dev
  53. libidn2-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libp11-kit-dev
  54. libpng-dev libpng-tools libtasn1-6-dev libtasn1-doc libunbound8
  55. libxmlsec1-gcrypt libxmlsec1-gnutls libxmlsec1-nss nettle-dev swig4.0
  56. Suggested packages:
  57. freetype2-doc libgcrypt20-doc gmp-doc libgmp10-doc libmpfr-dev dns-root-data
  58. gnutls-bin gnutls-doc swig-doc swig-examples swig4.0-examples swig4.0-doc
  59. The following NEW packages will be installed:
  60. libfreetype-dev libfreetype6-dev libgcrypt20-dev libgmp-dev libgmpxx4ldbl
  61. libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev libgnutlsxx28
  62. libgpg-error-dev libidn2-dev libnspr4 libnspr4-dev libnss3 libnss3-dev
  63. libp11-kit-dev libpng-dev libpng-tools libtasn1-6-dev libtasn1-doc
  64. libunbound8 libxmlsec1-dev libxmlsec1-gcrypt libxmlsec1-gnutls
  65. libxmlsec1-nss nettle-dev swig swig4.0
  66. 0 upgraded, 28 newly installed, 0 to remove and 11 not upgraded.
  67. Need to get 7,824 kB of archives.
  68. After this operation, 33.3 MB of additional disk space will be used.
  69. Get:1 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libpng-dev amd64 1.6.37-2 [175 kB]
  70. Get:2 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libfreetype-dev amd64 2.10.1-2ubuntu0.1 [493 kB]
  71. Get:3 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libfreetype6-dev amd64 2.10.1-2ubuntu0.1 [9,812 B]
  72. Get:4 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libgpg-error-dev amd64 1.37-1 [109 kB]
  73. Get:5 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libgcrypt20-dev amd64 1.8.5-5ubuntu1 [470 kB]
  74. Get:6 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libgmpxx4ldbl amd64 2:6.2.0+dfsg-4 [9,128 B]
  75. Get:7 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libgmp-dev amd64 2:6.2.0+dfsg-4 [320 kB]
  76. Get:8 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls-openssl27 amd64 3.6.13-2ubuntu1.3 [29.8 kB]
  77. Get:9 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libunbound8 amd64 1.9.4-2ubuntu1.2 [350 kB]
  78. Get:10 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls-dane0 amd64 3.6.13-2ubuntu1.3 [29.1 kB]
  79. Get:11 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutlsxx28 amd64 3.6.13-2ubuntu1.3 [14.7 kB]
  80. Get:12 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libidn2-dev amd64 2.2.0-2 [64.6 kB]
  81. Get:13 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libp11-kit-dev amd64 0.23.20-1ubuntu0.1 [65.2 kB]
  82. Get:14 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libtasn1-6-dev amd64 4.16.0-2 [85.8 kB]
  83. Get:15 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 nettle-dev amd64 3.5.1+really3.5.1-2ubuntu0.1 [987 kB]
  84. Get:16 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls28-dev amd64 3.6.13-2ubuntu1.3 [873 kB]
  85. Get:17 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libnspr4 amd64 2:4.25-1 [107 kB]
  86. Get:18 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libnspr4-dev amd64 2:4.25-1 [206 kB]
  87. Get:19 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libnss3 amd64 2:3.49.1-1ubuntu1.5 [1,256 kB]
  88. Get:20 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libnss3-dev amd64 2:3.49.1-1ubuntu1.5 [231 kB]
  89. Get:21 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libpng-tools amd64 1.6.37-2 [26.1 kB]
  90. Get:22 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1-gcrypt amd64 1.2.28-2 [41.5 kB]
  91. Get:23 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1-gnutls amd64 1.2.28-2 [33.4 kB]
  92. Get:24 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1-nss amd64 1.2.28-2 [61.8 kB]
  93. Get:25 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1-dev amd64 1.2.28-2 [387 kB]
  94. Get:26 http://pk.archive.ubuntu.com/ubuntu focal/universe amd64 swig4.0 amd64 4.0.1-5build1 [1,081 kB]
  95. Get:27 http://pk.archive.ubuntu.com/ubuntu focal/universe amd64 swig all 4.0.1-5build1 [5,528 B]
  96. Get:28 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libtasn1-doc all 4.16.0-2 [303 kB]
  97. Fetched 7,824 kB in 7s (1,048 kB/s)
  98. Selecting previously unselected package libpng-dev:amd64.
  99. (Reading database ...
  100. (Reading database ... 5%
  101. (Reading database ... 10%
  102. (Reading database ... 15%
  103. (Reading database ... 20%
  104. (Reading database ... 25%
  105. (Reading database ... 30%
  106. (Reading database ... 35%
  107. (Reading database ... 40%
  108. (Reading database ... 45%
  109. (Reading database ... 50%
  110. (Reading database ... 55%
  111. (Reading database ... 60%
  112. (Reading database ... 65%
  113. (Reading database ... 70%
  114. (Reading database ... 75%
  115. (Reading database ... 80%
  116. (Reading database ... 85%
  117. (Reading database ... 90%
  118. (Reading database ... 95%
  119. (Reading database ... 100%
  120. (Reading database ... 80423 files and directories currently installed.)
  121. Preparing to unpack .../00-libpng-dev_1.6.37-2_amd64.deb ...
  122. Unpacking libpng-dev:amd64 (1.6.37-2) ...
  123. Selecting previously unselected package libfreetype-dev:amd64.
  124. Preparing to unpack .../01-libfreetype-dev_2.10.1-2ubuntu0.1_amd64.deb ...
  125. Unpacking libfreetype-dev:amd64 (2.10.1-2ubuntu0.1) ...
  126. Selecting previously unselected package libfreetype6-dev:amd64.
  127. Preparing to unpack .../02-libfreetype6-dev_2.10.1-2ubuntu0.1_amd64.deb ...
  128. Unpacking libfreetype6-dev:amd64 (2.10.1-2ubuntu0.1) ...
  129. Selecting previously unselected package libgpg-error-dev.
  130. Preparing to unpack .../03-libgpg-error-dev_1.37-1_amd64.deb ...
  131. Unpacking libgpg-error-dev (1.37-1) ...
  132. Selecting previously unselected package libgcrypt20-dev.
  133. Preparing to unpack .../04-libgcrypt20-dev_1.8.5-5ubuntu1_amd64.deb ...
  134. Unpacking libgcrypt20-dev (1.8.5-5ubuntu1) ...
  135. Selecting previously unselected package libgmpxx4ldbl:amd64.
  136. Preparing to unpack .../05-libgmpxx4ldbl_2%3a6.2.0+dfsg-4_amd64.deb ...
  137. Unpacking libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4) ...
  138. Selecting previously unselected package libgmp-dev:amd64.
  139. Preparing to unpack .../06-libgmp-dev_2%3a6.2.0+dfsg-4_amd64.deb ...
  140. Unpacking libgmp-dev:amd64 (2:6.2.0+dfsg-4) ...
  141. Selecting previously unselected package libgnutls-openssl27:amd64.
  142. Preparing to unpack .../07-libgnutls-openssl27_3.6.13-2ubuntu1.3_amd64.deb ...
  143. Unpacking libgnutls-openssl27:amd64 (3.6.13-2ubuntu1.3) ...
  144. Selecting previously unselected package libunbound8:amd64.
  145. Preparing to unpack .../08-libunbound8_1.9.4-2ubuntu1.2_amd64.deb ...
  146. Unpacking libunbound8:amd64 (1.9.4-2ubuntu1.2) ...
  147. Selecting previously unselected package libgnutls-dane0:amd64.
  148. Preparing to unpack .../09-libgnutls-dane0_3.6.13-2ubuntu1.3_amd64.deb ...
  149. Unpacking libgnutls-dane0:amd64 (3.6.13-2ubuntu1.3) ...
  150. Selecting previously unselected package libgnutlsxx28:amd64.
  151. Preparing to unpack .../10-libgnutlsxx28_3.6.13-2ubuntu1.3_amd64.deb ...
  152. Unpacking libgnutlsxx28:amd64 (3.6.13-2ubuntu1.3) ...
  153. Selecting previously unselected package libidn2-dev:amd64.
  154. Preparing to unpack .../11-libidn2-dev_2.2.0-2_amd64.deb ...
  155. Unpacking libidn2-dev:amd64 (2.2.0-2) ...
  156. Selecting previously unselected package libp11-kit-dev:amd64.
  157. Preparing to unpack .../12-libp11-kit-dev_0.23.20-1ubuntu0.1_amd64.deb ...
  158. Unpacking libp11-kit-dev:amd64 (0.23.20-1ubuntu0.1) ...
  159. Selecting previously unselected package libtasn1-6-dev:amd64.
  160. Preparing to unpack .../13-libtasn1-6-dev_4.16.0-2_amd64.deb ...
  161. Unpacking libtasn1-6-dev:amd64 (4.16.0-2) ...
  162. Selecting previously unselected package nettle-dev:amd64.
  163. Preparing to unpack .../14-nettle-dev_3.5.1+really3.5.1-2ubuntu0.1_amd64.deb ...
  164. Unpacking nettle-dev:amd64 (3.5.1+really3.5.1-2ubuntu0.1) ...
  165. Selecting previously unselected package libgnutls28-dev:amd64.
  166. Preparing to unpack .../15-libgnutls28-dev_3.6.13-2ubuntu1.3_amd64.deb ...
  167. Unpacking libgnutls28-dev:amd64 (3.6.13-2ubuntu1.3) ...
  168. Selecting previously unselected package libnspr4:amd64.
  169. Preparing to unpack .../16-libnspr4_2%3a4.25-1_amd64.deb ...
  170. Unpacking libnspr4:amd64 (2:4.25-1) ...
  171. Selecting previously unselected package libnspr4-dev.
  172. Preparing to unpack .../17-libnspr4-dev_2%3a4.25-1_amd64.deb ...
  173. Unpacking libnspr4-dev (2:4.25-1) ...
  174. Selecting previously unselected package libnss3:amd64.
  175. Preparing to unpack .../18-libnss3_2%3a3.49.1-1ubuntu1.5_amd64.deb ...
  176. Unpacking libnss3:amd64 (2:3.49.1-1ubuntu1.5) ...
  177. Selecting previously unselected package libnss3-dev:amd64.
  178. Preparing to unpack .../19-libnss3-dev_2%3a3.49.1-1ubuntu1.5_amd64.deb ...
  179. Unpacking libnss3-dev:amd64 (2:3.49.1-1ubuntu1.5) ...
  180. Selecting previously unselected package libpng-tools.
  181. Preparing to unpack .../20-libpng-tools_1.6.37-2_amd64.deb ...
  182. Unpacking libpng-tools (1.6.37-2) ...
  183. Selecting previously unselected package libxmlsec1-gcrypt:amd64.
  184. Preparing to unpack .../21-libxmlsec1-gcrypt_1.2.28-2_amd64.deb ...
  185. Unpacking libxmlsec1-gcrypt:amd64 (1.2.28-2) ...
  186. Selecting previously unselected package libxmlsec1-gnutls:amd64.
  187. Preparing to unpack .../22-libxmlsec1-gnutls_1.2.28-2_amd64.deb ...
  188. Unpacking libxmlsec1-gnutls:amd64 (1.2.28-2) ...
  189. Selecting previously unselected package libxmlsec1-nss:amd64.
  190. Preparing to unpack .../23-libxmlsec1-nss_1.2.28-2_amd64.deb ...
  191. Unpacking libxmlsec1-nss:amd64 (1.2.28-2) ...
  192. Selecting previously unselected package libxmlsec1-dev.
  193. Preparing to unpack .../24-libxmlsec1-dev_1.2.28-2_amd64.deb ...
  194. Unpacking libxmlsec1-dev (1.2.28-2) ...
  195. Selecting previously unselected package swig4.0.
  196. Preparing to unpack .../25-swig4.0_4.0.1-5build1_amd64.deb ...
  197. Unpacking swig4.0 (4.0.1-5build1) ...
  198. Selecting previously unselected package swig.
  199. Preparing to unpack .../26-swig_4.0.1-5build1_all.deb ...
  200. Unpacking swig (4.0.1-5build1) ...
  201. Selecting previously unselected package libtasn1-doc.
  202. Preparing to unpack .../27-libtasn1-doc_4.16.0-2_all.deb ...
  203. Unpacking libtasn1-doc (4.16.0-2) ...
  204. Setting up libgnutls-openssl27:amd64 (3.6.13-2ubuntu1.3) ...
  205. Setting up libpng-tools (1.6.37-2) ...
  206. Setting up libtasn1-doc (4.16.0-2) ...
  207. Setting up libpng-dev:amd64 (1.6.37-2) ...
  208. Setting up libfreetype-dev:amd64 (2.10.1-2ubuntu0.1) ...
  209. Setting up libunbound8:amd64 (1.9.4-2ubuntu1.2) ...
  210. Setting up libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4) ...
  211. Setting up libgpg-error-dev (1.37-1) ...
  212. Setting up libnspr4:amd64 (2:4.25-1) ...
  213. Setting up libxmlsec1-gcrypt:amd64 (1.2.28-2) ...
  214. Setting up libgnutlsxx28:amd64 (3.6.13-2ubuntu1.3) ...
  215. Setting up libidn2-dev:amd64 (2.2.0-2) ...
  216. Setting up swig4.0 (4.0.1-5build1) ...
  217. Setting up libxmlsec1-gnutls:amd64 (1.2.28-2) ...
  218. Setting up libtasn1-6-dev:amd64 (4.16.0-2) ...
  219. Setting up libp11-kit-dev:amd64 (0.23.20-1ubuntu0.1) ...
  220. Setting up libnspr4-dev (2:4.25-1) ...
  221. Setting up libgnutls-dane0:amd64 (3.6.13-2ubuntu1.3) ...
  222. Setting up swig (4.0.1-5build1) ...
  223. Setting up libgmp-dev:amd64 (2:6.2.0+dfsg-4) ...
  224. Setting up nettle-dev:amd64 (3.5.1+really3.5.1-2ubuntu0.1) ...
  225. Setting up libnss3:amd64 (2:3.49.1-1ubuntu1.5) ...
  226. Setting up libfreetype6-dev:amd64 (2.10.1-2ubuntu0.1) ...
  227. Setting up libgcrypt20-dev (1.8.5-5ubuntu1) ...
  228. Setting up libxmlsec1-nss:amd64 (1.2.28-2) ...
  229. Setting up libnss3-dev:amd64 (2:3.49.1-1ubuntu1.5) ...
  230. Setting up libgnutls28-dev:amd64 (3.6.13-2ubuntu1.3) ...
  231. Setting up libxmlsec1-dev (1.2.28-2) ...
  232. Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
  233. Processing triggers for man-db (2.9.1-1) ...
  234. Processing triggers for install-info (6.7.0.dfsg.2-5) ...
  235. Reading package lists...
  236. Building dependency tree...
  237. Reading state information...
  238. The following packages will be REMOVED:
  239. python-yaml
  240. 0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.
  241. After this operation, 558 kB disk space will be freed.
  242. (Reading database ...
  243. (Reading database ... 5%
  244. (Reading database ... 10%
  245. (Reading database ... 15%
  246. (Reading database ... 20%
  247. (Reading database ... 25%
  248. (Reading database ... 30%
  249. (Reading database ... 35%
  250. (Reading database ... 40%
  251. (Reading database ... 45%
  252. (Reading database ... 50%
  253. (Reading database ... 55%
  254. (Reading database ... 60%
  255. (Reading database ... 65%
  256. (Reading database ... 70%
  257. (Reading database ... 75%
  258. (Reading database ... 80%
  259. (Reading database ... 85%
  260. (Reading database ... 90%
  261. (Reading database ... 95%
  262. (Reading database ... 100%
  263. (Reading database ... 82021 files and directories currently installed.)
  264. Removing python-yaml (5.3.1-1ubuntu0.1) ...
  265. Requirement already up-to-date: pip==20.0.2 in /usr/lib/python3/dist-packages (20.0.2)
  266. Collecting setuptools==44.1.0
  267. Downloading setuptools-44.1.0-py2.py3-none-any.whl (583 kB)
  268. ERROR: launchpadlib 1.10.13 requires testresources, which is not installed.
  269. Installing collected packages: setuptools
  270. Attempting uninstall: setuptools
  271. Found existing installation: setuptools 45.2.0
  272. Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
  273. Can't uninstall 'setuptools'. No files were found to uninstall.
  274. Successfully installed setuptools-44.1.0
  275. Collecting virtualenv==16.7.10
  276. Downloading virtualenv-16.7.10-py2.py3-none-any.whl (3.4 MB)
  277. Installing collected packages: virtualenv
  278. Successfully installed virtualenv-16.7.10
  279. Cloning into 'configuration'...
  280. Switched to a new branch 'open-release/koa.master'
  281. Branch 'open-release/koa.master' set up to track remote branch 'open-release/koa.master' from 'origin'.
  282. Already up to date.
  283. Collecting ansible==2.8.15
  284. Downloading ansible-2.8.15.tar.gz (12.7 MB)
  285. Collecting awscli==1.16.309
  286. Downloading awscli-1.16.309-py2.py3-none-any.whl (2.7 MB)
  287. Collecting bcrypt==3.1.7
  288. Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB)
  289. Collecting boto3==1.10.45
  290. Downloading boto3-1.10.45-py2.py3-none-any.whl (128 kB)
  291. Collecting boto==2.48.0
  292. Downloading boto-2.48.0-py2.py3-none-any.whl (1.4 MB)
  293. Collecting botocore==1.13.45
  294. Downloading botocore-1.13.45-py2.py3-none-any.whl (5.9 MB)
  295. Collecting certifi==2020.6.20
  296. Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
  297. Collecting cffi==1.14.2
  298. Downloading cffi-1.14.2-cp38-cp38-manylinux1_x86_64.whl (410 kB)
  299. Requirement already satisfied: chardet==3.0.4 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 15)) (3.0.4)
  300. Collecting colorama==0.4.1
  301. Downloading colorama-0.4.1-py2.py3-none-any.whl (15 kB)
  302. Collecting cryptography==3.1
  303. Downloading cryptography-3.1-cp35-abi3-manylinux2010_x86_64.whl (2.6 MB)
  304. Collecting datadog==0.8.0
  305. Downloading datadog-0.8.0.tar.gz (35 kB)
  306. Collecting decorator==4.4.2
  307. Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
  308. Collecting docopt==0.6.2
  309. Downloading docopt-0.6.2.tar.gz (25 kB)
  310. Collecting docutils==0.15.2
  311. Downloading docutils-0.15.2-py3-none-any.whl (547 kB)
  312. Collecting ecdsa==0.13.3
  313. Downloading ecdsa-0.13.3-py2.py3-none-any.whl (52 kB)
  314. Collecting idna==2.7
  315. Downloading idna-2.7-py2.py3-none-any.whl (58 kB)
  316. Collecting jinja2==2.8
  317. Downloading Jinja2-2.8-py2.py3-none-any.whl (263 kB)
  318. Collecting jmespath==0.10.0
  319. Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
  320. Collecting markupsafe==1.1.1
  321. Downloading MarkupSafe-1.1.1-cp38-cp38-manylinux2010_x86_64.whl (32 kB)
  322. Collecting mysqlclient==1.4.6
  323. Downloading mysqlclient-1.4.6.tar.gz (85 kB)
  324. Collecting networkx==1.11
  325. Downloading networkx-1.11-py2.py3-none-any.whl (1.3 MB)
  326. Collecting paramiko==2.4.2
  327. Downloading paramiko-2.4.2-py2.py3-none-any.whl (193 kB)
  328. Collecting pathlib2==2.3.0
  329. Downloading pathlib2-2.3.0-py2.py3-none-any.whl (16 kB)
  330. Collecting prettytable==0.7.2
  331. Downloading prettytable-0.7.2.tar.bz2 (21 kB)
  332. Collecting pyasn1==0.4.8
  333. Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
  334. Collecting pycparser==2.20
  335. Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
  336. Collecting pycrypto==2.6.1
  337. Downloading pycrypto-2.6.1.tar.gz (446 kB)
  338. Collecting pymongo==3.9.0
  339. Downloading pymongo-3.9.0.tar.gz (701 kB)
  340. Collecting pynacl==1.4.0
  341. Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
  342. Collecting python-dateutil==2.8.1
  343. Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
  344. Collecting pyyaml==5.2
  345. Downloading PyYAML-5.2.tar.gz (265 kB)
  346. Collecting requests==2.20.0
  347. Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB)
  348. Collecting rsa==3.4.2
  349. Downloading rsa-3.4.2-py2.py3-none-any.whl (46 kB)
  350. Collecting s3transfer==0.2.1
  351. Downloading s3transfer-0.2.1-py2.py3-none-any.whl (70 kB)
  352. Collecting six==1.15.0
  353. Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
  354. Collecting urllib3==1.24.3
  355. Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB)
  356. Building wheels for collected packages: ansible, datadog, docopt, mysqlclient, prettytable, pycrypto, pymongo, pyyaml
  357. Building wheel for ansible (setup.py): started
  358. Building wheel for ansible (setup.py): finished with status 'done'
  359. Created wheel for ansible: filename=ansible-2.8.15-py3-none-any.whl size=12655864 sha256=353d9528d25b55aaec67c7650370eab70f361e30c3edbcfb65d6ca282098029f
  360. Stored in directory: /root/.cache/pip/wheels/b8/4f/b1/f04ed4594b48fe431ab23f30c5def2e5a533d2468b1b70461b
  361. Building wheel for datadog (setup.py): started
  362. Building wheel for datadog (setup.py): finished with status 'done'
  363. Created wheel for datadog: filename=datadog-0.8.0-py3-none-any.whl size=53164 sha256=eba921d12a5b3e55542f87ccb951f714d15a2a285140540ae42ae43437451662
  364. Stored in directory: /root/.cache/pip/wheels/25/6a/6d/16127797127d1d659fb6edf469b34218d20465d6d249bc84c7
  365. Building wheel for docopt (setup.py): started
  366. Building wheel for docopt (setup.py): finished with status 'done'
  367. Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13704 sha256=7fc5390e5c9323faa88dd9c7eb45f87943d55f435b142ab16179220a20eab172
  368. Stored in directory: /root/.cache/pip/wheels/56/ea/58/ead137b087d9e326852a851351d1debf4ada529b6ac0ec4e8c
  369. Building wheel for mysqlclient (setup.py): started
  370. Building wheel for mysqlclient (setup.py): finished with status 'done'
  371. Created wheel for mysqlclient: filename=mysqlclient-1.4.6-cp38-cp38-linux_x86_64.whl size=108191 sha256=52cc5226255e8de66df8e1e1faa030e0d65fa58e709ed137aa34c6df12177615
  372. Stored in directory: /root/.cache/pip/wheels/8a/3c/e6/347e293dbcd62352ee2806f68d624aae821bca7efe0070c963
  373. Building wheel for prettytable (setup.py): started
  374. Building wheel for prettytable (setup.py): finished with status 'done'
  375. Created wheel for prettytable: filename=prettytable-0.7.2-py3-none-any.whl size=13698 sha256=3f846bb3fbbbb6e05eab27f4d974d9541b8806c6ab5050047c393749e7724295
  376. Stored in directory: /root/.cache/pip/wheels/46/60/6c/bb25d05df22906786206e901e9354bb3061061191116768bee
  377. Building wheel for pycrypto (setup.py): started
  378. Building wheel for pycrypto (setup.py): finished with status 'done'
  379. Created wheel for pycrypto: filename=pycrypto-2.6.1-cp38-cp38-linux_x86_64.whl size=528389 sha256=45d0e26398e86579a8e7f1f8f73804654e59466d14cc464d199a66a4346a2e4a
  380. Stored in directory: /root/.cache/pip/wheels/d0/99/d0/0298ea019d63f1d63a0965b9944b719e875f9bd6ffc6dcf293
  381. Building wheel for pymongo (setup.py): started
  382. Building wheel for pymongo (setup.py): finished with status 'done'
  383. Created wheel for pymongo: filename=pymongo-3.9.0-cp38-cp38-linux_x86_64.whl size=476594 sha256=611207e6d30a2c5837a87a85ea74223d032050fddb30f0d81d25a61c6bf04c27
  384. Stored in directory: /root/.cache/pip/wheels/ed/e2/bc/26c49d0e5c08899bb67758e2f3c8b9742c44b7e95f4da3b2d1
  385. Building wheel for pyyaml (setup.py): started
  386. Building wheel for pyyaml (setup.py): finished with status 'done'
  387. Created wheel for pyyaml: filename=PyYAML-5.2-cp38-cp38-linux_x86_64.whl size=44208 sha256=80af52a2837eecbeaba63b6e7d4c26e33c9ebb33bbfa8a0a5142cc76287a7f2d
  388. Stored in directory: /root/.cache/pip/wheels/66/8c/82/1a5614c4cf7290946972709ebb54b579762043aed7f49c6620
  389. Successfully built ansible datadog docopt mysqlclient prettytable pycrypto pymongo pyyaml
  390. ERROR: launchpadlib 1.10.13 requires testresources, which is not installed.
  391. Installing collected packages: markupsafe, jinja2, pyyaml, six, pycparser, cffi, cryptography, ansible, colorama, jmespath, docutils, urllib3, python-dateutil, botocore, pyasn1, rsa, s3transfer, awscli, bcrypt, boto3, boto, certifi, decorator, idna, requests, datadog, docopt, ecdsa, mysqlclient, networkx, pynacl, paramiko, pathlib2, prettytable, pycrypto, pymongo
  392. Attempting uninstall: markupsafe
  393. Found existing installation: MarkupSafe 1.1.0
  394. Not uninstalling markupsafe at /usr/lib/python3/dist-packages, outside environment /usr
  395. Can't uninstall 'MarkupSafe'. No files were found to uninstall.
  396. Attempting uninstall: jinja2
  397. Found existing installation: Jinja2 2.10.1
  398. Not uninstalling jinja2 at /usr/lib/python3/dist-packages, outside environment /usr
  399. Can't uninstall 'Jinja2'. No files were found to uninstall.
  400. Attempting uninstall: pyyaml
  401. Found existing installation: PyYAML 5.3.1
  402. Not uninstalling pyyaml at /usr/lib/python3/dist-packages, outside environment /usr
  403. Can't uninstall 'PyYAML'. No files were found to uninstall.
  404. Attempting uninstall: six
  405. Found existing installation: six 1.14.0
  406. Not uninstalling six at /usr/lib/python3/dist-packages, outside environment /usr
  407. Can't uninstall 'six'. No files were found to uninstall.
  408. Attempting uninstall: cryptography
  409. Found existing installation: cryptography 2.8
  410. Not uninstalling cryptography at /usr/lib/python3/dist-packages, outside environment /usr
  411. Can't uninstall 'cryptography'. No files were found to uninstall.
  412. Attempting uninstall: colorama
  413. Found existing installation: colorama 0.4.3
  414. Not uninstalling colorama at /usr/lib/python3/dist-packages, outside environment /usr
  415. Can't uninstall 'colorama'. No files were found to uninstall.
  416. Attempting uninstall: urllib3
  417. Found existing installation: urllib3 1.25.8
  418. Not uninstalling urllib3 at /usr/lib/python3/dist-packages, outside environment /usr
  419. Can't uninstall 'urllib3'. No files were found to uninstall.
  420. Attempting uninstall: pyasn1
  421. Found existing installation: pyasn1 0.4.2
  422. Not uninstalling pyasn1 at /usr/lib/python3/dist-packages, outside environment /usr
  423. Can't uninstall 'pyasn1'. No files were found to uninstall.
  424. Attempting uninstall: certifi
  425. Found existing installation: certifi 2019.11.28
  426. Not uninstalling certifi at /usr/lib/python3/dist-packages, outside environment /usr
  427. Can't uninstall 'certifi'. No files were found to uninstall.
  428. Attempting uninstall: idna
  429. Found existing installation: idna 2.8
  430. Not uninstalling idna at /usr/lib/python3/dist-packages, outside environment /usr
  431. Can't uninstall 'idna'. No files were found to uninstall.
  432. Attempting uninstall: requests
  433. Found existing installation: requests 2.22.0
  434. Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /usr
  435. Can't uninstall 'requests'. No files were found to uninstall.
  436. Attempting uninstall: mysqlclient
  437. Found existing installation: mysqlclient 1.4.4
  438. Not uninstalling mysqlclient at /usr/lib/python3/dist-packages, outside environment /usr
  439. Can't uninstall 'mysqlclient'. No files were found to uninstall.
  440. Attempting uninstall: pynacl
  441. Found existing installation: PyNaCl 1.3.0
  442. Not uninstalling pynacl at /usr/lib/python3/dist-packages, outside environment /usr
  443. Can't uninstall 'PyNaCl'. No files were found to uninstall.
  444. Successfully installed ansible-2.8.15 awscli-1.16.309 bcrypt-3.1.7 boto-2.48.0 boto3-1.10.45 botocore-1.13.45 certifi-2020.6.20 cffi-1.14.2 colorama-0.4.1 cryptography-3.1 datadog-0.8.0 decorator-4.4.2 docopt-0.6.2 docutils-0.15.2 ecdsa-0.13.3 idna-2.7 jinja2-2.8 jmespath-0.10.0 markupsafe-1.1.1 mysqlclient-1.4.6 networkx-1.11 paramiko-2.4.2 pathlib2-2.3.0 prettytable-0.7.2 pyasn1-0.4.8 pycparser-2.20 pycrypto-2.6.1 pymongo-3.9.0 pynacl-1.4.0 python-dateutil-2.8.1 pyyaml-5.2 requests-2.20.0 rsa-3.4.2 s3transfer-0.2.1 six-1.15.0 urllib3-1.24.3
  445. [WARNING]: While constructing a mapping from
  446. /var/tmp/configuration/playbooks/roles/edxapp/defaults/main.yml, line 16,
  447. column 1, found a duplicate dict key (EDXAPP_ENABLE_SPECIAL_EXAMS). Using last
  448. defined value only.
  449. [WARNING]: While constructing a mapping from
  450. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 84, column
  451. 3, found a duplicate dict key (RACK_ENV). Using last defined value only.
  452. [WARNING]: While constructing a mapping from
  453. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 84, column
  454. 3, found a duplicate dict key (SINATRA_ENV). Using last defined value only.
  455. [WARNING]: While constructing a mapping from
  456. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 84, column
  457. 3, found a duplicate dict key (SEARCH_SERVER). Using last defined value only.
  458. [WARNING]: While constructing a mapping from
  459. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 84, column
  460. 3, found a duplicate dict key (SEARCH_SERVER_ES7). Using last defined value
  461. only.
  462. [WARNING]: While constructing a mapping from
  463. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 84, column
  464. 3, found a duplicate dict key (MONGOHQ_URL). Using last defined value only.
  465. [WARNING]: While constructing a mapping from
  466. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 84, column
  467. 3, found a duplicate dict key (MONGOID_AUTH_MECH). Using last defined value
  468. only.
  469.  
  470. PLAY [Configure instance(s)] ***************************************************
  471.  
  472. TASK [Gathering Facts] *********************************************************
  473. ok: [localhost]
  474.  
  475. TASK [swapfile : Write swapfile] ***********************************************
  476. changed: [localhost]
  477.  
  478. TASK [swapfile : Set swapfile permissions] *************************************
  479. changed: [localhost]
  480.  
  481. TASK [swapfile : Create swapfile] **********************************************
  482. changed: [localhost]
  483.  
  484. TASK [swapfile : Enable swapfile] **********************************************
  485. changed: [localhost]
  486.  
  487. TASK [swapfile : Add swapfile to /etc/fstab] ***********************************
  488. changed: [localhost]
  489.  
  490. TASK [swapfile : Configure vm.swappiness] **************************************
  491. skipping: [localhost]
  492.  
  493. TASK [swapfile : Configure vm.vfs_cache_pressure] ******************************
  494. skipping: [localhost]
  495.  
  496. TASK [server_utils : Check for expired edx key] ********************************
  497. skipping: [localhost]
  498.  
  499. TASK [server_utils : remove expired edx key] ***********************************
  500. skipping: [localhost]
  501.  
  502. TASK [server_utils : Install ubuntu system packages] ***************************
  503. skipping: [localhost]
  504.  
  505. TASK [user : debug] ************************************************************
  506. skipping: [localhost]
  507.  
  508. TASK [user : Create the edxadmin group] ****************************************
  509. skipping: [localhost]
  510.  
  511. TASK [user : Ensure sudoers.d is read] *****************************************
  512. skipping: [localhost]
  513.  
  514. TASK [user : Grant full sudo access to the edxadmin group] *********************
  515. skipping: [localhost]
  516.  
  517. TASK [user : Create the users] *************************************************
  518.  
  519. TASK [user : Assign admin role to admin users] *********************************
  520.  
  521. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  522.  
  523. TASK [user : Print warning if github user(s) missing ssh key] ******************
  524.  
  525. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  526.  
  527. TASK [user : Get github key(s) and update the authorized_keys file] ************
  528.  
  529. TASK [user : Create ~/.ssh directory for non github users] *********************
  530.  
  531. TASK [user : Build authorized_keys file for non github users] ******************
  532.  
  533. TASK [user : Create bashrc file for normal users] ******************************
  534.  
  535. TASK [user : Create .profile for all users] ************************************
  536.  
  537. TASK [user : Modify shell for restricted users] ********************************
  538.  
  539. TASK [user : Create bashrc file for restricted users] **************************
  540.  
  541. TASK [user : Create sudoers file from template] ********************************
  542. skipping: [localhost]
  543.  
  544. TASK [user : Change home directory ownership to root for restricted users] *****
  545.  
  546. TASK [user : Create ~/bin directory] *******************************************
  547.  
  548. TASK [user : Create allowed command links] *************************************
  549.  
  550. TASK [user : Allow users to ssh] ***********************************************
  551. skipping: [localhost]
  552.  
  553. TASK [user : Restart ssh (ubuntu/debian)] **************************************
  554. skipping: [localhost]
  555.  
  556. TASK [user : Restart ssh (redhat)] *********************************************
  557. skipping: [localhost]
  558.  
  559. TASK [security : Install security packages] ************************************
  560. skipping: [localhost]
  561.  
  562. TASK [security : Update all system packages] ***********************************
  563. skipping: [localhost]
  564.  
  565. TASK [security : Configure periodic unattended-upgrades] ***********************
  566. skipping: [localhost]
  567.  
  568. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  569. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  570. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  571. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  572.  
  573. TASK [security : Disable unattended-upgrades] **********************************
  574. skipping: [localhost]
  575.  
  576. TASK [security : Only unattended-upgrade from security repo] *******************
  577. skipping: [localhost]
  578.  
  579. TASK [security : Add debian blacklist] *****************************************
  580. skipping: [localhost]
  581.  
  582. TASK [security : Disable security only updates on unattended-upgrades] *********
  583. skipping: [localhost]
  584.  
  585. TASK [security : Take security updates during ansible runs] ********************
  586. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  587. skipping: [localhost] => (item=unattended-upgrade)
  588.  
  589. TASK [security : Install security packages] ************************************
  590. skipping: [localhost]
  591.  
  592. TASK [security : Enable automatic start for update service] ********************
  593. skipping: [localhost]
  594.  
  595. TASK [security : Update all system packages] ***********************************
  596. skipping: [localhost]
  597.  
  598. TASK [security : Configure security auto-updates] ******************************
  599. skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
  600. skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
  601.  
  602. TASK [security : Take security updates during ansible runs] ********************
  603. skipping: [localhost] => (item=yum check-update --security)
  604. skipping: [localhost] => (item=yum update --security -y)
  605.  
  606. TASK [common : Check Configuration Sources] ************************************
  607.  
  608. TASK [common : stat] ***********************************************************
  609. skipping: [localhost] => (item=/usr/local/share/ca-certificates)
  610. skipping: [localhost] => (item=/usr/sbin/update-ca-certificates)
  611.  
  612. TASK [common : Download digicert intermediate Certificate] *********************
  613. skipping: [localhost]
  614.  
  615. TASK [common : Update CA Certificates] *****************************************
  616. skipping: [localhost]
  617.  
  618. TASK [common : stat] ***********************************************************
  619. skipping: [localhost]
  620.  
  621. TASK [common : Update CA Trust] ************************************************
  622. skipping: [localhost]
  623.  
  624. TASK [common : Add common_users] ***********************************************
  625. skipping: [localhost] => (item=www-data)
  626. skipping: [localhost] => (item=syslog)
  627.  
  628. TASK [common : check if instance is vagrant] ***********************************
  629. skipping: [localhost]
  630.  
  631. TASK [common : Add git apt repository] *****************************************
  632. skipping: [localhost]
  633.  
  634. TASK [common : Add ppa for watchman package] ***********************************
  635. skipping: [localhost]
  636.  
  637. TASK [common : Add edX PPA apt key] ********************************************
  638. skipping: [localhost]
  639.  
  640. TASK [common : Update expired apt keys] ****************************************
  641. skipping: [localhost]
  642.  
  643. TASK [common : Add custom edX PPA] *********************************************
  644. skipping: [localhost]
  645.  
  646. TASK [common : add deadsnakes repository] **************************************
  647. skipping: [localhost]
  648.  
  649. TASK [common : Install role-independent useful system packages] ****************
  650. skipping: [localhost]
  651.  
  652. TASK [common : Install role-independent packages useful for devstack.] *********
  653. skipping: [localhost]
  654.  
  655. TASK [common : Install role-independent useful system packages from custom PPA] ***
  656. skipping: [localhost]
  657.  
  658. TASK [common : Install role-independent useful system packages] ****************
  659. skipping: [localhost]
  660.  
  661. TASK [common : Create common directories] **************************************
  662. skipping: [localhost] => (item={'path': '/edx/var'})
  663. skipping: [localhost] => (item={'path': '/edx/app'})
  664. skipping: [localhost] => (item={'path': '/edx/bin'})
  665. skipping: [localhost] => (item={'path': '/edx/etc'})
  666. skipping: [localhost] => (item={'path': '/edx/var/log', 'owner': 'syslog', 'group': 'syslog'})
  667. skipping: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
  668. skipping: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': 'absent'})
  669.  
  670. TASK [common : upload sudo config for key forwarding as root] ******************
  671. skipping: [localhost]
  672.  
  673. TASK [common : pip install virtualenv] *****************************************
  674. skipping: [localhost]
  675.  
  676. TASK [common : update /etc/hosts] **********************************************
  677. skipping: [localhost]
  678.  
  679. TASK [common : update /etc/hostname] *******************************************
  680. skipping: [localhost]
  681.  
  682. TASK [common : run hostname] ***************************************************
  683. skipping: [localhost]
  684.  
  685. TASK [common : Copy the templates to their respective destination] *************
  686. skipping: [localhost] => (item={'src': 'edx_rsyslog.j2', 'dest': '/etc/rsyslog.d/99-edx.conf'})
  687. skipping: [localhost] => (item={'src': 'etc/logrotate.d/hourly/edx_logrotate.j2', 'dest': '/etc/logrotate.d/hourly/edx-services'})
  688. skipping: [localhost] => (item={'src': 'etc/cron.hourly/logrotate.j2', 'dest': '/etc/cron.hourly/logrotate', 'mode': '0555'})
  689. skipping: [localhost] => (item={'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2', 'dest': '/etc/logrotate.d/hourly/tracking.log'})
  690.  
  691. TASK [common : restart rsyslogd] ***********************************************
  692. skipping: [localhost]
  693.  
  694. TASK [common : Add ntp alert script] *******************************************
  695. skipping: [localhost]
  696.  
  697. TASK [common : Remove MOTD update checker] *************************************
  698. skipping: [localhost]
  699.  
  700. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  701. skipping: [localhost]
  702.  
  703. TASK [common : install logrotate configuration] ********************************
  704. skipping: [localhost]
  705.  
  706. TASK [vhost : Create all service directories] **********************************
  707. skipping: [localhost] => (item={'key': 'home', 'value': {'path': '/edx/app/aws', 'owner': 'root', 'group': 'root', 'mode': '0755'}})
  708. skipping: [localhost] => (item={'key': 'logs', 'value': {'path': '/edx/var/log/aws', 'owner': 'syslog', 'group': 'syslog', 'mode': '0650'}})
  709. skipping: [localhost] => (item={'key': 'data', 'value': {'path': '/edx/var/aws', 'owner': 'root', 'group': 'root', 'mode': '0700'}})
  710.  
  711. TASK [vhost : Add script for syncing logs on exit] *****************************
  712. skipping: [localhost]
  713.  
  714. TASK [vhost : Force logrotate on supervisor stop] ******************************
  715. skipping: [localhost]
  716.  
  717. TASK [vhost : Add systemd service for syncing logs on exit] ********************
  718. skipping: [localhost]
  719.  
  720. TASK [vhost : Enable systemd service for syncing logs on exit] *****************
  721. skipping: [localhost]
  722.  
  723. TASK [vhost : Update /etc/dhcp/dhclient.conf] **********************************
  724. skipping: [localhost]
  725.  
  726. TASK [vhost : Rerun dhclient to apply template] ********************************
  727. skipping: [localhost]
  728.  
  729. TASK [vhost : Copy the MOTD template in place] *********************************
  730. skipping: [localhost]
  731.  
  732. TASK [vhost : Add motd.tail support for 16.04] *********************************
  733. skipping: [localhost]
  734.  
  735. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  736. skipping: [localhost]
  737.  
  738. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  739. skipping: [localhost]
  740.  
  741. TASK [vhost : Restart ssh (ubuntu/debian)] *************************************
  742. skipping: [localhost]
  743.  
  744. TASK [vhost : Restart ssh (redhat)] ********************************************
  745. skipping: [localhost]
  746.  
  747. TASK [aws : Gather ec2 facts for use in other roles] ***************************
  748. skipping: [localhost]
  749.  
  750. TASK [aws : Set the MTU to 1500 temporarily] ***********************************
  751. skipping: [localhost]
  752.  
  753. TASK [aws : Set the MTU to 1500 permanently] ***********************************
  754. skipping: [localhost]
  755.  
  756. TASK [aws : Install system packages] *******************************************
  757. skipping: [localhost]
  758.  
  759. TASK [aws : Copy the Python requirements file] *********************************
  760. skipping: [localhost]
  761.  
  762. TASK [aws : Install aws python packages] ***************************************
  763. skipping: [localhost]
  764.  
  765. TASK [aws : Copy the boto global config file] **********************************
  766. skipping: [localhost]
  767.  
  768. TASK [aws : Create s3 log sync script] *****************************************
  769. skipping: [localhost]
  770.  
  771. TASK [aws : Create symlink for s3 log sync script] *****************************
  772. skipping: [localhost]
  773.  
  774. TASK [aws : Check if files exist so the next task doesn't fail] ****************
  775. skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
  776. skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
  777. skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
  778. skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
  779.  
  780. TASK [aws : Update the ssh motd on Ubuntu] *************************************
  781. skipping: [localhost] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/etc/update-motd.d/10-help-text', 'ansible_loop_var': 'item'})
  782. skipping: [localhost] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/usr/share/landscape/landscape-sysinfo.wrapper', 'ansible_loop_var': 'item'})
  783. skipping: [localhost] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/etc/update-motd.d/51-cloudguest', 'ansible_loop_var': 'item'})
  784. skipping: [localhost] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/etc/update-motd.d/91-release-upgrade', 'ansible_loop_var': 'item'})
  785.  
  786. TASK [server_utils : Check for expired edx key] ********************************
  787. changed: [localhost]
  788.  
  789. TASK [server_utils : remove expired edx key] ***********************************
  790. skipping: [localhost]
  791.  
  792. TASK [server_utils : Install ubuntu system packages] ***************************
  793. ok: [localhost]
  794.  
  795. TASK [user : debug] ************************************************************
  796. ok: [localhost] => {
  797. "user_info": []
  798. }
  799.  
  800. TASK [user : Create the edxadmin group] ****************************************
  801. ok: [localhost]
  802.  
  803. TASK [user : Ensure sudoers.d is read] *****************************************
  804. ok: [localhost]
  805.  
  806. TASK [user : Grant full sudo access to the edxadmin group] *********************
  807. ok: [localhost]
  808.  
  809. TASK [user : Create the users] *************************************************
  810.  
  811. TASK [user : Assign admin role to admin users] *********************************
  812.  
  813. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  814.  
  815. TASK [user : Print warning if github user(s) missing ssh key] ******************
  816.  
  817. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  818.  
  819. TASK [user : Get github key(s) and update the authorized_keys file] ************
  820.  
  821. TASK [user : Create ~/.ssh directory for non github users] *********************
  822.  
  823. TASK [user : Build authorized_keys file for non github users] ******************
  824.  
  825. TASK [user : Create bashrc file for normal users] ******************************
  826.  
  827. TASK [user : Create .profile for all users] ************************************
  828.  
  829. TASK [user : Modify shell for restricted users] ********************************
  830.  
  831. TASK [user : Create bashrc file for restricted users] **************************
  832.  
  833. TASK [user : Create sudoers file from template] ********************************
  834. ok: [localhost]
  835.  
  836. TASK [user : Change home directory ownership to root for restricted users] *****
  837.  
  838. TASK [user : Create ~/bin directory] *******************************************
  839.  
  840. TASK [user : Create allowed command links] *************************************
  841.  
  842. TASK [user : Allow users to ssh] ***********************************************
  843. skipping: [localhost]
  844.  
  845. TASK [user : Restart ssh (ubuntu/debian)] **************************************
  846. skipping: [localhost]
  847.  
  848. TASK [user : Restart ssh (redhat)] *********************************************
  849. skipping: [localhost]
  850.  
  851. TASK [security : Install security packages] ************************************
  852. skipping: [localhost]
  853.  
  854. TASK [security : Update all system packages] ***********************************
  855. skipping: [localhost]
  856.  
  857. TASK [security : Configure periodic unattended-upgrades] ***********************
  858. skipping: [localhost]
  859.  
  860. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  861. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  862. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  863. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  864.  
  865. TASK [security : Disable unattended-upgrades] **********************************
  866. skipping: [localhost]
  867.  
  868. TASK [security : Only unattended-upgrade from security repo] *******************
  869. skipping: [localhost]
  870.  
  871. TASK [security : Add debian blacklist] *****************************************
  872. skipping: [localhost]
  873.  
  874. TASK [security : Disable security only updates on unattended-upgrades] *********
  875. skipping: [localhost]
  876.  
  877. TASK [security : Take security updates during ansible runs] ********************
  878. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  879. skipping: [localhost] => (item=unattended-upgrade)
  880.  
  881. TASK [security : Install security packages] ************************************
  882. skipping: [localhost]
  883.  
  884. TASK [security : Enable automatic start for update service] ********************
  885. skipping: [localhost]
  886.  
  887. TASK [security : Update all system packages] ***********************************
  888. skipping: [localhost]
  889.  
  890. TASK [security : Configure security auto-updates] ******************************
  891. skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
  892. skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
  893.  
  894. TASK [security : Take security updates during ansible runs] ********************
  895. skipping: [localhost] => (item=yum check-update --security)
  896. skipping: [localhost] => (item=yum update --security -y)
  897.  
  898. TASK [common : Check Configuration Sources] ************************************
  899.  
  900. TASK [common : stat] ***********************************************************
  901. ok: [localhost] => (item=/usr/local/share/ca-certificates)
  902. ok: [localhost] => (item=/usr/sbin/update-ca-certificates)
  903.  
  904. TASK [common : Download digicert intermediate Certificate] *********************
  905. ok: [localhost]
  906.  
  907. TASK [common : Update CA Certificates] *****************************************
  908. changed: [localhost]
  909.  
  910. TASK [common : stat] ***********************************************************
  911. ok: [localhost]
  912.  
  913. TASK [common : Update CA Trust] ************************************************
  914. skipping: [localhost]
  915.  
  916. TASK [common : Add common_users] ***********************************************
  917. ok: [localhost] => (item=www-data)
  918. ok: [localhost] => (item=syslog)
  919.  
  920. TASK [common : check if instance is vagrant] ***********************************
  921. ok: [localhost]
  922.  
  923. TASK [common : Add git apt repository] *****************************************
  924. ok: [localhost]
  925.  
  926. TASK [common : Add ppa for watchman package] ***********************************
  927. [WARNING]: conditional statements should not include jinja2 templating
  928. delimiters such as {{ }} or {% %}. Found: ansible_distribution in
  929. common_debian_variants and ({{ devstack | default(False) }} or {{
  930. edx_django_service_is_devstack | default(False) }})
  931. skipping: [localhost]
  932.  
  933. TASK [common : Add edX PPA apt key] ********************************************
  934. skipping: [localhost]
  935.  
  936. TASK [common : Update expired apt keys] ****************************************
  937. skipping: [localhost]
  938.  
  939. TASK [common : Add custom edX PPA] *********************************************
  940. skipping: [localhost]
  941.  
  942. TASK [common : add deadsnakes repository] **************************************
  943. ok: [localhost]
  944.  
  945. TASK [common : Install role-independent useful system packages] ****************
  946. ok: [localhost]
  947.  
  948. TASK [common : Install role-independent packages useful for devstack.] *********
  949. [WARNING]: conditional statements should not include jinja2 templating
  950. delimiters such as {{ }} or {% %}. Found: ansible_distribution in
  951. common_debian_variants and ({{ devstack | default(False) }} or {{
  952. edx_django_service_is_devstack | default(False) }})
  953. skipping: [localhost]
  954.  
  955. TASK [common : Install role-independent useful system packages from custom PPA] ***
  956. skipping: [localhost]
  957.  
  958. TASK [common : Install role-independent useful system packages] ****************
  959. skipping: [localhost]
  960.  
  961. TASK [common : Create common directories] **************************************
  962. ok: [localhost] => (item={'path': '/edx/var'})
  963. ok: [localhost] => (item={'path': '/edx/app'})
  964. ok: [localhost] => (item={'path': '/edx/bin'})
  965. ok: [localhost] => (item={'path': '/edx/etc'})
  966. ok: [localhost] => (item={'path': '/edx/var/log', 'owner': 'syslog', 'group': 'syslog'})
  967. ok: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
  968. ok: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': 'absent'})
  969.  
  970. TASK [common : upload sudo config for key forwarding as root] ******************
  971. ok: [localhost]
  972.  
  973. TASK [common : pip install virtualenv] *****************************************
  974. ok: [localhost]
  975.  
  976. TASK [common : update /etc/hosts] **********************************************
  977. skipping: [localhost]
  978.  
  979. TASK [common : update /etc/hostname] *******************************************
  980. skipping: [localhost]
  981.  
  982. TASK [common : run hostname] ***************************************************
  983. skipping: [localhost]
  984.  
  985. TASK [common : Copy the templates to their respective destination] *************
  986. ok: [localhost] => (item={'src': 'edx_rsyslog.j2', 'dest': '/etc/rsyslog.d/99-edx.conf'})
  987. ok: [localhost] => (item={'src': 'etc/logrotate.d/hourly/edx_logrotate.j2', 'dest': '/etc/logrotate.d/hourly/edx-services'})
  988. ok: [localhost] => (item={'src': 'etc/cron.hourly/logrotate.j2', 'dest': '/etc/cron.hourly/logrotate', 'mode': '0555'})
  989. ok: [localhost] => (item={'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2', 'dest': '/etc/logrotate.d/hourly/tracking.log'})
  990.  
  991. TASK [common : restart rsyslogd] ***********************************************
  992. skipping: [localhost]
  993.  
  994. TASK [common : Add ntp alert script] *******************************************
  995. ok: [localhost]
  996.  
  997. TASK [common : Remove MOTD update checker] *************************************
  998. ok: [localhost]
  999.  
  1000. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  1001. ok: [localhost]
  1002.  
  1003. TASK [common : install logrotate configuration] ********************************
  1004. ok: [localhost]
  1005.  
  1006. TASK [nginx : Create Diffie-Hellman parameters to prevent weak key exchange] ***
  1007. changed: [localhost]
  1008.  
  1009. TASK [nginx : Restrict permissions of DH parameters file] **********************
  1010. changed: [localhost]
  1011.  
  1012. TASK [nginx : Create nginx app and data dirs] **********************************
  1013. changed: [localhost] => (item={'path': '/edx/app/nginx', 'owner': 'root', 'group': 'www-data'})
  1014. changed: [localhost] => (item={'path': '/edx/app/nginx/sites-available', 'owner': 'root', 'group': 'www-data'})
  1015. changed: [localhost] => (item={'path': '/etc/nginx/sites-enabled', 'owner': 'root', 'group': 'www-data'})
  1016. changed: [localhost] => (item={'path': '/edx/app/nginx/conf.d', 'owner': 'root', 'group': 'www-data'})
  1017. changed: [localhost] => (item={'path': '/edx/var/nginx', 'owner': 'www-data', 'group': 'root'})
  1018. changed: [localhost] => (item={'path': '/edx/var/log/nginx', 'owner': 'www-data', 'group': 'root'})
  1019. changed: [localhost] => (item={'path': '/edx/var/nginx/server-static', 'owner': 'www-data', 'group': 'root'})
  1020.  
  1021. TASK [nginx : Install needed packages] *****************************************
  1022. changed: [localhost]
  1023.  
  1024. TASK [nginx : Add apt key] *****************************************************
  1025. changed: [localhost]
  1026.  
  1027. TASK [nginx : Add nginx repository] ********************************************
  1028. changed: [localhost]
  1029.  
  1030. TASK [nginx : Remove old nginx packages] ***************************************
  1031. ok: [localhost]
  1032.  
  1033. TASK [nginx : Install the nginx package] ***************************************
  1034. changed: [localhost]
  1035.  
  1036. TASK [nginx : Remove the default site] *****************************************
  1037. ok: [localhost]
  1038.  
  1039. TASK [nginx : Define server configuration file and common nginx configuration] ***
  1040. changed: [localhost] => (item={'src': 'etc/nginx/nginx.conf.j2', 'dest': '/etc/nginx/nginx.conf', 'group': 'www-data', 'mode': '0644'})
  1041. changed: [localhost] => (item={'src': 'edx/app/nginx/sites-available/maps.j2', 'dest': '/edx/app/nginx/sites-available/maps', 'group': 'root', 'mode': '0600'})
  1042.  
  1043. TASK [nginx : Create robot rules] **********************************************
  1044. changed: [localhost]
  1045.  
  1046. TASK [nginx : Creating link for common nginx configuration] ********************
  1047. changed: [localhost] => (item=maps)
  1048.  
  1049. TASK [nginx : Copying nginx configs for ['certs', 'cms', 'lms', 'forum', 'xqueue']] ***
  1050. changed: [localhost] => (item=certs)
  1051. changed: [localhost] => (item=cms)
  1052. changed: [localhost] => (item=lms)
  1053. changed: [localhost] => (item=forum)
  1054. changed: [localhost] => (item=xqueue)
  1055.  
  1056. TASK [nginx : Creating nginx config links for ['certs', 'cms', 'lms', 'forum', 'xqueue']] ***
  1057. changed: [localhost] => (item=certs)
  1058. changed: [localhost] => (item=cms)
  1059. changed: [localhost] => (item=lms)
  1060. changed: [localhost] => (item=forum)
  1061. changed: [localhost] => (item=xqueue)
  1062.  
  1063. TASK [nginx : Copying nginx extra configs] *************************************
  1064.  
  1065. TASK [nginx : Creating links for nginx extra configs] **************************
  1066.  
  1067. TASK [nginx : Copying custom nginx config] *************************************
  1068.  
  1069. TASK [nginx : Copying nginx redirect configs for {}] ***************************
  1070.  
  1071. TASK [nginx : Creating nginx redirect links for {}] ****************************
  1072.  
  1073. TASK [nginx : Create NGINX server templates] ***********************************
  1074. changed: [localhost] => (item={'file': 'rate-limit.html', 'lang': 'en', 'title': 'Rate limit exceeded', 'msg': 'We are aware of the error and are working to find a resolution.', 'img': 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'img_alt': '', 'heading': 'Uh oh, we are having some server issues..', 'style_h1': '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;', 'style_p_h2': '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;', 'style_p': '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%;', 'style_div': 'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;'})
  1075. changed: [localhost] => (item={'file': 'server-error.html', 'lang': 'en', 'title': 'Server error', 'msg': 'We are aware of the error and are working to find a resolution.', 'img': 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'img_alt': '', 'heading': 'Uh oh, we are having some server issues..', 'style_h1': '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;', 'style_p_h2': '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;', 'style_p': '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%;', 'style_div': 'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;'})
  1076.  
  1077. TASK [nginx : Copy static files] ***********************************************
  1078.  
  1079. TASK [nginx : Write out htpasswd file] *****************************************
  1080. [DEPRECATION WARNING]: evaluating False as a bare variable, this behaviour
  1081. will go away and you might need to add |bool to the expression in the future.
  1082. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature will be
  1083. removed in version 2.12. Deprecation warnings can be disabled by setting
  1084. deprecation_warnings=False in ansible.cfg.
  1085. skipping: [localhost] => (item={'name': 'XAaQdF29mPtCwPe6Rttec0WKJSLb1FTaASE', 'password': 'ftOtkpHy0JYeJXSTXG7M5jKbVLl1k926YV2', 'state': 'present'})
  1086.  
  1087. TASK [nginx : Write out htpasswd file for prospectus preview pages] ************
  1088. skipping: [localhost] => (item={'name': 'XAaQdF29mPtCwPe6Rttec0WKJSLb1FTaASE', 'password': 'ftOtkpHy0JYeJXSTXG7M5jKbVLl1k926YV2', 'state': 'present'})
  1089.  
  1090. TASK [nginx : Create nginx log file location (just in case)] *******************
  1091. changed: [localhost]
  1092.  
  1093. TASK [nginx : stat] ************************************************************
  1094. ok: [localhost -> localhost]
  1095.  
  1096. TASK [nginx : stat] ************************************************************
  1097. ok: [localhost -> localhost]
  1098.  
  1099. TASK [nginx : copy ssl cert] ***************************************************
  1100. skipping: [localhost]
  1101.  
  1102. TASK [nginx : copy ssl key] ****************************************************
  1103. skipping: [localhost]
  1104.  
  1105. TASK [nginx : Removing default nginx config and restart (enabled)] *************
  1106. ok: [localhost]
  1107.  
  1108. TASK [nginx : Set up nginx access log rotation] ********************************
  1109. changed: [localhost]
  1110.  
  1111. TASK [nginx : Set up nginx error log rotation] *********************************
  1112. changed: [localhost]
  1113.  
  1114. TASK [nginx : Test nginx configs] **********************************************
  1115. changed: [localhost]
  1116.  
  1117. RUNNING HANDLER [nginx : restart nginx] ****************************************
  1118. changed: [localhost]
  1119.  
  1120. RUNNING HANDLER [nginx : reload nginx] *****************************************
  1121. changed: [localhost]
  1122.  
  1123. TASK [nginx : make sure nginx has started] *************************************
  1124. ok: [localhost]
  1125.  
  1126. TASK [security : Install security packages] ************************************
  1127. skipping: [localhost]
  1128.  
  1129. TASK [security : Update all system packages] ***********************************
  1130. skipping: [localhost]
  1131.  
  1132. TASK [security : Configure periodic unattended-upgrades] ***********************
  1133. skipping: [localhost]
  1134.  
  1135. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1136. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1137. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1138. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1139.  
  1140. TASK [security : Disable unattended-upgrades] **********************************
  1141. skipping: [localhost]
  1142.  
  1143. TASK [security : Only unattended-upgrade from security repo] *******************
  1144. skipping: [localhost]
  1145.  
  1146. TASK [security : Add debian blacklist] *****************************************
  1147. skipping: [localhost]
  1148.  
  1149. TASK [security : Disable security only updates on unattended-upgrades] *********
  1150. skipping: [localhost]
  1151.  
  1152. TASK [security : Take security updates during ansible runs] ********************
  1153. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1154. skipping: [localhost] => (item=unattended-upgrade)
  1155.  
  1156. TASK [security : Install security packages] ************************************
  1157. skipping: [localhost]
  1158.  
  1159. TASK [security : Enable automatic start for update service] ********************
  1160. skipping: [localhost]
  1161.  
  1162. TASK [security : Update all system packages] ***********************************
  1163. skipping: [localhost]
  1164.  
  1165. TASK [security : Configure security auto-updates] ******************************
  1166. skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
  1167. skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
  1168.  
  1169. TASK [security : Take security updates during ansible runs] ********************
  1170. skipping: [localhost] => (item=yum check-update --security)
  1171. skipping: [localhost] => (item=yum update --security -y)
  1172.  
  1173. TASK [security : Install security packages] ************************************
  1174. skipping: [localhost]
  1175.  
  1176. TASK [security : Update all system packages] ***********************************
  1177. skipping: [localhost]
  1178.  
  1179. TASK [security : Configure periodic unattended-upgrades] ***********************
  1180. skipping: [localhost]
  1181.  
  1182. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1183. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1184. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1185. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1186.  
  1187. TASK [security : Disable unattended-upgrades] **********************************
  1188. skipping: [localhost]
  1189.  
  1190. TASK [security : Only unattended-upgrade from security repo] *******************
  1191. skipping: [localhost]
  1192.  
  1193. TASK [security : Add debian blacklist] *****************************************
  1194. skipping: [localhost]
  1195.  
  1196. TASK [security : Disable security only updates on unattended-upgrades] *********
  1197. skipping: [localhost]
  1198.  
  1199. TASK [security : Take security updates during ansible runs] ********************
  1200. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1201. skipping: [localhost] => (item=unattended-upgrade)
  1202.  
  1203. TASK [security : Install security packages] ************************************
  1204. skipping: [localhost]
  1205.  
  1206. TASK [security : Enable automatic start for update service] ********************
  1207. skipping: [localhost]
  1208.  
  1209. TASK [security : Update all system packages] ***********************************
  1210. skipping: [localhost]
  1211.  
  1212. TASK [security : Configure security auto-updates] ******************************
  1213. skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
  1214. skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
  1215.  
  1216. TASK [security : Take security updates during ansible runs] ********************
  1217. skipping: [localhost] => (item=yum check-update --security)
  1218. skipping: [localhost] => (item=yum update --security -y)
  1219.  
  1220. TASK [mysql : Look for mysql 5.6] **********************************************
  1221. fatal: [localhost]: FAILED! => {"changed": false, "cmd": "dpkg -s mysql-server", "delta": "0:00:00.013084", "end": "2021-05-20 05:37:19.766224", "msg": "non-zero return code", "rc": 1, "start": "2021-05-20 05:37:19.753140", "stderr": "dpkg-query: package 'mysql-server' is not installed and no information is available\nUse dpkg --info (= dpkg-deb --info) to examine archive files.", "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."], "stdout": "", "stdout_lines": []}
  1222. ...ignoring
  1223.  
  1224. TASK [mysql : Important message] ***********************************************
  1225. skipping: [localhost]
  1226.  
  1227. TASK [mysql : pause] ***********************************************************
  1228. skipping: [localhost]
  1229.  
  1230. TASK [mysql : Stop mysql service] **********************************************
  1231. skipping: [localhost]
  1232.  
  1233. TASK [mysql : Remove experimental apt repository] ******************************
  1234. skipping: [localhost]
  1235.  
  1236. TASK [mysql : Remove experimental version of mysql] ****************************
  1237. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  1238. squash_actions is deprecated. Instead of using a loop to supply multiple items
  1239. and specifying `name: "{{ item }}"`, please use `name: ['mysql-server-5.6',
  1240. 'mysql-server']` and remove the loop. This feature will be removed in version
  1241. 2.11. Deprecation warnings can be disabled by setting
  1242. deprecation_warnings=False in ansible.cfg.
  1243. skipping: [localhost] => (item=[])
  1244.  
  1245. TASK [mysql : Install mysql dependencies] **************************************
  1246. ok: [localhost]
  1247.  
  1248. TASK [mysql : Install mysql] ***************************************************
  1249. skipping: [localhost]
  1250.  
  1251. TASK [mysql : Set default character sets and collations] ***********************
  1252. skipping: [localhost]
  1253.  
  1254. TASK [mysql : add the mysql signing key] ***************************************
  1255. changed: [localhost]
  1256.  
  1257. TASK [mysql : add the mysql-5.7 repo to the sources list] **********************
  1258. changed: [localhost]
  1259.  
  1260. TASK [mysql : install mysql-5.7-client] ****************************************
  1261. changed: [localhost]
  1262.  
  1263. TASK [mysql : install mysql-5.7-community-server] ******************************
  1264. changed: [localhost]
  1265.  
  1266. TASK [mysql : install mysql-5.7-server] ****************************************
  1267. ok: [localhost]
  1268.  
  1269. TASK [mysql : restart mysql] ***************************************************
  1270. [WARNING]: Consider using the service module rather than running 'service'. If
  1271. you need to use command because service is insufficient you can add 'warn:
  1272. false' to this command task or set 'command_warnings=False' in ansible.cfg to
  1273. get rid of this message.
  1274. changed: [localhost]
  1275.  
  1276. TASK [mysql : Ensure Anonymous user(s) does not exist] *************************
  1277. ok: [localhost] => (item=localhost)
  1278. ok: [localhost] => (item=o-edx)
  1279.  
  1280. TASK [edxlocal : Install packages needed for single server] ********************
  1281. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  1282. squash_actions is deprecated. Instead of using a loop to supply multiple items
  1283. and specifying `name: "{{ item }}"`, please use `name: '{{ edxlocal_debian_pkgs
  1284. }}'` and remove the loop. This feature will be removed in version 2.11.
  1285. Deprecation warnings can be disabled by setting deprecation_warnings=False in
  1286. ansible.cfg.
  1287. changed: [localhost] => (item=['postfix', 'libjpeg-dev'])
  1288.  
  1289. TASK [edxlocal : create databases] *********************************************
  1290. changed: [localhost] => (item=ecommerce)
  1291. changed: [localhost] => (item=dashboard)
  1292. changed: [localhost] => (item=xqueue)
  1293. changed: [localhost] => (item=edxapp)
  1294. changed: [localhost] => (item=edxapp_csmh)
  1295. changed: [localhost] => (item=edx_notes_api)
  1296. changed: [localhost] => (item=analytics-api)
  1297. changed: [localhost] => (item=reports)
  1298. changed: [localhost] => (item=blockstore)
  1299. skipping: [localhost] => (item=)
  1300. changed: [localhost] => (item=discovery)
  1301. skipping: [localhost] => (item=)
  1302. skipping: [localhost] => (item=)
  1303.  
  1304. TASK [edxlocal : create database users] ****************************************
  1305. changed: [localhost] => (item={'db': 'ecommerce', 'user': 'ecomm001', 'pass': '4vOKy610Ys7EBmSCYE3bhWHeGrSrF6Ajkrm'})
  1306. changed: [localhost] => (item={'db': 'dashboard', 'user': 'rosencrantz', 'pass': 'hCkklJVQart1LasH3awbIp90zInWdicNVAg'})
  1307. changed: [localhost] => (item={'db': 'xqueue', 'user': 'xqueue001', 'pass': 'o9kR3AjnJBE7O5XR6cdd7Dw4Rl1YpZvTiH3'})
  1308. changed: [localhost] => (item={'db': 'edxapp', 'user': 'edxapp001', 'pass': 'RTU0MmpKBCcpi3sABUTKOyv4RHaqFD2aVSR'})
  1309. changed: [localhost] => (item={'db': 'edxapp_csmh', 'user': 'edxapp_cmsh001', 'pass': 'yQ0C2yqkS5hudqj50363V2LB8MOQfiKy4Gw'})
  1310. skipping: [localhost] => (item={'db': '', 'user': '', 'pass': 'efIYtJBvPAbMThlftIHL1Q4q6xRcSTkgmOf'})
  1311. skipping: [localhost] => (item={'db': '', 'user': '', 'pass': 'PVeUsqOb7xYBhligdemLSt3dkMm4zdZqh0G'})
  1312. changed: [localhost] => (item={'db': 'blockstore', 'user': 'blkstr01', 'pass': 'password'})
  1313. skipping: [localhost] => (item={'db': '', 'user': '', 'pass': 'Bd7jrYuR4VDQZ2OixV74jVrTDfCU1oSD51e'})
  1314. changed: [localhost] => (item={'db': 'discovery', 'user': 'discov001', 'pass': 'OSLyJAFt5VxTt9QNyO0U0lOodJEuUmnxFAB'})
  1315. skipping: [localhost] => (item={'db': '', 'user': '', 'pass': ''})
  1316. skipping: [localhost] => (item={'db': '', 'user': '', 'pass': ''})
  1317.  
  1318. TASK [edxlocal : setup the migration db user] **********************************
  1319. changed: [localhost] => (item=ecommerce)
  1320. changed: [localhost] => (item=dashboard)
  1321. changed: [localhost] => (item=xqueue)
  1322. changed: [localhost] => (item=edxapp)
  1323. changed: [localhost] => (item=edxapp_csmh)
  1324. changed: [localhost] => (item=edx_notes_api)
  1325. changed: [localhost] => (item=analytics-api)
  1326. changed: [localhost] => (item=reports)
  1327. changed: [localhost] => (item=blockstore)
  1328. skipping: [localhost] => (item=)
  1329. changed: [localhost] => (item=discovery)
  1330. skipping: [localhost] => (item=)
  1331. skipping: [localhost] => (item=)
  1332.  
  1333. TASK [edxlocal : create api user for the analytics api] ************************
  1334. changed: [localhost]
  1335.  
  1336. TASK [edxlocal : create read-only reports user for the analytics-api] **********
  1337. changed: [localhost]
  1338.  
  1339. TASK [edxlocal : create a database for the hive metastore] *********************
  1340. skipping: [localhost]
  1341.  
  1342. TASK [edxlocal : setup the edx-notes-api db user] ******************************
  1343. changed: [localhost]
  1344.  
  1345. TASK [edxlocal : setup the read-only db user] **********************************
  1346. changed: [localhost]
  1347.  
  1348. TASK [edxlocal : setup the admin db user] **************************************
  1349. changed: [localhost]
  1350.  
  1351. TASK [memcache : Install memcached] ********************************************
  1352. changed: [localhost]
  1353.  
  1354. TASK [security : Install security packages] ************************************
  1355. skipping: [localhost]
  1356.  
  1357. TASK [security : Update all system packages] ***********************************
  1358. skipping: [localhost]
  1359.  
  1360. TASK [security : Configure periodic unattended-upgrades] ***********************
  1361. skipping: [localhost]
  1362.  
  1363. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1364. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1365. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1366. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1367.  
  1368. TASK [security : Disable unattended-upgrades] **********************************
  1369. skipping: [localhost]
  1370.  
  1371. TASK [security : Only unattended-upgrade from security repo] *******************
  1372. skipping: [localhost]
  1373.  
  1374. TASK [security : Add debian blacklist] *****************************************
  1375. skipping: [localhost]
  1376.  
  1377. TASK [security : Disable security only updates on unattended-upgrades] *********
  1378. skipping: [localhost]
  1379.  
  1380. TASK [security : Take security updates during ansible runs] ********************
  1381. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1382. skipping: [localhost] => (item=unattended-upgrade)
  1383.  
  1384. TASK [security : Install security packages] ************************************
  1385. skipping: [localhost]
  1386.  
  1387. TASK [security : Enable automatic start for update service] ********************
  1388. skipping: [localhost]
  1389.  
  1390. TASK [security : Update all system packages] ***********************************
  1391. skipping: [localhost]
  1392.  
  1393. TASK [security : Configure security auto-updates] ******************************
  1394. skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
  1395. skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
  1396.  
  1397. TASK [security : Take security updates during ansible runs] ********************
  1398. skipping: [localhost] => (item=yum check-update --security)
  1399. skipping: [localhost] => (item=yum update --security -y)
  1400.  
  1401. TASK [mount_ebs : Check disk size] *********************************************
  1402.  
  1403. TASK [mount_ebs : Unmount disk if fstype is wrong] *****************************
  1404.  
  1405. TASK [mount_ebs : Check that we don't want to unmount disks to change fstype when UNMOUNT_DISKS is false] ***
  1406. skipping: [localhost] => (item={'mount': '/', 'device': '/dev/mapper/ubuntu--vg-ubuntu--lv', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 21003583488, 'size_available': 12161814528, 'block_size': 4096, 'block_total': 5127828, 'block_available': 2969193, 'block_used': 2158635, 'inode_total': 1310720, 'inode_available': 1172839, 'inode_used': 137881, 'uuid': 'a0f94120-ab93-4ca9-ace8-54b4e2eb8488'})
  1407. skipping: [localhost] => (item={'mount': '/boot', 'device': '/dev/sda2', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 1023303680, 'size_available': 842833920, 'block_size': 4096, 'block_total': 249830, 'block_available': 205770, 'block_used': 44060, 'inode_total': 65536, 'inode_available': 65224, 'inode_used': 312, 'uuid': '8c994790-58f1-4976-a13d-78c6024bf1d1'})
  1408. skipping: [localhost] => (item={'mount': '/snap/snapd/10707', 'device': '/dev/loop2', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 32636928, 'size_available': 0, 'block_size': 131072, 'block_total': 249, 'block_available': 0, 'block_used': 249, 'inode_total': 472, 'inode_available': 0, 'inode_used': 472, 'uuid': 'N/A'})
  1409. skipping: [localhost] => (item={'mount': '/snap/core18/1944', 'device': '/dev/loop1', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10809, 'inode_available': 0, 'inode_used': 10809, 'uuid': 'N/A'})
  1410. skipping: [localhost] => (item={'mount': '/snap/lxd/19188', 'device': '/dev/loop0', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 73400320, 'size_available': 0, 'block_size': 131072, 'block_total': 560, 'block_available': 0, 'block_used': 560, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
  1411. skipping: [localhost] => (item={'mount': '/snap/snapd/11841', 'device': '/dev/loop3', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 33685504, 'size_available': 0, 'block_size': 131072, 'block_total': 257, 'block_available': 0, 'block_used': 257, 'inode_total': 474, 'inode_available': 0, 'inode_used': 474, 'uuid': 'N/A'})
  1412. skipping: [localhost] => (item={'mount': '/snap/core18/2066', 'device': '/dev/loop4', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10794, 'inode_available': 0, 'inode_used': 10794, 'uuid': 'N/A'})
  1413. skipping: [localhost] => (item={'mount': '/snap/lxd/20326', 'device': '/dev/loop5', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 70909952, 'size_available': 0, 'block_size': 131072, 'block_total': 541, 'block_available': 0, 'block_used': 541, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
  1414.  
  1415. TASK [mount_ebs : Create filesystem] *******************************************
  1416.  
  1417. TASK [mount_ebs : Regather facts to get UUIDs of freshly formatted disks] ******
  1418. ok: [localhost]
  1419.  
  1420. TASK [mount_ebs : Unmount disks mounted to the wrong place] ********************
  1421. skipping: [localhost] => (item={'mount': '/', 'device': '/dev/mapper/ubuntu--vg-ubuntu--lv', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 21003583488, 'size_available': 7617294336, 'block_size': 4096, 'block_total': 5127828, 'block_available': 1859691, 'block_used': 3268137, 'inode_total': 1310720, 'inode_available': 1171067, 'inode_used': 139653, 'uuid': 'a0f94120-ab93-4ca9-ace8-54b4e2eb8488'})
  1422. skipping: [localhost] => (item={'mount': '/boot', 'device': '/dev/sda2', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 1023303680, 'size_available': 842833920, 'block_size': 4096, 'block_total': 249830, 'block_available': 205770, 'block_used': 44060, 'inode_total': 65536, 'inode_available': 65224, 'inode_used': 312, 'uuid': '8c994790-58f1-4976-a13d-78c6024bf1d1'})
  1423. skipping: [localhost] => (item={'mount': '/snap/snapd/10707', 'device': '/dev/loop2', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 32636928, 'size_available': 0, 'block_size': 131072, 'block_total': 249, 'block_available': 0, 'block_used': 249, 'inode_total': 472, 'inode_available': 0, 'inode_used': 472, 'uuid': 'N/A'})
  1424. skipping: [localhost] => (item={'mount': '/snap/core18/1944', 'device': '/dev/loop1', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10809, 'inode_available': 0, 'inode_used': 10809, 'uuid': 'N/A'})
  1425. skipping: [localhost] => (item={'mount': '/snap/lxd/19188', 'device': '/dev/loop0', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 73400320, 'size_available': 0, 'block_size': 131072, 'block_total': 560, 'block_available': 0, 'block_used': 560, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
  1426. skipping: [localhost] => (item={'mount': '/snap/snapd/11841', 'device': '/dev/loop3', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 33685504, 'size_available': 0, 'block_size': 131072, 'block_total': 257, 'block_available': 0, 'block_used': 257, 'inode_total': 474, 'inode_available': 0, 'inode_used': 474, 'uuid': 'N/A'})
  1427. skipping: [localhost] => (item={'mount': '/snap/core18/2066', 'device': '/dev/loop4', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10794, 'inode_available': 0, 'inode_used': 10794, 'uuid': 'N/A'})
  1428. skipping: [localhost] => (item={'mount': '/snap/lxd/20326', 'device': '/dev/loop5', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 70909952, 'size_available': 0, 'block_size': 131072, 'block_total': 541, 'block_available': 0, 'block_used': 541, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
  1429.  
  1430. TASK [mount_ebs : Check that we don't want to unmount disks to change mountpoint when UNMOUNT_DISKS is false] ***
  1431. skipping: [localhost] => (item={'mount': '/', 'device': '/dev/mapper/ubuntu--vg-ubuntu--lv', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 21003583488, 'size_available': 7617294336, 'block_size': 4096, 'block_total': 5127828, 'block_available': 1859691, 'block_used': 3268137, 'inode_total': 1310720, 'inode_available': 1171067, 'inode_used': 139653, 'uuid': 'a0f94120-ab93-4ca9-ace8-54b4e2eb8488'})
  1432. skipping: [localhost] => (item={'mount': '/boot', 'device': '/dev/sda2', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 1023303680, 'size_available': 842833920, 'block_size': 4096, 'block_total': 249830, 'block_available': 205770, 'block_used': 44060, 'inode_total': 65536, 'inode_available': 65224, 'inode_used': 312, 'uuid': '8c994790-58f1-4976-a13d-78c6024bf1d1'})
  1433. skipping: [localhost] => (item={'mount': '/snap/snapd/10707', 'device': '/dev/loop2', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 32636928, 'size_available': 0, 'block_size': 131072, 'block_total': 249, 'block_available': 0, 'block_used': 249, 'inode_total': 472, 'inode_available': 0, 'inode_used': 472, 'uuid': 'N/A'})
  1434. skipping: [localhost] => (item={'mount': '/snap/core18/1944', 'device': '/dev/loop1', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10809, 'inode_available': 0, 'inode_used': 10809, 'uuid': 'N/A'})
  1435. skipping: [localhost] => (item={'mount': '/snap/lxd/19188', 'device': '/dev/loop0', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 73400320, 'size_available': 0, 'block_size': 131072, 'block_total': 560, 'block_available': 0, 'block_used': 560, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
  1436. skipping: [localhost] => (item={'mount': '/snap/snapd/11841', 'device': '/dev/loop3', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 33685504, 'size_available': 0, 'block_size': 131072, 'block_total': 257, 'block_available': 0, 'block_used': 257, 'inode_total': 474, 'inode_available': 0, 'inode_used': 474, 'uuid': 'N/A'})
  1437. skipping: [localhost] => (item={'mount': '/snap/core18/2066', 'device': '/dev/loop4', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10794, 'inode_available': 0, 'inode_used': 10794, 'uuid': 'N/A'})
  1438. skipping: [localhost] => (item={'mount': '/snap/lxd/20326', 'device': '/dev/loop5', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 70909952, 'size_available': 0, 'block_size': 131072, 'block_total': 541, 'block_available': 0, 'block_used': 541, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
  1439.  
  1440. TASK [mount_ebs : Mount disks] *************************************************
  1441.  
  1442. TASK [mongo_3_6 : Add disable transparent huge pages systemd service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
  1443. changed: [localhost]
  1444.  
  1445. TASK [mongo_3_6 : Enable/start disable transparent huge pages service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
  1446. changed: [localhost]
  1447.  
  1448. TASK [mongo_3_6 : install python pymongo for mongo_user ansible module] ********
  1449. changed: [localhost]
  1450.  
  1451. TASK [mongo_3_6 : add source list to install libssl1.0.0] **********************
  1452. changed: [localhost]
  1453.  
  1454. TASK [mongo_3_6 : add the mongodb signing key] *********************************
  1455. changed: [localhost]
  1456.  
  1457. TASK [mongo_3_6 : add the mongodb repo to the sources list] ********************
  1458. skipping: [localhost]
  1459.  
  1460. TASK [mongo_3_6 : add the mongodb repo to the sources list] ********************
  1461. changed: [localhost]
  1462.  
  1463. TASK [mongo_3_6 : install mongo server and recommends] *************************
  1464. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  1465. squash_actions is deprecated. Instead of using a loop to supply multiple items
  1466. and specifying `pkg: "{{ item }}"`, please use `pkg: '{{ mongodb_debian_pkgs
  1467. }}'` and remove the loop. This feature will be removed in version 2.11.
  1468. Deprecation warnings can be disabled by setting deprecation_warnings=False in
  1469. ansible.cfg.
  1470. changed: [localhost] => (item=['mongodb-org=3.6.17', 'mongodb-org-server=3.6.17', 'mongodb-org-shell=3.6.17', 'mongodb-org-mongos=3.6.17', 'mongodb-org-tools=3.6.17'])
  1471.  
  1472. TASK [mongo_3_6 : remove source list used to install libssl1.0.0] **************
  1473. changed: [localhost]
  1474.  
  1475. TASK [mongo_3_6 : create mongo dirs] *******************************************
  1476. changed: [localhost] => (item=/edx/var/mongo)
  1477. changed: [localhost] => (item=/edx/var/mongo/mongodb)
  1478. changed: [localhost] => (item=/edx/var/log/mongo)
  1479. changed: [localhost] => (item=/edx/var/mongo/mongodb/journal)
  1480.  
  1481. TASK [mongo_3_6 : determine if there is a replica set already] *****************
  1482. fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/root/.ansible/tmp/ansible-tmp-1621489482.7412202-25825-39232660424555/AnsiballZ_mongodb_rs_status:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\n import imp\nTraceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1621489482.7412202-25825-39232660424555/AnsiballZ_mongodb_rs_status\", line 114, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1621489482.7412202-25825-39232660424555/AnsiballZ_mongodb_rs_status\", line 106, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1621489482.7412202-25825-39232660424555/AnsiballZ_mongodb_rs_status\", line 49, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/usr/lib/python3.8/imp.py\", line 234, in load_module\n return load_source(name, filename, file)\n File \"/usr/lib/python3.8/imp.py\", line 169, in load_source\n module = _exec(spec, sys.modules[name])\n File \"<frozen importlib._bootstrap>\", line 604, in _exec\n File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/tmp/ansible_mongodb_rs_status_payload_4iz7tycv/__main__.py\", line 133, in <module>\n File \"/tmp/ansible_mongodb_rs_status_payload_4iz7tycv/__main__.py\", line 115, in main\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\", line 529, in command\n with client._socket_for_reads(read_preference) as (sock_info, slave_ok):\n File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n return next(self.gen)\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 982, in _socket_for_reads\n server = topology.select_server(read_preference)\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 222, in select_server\n return random.choice(self.select_servers(selector,\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 182, in select_servers\n server_descriptions = self._select_servers_loop(\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 198, in _select_servers_loop\n raise ServerSelectionTimeoutError(\npymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
  1483. ...ignoring
  1484.  
  1485. TASK [mongo_3_6 : Try checking the replica set with no user/pass in case this is a new box] ***
  1486. fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\n import imp\nTraceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status\", line 114, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status\", line 106, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status\", line 49, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/usr/lib/python3.8/imp.py\", line 234, in load_module\n return load_source(name, filename, file)\n File \"/usr/lib/python3.8/imp.py\", line 169, in load_source\n module = _exec(spec, sys.modules[name])\n File \"<frozen importlib._bootstrap>\", line 604, in _exec\n File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/tmp/ansible_mongodb_rs_status_payload_kfawj4_q/__main__.py\", line 133, in <module>\n File \"/tmp/ansible_mongodb_rs_status_payload_kfawj4_q/__main__.py\", line 115, in main\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\", line 529, in command\n with client._socket_for_reads(read_preference) as (sock_info, slave_ok):\n File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n return next(self.gen)\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 982, in _socket_for_reads\n server = topology.select_server(read_preference)\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 222, in select_server\n return random.choice(self.select_servers(selector,\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 182, in select_servers\n server_descriptions = self._select_servers_loop(\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 198, in _select_servers_loop\n raise ServerSelectionTimeoutError(\npymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
  1487. ...ignoring
  1488.  
  1489. TASK [mongo_3_6 : set facts that default to not initializing a replica set] ****
  1490. ok: [localhost]
  1491.  
  1492. TASK [mongo_3_6 : track if you have a replica set] *****************************
  1493. ok: [localhost]
  1494.  
  1495. TASK [mongo_3_6 : warn about unconfigured replica sets] ************************
  1496. ok: [localhost] => {
  1497. "msg": "You do not appear to have a Replica Set configured, deploying one for you"
  1498. }
  1499.  
  1500. TASK [mongo_3_6 : copy mongodb key file] ***************************************
  1501. changed: [localhost]
  1502.  
  1503. TASK [mongo_3_6 : copy configuration template] *********************************
  1504. changed: [localhost]
  1505.  
  1506. TASK [mongo_3_6 : determine if backup tasks should run] ************************
  1507. [WARNING]: conditional statements should not include jinja2 templating
  1508. delimiters such as {{ }} or {% %}. Found: MONGO_BACKUP_ENABLED and '{{
  1509. ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0]) }}' == '{{
  1510. MONGO_BACKUP_NODE }}'
  1511. skipping: [localhost]
  1512.  
  1513. TASK [mongo_3_6 : install logrotate configuration] *****************************
  1514. changed: [localhost]
  1515.  
  1516. TASK [mongo_3_6 : install prereqs for backup script] ***************************
  1517. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  1518. squash_actions is deprecated. Instead of using a loop to supply multiple items
  1519. and specifying `pkg: "{{ item }}"`, please use `pkg: ['jq']` and remove the
  1520. loop. This feature will be removed in version 2.11. Deprecation warnings can be
  1521. disabled by setting deprecation_warnings=False in ansible.cfg.
  1522. skipping: [localhost] => (item=[])
  1523.  
  1524. TASK [mongo_3_6 : install backup script] ***************************************
  1525. skipping: [localhost]
  1526.  
  1527. TASK [mongo_3_6 : add mongo backup script to cron] *****************************
  1528. skipping: [localhost]
  1529.  
  1530. TASK [mongo_3_6 : format mongo backup volume] **********************************
  1531. skipping: [localhost]
  1532.  
  1533. TASK [mongo_3_6 : restart mongo service if we changed our configuration or upgraded mongo] ***
  1534. changed: [localhost]
  1535.  
  1536. TASK [mongo_3_6 : wait for mongo server to start] ******************************
  1537. ok: [localhost]
  1538.  
  1539. TASK [mongo_3_6 : create super user] *******************************************
  1540. changed: [localhost]
  1541.  
  1542. TASK [mongo_3_6 : Unset our skip initializing replica set fact so that mongod.conf gets a replica set] ***
  1543. ok: [localhost]
  1544.  
  1545. TASK [mongo_3_6 : re-copy configuration template with replica set enabled] *****
  1546. changed: [localhost]
  1547.  
  1548. TASK [mongo_3_6 : restart mongo service] ***************************************
  1549. changed: [localhost]
  1550.  
  1551. TASK [mongo_3_6 : wait for mongo server to start] ******************************
  1552. ok: [localhost]
  1553.  
  1554. TASK [mongo_3_6 : configure replica set] ***************************************
  1555. [WARNING]: Module did not set no_log for password
  1556. changed: [localhost]
  1557.  
  1558. TASK [mongo_3_6 : Wait for the replica set to update and (if needed) elect a primary] ***
  1559. ok: [localhost]
  1560.  
  1561. TASK [mongo_3_6 : create mongodb users in a replica set] ***********************
  1562. changed: [localhost] => (item={'user': 'cs_comments_service', 'password': 'zk3cdNFo5qrBQWXnk0qNYJ5PPDfM2qttmTP', 'database': 'cs_comments_service', 'roles': 'readWrite'})
  1563. changed: [localhost] => (item={'user': 'edxapp', 'password': 'R0iGK5V6gMVKJqwFxd6kIFicO6d2SQw5IV0', 'database': 'edxapp', 'roles': 'readWrite'})
  1564.  
  1565. TASK [mongo_3_6 : ensure mongo starts at boot time] ****************************
  1566. changed: [localhost]
  1567.  
  1568. TASK [mongo_3_6 : add serverStatus logging script] *****************************
  1569. changed: [localhost]
  1570.  
  1571. TASK [mongo_3_6 : add serverStatus logging script to cron] *********************
  1572. changed: [localhost]
  1573.  
  1574. TASK [security : Install security packages] ************************************
  1575. skipping: [localhost]
  1576.  
  1577. TASK [security : Update all system packages] ***********************************
  1578. skipping: [localhost]
  1579.  
  1580. TASK [security : Configure periodic unattended-upgrades] ***********************
  1581. skipping: [localhost]
  1582.  
  1583. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1584. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1585. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1586. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1587.  
  1588. TASK [security : Disable unattended-upgrades] **********************************
  1589. skipping: [localhost]
  1590.  
  1591. TASK [security : Only unattended-upgrade from security repo] *******************
  1592. skipping: [localhost]
  1593.  
  1594. TASK [security : Add debian blacklist] *****************************************
  1595. skipping: [localhost]
  1596.  
  1597. TASK [security : Disable security only updates on unattended-upgrades] *********
  1598. skipping: [localhost]
  1599.  
  1600. TASK [security : Take security updates during ansible runs] ********************
  1601. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1602. skipping: [localhost] => (item=unattended-upgrade)
  1603.  
  1604. TASK [security : Install security packages] ************************************
  1605. skipping: [localhost]
  1606.  
  1607. TASK [security : Enable automatic start for update service] ********************
  1608. skipping: [localhost]
  1609.  
  1610. TASK [security : Update all system packages] ***********************************
  1611. skipping: [localhost]
  1612.  
  1613. TASK [security : Configure security auto-updates] ******************************
  1614. skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
  1615. skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
  1616.  
  1617. TASK [security : Take security updates during ansible runs] ********************
  1618. skipping: [localhost] => (item=yum check-update --security)
  1619. skipping: [localhost] => (item=yum update --security -y)
  1620.  
  1621. TASK [redis : Install redis system packages] ***********************************
  1622. changed: [localhost]
  1623.  
  1624. TASK [redis : Update redis configuration] **************************************
  1625. changed: [localhost]
  1626.  
  1627. TASK [security : Install security packages] ************************************
  1628. skipping: [localhost]
  1629.  
  1630. TASK [security : Update all system packages] ***********************************
  1631. skipping: [localhost]
  1632.  
  1633. TASK [security : Configure periodic unattended-upgrades] ***********************
  1634. skipping: [localhost]
  1635.  
  1636. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1637. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1638. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1639. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1640.  
  1641. TASK [security : Disable unattended-upgrades] **********************************
  1642. skipping: [localhost]
  1643.  
  1644. TASK [security : Only unattended-upgrade from security repo] *******************
  1645. skipping: [localhost]
  1646.  
  1647. TASK [security : Add debian blacklist] *****************************************
  1648. skipping: [localhost]
  1649.  
  1650. TASK [security : Disable security only updates on unattended-upgrades] *********
  1651. skipping: [localhost]
  1652.  
  1653. TASK [security : Take security updates during ansible runs] ********************
  1654. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1655. skipping: [localhost] => (item=unattended-upgrade)
  1656.  
  1657. TASK [security : Install security packages] ************************************
  1658. skipping: [localhost]
  1659.  
  1660. TASK [security : Enable automatic start for update service] ********************
  1661. skipping: [localhost]
  1662.  
  1663. TASK [security : Update all system packages] ***********************************
  1664. skipping: [localhost]
  1665.  
  1666. TASK [security : Configure security auto-updates] ******************************
  1667. skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
  1668. skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
  1669.  
  1670. TASK [security : Take security updates during ansible runs] ********************
  1671. skipping: [localhost] => (item=yum check-update --security)
  1672. skipping: [localhost] => (item=yum update --security -y)
  1673.  
  1674. TASK [security : Install security packages] ************************************
  1675. skipping: [localhost]
  1676.  
  1677. TASK [security : Update all system packages] ***********************************
  1678. skipping: [localhost]
  1679.  
  1680. TASK [security : Configure periodic unattended-upgrades] ***********************
  1681. skipping: [localhost]
  1682.  
  1683. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1684. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1685. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1686. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1687.  
  1688. TASK [security : Disable unattended-upgrades] **********************************
  1689. skipping: [localhost]
  1690.  
  1691. TASK [security : Only unattended-upgrade from security repo] *******************
  1692. skipping: [localhost]
  1693.  
  1694. TASK [security : Add debian blacklist] *****************************************
  1695. skipping: [localhost]
  1696.  
  1697. TASK [security : Disable security only updates on unattended-upgrades] *********
  1698. skipping: [localhost]
  1699.  
  1700. TASK [security : Take security updates during ansible runs] ********************
  1701. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1702. skipping: [localhost] => (item=unattended-upgrade)
  1703.  
  1704. TASK [security : Install security packages] ************************************
  1705. skipping: [localhost]
  1706.  
  1707. TASK [security : Enable automatic start for update service] ********************
  1708. skipping: [localhost]
  1709.  
  1710. TASK [security : Update all system packages] ***********************************
  1711. skipping: [localhost]
  1712.  
  1713. TASK [security : Configure security auto-updates] ******************************
  1714. skipping: [localhost] => (item={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
  1715. skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': 'apply_updates = yes'})
  1716.  
  1717. TASK [security : Take security updates during ansible runs] ********************
  1718. skipping: [localhost] => (item=yum check-update --security)
  1719. skipping: [localhost] => (item=yum update --security -y)
  1720.  
  1721. TASK [supervisor : Create application and supervisor service user] *************
  1722. changed: [localhost] => (item=supervisor)
  1723. ok: [localhost] => (item=www-data)
  1724.  
  1725. TASK [supervisor : Create supervisor and service user accessible directories] ***
  1726. changed: [localhost] => (item=/edx/app/supervisor)
  1727. changed: [localhost] => (item=/edx/app/supervisor/venvs/supervisor)
  1728. changed: [localhost] => (item=/edx/app/supervisor/conf.d)
  1729. changed: [localhost] => (item=/edx/app/supervisor/conf.available.d)
  1730.  
  1731. TASK [supervisor : Create supervisor directories] ******************************
  1732. changed: [localhost] => (item=/edx/var/supervisor)
  1733. changed: [localhost] => (item=/edx/var/log/supervisor)
  1734.  
  1735. TASK [supervisor : Install supervisor in its venv] *****************************
  1736. changed: [localhost]
  1737.  
  1738. TASK [supervisor : Install supervisor in its venv] *****************************
  1739. changed: [localhost]
  1740.  
  1741. TASK [supervisor : Create supervisor upstart job] ******************************
  1742. skipping: [localhost]
  1743.  
  1744. TASK [supervisor : Create supervisor systemd job] ******************************
  1745. changed: [localhost]
  1746.  
  1747. TASK [supervisor : Write the pre_suprevisor python script] *********************
  1748. skipping: [localhost]
  1749.  
  1750. TASK [supervisor : Create supervisor master config] ****************************
  1751. changed: [localhost]
  1752.  
  1753. TASK [supervisor : Remove a symlink for supervisortctl] ************************
  1754. [WARNING]: The src option requires state to be 'link' or 'hard'. This will
  1755. become an error in Ansible 2.10
  1756. ok: [localhost]
  1757.  
  1758. TASK [supervisor : Remove symlink for supervisor cfg] **************************
  1759. ok: [localhost] => (item=/edx/app/supervisor/supervisord.conf)
  1760. ok: [localhost] => (item=/edx/app/supervisor/conf.d)
  1761.  
  1762. TASK [supervisor : Create helper script for running supervisor] ****************
  1763. changed: [localhost]
  1764.  
  1765. TASK [supervisor : Are we in a Docker container] *******************************
  1766. changed: [localhost]
  1767.  
  1768. TASK [supervisor : Enable supervisor to start on boot] *************************
  1769. changed: [localhost]
  1770.  
  1771. TASK [supervisor : Start supervisor] *******************************************
  1772. changed: [localhost]
  1773.  
  1774. TASK [supervisor : Wait for web port to be available] **************************
  1775. ok: [localhost]
  1776.  
  1777. TASK [supervisor : Update supervisor configuration] ****************************
  1778. ok: [localhost]
  1779.  
  1780. TASK [edxapp_common : Install system packages] *********************************
  1781. changed: [localhost]
  1782.  
  1783. TASK [nltk : Install unzip] ****************************************************
  1784. ok: [localhost]
  1785.  
  1786. TASK [nltk : create the nltk data directory and subdirectories] ****************
  1787. changed: [localhost] => (item={'path': 'taggers/maxent_treebank_pos_tagger', 'url': 'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip'})
  1788. changed: [localhost] => (item={'path': 'corpora/stopwords', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip'})
  1789. ok: [localhost] => (item={'path': 'corpora/wordnet', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip'})
  1790.  
  1791. TASK [nltk : download nltk data] ***********************************************
  1792. changed: [localhost] => (item={'path': 'taggers/maxent_treebank_pos_tagger', 'url': 'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip'})
  1793. changed: [localhost] => (item={'path': 'corpora/stopwords', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip'})
  1794. changed: [localhost] => (item={'path': 'corpora/wordnet', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip'})
  1795.  
  1796. TASK [nltk : unarchive nltk data] **********************************************
  1797. [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
  1798. `result|changed` use `result is changed`. This feature will be removed in
  1799. version 2.9. Deprecation warnings can be disabled by setting
  1800. deprecation_warnings=False in ansible.cfg.
  1801. changed: [localhost] => (item={'path': 'taggers/maxent_treebank_pos_tagger', 'url': 'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip'})
  1802. changed: [localhost] => (item={'path': 'corpora/stopwords', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip'})
  1803. changed: [localhost] => (item={'path': 'corpora/wordnet', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip'})
  1804. [WARNING]: Consider using the unarchive module rather than running 'unzip'. If
  1805. you need to use command because unarchive is insufficient you can add 'warn:
  1806. false' to this command task or set 'command_warnings=False' in ansible.cfg to
  1807. get rid of this message.
  1808.  
  1809. TASK [add_user : create user groups] *******************************************
  1810. skipping: [localhost] => (item=edx-themes)
  1811.  
  1812. TASK [add_user : create application user] **************************************
  1813. skipping: [localhost]
  1814.  
  1815. TASK [add_user : ensure correct ownership of home directory] *******************
  1816. skipping: [localhost]
  1817.  
  1818. TASK [add_user : create dirs for the user] *************************************
  1819.  
  1820. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  1821. skipping: [localhost]
  1822.  
  1823. TASK [git_clone : Validate git protocol] ***************************************
  1824. skipping: [localhost] => (item=None)
  1825.  
  1826. TASK [git_clone : Install read-only ssh key] ***********************************
  1827. skipping: [localhost] => (item=None)
  1828.  
  1829. TASK [git_clone : Check that working tree is clean] ****************************
  1830. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  1831.  
  1832. TASK [git_clone : Require a clean working tree] ********************************
  1833. skipping: [localhost] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/edx/var/edx-themes/edx-themes', 'ansible_loop_var': 'item'})
  1834.  
  1835. TASK [git_clone : Checkout code over ssh] **************************************
  1836. skipping: [localhost] => (item=None)
  1837.  
  1838. TASK [git_clone : Checkout code over https] ************************************
  1839. skipping: [localhost] => (item=None)
  1840.  
  1841. TASK [git_clone : Remove read-only ssh key] ************************************
  1842. skipping: [localhost] => (item=None)
  1843.  
  1844. TASK [git_clone : Run git clean after checking out code] ***********************
  1845. skipping: [localhost] => (item=None)
  1846.  
  1847. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  1848. skipping: [localhost]
  1849.  
  1850. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  1851. skipping: [localhost] => (item=edxapp)
  1852.  
  1853. TASK [edx_themes : update .bashrc to set umask value] **************************
  1854. skipping: [localhost]
  1855.  
  1856. TASK [edxapp : create application user] ****************************************
  1857. changed: [localhost]
  1858.  
  1859. TASK [edxapp : create edxapp user dirs] ****************************************
  1860. changed: [localhost] => (item={'path': '/edx/app/edxapp'})
  1861. changed: [localhost] => (item={'path': '/edx/app/edxapp/.ssh'})
  1862. changed: [localhost] => (item={'path': '/edx/app/edxapp/venvs'})
  1863. changed: [localhost] => (item={'path': '/edx/var/edxapp/themes'})
  1864. changed: [localhost] => (item={'path': '/edx/var/edxapp/staticfiles'})
  1865. changed: [localhost] => (item={'path': '/edx/var/edxapp/course_static'})
  1866. changed: [localhost] => (item={'path': '/edx/var/edxapp', 'mode': '0775'})
  1867. changed: [localhost] => (item={'path': '/edx/var/edxapp/course_repos', 'mode': '0775'})
  1868. changed: [localhost] => (item={'path': '/edx/var/edxapp/export_course_repos', 'mode': '0775'})
  1869.  
  1870. TASK [edxapp : write devstack script] ******************************************
  1871. skipping: [localhost]
  1872.  
  1873. TASK [edxapp : add paver autocomplete to bashrc] *******************************
  1874. skipping: [localhost]
  1875.  
  1876. TASK [edxapp : create edxapp log dir] ******************************************
  1877. changed: [localhost]
  1878.  
  1879. TASK [edxapp : Ensure the tracking folder exists] ******************************
  1880. changed: [localhost]
  1881.  
  1882. TASK [edxapp : Ensure the tracking.log file exists] ****************************
  1883. changed: [localhost]
  1884.  
  1885. TASK [edxapp : create web-writable edxapp data dirs] ***************************
  1886. changed: [localhost] => (item=/edx/var/edxapp/data)
  1887. changed: [localhost] => (item=/edx/var/edxapp/uploads)
  1888. changed: [localhost] => (item=/edx/var/edxapp/media)
  1889.  
  1890. TASK [edxapp : install system packages on which LMS and CMS rely] **************
  1891. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  1892. squash_actions is deprecated. Instead of using a loop to supply multiple items
  1893. and specifying `name: "{{ item }}"`, please use `name: "{{ query('flattened',
  1894. ['{{ edxapp_debian_pkgs_default }}', '{{ edxapp_debian_pkgs_extra }}']) }}"`
  1895. and remove the loop. This feature will be removed in version 2.11. Deprecation
  1896. warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  1897. changed: [localhost] => (item=['s3cmd', 'pkg-config', 'g++', 'apparmor-utils', 'curl', 'ntp', 'libfreetype6-dev', 'libffi-dev', 'python3-dev', 'libsqlite3-dev', 'ipython3'])
  1898.  
  1899. TASK [edxapp : Install the gpg key for nodejs LTS] *****************************
  1900. changed: [localhost]
  1901.  
  1902. TASK [edxapp : Install the nodejs LTS repos] ***********************************
  1903. changed: [localhost]
  1904.  
  1905. TASK [edxapp : Install node] ***************************************************
  1906. changed: [localhost]
  1907.  
  1908. TASK [edxapp : set up edxapp .npmrc] *******************************************
  1909. changed: [localhost]
  1910.  
  1911. TASK [edxapp : add deadsnakes repo] ********************************************
  1912. ok: [localhost]
  1913.  
  1914. TASK [edxapp : install python3.8] **********************************************
  1915. ok: [localhost]
  1916.  
  1917. TASK [edxapp : create log directories for service variants] ********************
  1918. changed: [localhost] => (item=lms)
  1919. changed: [localhost] => (item=cms)
  1920.  
  1921. TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
  1922. ok: [localhost]
  1923.  
  1924. TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
  1925. skipping: [localhost]
  1926.  
  1927. TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
  1928. skipping: [localhost]
  1929.  
  1930. TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
  1931. skipping: [localhost]
  1932.  
  1933. TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
  1934. changed: [localhost]
  1935.  
  1936. TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
  1937. ok: [localhost]
  1938.  
  1939. TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
  1940. skipping: [localhost]
  1941.  
  1942. TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
  1943. skipping: [localhost]
  1944.  
  1945. TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
  1946. skipping: [localhost]
  1947.  
  1948. TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
  1949. changed: [localhost]
  1950.  
  1951. TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
  1952. changed: [localhost]
  1953.  
  1954. TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
  1955. ok: [localhost]
  1956.  
  1957. TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
  1958. changed: [localhost]
  1959.  
  1960. TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
  1961. changed: [localhost]
  1962.  
  1963. TASK [edxapp : code sandbox | start apparmor service] **************************
  1964. ok: [localhost]
  1965.  
  1966. TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
  1967. changed: [localhost]
  1968.  
  1969. TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
  1970. changed: [localhost]
  1971.  
  1972. TASK [edxapp : copy the template to the desired location] **********************
  1973. changed: [localhost] => (item={'src': 'edxapp_env.j2', 'dest': '/edx/app/edxapp/edxapp_env', 'owner': 'edxapp', 'group': 'www-data', 'mode': '0644'})
  1974. changed: [localhost] => (item={'src': 'newrelic.ini.j2', 'dest': '/edx/app/edxapp/newrelic.ini', 'owner': 'edxapp', 'group': 'www-data', 'mode': '0644'})
  1975. changed: [localhost] => (item={'src': 'git_ssh.sh.j2', 'dest': '/tmp/edxapp_git_ssh.sh', 'owner': 'edxapp', 'group': 'edxapp', 'mode': '0750'})
  1976. changed: [localhost] => (item={'src': 'boto.j2', 'dest': '/edx/app/edxapp/.boto', 'owner': 'edxapp', 'group': 'www-data', 'mode': '0644'})
  1977.  
  1978. TASK [edxapp : install read-only ssh key] **************************************
  1979. skipping: [localhost]
  1980.  
  1981. TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
  1982. changed: [localhost]
  1983.  
  1984. TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
  1985. changed: [localhost]
  1986.  
  1987. TASK [edxapp : git clean after checking out edx-platform] **********************
  1988. changed: [localhost]
  1989.  
  1990. TASK [edxapp : checkout Stanford-style theme] **********************************
  1991. skipping: [localhost]
  1992.  
  1993. TASK [Install a theme through simpletheme] *************************************
  1994.  
  1995. TASK [simple_theme : assert] ***************************************************
  1996. skipping: [localhost]
  1997.  
  1998. TASK [simple_theme : assert] ***************************************************
  1999. skipping: [localhost]
  2000.  
  2001. TASK [simple_theme : Check whether theme directory already exists] *************
  2002. skipping: [localhost]
  2003.  
  2004. TASK [simple_theme : Download skeleton theme] **********************************
  2005. skipping: [localhost]
  2006.  
  2007. TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
  2008. skipping: [localhost]
  2009.  
  2010. TASK [simple_theme : Create default skeleton (dirs)] ***************************
  2011. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2012. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2013. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2014. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2015. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/discussion', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2016. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/lms-main-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 65, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2017. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/lms-course.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 63, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2018. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2019. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2020. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme/_variables.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 87, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2021. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme/_variables-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 90, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2022. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 91, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2023.  
  2024. TASK [simple_theme : Create default skeleton (files)] **************************
  2025. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2026. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2027. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2028. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2029. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/discussion', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2030. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/lms-main-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 65, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2031. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/lms-course.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 63, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2032. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2033. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2034. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme/_variables.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 87, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2035. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme/_variables-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 90, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2036. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 91, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2037.  
  2038. TASK [simple_theme : Create directory to hold the theme and styles] ************
  2039. skipping: [localhost] => (item=.)
  2040. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
  2041.  
  2042. TASK [simple_theme : Compile the templates] ************************************
  2043. skipping: [localhost] => (item=lms/static/sass/common-variables.scss)
  2044. skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
  2045.  
  2046. TASK [simple_theme : Create directories for static files to be copied] *********
  2047. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2048. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2049. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2050. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2051. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/js', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2052. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2053. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/js/myscript.js', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 42, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2054. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images/favicon.ico', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 34894, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2055. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images/logo.png', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 928, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2056. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms/images', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2057. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms/images/logo.png', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 1494, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2058. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2059. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2060. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2061. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2062. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/discussion', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2063. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/lms-main-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 65, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2064. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/lms-course.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 63, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2065. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2066. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2067. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 87, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2068. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 90, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2069. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 91, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2070.  
  2071. TASK [simple_theme : Copy static files (adding "static/")] *********************
  2072. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2073. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2074. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2075. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2076. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/js', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2077. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2078. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/js/myscript.js', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 42, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2079. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images/favicon.ico', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 34894, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2080. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images/logo.png', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 928, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2081. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms/images', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2082. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms/images/logo.png', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 1494, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2083. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2084. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2085. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2086. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2087. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/discussion', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2088. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/lms-main-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 65, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2089. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/lms-course.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 63, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2090. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2091. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2092. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 87, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2093. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 90, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2094. skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 91, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
  2095.  
  2096. TASK [simple_theme : Create directories for static files to be downloaded] *****
  2097.  
  2098. TASK [simple_theme : Download static files to be included in theme] ************
  2099.  
  2100. TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
  2101. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  2102. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  2103. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/py35.txt)
  2104.  
  2105. TASK [edxapp : Updating requirement files for git mirror] **********************
  2106. skipping: [localhost] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'ansible_loop_var': 'item'})
  2107. changed: [localhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'mode': '0664', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1003, 'gid': 1004, 'size': 22364, 'inode': 1203362, 'dev': 64768, 'nlink': 1, 'atime': 1621491951.9867284, 'mtime': 1621491951.9867284, 'ctime': 1621491951.9867284, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': True, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 48, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'edxapp', 'gr_name': 'edxapp', 'checksum': '0da825170158979c2f49d82b67f1fade17267682', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '2860380612', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'ansible_loop_var': 'item'})
  2108. changed: [localhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/py35.txt', 'mode': '0664', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1003, 'gid': 1004, 'size': 2477, 'inode': 1203357, 'dev': 64768, 'nlink': 1, 'atime': 1621491951.9867284, 'mtime': 1621491951.9867284, 'ctime': 1621491951.9867284, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': True, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'edxapp', 'gr_name': 'edxapp', 'checksum': 'ad3c5914df5b17e526d1138fca061688a8fe8957', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '344382812', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/py35.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/py35.txt', 'ansible_loop_var': 'item'})
  2109. [WARNING]: Consider using the replace, lineinfile or template module rather
  2110. than running 'sed'. If you need to use command because replace, lineinfile or
  2111. template is insufficient you can add 'warn: false' to this command task or set
  2112. 'command_warnings=False' in ansible.cfg to get rid of this message.
  2113.  
  2114. TASK [edxapp : Create the virtualenv to install the Python requirements] *******
  2115. changed: [localhost]
  2116.  
  2117. TASK [edxapp : Pin pip to a specific version.] *********************************
  2118. changed: [localhost]
  2119.  
  2120. TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
  2121. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  2122. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  2123.  
  2124. TASK [edxapp : install python requirements] ************************************
  2125. skipping: [localhost] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'ansible_loop_var': 'item'})
  2126. changed: [localhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'mode': '0664', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1003, 'gid': 1004, 'size': 22364, 'inode': 1200143, 'dev': 64768, 'nlink': 1, 'atime': 1621491956.2187061, 'mtime': 1621491956.2187061, 'ctime': 1621491956.2187061, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': True, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 48, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'edxapp', 'gr_name': 'edxapp', 'checksum': '0da825170158979c2f49d82b67f1fade17267682', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '4236190500', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'ansible_loop_var': 'item'})
  2127.  
  2128. TASK [edxapp : install python private requirements] ****************************
  2129. skipping: [localhost] => (item={'name': 'xblock-problem-builder==4.0.0'})
  2130. skipping: [localhost] => (item={'name': 'git+https://github.com/oppia/xblock.git@3b5c17c5832b4f8ef132c6bbf48da8a86df43b3d#egg=oppia-xblock', 'extra_args': '-e'})
  2131. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/schoolyourself-xblock.git@c3f7fecefa8e164a0f02ef6264d00e65e9c5a6de#egg=schoolyourself-xblock', 'extra_args': '-e'})
  2132. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/ConceptXBlock.git@a8e3cff03c3b46dad093db069b12c6fba1aed327#egg=concept-xblock', 'extra_args': '-e'})
  2133. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/AudioXBlock.git@f668a4e231c5cdc338eef6bd148e57a02b48200b#egg=audio-xblock', 'extra_args': '-e'})
  2134. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/AnimationXBlock.git@c950ffdda2f69effda93bf03df8646f61d3ffada#egg=animation-xblock', 'extra_args': '-e'})
  2135. skipping: [localhost] => (item={'name': 'git+https://github.com/ubc/[email protected]#egg=ubcpi-xblock', 'extra_args': '-e'})
  2136. skipping: [localhost] => (item={'name': 'git+https://github.com/open-craft/xblock-vectordraw.git@76976425356dfc7f13570f354c0c438db84c2840#egg=xblock-vectordraw==0.3.0', 'extra_args': '-e'})
  2137. skipping: [localhost] => (item={'name': 'git+https://github.com/open-craft/xblock-activetable.git@013003aa3ce28f0ae03b8227dc3a6daa4e19997d#egg=xblock-activetable', 'extra_args': '-e'})
  2138. skipping: [localhost] => (item={'name': 'edx-zoom==1.8'})
  2139. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-qualtrics-survey.git@d3d2773bcf453d14a0626f813911dc308ddce572#egg=xblock_qualtrics_survey', 'extra_args': '-e'})
  2140. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-in-video-quiz.git@c1cc11f87285cd885d76604145433dae87434a6d#egg=invideoquiz-xblock', 'extra_args': '-e'})
  2141. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-submit-and-compare@28751ed01c4d4ae5f10f9ddee710e76f8b8ae640#egg=xblock-submit-and-compare', 'extra_args': '-e'})
  2142. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-free-text-response@19ed5bb4b9aece19e9b1c62995a09f73f893f536#egg=xblock-free-text-response', 'extra_args': '-e'})
  2143. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-sql-grader@56b13ea9719d5c6e910ec2edf98b35dda0ba9c57#egg=xblock-sql-grader', 'extra_args': '-e'})
  2144. skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-image-modal@20262ae713bf307f7b13afe73c8a32c5c56b4fd6#egg=xblock-image-modal', 'extra_args': '-e'})
  2145. skipping: [localhost] => (item={'name': 'git+https://github.com/open-craft/labxchange-xblocks.git@5352e93cb26c789aecbf92fabf210179483616a2#egg=labxchange-xblocks', 'extra_args': '-e'})
  2146. skipping: [localhost] => (item={'name': 'git+https://github.com/open-craft/lx-pathway-plugin.git@337abf249b7c5ecc1e78a44d2e639e1ab65f2085#egg=lx-pathway-plugin', 'extra_args': '-e'})
  2147.  
  2148. TASK [edxapp : install python extra requirements] ******************************
  2149.  
  2150. TASK [edxapp : install CAS attribute module] ***********************************
  2151. skipping: [localhost]
  2152.  
  2153. TASK [edxapp : install sandbox requirements into regular venv] *****************
  2154. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/py35.txt)
  2155.  
  2156. TASK [edxapp : Set the npm registry] *******************************************
  2157. ok: [localhost]
  2158.  
  2159. TASK [edxapp : Set the npm registry permissions] *******************************
  2160. changed: [localhost]
  2161.  
  2162. TASK [edxapp : install node dependencies] **************************************
  2163. changed: [localhost]
  2164.  
  2165. TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
  2166. changed: [localhost]
  2167.  
  2168. TASK [edxapp : Create the virtualenv to install the Python sandbox requirements] ***
  2169. changed: [localhost]
  2170.  
  2171. TASK [edxapp : Pin pip to a specific version.] *********************************
  2172. changed: [localhost]
  2173.  
  2174. TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  2175. changed: [localhost]
  2176.  
  2177. TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
  2178. changed: [localhost]
  2179.  
  2180. TASK [edxapp : code sandbox | test enforcement 1] ******************************
  2181. changed: [localhost]
  2182.  
  2183. TASK [edxapp : code sandbox | test enforcement 2] ******************************
  2184. changed: [localhost]
  2185.  
  2186. TASK [edxapp : code sandbox | test enforcement 3] ******************************
  2187. changed: [localhost]
  2188.  
  2189. TASK [edxapp : compiling all py files in the edx-platform repo] ****************
  2190. changed: [localhost]
  2191.  
  2192. TASK [edxapp : give other read permissions to the virtualenv] ******************
  2193. ok: [localhost]
  2194.  
  2195. TASK [edxapp : create service wrapper scripts - {{item}}] **********************
  2196. changed: [localhost] => (item=lms.sh)
  2197. changed: [localhost] => (item=cms.sh)
  2198. changed: [localhost] => (item=worker.sh)
  2199. changed: [localhost] => (item=reload_lms_config.sh)
  2200. changed: [localhost] => (item=reload_cms_config.sh)
  2201.  
  2202. TASK [edxapp : create application and auth config] *****************************
  2203. skipping: [localhost] => (item=['lms', 'env'])
  2204. skipping: [localhost] => (item=['lms', 'auth'])
  2205. skipping: [localhost] => (item=['cms', 'env'])
  2206. skipping: [localhost] => (item=['cms', 'auth'])
  2207.  
  2208. TASK [edxapp : combined lms auth env for yml] **********************************
  2209. ok: [localhost]
  2210.  
  2211. TASK [edxapp : render lms yml config] ******************************************
  2212. changed: [localhost] => (item=None)
  2213. ok: [localhost] => (item=None)
  2214. changed: [localhost]
  2215.  
  2216. TASK [edxapp : combined cms auth env for yml] **********************************
  2217. ok: [localhost]
  2218.  
  2219. TASK [edxapp : render studio yml config] ***************************************
  2220. changed: [localhost] => (item=None)
  2221. ok: [localhost] => (item=None)
  2222. changed: [localhost]
  2223.  
  2224. TASK [edxapp : Decrypt lms config] *********************************************
  2225. skipping: [localhost] => (item=None)
  2226. skipping: [localhost] => (item=None)
  2227.  
  2228. TASK [edxapp : Decrypt cms config] *********************************************
  2229. skipping: [localhost] => (item=None)
  2230. skipping: [localhost] => (item=None)
  2231.  
  2232. TASK [edxapp : Replace deploy host to sandbox dns name] ************************
  2233. skipping: [localhost] => (item=None)
  2234. skipping: [localhost] => (item=None)
  2235.  
  2236. TASK [edxapp : Copy lms config file] *******************************************
  2237. skipping: [localhost] => (item=None)
  2238. skipping: [localhost] => (item=None)
  2239.  
  2240. TASK [edxapp : Copy cms config file] *******************************************
  2241. skipping: [localhost] => (item=None)
  2242. skipping: [localhost] => (item=None)
  2243.  
  2244. TASK [edxapp : Write the revisions config file] ********************************
  2245. changed: [localhost]
  2246.  
  2247. TASK [edxapp : writing {{ item }} supervisor script] ***************************
  2248. changed: [localhost] => (item=lms)
  2249. changed: [localhost] => (item=cms)
  2250.  
  2251. TASK [edxapp : writing celery supervisor scripts] ******************************
  2252. changed: [localhost] => (item=workers.conf)
  2253.  
  2254. TASK [edxapp : clean out old edxapp.conf] **************************************
  2255. ok: [localhost]
  2256.  
  2257. TASK [edxapp : add gunicorn configuration files] *******************************
  2258. changed: [localhost] => (item=lms)
  2259. changed: [localhost] => (item=cms)
  2260.  
  2261. TASK [edxapp : enable {{ item }} supervisor script] ****************************
  2262. skipping: [localhost] => (item=lms)
  2263. skipping: [localhost] => (item=cms)
  2264.  
  2265. TASK [edxapp : enable celery worker supervisor script] *************************
  2266. changed: [localhost]
  2267.  
  2268. TASK [edxapp : create helper scripts for managing edxapp] **********************
  2269. changed: [localhost] => (item=['edxapp-migrate', 'lms'])
  2270. changed: [localhost] => (item=['edxapp-migrate', 'cms'])
  2271. changed: [localhost] => (item=['edxapp-runserver', 'lms'])
  2272. changed: [localhost] => (item=['edxapp-runserver', 'cms'])
  2273. changed: [localhost] => (item=['edxapp-shell', 'lms'])
  2274. changed: [localhost] => (item=['edxapp-shell', 'cms'])
  2275.  
  2276. TASK [edxapp : create script to compile and update assets] *********************
  2277. changed: [localhost]
  2278.  
  2279. TASK [edxapp : migrate] ********************************************************
  2280. failed: [localhost] (item=lms) => {"ansible_loop_var": "item", "changed": true, "cmd": ["/edx/bin/edxapp-migrate-lms"], "delta": "0:01:01.155515", "end": "2021-05-20 07:18:39.224244", "item": "lms", "msg": "non-zero return code", "rc": 1, "start": "2021-05-20 07:17:38.068729", "stderr": "2021-05-20 07:18:15,704 WARNING 44479 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly\n prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(\n\nTraceback (most recent call last):\n File \"manage.py\", line 120, in <module>\n startup.run()\n File \"/edx/app/edxapp/edx-platform/lms/startup.py\", line 20, in run\n django.setup()\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/__init__.py\", line 24, in setup\n apps.populate(settings.INSTALLED_APPS)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/registry.py\", line 91, in populate\n app_config = AppConfig.create(entry)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/config.py\", line 90, in create\n module = import_module(entry)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py\", line 127, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 975, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 671, in _load_unlocked\n File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 11, in <module>\n class CoursegraphConfig(AppConfig):\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 17, in CoursegraphConfig\n from openedx.core.djangoapps.coursegraph import tasks\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/tasks.py\", line 250, in <module>\n @set_code_owner_attribute\nNameError: name 'set_code_owner_attribute' is not defined", "stderr_lines": ["2021-05-20 07:18:15,704 WARNING 44479 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly", " prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(", "", "Traceback (most recent call last):", " File \"manage.py\", line 120, in <module>", " startup.run()", " File \"/edx/app/edxapp/edx-platform/lms/startup.py\", line 20, in run", " django.setup()", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/__init__.py\", line 24, in setup", " apps.populate(settings.INSTALLED_APPS)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/registry.py\", line 91, in populate", " app_config = AppConfig.create(entry)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/config.py\", line 90, in create", " module = import_module(entry)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py\", line 127, in import_module", " return _bootstrap._gcd_import(name[level:], package, level)", " File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import", " File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load", " File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed", " File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import", " File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load", " File \"<frozen importlib._bootstrap>\", line 975, in _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line 671, in _load_unlocked", " File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module", " File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 11, in <module>", " class CoursegraphConfig(AppConfig):", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 17, in CoursegraphConfig", " from openedx.core.djangoapps.coursegraph import tasks", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/tasks.py\", line 250, in <module>", " @set_code_owner_attribute", "NameError: name 'set_code_owner_attribute' is not defined"], "stdout": "", "stdout_lines": []}
  2281. failed: [localhost] (item=cms) => {"ansible_loop_var": "item", "changed": true, "cmd": ["/edx/bin/edxapp-migrate-cms"], "delta": "0:00:02.860943", "end": "2021-05-20 07:18:42.378986", "item": "cms", "msg": "non-zero return code", "rc": 1, "start": "2021-05-20 07:18:39.518043", "stderr": "2021-05-20 07:18:41,069 WARNING 44527 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly\n prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(\n\nTraceback (most recent call last):\n File \"manage.py\", line 120, in <module>\n startup.run()\n File \"/edx/app/edxapp/edx-platform/cms/startup.py\", line 20, in run\n django.setup()\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/__init__.py\", line 24, in setup\n apps.populate(settings.INSTALLED_APPS)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/registry.py\", line 91, in populate\n app_config = AppConfig.create(entry)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/config.py\", line 90, in create\n module = import_module(entry)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py\", line 127, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 975, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 671, in _load_unlocked\n File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 11, in <module>\n class CoursegraphConfig(AppConfig):\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 17, in CoursegraphConfig\n from openedx.core.djangoapps.coursegraph import tasks\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/tasks.py\", line 250, in <module>\n @set_code_owner_attribute\nNameError: name 'set_code_owner_attribute' is not defined", "stderr_lines": ["2021-05-20 07:18:41,069 WARNING 44527 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly", " prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(", "", "Traceback (most recent call last):", " File \"manage.py\", line 120, in <module>", " startup.run()", " File \"/edx/app/edxapp/edx-platform/cms/startup.py\", line 20, in run", " django.setup()", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/__init__.py\", line 24, in setup", " apps.populate(settings.INSTALLED_APPS)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/registry.py\", line 91, in populate", " app_config = AppConfig.create(entry)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/config.py\", line 90, in create", " module = import_module(entry)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py\", line 127, in import_module", " return _bootstrap._gcd_import(name[level:], package, level)", " File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import", " File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load", " File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed", " File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import", " File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load", " File \"<frozen importlib._bootstrap>\", line 975, in _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line 671, in _load_unlocked", " File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module", " File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 11, in <module>", " class CoursegraphConfig(AppConfig):", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 17, in CoursegraphConfig", " from openedx.core.djangoapps.coursegraph import tasks", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/tasks.py\", line 250, in <module>", " @set_code_owner_attribute", "NameError: name 'set_code_owner_attribute' is not defined"], "stdout": "", "stdout_lines": []}
  2282.  
  2283. NO MORE HOSTS LEFT *************************************************************
  2284.  
  2285. PLAY RECAP *********************************************************************
  2286. localhost : ok=188 changed=127 unreachable=0 failed=1 skipped=309 rescued=0 ignored=3
  2287.  
  2288.  
  2289. ============================================================
  2290. Ansible failed!
  2291. ------------------------------------------------------------
  2292.  
  2293. Decoded error:
  2294. == module_stderr ===========================
  2295. /root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  2296. import imp
  2297. Traceback (most recent call last):
  2298. File "/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status", line 114, in <module>
  2299. _ansiballz_main()
  2300. File "/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status", line 106, in _ansiballz_main
  2301. invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  2302. File "/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status", line 49, in invoke_module
  2303. imp.load_module('__main__', mod, module, MOD_DESC)
  2304. File "/usr/lib/python3.8/imp.py", line 234, in load_module
  2305. return load_source(name, filename, file)
  2306. File "/usr/lib/python3.8/imp.py", line 169, in load_source
  2307. module = _exec(spec, sys.modules[name])
  2308. File "<frozen importlib._bootstrap>", line 604, in _exec
  2309. File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  2310. File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  2311. File "/tmp/ansible_mongodb_rs_status_payload_kfawj4_q/__main__.py", line 133, in <module>
  2312. File "/tmp/ansible_mongodb_rs_status_payload_kfawj4_q/__main__.py", line 115, in main
  2313. File "/usr/local/lib/python3.8/dist-packages/pymongo/database.py", line 529, in command
  2314. with client._socket_for_reads(read_preference) as (sock_info, slave_ok):
  2315. File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
  2316. return next(self.gen)
  2317. File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 982, in _socket_for_reads
  2318. server = topology.select_server(read_preference)
  2319. File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 222, in select_server
  2320. return random.choice(self.select_servers(selector,
  2321. File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 182, in select_servers
  2322. server_descriptions = self._select_servers_loop(
  2323. File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 198, in _select_servers_loop
  2324. raise ServerSelectionTimeoutError(
  2325. pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused
  2326.  
  2327. == msg ===========================
  2328. MODULE FAILURE
  2329. See stdout/stderr for the exact error
  2330.  
  2331. ============================================================
  2332. Installation failed!
  2333. ------------------------------------------------------------
  2334. If you need help, see https://open.edx.org/getting-help .
  2335. When asking for help, please provide as much information as you can.
  2336. These might be helpful:
  2337. Your log file is at /home/taha/edx/logs/install-20210520-052827.log
  2338. Your environment:
  2339. OPENEDX_RELEASE=open-release/koa.master
  2340. ============================================================
  2341. Installation finished at 2021-05-20 07:18:43
  2342.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement