Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2020
807
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 338.74 KB | None | 0 0
  1. Capturing output to logs/install-20200123-101913.log
  2. Installation started at 2020-01-23 10:19:13
  3. Installing release 'master'
  4. Reading package lists...
  5. Building dependency tree...
  6. Reading state information...
  7. The following additional packages will be installed:
  8. python-pycurl
  9. Suggested packages:
  10. libcurl4-gnutls-dev python-pycurl-dbg python-pycurl-doc
  11. The following NEW packages will be installed:
  12. python-pycurl python-software-properties
  13. 0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
  14. Need to get 63.8 kB of archives.
  15. After this operation, 299 kB of additional disk space will be used.
  16. Get:1 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-pycurl amd64 7.43.0-1ubuntu1 [43.3 kB]
  17. Get:2 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-software-properties all 0.96.20.9 [20.5 kB]
  18. Fetched 63.8 kB in 0s (857 kB/s)
  19. Selecting previously unselected package python-pycurl.
  20. (Reading database ...
  21. (Reading database ... 5%
  22. (Reading database ... 10%
  23. (Reading database ... 15%
  24. (Reading database ... 20%
  25. (Reading database ... 25%
  26. (Reading database ... 30%
  27. (Reading database ... 35%
  28. (Reading database ... 40%
  29. (Reading database ... 45%
  30. (Reading database ... 50%
  31. (Reading database ... 55%
  32. (Reading database ... 60%
  33. (Reading database ... 65%
  34. (Reading database ... 70%
  35. (Reading database ... 75%
  36. (Reading database ... 80%
  37. (Reading database ... 85%
  38. (Reading database ... 90%
  39. (Reading database ... 95%
  40. (Reading database ... 100%
  41. (Reading database ... 60921 files and directories currently installed.)
  42. Preparing to unpack .../python-pycurl_7.43.0-1ubuntu1_amd64.deb ...
  43. Unpacking python-pycurl (7.43.0-1ubuntu1) ...
  44. Selecting previously unselected package python-software-properties.
  45. Preparing to unpack .../python-software-properties_0.96.20.9_all.deb ...
  46. Unpacking python-software-properties (0.96.20.9) ...
  47. Setting up python-pycurl (7.43.0-1ubuntu1) ...
  48. Setting up python-software-properties (0.96.20.9) ...
  49. gpg: keyring `/tmp/tmp4t8vumcd/secring.gpg' created
  50. gpg: keyring `/tmp/tmp4t8vumcd/pubring.gpg' created
  51. gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
  52. gpg: /tmp/tmp4t8vumcd/trustdb.gpg: trustdb created
  53. gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
  54. gpg: Total number processed: 1
  55. gpg: imported: 1 (RSA: 1)
  56. OK
  57. Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
  58. Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
  59. Hit:3 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
  60. Hit:4 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
  61. Get:5 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease [17.5 kB]
  62. Hit:6 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
  63. Hit:7 http://ppa.edx.org xenial InRelease
  64. Get:8 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages [87.6 kB]
  65. Get:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main Translation-en [14.6 kB]
  66. Fetched 120 kB in 0s (249 kB/s)
  67. Reading package lists...
  68. Reading package lists...
  69. Building dependency tree...
  70. Reading state information...
  71. Calculating upgrade...
  72. The following packages have been kept back:
  73. cpp-5 g++-5 gcc-5 gcc-5-base gcc-6-base git git-man libasan2 libatomic1
  74. libcc1-0 libcilkrts5 libgcc-5-dev libgcc1 libgomp1 libitm1 liblsan0 libmpx0
  75. libquadmath0 libstdc++-5-dev libstdc++6 libtsan0 libubsan0 linux-aws
  76. linux-headers-aws linux-image-aws
  77. 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
  78. Reading package lists...
  79. Building dependency tree...
  80. Reading state information...
  81. build-essential is already the newest version (12.1ubuntu2).
  82. g++ is already the newest version (4:5.3.1-1ubuntu1).
  83. g++ set to manually installed.
  84. gcc is already the newest version (4:5.3.1-1ubuntu1).
  85. gcc set to manually installed.
  86. curl is already the newest version (7.47.0-1ubuntu2.14).
  87. libmysqlclient-dev is already the newest version (5.7.28-0ubuntu0.16.04.2).
  88. libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.6).
  89. libxslt1-dev is already the newest version (1.1.28-2.1ubuntu0.3).
  90. python-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.8).
  91. python-dev is already the newest version (2.7.12-1~16.04).
  92. software-properties-common is already the newest version (0.96.20.9).
  93. python-pip is already the newest version (8.1.1-2ubuntu0.4).
  94. git-core is already the newest version (1:2.14.2-1~ppa0~ubuntu16.04.1).
  95. The following additional packages will be installed:
  96. libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dev libgnutlsxx28
  97. libgpg-error-dev libidn11-dev libnspr4 libnspr4-dev libnss3 libnss3-dev
  98. libnss3-nssdb libp11-kit-dev libpng12-dev libtasn1-6-dev libtasn1-doc
  99. libxmlsec1-gcrypt libxmlsec1-gnutls libxmlsec1-nss nettle-dev pkg-config
  100. swig3.0
  101. Suggested packages:
  102. libgcrypt20-doc gmp-doc libgmp10-doc libmpfr-dev gnutls-doc gnutls-bin
  103. guile-gnutls swig-doc swig-examples swig3.0-examples swig3.0-doc
  104. The following NEW packages will be installed:
  105. libfreetype6-dev libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dev
  106. libgnutlsxx28 libgpg-error-dev libidn11-dev libnspr4 libnspr4-dev libnss3
  107. libnss3-dev libnss3-nssdb libp11-kit-dev libpng12-dev libtasn1-6-dev
  108. libtasn1-doc libxmlsec1-dev libxmlsec1-gcrypt libxmlsec1-gnutls
  109. libxmlsec1-nss nettle-dev pkg-config swig swig3.0
  110. 0 upgraded, 25 newly installed, 0 to remove and 25 not upgraded.
  111. Need to get 7,915 kB of archives.
  112. After this operation, 34.9 MB of additional disk space will be used.
  113. Get:1 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpng12-dev amd64 1.2.54-1ubuntu1.1 [183 kB]
  114. Get:2 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfreetype6-dev amd64 2.6.1-0.1ubuntu2.4 [956 kB]
  115. Get:3 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgpg-error-dev amd64 1.21-2ubuntu1 [68.2 kB]
  116. Get:4 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgcrypt20-dev amd64 1.6.5-2ubuntu0.6 [380 kB]
  117. Get:5 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgmpxx4ldbl amd64 2:6.1.0+dfsg-2 [8,948 B]
  118. Get:6 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgmp-dev amd64 2:6.1.0+dfsg-2 [314 kB]
  119. Get:7 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgnutlsxx28 amd64 3.4.10-4ubuntu1.6 [13.7 kB]
  120. Get:8 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nettle-dev amd64 3.2-1ubuntu0.16.04.1 [939 kB]
  121. Get:9 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtasn1-6-dev amd64 4.7-3ubuntu0.16.04.3 [85.9 kB]
  122. Get:10 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libp11-kit-dev amd64 0.23.2-5~ubuntu16.04.1 [56.5 kB]
  123. Get:11 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 pkg-config amd64 0.29.1-0ubuntu1 [45.0 kB]
  124. Get:12 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libidn11-dev amd64 1.32-3ubuntu1.2 [518 kB]
  125. Get:13 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgnutls-dev amd64 3.4.10-4ubuntu1.6 [551 kB]
  126. Get:14 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnspr4 amd64 2:4.13.1-0ubuntu0.16.04.1 [112 kB]
  127. Get:15 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnspr4-dev amd64 2:4.13.1-0ubuntu0.16.04.1 [213 kB]
  128. Get:16 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3-nssdb all 2:3.28.4-0ubuntu0.16.04.10 [10.6 kB]
  129. Get:17 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3 amd64 2:3.28.4-0ubuntu0.16.04.10 [1,148 kB]
  130. Get:18 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3-dev amd64 2:3.28.4-0ubuntu0.16.04.10 [230 kB]
  131. Get:19 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-gcrypt amd64 1.2.20-2ubuntu4 [41.4 kB]
  132. Get:20 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-gnutls amd64 1.2.20-2ubuntu4 [32.1 kB]
  133. Get:21 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-nss amd64 1.2.20-2ubuntu4 [59.3 kB]
  134. Get:22 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-dev amd64 1.2.20-2ubuntu4 [650 kB]
  135. Get:23 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 swig3.0 amd64 3.0.8-0ubuntu3 [995 kB]
  136. Get:24 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 swig amd64 3.0.8-0ubuntu3 [6,278 B]
  137. Get:25 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtasn1-doc all 4.7-3ubuntu0.16.04.3 [299 kB]
  138. Fetched 7,915 kB in 0s (13.2 MB/s)
  139. Selecting previously unselected package libpng12-dev:amd64.
  140. (Reading database ...
  141. (Reading database ... 5%
  142. (Reading database ... 10%
  143. (Reading database ... 15%
  144. (Reading database ... 20%
  145. (Reading database ... 25%
  146. (Reading database ... 30%
  147. (Reading database ... 35%
  148. (Reading database ... 40%
  149. (Reading database ... 45%
  150. (Reading database ... 50%
  151. (Reading database ... 55%
  152. (Reading database ... 60%
  153. (Reading database ... 65%
  154. (Reading database ... 70%
  155. (Reading database ... 75%
  156. (Reading database ... 80%
  157. (Reading database ... 85%
  158. (Reading database ... 90%
  159. (Reading database ... 95%
  160. (Reading database ... 100%
  161. (Reading database ... 60945 files and directories currently installed.)
  162. Preparing to unpack .../libpng12-dev_1.2.54-1ubuntu1.1_amd64.deb ...
  163. Unpacking libpng12-dev:amd64 (1.2.54-1ubuntu1.1) ...
  164. Selecting previously unselected package libfreetype6-dev:amd64.
  165. Preparing to unpack .../libfreetype6-dev_2.6.1-0.1ubuntu2.4_amd64.deb ...
  166. Unpacking libfreetype6-dev:amd64 (2.6.1-0.1ubuntu2.4) ...
  167. Selecting previously unselected package libgpg-error-dev.
  168. Preparing to unpack .../libgpg-error-dev_1.21-2ubuntu1_amd64.deb ...
  169. Unpacking libgpg-error-dev (1.21-2ubuntu1) ...
  170. Selecting previously unselected package libgcrypt20-dev.
  171. Preparing to unpack .../libgcrypt20-dev_1.6.5-2ubuntu0.6_amd64.deb ...
  172. Unpacking libgcrypt20-dev (1.6.5-2ubuntu0.6) ...
  173. Selecting previously unselected package libgmpxx4ldbl:amd64.
  174. Preparing to unpack .../libgmpxx4ldbl_2%3a6.1.0+dfsg-2_amd64.deb ...
  175. Unpacking libgmpxx4ldbl:amd64 (2:6.1.0+dfsg-2) ...
  176. Selecting previously unselected package libgmp-dev:amd64.
  177. Preparing to unpack .../libgmp-dev_2%3a6.1.0+dfsg-2_amd64.deb ...
  178. Unpacking libgmp-dev:amd64 (2:6.1.0+dfsg-2) ...
  179. Selecting previously unselected package libgnutlsxx28:amd64.
  180. Preparing to unpack .../libgnutlsxx28_3.4.10-4ubuntu1.6_amd64.deb ...
  181. Unpacking libgnutlsxx28:amd64 (3.4.10-4ubuntu1.6) ...
  182. Selecting previously unselected package nettle-dev.
  183. Preparing to unpack .../nettle-dev_3.2-1ubuntu0.16.04.1_amd64.deb ...
  184. Unpacking nettle-dev (3.2-1ubuntu0.16.04.1) ...
  185. Selecting previously unselected package libtasn1-6-dev:amd64.
  186. Preparing to unpack .../libtasn1-6-dev_4.7-3ubuntu0.16.04.3_amd64.deb ...
  187. Unpacking libtasn1-6-dev:amd64 (4.7-3ubuntu0.16.04.3) ...
  188. Selecting previously unselected package libp11-kit-dev:amd64.
  189. Preparing to unpack .../libp11-kit-dev_0.23.2-5~ubuntu16.04.1_amd64.deb ...
  190. Unpacking libp11-kit-dev:amd64 (0.23.2-5~ubuntu16.04.1) ...
  191. Selecting previously unselected package pkg-config.
  192. Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
  193. Unpacking pkg-config (0.29.1-0ubuntu1) ...
  194. Selecting previously unselected package libidn11-dev.
  195. Preparing to unpack .../libidn11-dev_1.32-3ubuntu1.2_amd64.deb ...
  196. Unpacking libidn11-dev (1.32-3ubuntu1.2) ...
  197. Selecting previously unselected package libgnutls-dev:amd64.
  198. Preparing to unpack .../libgnutls-dev_3.4.10-4ubuntu1.6_amd64.deb ...
  199. Unpacking libgnutls-dev:amd64 (3.4.10-4ubuntu1.6) ...
  200. Selecting previously unselected package libnspr4:amd64.
  201. Preparing to unpack .../libnspr4_2%3a4.13.1-0ubuntu0.16.04.1_amd64.deb ...
  202. Unpacking libnspr4:amd64 (2:4.13.1-0ubuntu0.16.04.1) ...
  203. Selecting previously unselected package libnspr4-dev.
  204. Preparing to unpack .../libnspr4-dev_2%3a4.13.1-0ubuntu0.16.04.1_amd64.deb ...
  205. Unpacking libnspr4-dev (2:4.13.1-0ubuntu0.16.04.1) ...
  206. Selecting previously unselected package libnss3-nssdb.
  207. Preparing to unpack .../libnss3-nssdb_2%3a3.28.4-0ubuntu0.16.04.10_all.deb ...
  208. Unpacking libnss3-nssdb (2:3.28.4-0ubuntu0.16.04.10) ...
  209. Selecting previously unselected package libnss3:amd64.
  210. Preparing to unpack .../libnss3_2%3a3.28.4-0ubuntu0.16.04.10_amd64.deb ...
  211. Unpacking libnss3:amd64 (2:3.28.4-0ubuntu0.16.04.10) ...
  212. Selecting previously unselected package libnss3-dev:amd64.
  213. Preparing to unpack .../libnss3-dev_2%3a3.28.4-0ubuntu0.16.04.10_amd64.deb ...
  214. Unpacking libnss3-dev:amd64 (2:3.28.4-0ubuntu0.16.04.10) ...
  215. Selecting previously unselected package libxmlsec1-gcrypt.
  216. Preparing to unpack .../libxmlsec1-gcrypt_1.2.20-2ubuntu4_amd64.deb ...
  217. Unpacking libxmlsec1-gcrypt (1.2.20-2ubuntu4) ...
  218. Selecting previously unselected package libxmlsec1-gnutls.
  219. Preparing to unpack .../libxmlsec1-gnutls_1.2.20-2ubuntu4_amd64.deb ...
  220. Unpacking libxmlsec1-gnutls (1.2.20-2ubuntu4) ...
  221. Selecting previously unselected package libxmlsec1-nss.
  222. Preparing to unpack .../libxmlsec1-nss_1.2.20-2ubuntu4_amd64.deb ...
  223. Unpacking libxmlsec1-nss (1.2.20-2ubuntu4) ...
  224. Selecting previously unselected package libxmlsec1-dev.
  225. Preparing to unpack .../libxmlsec1-dev_1.2.20-2ubuntu4_amd64.deb ...
  226. Unpacking libxmlsec1-dev (1.2.20-2ubuntu4) ...
  227. Selecting previously unselected package swig3.0.
  228. Preparing to unpack .../swig3.0_3.0.8-0ubuntu3_amd64.deb ...
  229. Unpacking swig3.0 (3.0.8-0ubuntu3) ...
  230. Selecting previously unselected package swig.
  231. Preparing to unpack .../swig_3.0.8-0ubuntu3_amd64.deb ...
  232. Unpacking swig (3.0.8-0ubuntu3) ...
  233. Selecting previously unselected package libtasn1-doc.
  234. Preparing to unpack .../libtasn1-doc_4.7-3ubuntu0.16.04.3_all.deb ...
  235. Unpacking libtasn1-doc (4.7-3ubuntu0.16.04.3) ...
  236. Processing triggers for man-db (2.7.5-1) ...
  237. Processing triggers for install-info (6.1.0.dfsg.1-5) ...
  238. Processing triggers for libc-bin (2.23-0ubuntu11) ...
  239. Setting up libpng12-dev:amd64 (1.2.54-1ubuntu1.1) ...
  240. Setting up libfreetype6-dev:amd64 (2.6.1-0.1ubuntu2.4) ...
  241. Setting up libgpg-error-dev (1.21-2ubuntu1) ...
  242. Setting up libgcrypt20-dev (1.6.5-2ubuntu0.6) ...
  243. Setting up libgmpxx4ldbl:amd64 (2:6.1.0+dfsg-2) ...
  244. Setting up libgmp-dev:amd64 (2:6.1.0+dfsg-2) ...
  245. Setting up libgnutlsxx28:amd64 (3.4.10-4ubuntu1.6) ...
  246. Setting up nettle-dev (3.2-1ubuntu0.16.04.1) ...
  247. Setting up libtasn1-6-dev:amd64 (4.7-3ubuntu0.16.04.3) ...
  248. Setting up libp11-kit-dev:amd64 (0.23.2-5~ubuntu16.04.1) ...
  249. Setting up pkg-config (0.29.1-0ubuntu1) ...
  250. Setting up libidn11-dev (1.32-3ubuntu1.2) ...
  251. Setting up libgnutls-dev:amd64 (3.4.10-4ubuntu1.6) ...
  252. Setting up libnspr4:amd64 (2:4.13.1-0ubuntu0.16.04.1) ...
  253. Setting up libnspr4-dev (2:4.13.1-0ubuntu0.16.04.1) ...
  254. Setting up libxmlsec1-gcrypt (1.2.20-2ubuntu4) ...
  255. Setting up libxmlsec1-gnutls (1.2.20-2ubuntu4) ...
  256. Setting up swig3.0 (3.0.8-0ubuntu3) ...
  257. Setting up swig (3.0.8-0ubuntu3) ...
  258. Setting up libtasn1-doc (4.7-3ubuntu0.16.04.3) ...
  259. Setting up libnss3-nssdb (2:3.28.4-0ubuntu0.16.04.10) ...
  260. Setting up libnss3:amd64 (2:3.28.4-0ubuntu0.16.04.10) ...
  261. Setting up libnss3-dev:amd64 (2:3.28.4-0ubuntu0.16.04.10) ...
  262. Setting up libxmlsec1-nss (1.2.20-2ubuntu4) ...
  263. Setting up libxmlsec1-dev (1.2.20-2ubuntu4) ...
  264. Processing triggers for libc-bin (2.23-0ubuntu11) ...
  265. Reading package lists...
  266. Building dependency tree...
  267. Reading state information...
  268. The following packages will be REMOVED:
  269. python-yaml
  270. 0 upgraded, 0 newly installed, 1 to remove and 25 not upgraded.
  271. After this operation, 453 kB disk space will be freed.
  272. (Reading database ...
  273. (Reading database ... 5%
  274. (Reading database ... 10%
  275. (Reading database ... 15%
  276. (Reading database ... 20%
  277. (Reading database ... 25%
  278. (Reading database ... 30%
  279. (Reading database ... 35%
  280. (Reading database ... 40%
  281. (Reading database ... 45%
  282. (Reading database ... 50%
  283. (Reading database ... 55%
  284. (Reading database ... 60%
  285. (Reading database ... 65%
  286. (Reading database ... 70%
  287. (Reading database ... 75%
  288. (Reading database ... 80%
  289. (Reading database ... 85%
  290. (Reading database ... 90%
  291. (Reading database ... 95%
  292. (Reading database ... 100%
  293. (Reading database ... 62889 files and directories currently installed.)
  294. Removing python-yaml (3.11-3build1) ...
  295. DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  296. Requirement already up-to-date: pip==19.3.1 in /usr/local/lib/python2.7/dist-packages (19.3.1)
  297. WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
  298. You should consider upgrading via the 'pip install --upgrade pip' command.
  299. DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  300. Requirement already up-to-date: setuptools==39.0.1 in /usr/local/lib/python2.7/dist-packages (39.0.1)
  301. WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
  302. You should consider upgrading via the 'pip install --upgrade pip' command.
  303. DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  304. Requirement already up-to-date: virtualenv==15.2.0 in /usr/local/lib/python2.7/dist-packages (15.2.0)
  305. WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
  306. You should consider upgrading via the 'pip install --upgrade pip' command.
  307. Cloning into 'configuration'...
  308. Already on 'master'
  309. Your branch is up-to-date with 'origin/master'.
  310. Already up-to-date.
  311. DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  312. Processing /root/.cache/pip/wheels/f8/c0/47/9a2339b2189f35308c60a1d1cdde08fb7ceb79cc7fbfdb2d59/ansible-2.7.12-cp27-none-any.whl
  313. Collecting awscli==1.15.19
  314. Using cached https://files.pythonhosted.org/packages/e7/c5/1b74f1c91a4cdd9a70300a6c8c8d0eb654fd3c2187f372ec994830e47b87/awscli-1.15.19-py2.py3-none-any.whl
  315. Collecting bcrypt==3.1.7
  316. Using cached https://files.pythonhosted.org/packages/ad/36/9a0227d048e98409f012570f7bef8a8c2373b9c9c5dfbf82963cbae05ede/bcrypt-3.1.7-cp27-cp27mu-manylinux1_x86_64.whl
  317. Collecting boto3==1.7.14
  318. Using cached https://files.pythonhosted.org/packages/f8/ed/8160213941beab9bf5c352d29111e2e0cd0e580a52e902bf3bef8559fa86/boto3-1.7.14-py2.py3-none-any.whl
  319. Collecting boto==2.48.0
  320. Using cached https://files.pythonhosted.org/packages/bd/b7/a88a67002b1185ed9a8e8a6ef15266728c2361fcb4f1d02ea331e4c7741d/boto-2.48.0-py2.py3-none-any.whl
  321. Collecting botocore==1.10.19
  322. Using cached https://files.pythonhosted.org/packages/34/05/1ffe77f2b8fb03a9223f3d0743cd38cded9491b074c65f3bb664ed4b7ac6/botocore-1.10.19-py2.py3-none-any.whl
  323. Collecting certifi==2019.11.28
  324. Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl
  325. Collecting cffi==1.13.2
  326. Using cached https://files.pythonhosted.org/packages/93/5d/c4f950891251e478929036ca07b22f0b10324460c1d0a4434c584481db51/cffi-1.13.2-cp27-cp27mu-manylinux1_x86_64.whl
  327. Collecting chardet==3.0.4
  328. Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
  329. Collecting colorama==0.3.7
  330. Using cached https://files.pythonhosted.org/packages/b7/8e/ddb32ddaabd431813e180ca224e844bab8ad42fbb47ee07553f0ec44cd86/colorama-0.3.7-py2.py3-none-any.whl
  331. Collecting cryptography==2.8
  332. Using cached https://files.pythonhosted.org/packages/c8/52/ad7f2cbe3b6e9340526dc401b38bb67c06160449446e15b0bf5f947fa168/cryptography-2.8-cp27-cp27mu-manylinux2010_x86_64.whl
  333. Processing /root/.cache/pip/wheels/88/9d/ed/6693983ca01635176593731b8a3bcfa6bdb9d4ac58c2a20377/datadog-0.8.0-cp27-none-any.whl
  334. Collecting decorator==4.4.1
  335. Using cached https://files.pythonhosted.org/packages/8f/b7/f329cfdc75f3d28d12c65980e4469e2fa373f1953f5df6e370e84ea2e875/decorator-4.4.1-py2.py3-none-any.whl
  336. Processing /root/.cache/pip/wheels/9b/04/dd/7daf4150b6d9b12949298737de9431a324d4b797ffd63f526e/docopt-0.6.2-py2.py3-none-any.whl
  337. Collecting docutils==0.15.2
  338. Using cached https://files.pythonhosted.org/packages/3a/dc/bf2b15d1fa15a6f7a9e77a61b74ecbbae7258558fcda8ffc9a6638a6b327/docutils-0.15.2-py2-none-any.whl
  339. Collecting ecdsa==0.13.3
  340. Using cached https://files.pythonhosted.org/packages/a6/81/2b170b460c84fdc8700cf08aa077ac6a9ff41f4ad3f05d0b3a64ba9f8f2e/ecdsa-0.13.3-py2.py3-none-any.whl
  341. Collecting enum34==1.1.6
  342. Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
  343. Collecting futures==3.3.0
  344. Using cached https://files.pythonhosted.org/packages/d8/a6/f46ae3f1da0cd4361c344888f59ec2f5785e69c872e175a748ef6071cdb5/futures-3.3.0-py2-none-any.whl
  345. Collecting idna==2.7
  346. Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
  347. Collecting ipaddress==1.0.23
  348. Using cached https://files.pythonhosted.org/packages/c2/f8/49697181b1651d8347d24c095ce46c7346c37335ddc7d255833e7cde674d/ipaddress-1.0.23-py2.py3-none-any.whl
  349. Requirement already satisfied: jinja2==2.8 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 27)) (2.8)
  350. Collecting jmespath==0.9.4
  351. Using cached https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
  352. Processing /root/.cache/pip/wheels/33/56/20/ebe49a5c612fffe1c5a632146b16596f9e64676768661e4e46/MarkupSafe-1.0-cp27-cp27mu-linux_x86_64.whl
  353. Processing /root/.cache/pip/wheels/6e/a9/f4/adafe23cce789e62d9730c5eec3fa258a22ff9b20e24a69b73/mysqlclient-1.3.0-cp27-cp27mu-linux_x86_64.whl
  354. Collecting networkx==1.11
  355. Using cached https://files.pythonhosted.org/packages/d3/2c/e473e54afc9fae58dfa97066ef6709a7e35a1dd1c28c5a3842989322be00/networkx-1.11-py2.py3-none-any.whl
  356. Collecting paramiko==2.4.2
  357. Using cached https://files.pythonhosted.org/packages/cf/ae/94e70d49044ccc234bfdba20114fa947d7ba6eb68a2e452d89b920e62227/paramiko-2.4.2-py2.py3-none-any.whl
  358. Collecting pathlib2==2.3.0
  359. Using cached https://files.pythonhosted.org/packages/74/4e/68add57f8b993bb5da70c22c7eebb4266c7b66cab15095a1578cc6a62b1a/pathlib2-2.3.0-py2.py3-none-any.whl
  360. Processing /root/.cache/pip/wheels/80/34/1c/3967380d9676d162cb59513bd9dc862d0584e045a162095606/prettytable-0.7.2-cp27-none-any.whl
  361. Collecting pyasn1==0.4.8
  362. Using cached https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl
  363. Processing /root/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511/pycparser-2.19-py2.py3-none-any.whl
  364. Processing /root/.cache/pip/wheels/27/02/5e/77a69d0c16bb63c6ed32f5386f33a2809c94bd5414a2f6c196/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl
  365. Collecting pymongo==3.9.0
  366. Using cached https://files.pythonhosted.org/packages/00/5c/5379d5b8167a5938918d9ee147f865f6f8a64b93947d402cfdca5c1416d2/pymongo-3.9.0-cp27-cp27mu-manylinux1_x86_64.whl
  367. Collecting pynacl==1.3.0
  368. Using cached https://files.pythonhosted.org/packages/b3/25/e605574f24948a8a53b497744e93f061eb1dbe7c44b6465fc1c172d591aa/PyNaCl-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl
  369. Collecting python-dateutil==2.8.1
  370. Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
  371. Processing /root/.cache/pip/wheels/03/05/65/bdc14f2c6e09e82ae3e0f13d021e1b6b2481437ea2f207df3f/PyYAML-3.12-cp27-cp27mu-linux_x86_64.whl
  372. Collecting requests==2.20.0
  373. Using cached https://files.pythonhosted.org/packages/f1/ca/10332a30cb25b627192b4ea272c351bce3ca1091e541245cccbace6051d8/requests-2.20.0-py2.py3-none-any.whl
  374. Collecting rsa==3.4.2
  375. Using cached https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl
  376. Collecting s3transfer==0.1.13
  377. Using cached https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl
  378. Processing /root/.cache/pip/wheels/91/95/75/19c98a91239878abbc7c59970abd3b4e0438a7dd5b61778335/scandir-1.10.0-cp27-cp27mu-linux_x86_64.whl
  379. Processing /root/.cache/pip/wheels/86/c0/83/dcd0339abb2640544bb8e0938aab2d069cef55e5647ce6e097/simplejson-3.17.0-cp27-cp27mu-linux_x86_64.whl
  380. Collecting six==1.13.0
  381. Using cached https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl
  382. Collecting urllib3==1.24.3
  383. Using cached https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl
  384. Requirement already satisfied: wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 49)) (0.1.2)
  385. Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==2.7.12->-r requirements.txt (line 7)) (39.0.1)
  386. Installing collected packages: pyasn1, six, pycparser, cffi, bcrypt, enum34, ipaddress, cryptography, pynacl, paramiko, pyyaml, ansible, docutils, colorama, jmespath, python-dateutil, botocore, futures, s3transfer, rsa, awscli, boto3, boto, certifi, chardet, urllib3, idna, requests, simplejson, decorator, datadog, docopt, ecdsa, markupsafe, mysqlclient, networkx, scandir, pathlib2, prettytable, pycrypto, pymongo
  387. Found existing installation: MarkupSafe 0.23
  388. Uninstalling MarkupSafe-0.23:
  389. Successfully uninstalled MarkupSafe-0.23
  390. Found existing installation: mysqlclient 1.3.7
  391. Uninstalling mysqlclient-1.3.7:
  392. Successfully uninstalled mysqlclient-1.3.7
  393. Successfully installed ansible-2.7.12 awscli-1.15.19 bcrypt-3.1.7 boto-2.48.0 boto3-1.7.14 botocore-1.10.19 certifi-2019.11.28 cffi-1.13.2 chardet-3.0.4 colorama-0.3.7 cryptography-2.8 datadog-0.8.0 decorator-4.4.1 docopt-0.6.2 docutils-0.15.2 ecdsa-0.13.3 enum34-1.1.6 futures-3.3.0 idna-2.7 ipaddress-1.0.23 jmespath-0.9.4 markupsafe-1.0 mysqlclient-1.3.0 networkx-1.11 paramiko-2.4.2 pathlib2-2.3.0 prettytable-0.7.2 pyasn1-0.4.8 pycparser-2.19 pycrypto-2.6.1 pymongo-3.9.0 pynacl-1.3.0 python-dateutil-2.8.1 pyyaml-3.12 requests-2.20.0 rsa-3.4.2 s3transfer-0.1.13 scandir-1.10.0 simplejson-3.17.0 six-1.13.0 urllib3-1.24.3
  394. WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
  395. You should consider upgrading via the 'pip install --upgrade pip' command.
  396. [WARNING]: While constructing a mapping from
  397. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 77, column
  398. 3, found a duplicate dict key (RACK_ENV). Using last defined value only.
  399. [WARNING]: While constructing a mapping from
  400. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 77, column
  401. 3, found a duplicate dict key (SINATRA_ENV). Using last defined value only.
  402. [WARNING]: While constructing a mapping from
  403. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 77, column
  404. 3, found a duplicate dict key (SEARCH_SERVER). Using last defined value only.
  405. [WARNING]: While constructing a mapping from
  406. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 77, column
  407. 3, found a duplicate dict key (MONGOHQ_URL). Using last defined value only.
  408.  
  409. PLAY [Bootstrap instance(s)] ***************************************************
  410.  
  411. TASK [python : Wait until cloud-init has finished running] *********************
  412. changed: [localhost]
  413.  
  414. TASK [python : Update apt-get] *************************************************
  415. changed: [localhost]
  416.  
  417. TASK [python : Install packages] ***********************************************
  418. changed: [localhost] => (item=python-minimal)
  419.  
  420. PLAY [Configure instance(s)] ***************************************************
  421.  
  422. TASK [Gathering Facts] *********************************************************
  423. ok: [localhost]
  424.  
  425. TASK [swapfile : Write swapfile] ***********************************************
  426. changed: [localhost]
  427.  
  428. TASK [swapfile : Set swapfile permissions] *************************************
  429. changed: [localhost]
  430.  
  431. TASK [swapfile : Create swapfile] **********************************************
  432. changed: [localhost]
  433.  
  434. TASK [swapfile : Enable swapfile] **********************************************
  435. changed: [localhost]
  436.  
  437. TASK [swapfile : Add swapfile to /etc/fstab] ***********************************
  438. changed: [localhost]
  439.  
  440. TASK [swapfile : Configure vm.swappiness] **************************************
  441. skipping: [localhost]
  442.  
  443. TASK [swapfile : Configure vm.vfs_cache_pressure] ******************************
  444. skipping: [localhost]
  445.  
  446. TASK [server_utils : Check for expired edx key] ********************************
  447. skipping: [localhost]
  448.  
  449. TASK [server_utils : remove expired edx key] ***********************************
  450. skipping: [localhost]
  451.  
  452. TASK [server_utils : Install ubuntu system packages] ***************************
  453. skipping: [localhost]
  454.  
  455. TASK [user : debug] ************************************************************
  456. skipping: [localhost]
  457.  
  458. TASK [user : Create the edxadmin group] ****************************************
  459. skipping: [localhost]
  460.  
  461. TASK [user : Ensure sudoers.d is read] *****************************************
  462. skipping: [localhost]
  463.  
  464. TASK [user : Grant full sudo access to the edxadmin group] *********************
  465. skipping: [localhost]
  466.  
  467. TASK [user : Create the users] *************************************************
  468.  
  469. TASK [user : Assign admin role to admin users] *********************************
  470.  
  471. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  472.  
  473. TASK [user : Print warning if github user(s) missing ssh key] ******************
  474.  
  475. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  476.  
  477. TASK [user : Get github key(s) and update the authorized_keys file] ************
  478.  
  479. TASK [user : Create bashrc file for normal users] ******************************
  480.  
  481. TASK [user : Create .profile for all users] ************************************
  482.  
  483. TASK [user : Modify shell for restricted users] ********************************
  484.  
  485. TASK [user : Create bashrc file for restricted users] **************************
  486.  
  487. TASK [user : Create sudoers file from template] ********************************
  488. skipping: [localhost]
  489.  
  490. TASK [user : Change home directory ownership to root for restricted users] *****
  491.  
  492. TASK [user : Create ~/bin directory] *******************************************
  493.  
  494. TASK [user : Create allowed command links] *************************************
  495.  
  496. TASK [user : Allow users to ssh] ***********************************************
  497. skipping: [localhost]
  498.  
  499. TASK [user : restart ssh] ******************************************************
  500. skipping: [localhost]
  501.  
  502. TASK [security : Install security packages] ************************************
  503. skipping: [localhost]
  504.  
  505. TASK [security : Update all system packages] ***********************************
  506. skipping: [localhost]
  507.  
  508. TASK [security : Configure periodic unattended-upgrades] ***********************
  509. skipping: [localhost]
  510.  
  511. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  512. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  513. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  514. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  515.  
  516. TASK [security : Disable unattended-upgrades] **********************************
  517. skipping: [localhost]
  518.  
  519. TASK [security : Only unattended-upgrade from security repo] *******************
  520. skipping: [localhost]
  521.  
  522. TASK [security : Add debian blacklist] *****************************************
  523. skipping: [localhost]
  524.  
  525. TASK [security : Disable security only updates on unattended-upgrades] *********
  526. skipping: [localhost]
  527.  
  528. TASK [security : Take security updates during ansible runs] ********************
  529. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  530. skipping: [localhost] => (item=unattended-upgrade)
  531.  
  532. TASK [security : Install security packages] ************************************
  533. skipping: [localhost]
  534.  
  535. TASK [security : Enable automatic start for update service] ********************
  536. skipping: [localhost]
  537.  
  538. TASK [security : Update all system packages] ***********************************
  539. skipping: [localhost]
  540.  
  541. TASK [security : Configure security auto-updates] ******************************
  542. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  543. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  544.  
  545. TASK [security : Take security updates during ansible runs] ********************
  546. skipping: [localhost] => (item=yum check-update --security)
  547. skipping: [localhost] => (item=yum update --security -y)
  548.  
  549. TASK [common : Check Configuration Sources] ************************************
  550.  
  551. TASK [common : stat] ***********************************************************
  552. skipping: [localhost]
  553.  
  554. TASK [common : Update CA Certificates] *****************************************
  555. skipping: [localhost]
  556.  
  557. TASK [common : stat] ***********************************************************
  558. skipping: [localhost]
  559.  
  560. TASK [common : Update CA Trust] ************************************************
  561. skipping: [localhost]
  562.  
  563. TASK [common : Add common_users] ***********************************************
  564. skipping: [localhost] => (item=www-data)
  565. skipping: [localhost] => (item=syslog)
  566.  
  567. TASK [common : check if instance is vagrant] ***********************************
  568. skipping: [localhost]
  569.  
  570. TASK [common : Add git apt repository] *****************************************
  571. skipping: [localhost]
  572.  
  573. TASK [common : Add edX PPA apt key] ********************************************
  574. skipping: [localhost]
  575.  
  576. TASK [common : Update expired apt keys] ****************************************
  577. skipping: [localhost]
  578.  
  579. TASK [common : Add custom edX PPA] *********************************************
  580. skipping: [localhost]
  581.  
  582. TASK [common : Install role-independent useful system packages] ****************
  583. skipping: [localhost]
  584.  
  585. TASK [common : Install role-independent useful system packages from custom PPA] ***
  586. skipping: [localhost]
  587.  
  588. TASK [common : Install role-independent useful system packages] ****************
  589. skipping: [localhost]
  590.  
  591. TASK [common : Create common directories] **************************************
  592. skipping: [localhost] => (item={u'path': u'/edx/var'})
  593. skipping: [localhost] => (item={u'path': u'/edx/app'})
  594. skipping: [localhost] => (item={u'path': u'/edx/bin'})
  595. skipping: [localhost] => (item={u'path': u'/edx/etc'})
  596. skipping: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
  597. skipping: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
  598. skipping: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
  599.  
  600. TASK [common : upload sudo config for key forwarding as root] ******************
  601. skipping: [localhost]
  602.  
  603. TASK [common : pip install virtualenv] *****************************************
  604. skipping: [localhost]
  605.  
  606. TASK [common : update /etc/hosts] **********************************************
  607. skipping: [localhost]
  608.  
  609. TASK [common : update /etc/hostname] *******************************************
  610. skipping: [localhost]
  611.  
  612. TASK [common : run hostname] ***************************************************
  613. skipping: [localhost]
  614.  
  615. TASK [common : Copy the templates to their respestive destination] *************
  616. skipping: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
  617. skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
  618. skipping: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
  619. skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
  620.  
  621. TASK [common : restart rsyslogd] ***********************************************
  622. skipping: [localhost]
  623.  
  624. TASK [common : Add ntp alert script] *******************************************
  625. skipping: [localhost]
  626.  
  627. TASK [common : Remove MOTD update checker] *************************************
  628. skipping: [localhost]
  629.  
  630. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  631. skipping: [localhost]
  632.  
  633. TASK [common : install logrotate configuration] ********************************
  634. skipping: [localhost]
  635.  
  636. TASK [vhost : Create all service directories] **********************************
  637. skipping: [localhost] => (item={'value': {u'owner': u'root', u'path': u'/edx/app/aws', u'group': u'root', u'mode': u'0755'}, 'key': u'home'})
  638. skipping: [localhost] => (item={'value': {u'owner': u'root', u'path': u'/edx/var/aws', u'group': u'root', u'mode': u'0700'}, 'key': u'data'})
  639. skipping: [localhost] => (item={'value': {u'owner': u'syslog', u'path': u'/edx/var/log/aws', u'group': u'syslog', u'mode': u'0650'}, 'key': u'logs'})
  640.  
  641. TASK [vhost : Add script for syncing logs on exit] *****************************
  642. skipping: [localhost]
  643.  
  644. TASK [vhost : Force logrotate on supervisor stop] ******************************
  645. skipping: [localhost]
  646.  
  647. TASK [vhost : Add systemd service for syncing logs on exit] ********************
  648. skipping: [localhost]
  649.  
  650. TASK [vhost : Enable systemd service for syncing logs on exit] *****************
  651. skipping: [localhost]
  652.  
  653. TASK [vhost : Update /etc/dhcp/dhclient.conf] **********************************
  654. skipping: [localhost]
  655.  
  656. TASK [vhost : Rerun dhclient to apply template] ********************************
  657. skipping: [localhost]
  658.  
  659. TASK [vhost : Copy the MOTD template in place] *********************************
  660. skipping: [localhost]
  661.  
  662. TASK [vhost : Add motd.tail support for 16.04] *********************************
  663. skipping: [localhost]
  664.  
  665. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  666. skipping: [localhost]
  667.  
  668. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  669. skipping: [localhost]
  670.  
  671. TASK [vhost : Restart ssh (ubuntu/debian)] *************************************
  672. skipping: [localhost]
  673.  
  674. TASK [vhost : Restart ssh (redhat)] ********************************************
  675. skipping: [localhost]
  676.  
  677. TASK [aws : Gather ec2 facts for use in other roles] ***************************
  678. skipping: [localhost]
  679.  
  680. TASK [aws : Set the MTU to 1500 temporarily] ***********************************
  681. skipping: [localhost]
  682.  
  683. TASK [aws : Set the MTU to 1500 permanently] ***********************************
  684. skipping: [localhost]
  685.  
  686. TASK [aws : Install system packages] *******************************************
  687. skipping: [localhost]
  688.  
  689. TASK [aws : Copy the Python requirements file] *********************************
  690. skipping: [localhost]
  691.  
  692. TASK [aws : Install aws python packages] ***************************************
  693. skipping: [localhost]
  694.  
  695. TASK [aws : Copy the boto global config file] **********************************
  696. skipping: [localhost]
  697.  
  698. TASK [aws : Create s3 log sync script] *****************************************
  699. skipping: [localhost]
  700.  
  701. TASK [aws : Create symlink for s3 log sync script] *****************************
  702. skipping: [localhost]
  703.  
  704. TASK [aws : Check if files exist so the next task doesn't fail] ****************
  705. skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
  706. skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
  707. skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
  708. skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
  709.  
  710. TASK [aws : Update the ssh motd on Ubuntu] *************************************
  711. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/10-help-text', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/update-motd.d/10-help-text'})
  712. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/usr/share/landscape/landscape-sysinfo.wrapper', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/usr/share/landscape/landscape-sysinfo.wrapper'})
  713. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/51-cloudguest', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/update-motd.d/51-cloudguest'})
  714. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/91-release-upgrade', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/update-motd.d/91-release-upgrade'})
  715.  
  716. TASK [server_utils : Check for expired edx key] ********************************
  717. changed: [localhost]
  718.  
  719. TASK [server_utils : remove expired edx key] ***********************************
  720. skipping: [localhost]
  721.  
  722. TASK [server_utils : Install ubuntu system packages] ***************************
  723. ok: [localhost]
  724.  
  725. TASK [user : debug] ************************************************************
  726. ok: [localhost] => {
  727. "user_info": []
  728. }
  729.  
  730. TASK [user : Create the edxadmin group] ****************************************
  731. ok: [localhost]
  732.  
  733. TASK [user : Ensure sudoers.d is read] *****************************************
  734. ok: [localhost]
  735.  
  736. TASK [user : Grant full sudo access to the edxadmin group] *********************
  737. ok: [localhost]
  738.  
  739. TASK [user : Create the users] *************************************************
  740.  
  741. TASK [user : Assign admin role to admin users] *********************************
  742.  
  743. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  744.  
  745. TASK [user : Print warning if github user(s) missing ssh key] ******************
  746.  
  747. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  748.  
  749. TASK [user : Get github key(s) and update the authorized_keys file] ************
  750.  
  751. TASK [user : Create bashrc file for normal users] ******************************
  752.  
  753. TASK [user : Create .profile for all users] ************************************
  754.  
  755. TASK [user : Modify shell for restricted users] ********************************
  756.  
  757. TASK [user : Create bashrc file for restricted users] **************************
  758.  
  759. TASK [user : Create sudoers file from template] ********************************
  760. ok: [localhost]
  761.  
  762. TASK [user : Change home directory ownership to root for restricted users] *****
  763.  
  764. TASK [user : Create ~/bin directory] *******************************************
  765.  
  766. TASK [user : Create allowed command links] *************************************
  767.  
  768. TASK [user : Allow users to ssh] ***********************************************
  769. skipping: [localhost]
  770.  
  771. TASK [user : restart ssh] ******************************************************
  772. skipping: [localhost]
  773.  
  774. TASK [security : Install security packages] ************************************
  775. skipping: [localhost]
  776.  
  777. TASK [security : Update all system packages] ***********************************
  778. skipping: [localhost]
  779.  
  780. TASK [security : Configure periodic unattended-upgrades] ***********************
  781. skipping: [localhost]
  782.  
  783. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  784. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  785. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  786. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  787.  
  788. TASK [security : Disable unattended-upgrades] **********************************
  789. skipping: [localhost]
  790.  
  791. TASK [security : Only unattended-upgrade from security repo] *******************
  792. skipping: [localhost]
  793.  
  794. TASK [security : Add debian blacklist] *****************************************
  795. skipping: [localhost]
  796.  
  797. TASK [security : Disable security only updates on unattended-upgrades] *********
  798. skipping: [localhost]
  799.  
  800. TASK [security : Take security updates during ansible runs] ********************
  801. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  802. skipping: [localhost] => (item=unattended-upgrade)
  803.  
  804. TASK [security : Install security packages] ************************************
  805. skipping: [localhost]
  806.  
  807. TASK [security : Enable automatic start for update service] ********************
  808. skipping: [localhost]
  809.  
  810. TASK [security : Update all system packages] ***********************************
  811. skipping: [localhost]
  812.  
  813. TASK [security : Configure security auto-updates] ******************************
  814. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  815. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  816.  
  817. TASK [security : Take security updates during ansible runs] ********************
  818. skipping: [localhost] => (item=yum check-update --security)
  819. skipping: [localhost] => (item=yum update --security -y)
  820.  
  821. TASK [common : Check Configuration Sources] ************************************
  822.  
  823. TASK [common : stat] ***********************************************************
  824. ok: [localhost]
  825.  
  826. TASK [common : Update CA Certificates] *****************************************
  827. changed: [localhost]
  828.  
  829. TASK [common : stat] ***********************************************************
  830. ok: [localhost]
  831.  
  832. TASK [common : Update CA Trust] ************************************************
  833. skipping: [localhost]
  834.  
  835. TASK [common : Add common_users] ***********************************************
  836. ok: [localhost] => (item=www-data)
  837. ok: [localhost] => (item=syslog)
  838.  
  839. TASK [common : check if instance is vagrant] ***********************************
  840. ok: [localhost]
  841.  
  842. TASK [common : Add git apt repository] *****************************************
  843. ok: [localhost]
  844.  
  845. TASK [common : Add edX PPA apt key] ********************************************
  846. ok: [localhost]
  847.  
  848. TASK [common : Update expired apt keys] ****************************************
  849. changed: [localhost]
  850.  
  851. TASK [common : Add custom edX PPA] *********************************************
  852. ok: [localhost]
  853.  
  854. TASK [common : Install role-independent useful system packages] ****************
  855. ok: [localhost]
  856.  
  857. TASK [common : Install role-independent useful system packages from custom PPA] ***
  858. skipping: [localhost]
  859.  
  860. TASK [common : Install role-independent useful system packages] ****************
  861. skipping: [localhost]
  862.  
  863. TASK [common : Create common directories] **************************************
  864. ok: [localhost] => (item={u'path': u'/edx/var'})
  865. ok: [localhost] => (item={u'path': u'/edx/app'})
  866. ok: [localhost] => (item={u'path': u'/edx/bin'})
  867. ok: [localhost] => (item={u'path': u'/edx/etc'})
  868. ok: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
  869. ok: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
  870. ok: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
  871.  
  872. TASK [common : upload sudo config for key forwarding as root] ******************
  873. ok: [localhost]
  874.  
  875. TASK [common : pip install virtualenv] *****************************************
  876. changed: [localhost]
  877.  
  878. TASK [common : update /etc/hosts] **********************************************
  879. skipping: [localhost]
  880.  
  881. TASK [common : update /etc/hostname] *******************************************
  882. skipping: [localhost]
  883.  
  884. TASK [common : run hostname] ***************************************************
  885. skipping: [localhost]
  886.  
  887. TASK [common : Copy the templates to their respestive destination] *************
  888. ok: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
  889. ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
  890. ok: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
  891. ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
  892.  
  893. TASK [common : restart rsyslogd] ***********************************************
  894. skipping: [localhost]
  895.  
  896. TASK [common : Add ntp alert script] *******************************************
  897. ok: [localhost]
  898.  
  899. TASK [common : Remove MOTD update checker] *************************************
  900. ok: [localhost]
  901.  
  902. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  903. ok: [localhost]
  904.  
  905. TASK [common : install logrotate configuration] ********************************
  906. ok: [localhost]
  907.  
  908. TASK [nginx : Create Diffie-Hellman parameters to prevent weak key exchange] ***
  909. changed: [localhost]
  910.  
  911. TASK [nginx : Restrict permissions of DH parameters file] **********************
  912. changed: [localhost]
  913.  
  914. TASK [nginx : Create nginx app and data dirs] **********************************
  915. changed: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx', u'group': u'www-data'})
  916. changed: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/sites-available', u'group': u'www-data'})
  917. changed: [localhost] => (item={u'owner': u'root', u'path': u'/etc/nginx/sites-enabled', u'group': u'www-data'})
  918. changed: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/conf.d', u'group': u'www-data'})
  919. changed: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx', u'group': u'root'})
  920. changed: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/log/nginx', u'group': u'root'})
  921. changed: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx/server-static', u'group': u'root'})
  922.  
  923. TASK [nginx : Install needed packages] *****************************************
  924. changed: [localhost]
  925.  
  926. TASK [nginx : Add apt key] *****************************************************
  927. changed: [localhost]
  928.  
  929. TASK [nginx : Add nginx repository] ********************************************
  930. changed: [localhost]
  931.  
  932. TASK [nginx : Remove old nginx packages] ***************************************
  933. ok: [localhost]
  934.  
  935. TASK [nginx : Install the nginx package] ***************************************
  936. changed: [localhost]
  937.  
  938. TASK [nginx : Remove the default site] *****************************************
  939. ok: [localhost]
  940.  
  941. TASK [nginx : Define server configuration file and common nginx configuration] ***
  942. changed: [localhost] => (item={u'dest': u'/etc/nginx/nginx.conf', u'src': u'etc/nginx/nginx.conf.j2', u'group': u'www-data', u'mode': u'0644'})
  943. changed: [localhost] => (item={u'dest': u'/edx/app/nginx/sites-available/maps', u'src': u'edx/app/nginx/sites-available/maps.j2', u'group': u'root', u'mode': u'0600'})
  944.  
  945. TASK [nginx : Create robot rules] **********************************************
  946. changed: [localhost]
  947.  
  948. TASK [nginx : Creating link for common nginx configuration] ********************
  949. changed: [localhost] => (item=maps)
  950.  
  951. TASK [nginx : Copying nginx configs for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
  952. changed: [localhost] => (item=certs)
  953. changed: [localhost] => (item=cms)
  954. changed: [localhost] => (item=lms)
  955. changed: [localhost] => (item=forum)
  956. changed: [localhost] => (item=xqueue)
  957.  
  958. TASK [nginx : Creating nginx config links for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
  959. changed: [localhost] => (item=certs)
  960. changed: [localhost] => (item=cms)
  961. changed: [localhost] => (item=lms)
  962. changed: [localhost] => (item=forum)
  963. changed: [localhost] => (item=xqueue)
  964.  
  965. TASK [nginx : Copying nginx extra configs] *************************************
  966.  
  967. TASK [nginx : Creating links for nginx extra configs] **************************
  968.  
  969. TASK [nginx : Copying custom nginx config] *************************************
  970.  
  971. TASK [nginx : Copying nginx redirect configs for {}] ***************************
  972.  
  973. TASK [nginx : Creating nginx redirect links for {}] ****************************
  974.  
  975. TASK [nginx : Create NGINX server templates] ***********************************
  976. changed: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Rate limit exceeded', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', u'file': u'rate-limit.html', u'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'heading': u'Uh oh, we are having some server issues..'})
  977. changed: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Server error', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', u'file': u'server-error.html', u'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'heading': u'Uh oh, we are having some server issues..'})
  978.  
  979. TASK [nginx : Copy static files] ***********************************************
  980.  
  981. TASK [nginx : Write out htpasswd file] *****************************************
  982. skipping: [localhost] => (item={u'state': u'present', u'password': u'lrNfNJLV3aHD5QeUm8aMLevwb2HCl0vlDya', u'name': u'UCKwdrqkxgOKBAotfwJdIIqD7bcjXAmnvDb'})
  983.  
  984. TASK [nginx : Write out htpasswd file for prospectus preview pages] ************
  985. skipping: [localhost]
  986.  
  987. TASK [nginx : Create nginx log file location (just in case)] *******************
  988. changed: [localhost]
  989.  
  990. TASK [nginx : stat] ************************************************************
  991. ok: [localhost -> localhost]
  992.  
  993. TASK [nginx : stat] ************************************************************
  994. ok: [localhost -> localhost]
  995.  
  996. TASK [nginx : copy ssl cert] ***************************************************
  997. skipping: [localhost]
  998.  
  999. TASK [nginx : copy ssl key] ****************************************************
  1000. skipping: [localhost]
  1001.  
  1002. TASK [nginx : Removing default nginx config and restart (enabled)] *************
  1003. ok: [localhost]
  1004.  
  1005. TASK [nginx : Set up nginx access log rotation] ********************************
  1006. changed: [localhost]
  1007.  
  1008. TASK [nginx : Set up nginx error log rotation] *********************************
  1009. changed: [localhost]
  1010.  
  1011. TASK [nginx : Test nginx configs] **********************************************
  1012. changed: [localhost]
  1013.  
  1014. RUNNING HANDLER [nginx : restart nginx] ****************************************
  1015. changed: [localhost]
  1016.  
  1017. RUNNING HANDLER [nginx : reload nginx] *****************************************
  1018. changed: [localhost]
  1019.  
  1020. TASK [nginx : make sure nginx has started] *************************************
  1021. ok: [localhost]
  1022.  
  1023. TASK [security : Install security packages] ************************************
  1024. skipping: [localhost]
  1025.  
  1026. TASK [security : Update all system packages] ***********************************
  1027. skipping: [localhost]
  1028.  
  1029. TASK [security : Configure periodic unattended-upgrades] ***********************
  1030. skipping: [localhost]
  1031.  
  1032. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1033. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1034. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1035. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1036.  
  1037. TASK [security : Disable unattended-upgrades] **********************************
  1038. skipping: [localhost]
  1039.  
  1040. TASK [security : Only unattended-upgrade from security repo] *******************
  1041. skipping: [localhost]
  1042.  
  1043. TASK [security : Add debian blacklist] *****************************************
  1044. skipping: [localhost]
  1045.  
  1046. TASK [security : Disable security only updates on unattended-upgrades] *********
  1047. skipping: [localhost]
  1048.  
  1049. TASK [security : Take security updates during ansible runs] ********************
  1050. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1051. skipping: [localhost] => (item=unattended-upgrade)
  1052.  
  1053. TASK [security : Install security packages] ************************************
  1054. skipping: [localhost]
  1055.  
  1056. TASK [security : Enable automatic start for update service] ********************
  1057. skipping: [localhost]
  1058.  
  1059. TASK [security : Update all system packages] ***********************************
  1060. skipping: [localhost]
  1061.  
  1062. TASK [security : Configure security auto-updates] ******************************
  1063. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1064. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1065.  
  1066. TASK [security : Take security updates during ansible runs] ********************
  1067. skipping: [localhost] => (item=yum check-update --security)
  1068. skipping: [localhost] => (item=yum update --security -y)
  1069.  
  1070. TASK [security : Install security packages] ************************************
  1071. skipping: [localhost]
  1072.  
  1073. TASK [security : Update all system packages] ***********************************
  1074. skipping: [localhost]
  1075.  
  1076. TASK [security : Configure periodic unattended-upgrades] ***********************
  1077. skipping: [localhost]
  1078.  
  1079. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1080. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1081. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1082. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1083.  
  1084. TASK [security : Disable unattended-upgrades] **********************************
  1085. skipping: [localhost]
  1086.  
  1087. TASK [security : Only unattended-upgrade from security repo] *******************
  1088. skipping: [localhost]
  1089.  
  1090. TASK [security : Add debian blacklist] *****************************************
  1091. skipping: [localhost]
  1092.  
  1093. TASK [security : Disable security only updates on unattended-upgrades] *********
  1094. skipping: [localhost]
  1095.  
  1096. TASK [security : Take security updates during ansible runs] ********************
  1097. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1098. skipping: [localhost] => (item=unattended-upgrade)
  1099.  
  1100. TASK [security : Install security packages] ************************************
  1101. skipping: [localhost]
  1102.  
  1103. TASK [security : Enable automatic start for update service] ********************
  1104. skipping: [localhost]
  1105.  
  1106. TASK [security : Update all system packages] ***********************************
  1107. skipping: [localhost]
  1108.  
  1109. TASK [security : Configure security auto-updates] ******************************
  1110. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1111. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1112.  
  1113. TASK [security : Take security updates during ansible runs] ********************
  1114. skipping: [localhost] => (item=yum check-update --security)
  1115. skipping: [localhost] => (item=yum update --security -y)
  1116.  
  1117. TASK [mysql : Look for mysql 5.6] **********************************************
  1118. fatal: [localhost]: FAILED! => {"changed": false, "cmd": "dpkg -s mysql-server", "delta": "0:00:00.012836", "end": "2020-01-23 10:21:10.410660", "msg": "non-zero return code", "rc": 1, "start": "2020-01-23 10:21:10.397824", "stderr": "dpkg-query: package 'mysql-server' is not installed and no information is available\nUse dpkg --info (= dpkg-deb --info) to examine archive files,\nand dpkg --contents (= dpkg-deb --contents) to list their contents.", "stderr_lines": ["dpkg-query: package 'mysql-server' is not installed and no information is available", "Use dpkg --info (= dpkg-deb --info) to examine archive files,", "and dpkg --contents (= dpkg-deb --contents) to list their contents."], "stdout": "", "stdout_lines": []}
  1119. ...ignoring
  1120.  
  1121. TASK [mysql : Important message] ***********************************************
  1122. skipping: [localhost]
  1123.  
  1124. TASK [mysql : pause] ***********************************************************
  1125. skipping: [localhost]
  1126.  
  1127. TASK [mysql : Stop mysql service] **********************************************
  1128. skipping: [localhost]
  1129.  
  1130. TASK [mysql : Remove experimental apt repository] ******************************
  1131. skipping: [localhost]
  1132.  
  1133. TASK [mysql : Remove experimental version of mysql] ****************************
  1134. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  1135. squash_actions is deprecated. Instead of using a loop to supply multiple items
  1136. and specifying `name: "{{ item }}"`, please use `name: ['mysql-server-5.6',
  1137. 'mysql-server']` and remove the loop. This feature will be removed in version
  1138. 2.11. Deprecation warnings can be disabled by setting
  1139. deprecation_warnings=False in ansible.cfg.
  1140. skipping: [localhost] => (item=[])
  1141.  
  1142. TASK [mysql : Install mysql-5.6 and dependencies] ******************************
  1143. changed: [localhost]
  1144.  
  1145. TASK [mysql : Set default character sets and collations] ***********************
  1146. changed: [localhost]
  1147.  
  1148. TASK [mysql : restart mysql] ***************************************************
  1149. [WARNING]: Consider using the service module rather than running 'service'.
  1150. If you need to use command because service is insufficient you can add 'warn:
  1151. false' to this command task or set 'command_warnings=False' in ansible.cfg to
  1152. get rid of this message.
  1153. changed: [localhost]
  1154.  
  1155. TASK [mysql : Ensure Anonymous user(s) does not exist] *************************
  1156. ok: [localhost] => (item=localhost)
  1157. ok: [localhost] => (item=ip-172-31-10-42)
  1158.  
  1159. TASK [edxlocal : Install packages needed for single server] ********************
  1160. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  1161. squash_actions is deprecated. Instead of using a loop to supply multiple items
  1162. and specifying `name: "{{ item }}"`, please use `name: '{{ edxlocal_debian_pkgs
  1163. }}'` and remove the loop. This feature will be removed in version 2.11.
  1164. Deprecation warnings can be disabled by setting deprecation_warnings=False in
  1165. ansible.cfg.
  1166. changed: [localhost] => (item=[u'postfix', u'libjpeg-dev'])
  1167.  
  1168. TASK [edxlocal : create databases] *********************************************
  1169. changed: [localhost] => (item=ecommerce)
  1170. changed: [localhost] => (item=dashboard)
  1171. changed: [localhost] => (item=xqueue)
  1172. changed: [localhost] => (item=edxapp)
  1173. changed: [localhost] => (item=edxapp_csmh)
  1174. changed: [localhost] => (item=edx_notes_api)
  1175. changed: [localhost] => (item=analytics-api)
  1176. changed: [localhost] => (item=reports)
  1177. changed: [localhost] => (item=blockstore)
  1178. skipping: [localhost] => (item=)
  1179. changed: [localhost] => (item=discovery)
  1180. skipping: [localhost] => (item=)
  1181. skipping: [localhost] => (item=)
  1182.  
  1183. TASK [edxlocal : create database users] ****************************************
  1184. changed: [localhost] => (item={u'db': u'ecommerce', u'user': u'ecomm001', u'pass': u'NQkxrwae53autQY1Lrkb8UZVvpdoCHBwm4R'})
  1185. changed: [localhost] => (item={u'db': u'dashboard', u'user': u'rosencrantz', u'pass': u'lPWE0Wac9JrVJbagcCuM2A2ToR9kY33gJTb'})
  1186. changed: [localhost] => (item={u'db': u'xqueue', u'user': u'xqueue001', u'pass': u'v9qHkJIjrHA2TVPlobw7HLp8evyL4CSKXBz'})
  1187. changed: [localhost] => (item={u'db': u'edxapp', u'user': u'edxapp001', u'pass': u'f0c0a0cPgSPWEcUIRhliYbLeQwUfv73sFud'})
  1188. changed: [localhost] => (item={u'db': u'edxapp_csmh', u'user': u'edxapp_cmsh001', u'pass': u'A2rgSEr1q6e63uL8VyK9XHpmwaJ9DdYB3lT'})
  1189. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'Tb5Gfs5IwL70aDHdZsl2ZD9Mlob585tXcel'})
  1190. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'gXby3BaMaQyBfXKvSSuJlf35BkA2HCj5Sdq'})
  1191. changed: [localhost] => (item={u'db': u'blockstore', u'user': u'blkstr01', u'pass': u'password'})
  1192. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'f2q8dr3cFYu0js2XG7Hm3h2djntwEtudzfa'})
  1193. changed: [localhost] => (item={u'db': u'discovery', u'user': u'discov001', u'pass': u'iJh4l8oVT6DrgxfJkdQVrlSMZYczqGZ1bz6'})
  1194. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u''})
  1195. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u''})
  1196.  
  1197. TASK [edxlocal : setup the migration db user] **********************************
  1198. changed: [localhost] => (item=ecommerce)
  1199. changed: [localhost] => (item=dashboard)
  1200. changed: [localhost] => (item=xqueue)
  1201. changed: [localhost] => (item=edxapp)
  1202. changed: [localhost] => (item=edxapp_csmh)
  1203. changed: [localhost] => (item=edx_notes_api)
  1204. changed: [localhost] => (item=analytics-api)
  1205. changed: [localhost] => (item=reports)
  1206. changed: [localhost] => (item=blockstore)
  1207. skipping: [localhost] => (item=)
  1208. changed: [localhost] => (item=discovery)
  1209. skipping: [localhost] => (item=)
  1210. skipping: [localhost] => (item=)
  1211.  
  1212. TASK [edxlocal : create api user for the analytics api] ************************
  1213. changed: [localhost]
  1214.  
  1215. TASK [edxlocal : create read-only reports user for the analytics-api] **********
  1216. changed: [localhost]
  1217.  
  1218. TASK [edxlocal : create a database for the hive metastore] *********************
  1219. skipping: [localhost]
  1220.  
  1221. TASK [edxlocal : setup the edx-notes-api db user] ******************************
  1222. changed: [localhost]
  1223.  
  1224. TASK [edxlocal : setup the read-only db user] **********************************
  1225. changed: [localhost]
  1226.  
  1227. TASK [edxlocal : setup the admin db user] **************************************
  1228. changed: [localhost]
  1229.  
  1230. TASK [memcache : Install memcached] ********************************************
  1231. changed: [localhost]
  1232.  
  1233. TASK [security : Install security packages] ************************************
  1234. skipping: [localhost]
  1235.  
  1236. TASK [security : Update all system packages] ***********************************
  1237. skipping: [localhost]
  1238.  
  1239. TASK [security : Configure periodic unattended-upgrades] ***********************
  1240. skipping: [localhost]
  1241.  
  1242. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1243. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1244. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1245. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1246.  
  1247. TASK [security : Disable unattended-upgrades] **********************************
  1248. skipping: [localhost]
  1249.  
  1250. TASK [security : Only unattended-upgrade from security repo] *******************
  1251. skipping: [localhost]
  1252.  
  1253. TASK [security : Add debian blacklist] *****************************************
  1254. skipping: [localhost]
  1255.  
  1256. TASK [security : Disable security only updates on unattended-upgrades] *********
  1257. skipping: [localhost]
  1258.  
  1259. TASK [security : Take security updates during ansible runs] ********************
  1260. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1261. skipping: [localhost] => (item=unattended-upgrade)
  1262.  
  1263. TASK [security : Install security packages] ************************************
  1264. skipping: [localhost]
  1265.  
  1266. TASK [security : Enable automatic start for update service] ********************
  1267. skipping: [localhost]
  1268.  
  1269. TASK [security : Update all system packages] ***********************************
  1270. skipping: [localhost]
  1271.  
  1272. TASK [security : Configure security auto-updates] ******************************
  1273. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1274. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1275.  
  1276. TASK [security : Take security updates during ansible runs] ********************
  1277. skipping: [localhost] => (item=yum check-update --security)
  1278. skipping: [localhost] => (item=yum update --security -y)
  1279.  
  1280. TASK [mount_ebs : Unmount disk if fstype is wrong] *****************************
  1281.  
  1282. TASK [mount_ebs : Check that we don't want to unmount disks to change fstype when UNMOUNT_DISKS is false] ***
  1283. skipping: [localhost] => (item={u'block_used': 536349, u'uuid': u'01909065-0362-439c-9af2-29d0fc837f6b', u'size_total': 104022159360, u'block_total': 25396035, u'mount': u'/', u'block_available': 24859686, u'size_available': 101825273856, u'fstype': u'ext4', u'inode_total': 12800000, u'inode_available': 12693235, u'device': u'/dev/xvda1', u'inode_used': 106765, u'block_size': 4096, u'options': u'rw,relatime,discard,data=ordered'})
  1284. skipping: [localhost] => (item={u'block_used': 708, u'uuid': u'N/A', u'size_total': 92798976, u'block_total': 708, u'mount': u'/snap/core/7270', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 12823, u'inode_available': 0, u'device': u'/dev/loop0', u'inode_used': 12823, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
  1285. skipping: [localhost] => (item={u'block_used': 144, u'uuid': u'N/A', u'size_total': 18874368, u'block_total': 144, u'mount': u'/snap/amazon-ssm-agent/1335', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 15, u'inode_available': 0, u'device': u'/dev/loop1', u'inode_used': 15, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
  1286.  
  1287. TASK [mount_ebs : Create filesystem] *******************************************
  1288.  
  1289. TASK [mount_ebs : Unmount disks mounted to the wrong place] ********************
  1290. skipping: [localhost] => (item={u'block_used': 536349, u'uuid': u'01909065-0362-439c-9af2-29d0fc837f6b', u'size_total': 104022159360, u'block_total': 25396035, u'mount': u'/', u'block_available': 24859686, u'size_available': 101825273856, u'fstype': u'ext4', u'inode_total': 12800000, u'inode_available': 12693235, u'device': u'/dev/xvda1', u'inode_used': 106765, u'block_size': 4096, u'options': u'rw,relatime,discard,data=ordered'})
  1291. skipping: [localhost] => (item={u'block_used': 708, u'uuid': u'N/A', u'size_total': 92798976, u'block_total': 708, u'mount': u'/snap/core/7270', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 12823, u'inode_available': 0, u'device': u'/dev/loop0', u'inode_used': 12823, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
  1292. skipping: [localhost] => (item={u'block_used': 144, u'uuid': u'N/A', u'size_total': 18874368, u'block_total': 144, u'mount': u'/snap/amazon-ssm-agent/1335', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 15, u'inode_available': 0, u'device': u'/dev/loop1', u'inode_used': 15, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
  1293.  
  1294. TASK [mount_ebs : Check that we don't want to unmount disks to change mountpoint when UNMOUNT_DISKS is false] ***
  1295. skipping: [localhost] => (item={u'block_used': 536349, u'uuid': u'01909065-0362-439c-9af2-29d0fc837f6b', u'size_total': 104022159360, u'block_total': 25396035, u'mount': u'/', u'block_available': 24859686, u'size_available': 101825273856, u'fstype': u'ext4', u'inode_total': 12800000, u'inode_available': 12693235, u'device': u'/dev/xvda1', u'inode_used': 106765, u'block_size': 4096, u'options': u'rw,relatime,discard,data=ordered'})
  1296. skipping: [localhost] => (item={u'block_used': 708, u'uuid': u'N/A', u'size_total': 92798976, u'block_total': 708, u'mount': u'/snap/core/7270', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 12823, u'inode_available': 0, u'device': u'/dev/loop0', u'inode_used': 12823, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
  1297. skipping: [localhost] => (item={u'block_used': 144, u'uuid': u'N/A', u'size_total': 18874368, u'block_total': 144, u'mount': u'/snap/amazon-ssm-agent/1335', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 15, u'inode_available': 0, u'device': u'/dev/loop1', u'inode_used': 15, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
  1298.  
  1299. TASK [mount_ebs : Mount disks] *************************************************
  1300.  
  1301. TASK [mongo_3_2 : Add disable transparent huge pages systemd service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
  1302. changed: [localhost]
  1303.  
  1304. TASK [mongo_3_2 : Enable/start disable transparent huge pages service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
  1305. changed: [localhost]
  1306.  
  1307. TASK [mongo_3_2 : install python pymongo for mongo_user ansible module] ********
  1308. changed: [localhost]
  1309.  
  1310. TASK [mongo_3_2 : add the mongodb signing key] *********************************
  1311. changed: [localhost]
  1312.  
  1313. TASK [mongo_3_2 : add the mongodb repo to the sources list] ********************
  1314. changed: [localhost]
  1315.  
  1316. TASK [mongo_3_2 : install mongo server and recommends] *************************
  1317. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  1318. squash_actions is deprecated. Instead of using a loop to supply multiple items
  1319. and specifying `pkg: "{{ item }}"`, please use `pkg: '{{ mongodb_debian_pkgs
  1320. }}'` and remove the loop. This feature will be removed in version 2.11.
  1321. Deprecation warnings can be disabled by setting deprecation_warnings=False in
  1322. ansible.cfg.
  1323. changed: [localhost] => (item=[u'mongodb-org=3.2.16', u'mongodb-org-server=3.2.16', u'mongodb-org-shell=3.2.16', u'mongodb-org-mongos=3.2.16', u'mongodb-org-tools=3.2.16'])
  1324.  
  1325. TASK [mongo_3_2 : create mongo dirs] *******************************************
  1326. changed: [localhost] => (item=/edx/var/mongo)
  1327. changed: [localhost] => (item=/edx/var/mongo/mongodb)
  1328. changed: [localhost] => (item=/edx/var/log/mongo)
  1329. changed: [localhost] => (item=/edx/var/mongo/mongodb/journal)
  1330.  
  1331. TASK [mongo_3_2 : add serverStatus logging script] *****************************
  1332. changed: [localhost]
  1333.  
  1334. TASK [mongo_3_2 : add serverStatus logging script to cron] *********************
  1335. changed: [localhost]
  1336.  
  1337. TASK [mongo_3_2 : determine if there is a replica set already] *****************
  1338. An exception occurred during task execution. To see the full traceback, use -vvv. The error was: pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused
  1339. fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1579774934.75-135877819585763/AnsiballZ_mongodb_rs_status\", line 113, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1579774934.75-135877819585763/AnsiballZ_mongodb_rs_status\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1579774934.75-135877819585763/AnsiballZ_mongodb_rs_status\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_mongodb_rs_status_payload_og7n4c/__main__.py\", line 133, in <module>\n File \"/tmp/ansible_mongodb_rs_status_payload_og7n4c/__main__.py\", line 115, in main\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/database.py\", line 478, in command\n with client._socket_for_reads(read_preference) as (sock_info, slave_ok):\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py\", line 752, in _socket_for_reads\n with self._get_socket(read_preference) as sock_info:\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py\", line 716, in _get_socket\n server = self._get_topology().select_server(selector)\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/topology.py\", line 142, in select_server\n address))\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/topology.py\", line 118, in select_servers\n self._error_message(selector))\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}
  1340. ...ignoring
  1341.  
  1342. TASK [mongo_3_2 : Try checking the replica set with no user/pass in case this is a new box] ***
  1343. An exception occurred during task execution. To see the full traceback, use -vvv. The error was: pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused
  1344. fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1579774965.63-148261327210859/AnsiballZ_mongodb_rs_status\", line 113, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1579774965.63-148261327210859/AnsiballZ_mongodb_rs_status\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1579774965.63-148261327210859/AnsiballZ_mongodb_rs_status\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_mongodb_rs_status_payload_2E0iIN/__main__.py\", line 133, in <module>\n File \"/tmp/ansible_mongodb_rs_status_payload_2E0iIN/__main__.py\", line 115, in main\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/database.py\", line 478, in command\n with client._socket_for_reads(read_preference) as (sock_info, slave_ok):\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py\", line 752, in _socket_for_reads\n with self._get_socket(read_preference) as sock_info:\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py\", line 716, in _get_socket\n server = self._get_topology().select_server(selector)\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/topology.py\", line 142, in select_server\n address))\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/topology.py\", line 118, in select_servers\n self._error_message(selector))\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}
  1345. ...ignoring
  1346.  
  1347. TASK [mongo_3_2 : set facts that default to not initializing a replica set] ****
  1348. ok: [localhost]
  1349.  
  1350. TASK [mongo_3_2 : track if you have a replica set] *****************************
  1351. ok: [localhost]
  1352.  
  1353. TASK [mongo_3_2 : warn about unconfigured replica sets] ************************
  1354. ok: [localhost] => {
  1355. "msg": "You do not appear to have a Replica Set configured, deploying one for you"
  1356. }
  1357.  
  1358. TASK [mongo_3_2 : copy mongodb key file] ***************************************
  1359. changed: [localhost]
  1360.  
  1361. TASK [mongo_3_2 : copy configuration template] *********************************
  1362. changed: [localhost]
  1363.  
  1364. TASK [mongo_3_2 : install logrotate configuration] *****************************
  1365. changed: [localhost]
  1366.  
  1367. TASK [mongo_3_2 : restart mongo service if we changed our configuration] *******
  1368. changed: [localhost]
  1369.  
  1370. TASK [mongo_3_2 : wait for mongo server to start] ******************************
  1371. ok: [localhost]
  1372.  
  1373. TASK [mongo_3_2 : create super user] *******************************************
  1374. changed: [localhost]
  1375.  
  1376. TASK [mongo_3_2 : Unset our skip initializing replica set fact so that mongod.conf gets a replica set] ***
  1377. ok: [localhost]
  1378.  
  1379. TASK [mongo_3_2 : re-copy configuration template with replica set enabled] *****
  1380. changed: [localhost]
  1381.  
  1382. TASK [mongo_3_2 : restart mongo service] ***************************************
  1383. changed: [localhost]
  1384.  
  1385. TASK [mongo_3_2 : wait for mongo server to start] ******************************
  1386. ok: [localhost]
  1387.  
  1388. TASK [mongo_3_2 : configure replica set] ***************************************
  1389. [WARNING]: Module did not set no_log for password
  1390. changed: [localhost]
  1391.  
  1392. TASK [mongo_3_2 : Wait for the replica set to update and (if needed) elect a primary] ***
  1393. ok: [localhost]
  1394.  
  1395. TASK [mongo_3_2 : create mongodb users in a replica set] ***********************
  1396. changed: [localhost] => (item={u'password': u'97CG2qUZuByth0wor8GKr46yrqGeTtUl3On', u'user': u'cs_comments_service', u'roles': u'readWrite', u'database': u'cs_comments_service'})
  1397. changed: [localhost] => (item={u'password': u'Vp93KT7pAON10o6LlvIwXzsq1RSheFCKtOI', u'user': u'edxapp', u'roles': u'readWrite', u'database': u'edxapp'})
  1398.  
  1399. TASK [mongo_3_2 : ensure mongo starts at boot time] ****************************
  1400. changed: [localhost]
  1401.  
  1402. TASK [security : Install security packages] ************************************
  1403. skipping: [localhost]
  1404.  
  1405. TASK [security : Update all system packages] ***********************************
  1406. skipping: [localhost]
  1407.  
  1408. TASK [security : Configure periodic unattended-upgrades] ***********************
  1409. skipping: [localhost]
  1410.  
  1411. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1412. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1413. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1414. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1415.  
  1416. TASK [security : Disable unattended-upgrades] **********************************
  1417. skipping: [localhost]
  1418.  
  1419. TASK [security : Only unattended-upgrade from security repo] *******************
  1420. skipping: [localhost]
  1421.  
  1422. TASK [security : Add debian blacklist] *****************************************
  1423. skipping: [localhost]
  1424.  
  1425. TASK [security : Disable security only updates on unattended-upgrades] *********
  1426. skipping: [localhost]
  1427.  
  1428. TASK [security : Take security updates during ansible runs] ********************
  1429. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1430. skipping: [localhost] => (item=unattended-upgrade)
  1431.  
  1432. TASK [security : Install security packages] ************************************
  1433. skipping: [localhost]
  1434.  
  1435. TASK [security : Enable automatic start for update service] ********************
  1436. skipping: [localhost]
  1437.  
  1438. TASK [security : Update all system packages] ***********************************
  1439. skipping: [localhost]
  1440.  
  1441. TASK [security : Configure security auto-updates] ******************************
  1442. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1443. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1444.  
  1445. TASK [security : Take security updates during ansible runs] ********************
  1446. skipping: [localhost] => (item=yum check-update --security)
  1447. skipping: [localhost] => (item=yum update --security -y)
  1448.  
  1449. TASK [rabbitmq : install packages needed by rabbit] ****************************
  1450. ok: [localhost]
  1451.  
  1452. TASK [rabbitmq : trust rabbit's packagecloud repository] ***********************
  1453. changed: [localhost]
  1454.  
  1455. TASK [rabbitmq : add rabbit's packagecloud repository] *************************
  1456. changed: [localhost]
  1457.  
  1458. TASK [rabbitmq : Check if rabbit is installed] *********************************
  1459. changed: [localhost]
  1460.  
  1461. TASK [rabbitmq : Warn if wrong rabbit version is installed] ********************
  1462. skipping: [localhost]
  1463.  
  1464. TASK [rabbitmq : Install rabbit package] ***************************************
  1465. changed: [localhost]
  1466.  
  1467. TASK [rabbitmq : Stop rabbit cluster] ******************************************
  1468. changed: [localhost]
  1469.  
  1470. TASK [rabbitmq : Send sigterm to any running rabbitmq processes] ***************
  1471. changed: [localhost]
  1472.  
  1473. TASK [rabbitmq : Create rabbitmq edx directories] ******************************
  1474. changed: [localhost] => (item=/edx/app/rabbitmq)
  1475. changed: [localhost] => (item=/edx/var/log/rabbitmq)
  1476.  
  1477. TASK [rabbitmq : Add queue monitoring script] **********************************
  1478. changed: [localhost]
  1479.  
  1480. TASK [rabbitmq : Add RabbitMQ memory usage script] *****************************
  1481. changed: [localhost]
  1482.  
  1483. TASK [rabbitmq : Set up a cron job to run queue script] ************************
  1484. changed: [localhost]
  1485.  
  1486. TASK [rabbitmq : Set up a cron job to run the script] **************************
  1487. changed: [localhost]
  1488.  
  1489. TASK [rabbitmq : install logrotate configuration] ******************************
  1490. changed: [localhost]
  1491.  
  1492. TASK [rabbitmq : Create cookie directory] **************************************
  1493. ok: [localhost]
  1494.  
  1495. TASK [rabbitmq : Add rabbitmq erlang cookie] ***********************************
  1496. changed: [localhost]
  1497.  
  1498. TASK [rabbitmq : Create rabbitmq config directory] *****************************
  1499. ok: [localhost]
  1500.  
  1501. TASK [rabbitmq : Add rabbitmq environment configuration] ***********************
  1502. changed: [localhost]
  1503.  
  1504. TASK [rabbitmq : Add rabbitmq cluster configuration] ***************************
  1505. changed: [localhost]
  1506.  
  1507. TASK [rabbitmq : Install plugins] **********************************************
  1508. changed: [localhost] => (item=rabbitmq_management)
  1509.  
  1510. TASK [rabbitmq : Remove mnesia configuration] **********************************
  1511. changed: [localhost]
  1512.  
  1513. TASK [rabbitmq : Start rabbit nodes] *******************************************
  1514. changed: [localhost]
  1515.  
  1516. TASK [rabbitmq : Wait for rabbit to start] *************************************
  1517. ok: [localhost]
  1518.  
  1519. TASK [rabbitmq : Remove guest user] ********************************************
  1520. changed: [localhost]
  1521.  
  1522. TASK [rabbitmq : Add vhosts] ***************************************************
  1523. ok: [localhost] => (item=/)
  1524.  
  1525. TASK [rabbitmq : set_fact] *****************************************************
  1526. ok: [localhost] => (item=/)
  1527.  
  1528. TASK [rabbitmq : Add admin users] **********************************************
  1529. changed: [localhost] => (item={u'password': u'JvA8Fwhv5FJjNLfLF3xedvwgb8LcYqU8MRX', u'name': u'admin'})
  1530. changed: [localhost] => (item={u'password': u'LSYi2Bux82EG2TmQlttrZr5wceOMD06xJ7K', u'name': u'edx'})
  1531. changed: [localhost] => (item={u'password': u'BZ60XcqRtZttEybpDn6AiwNnMp3hUoZTdQD', u'name': u'celery'})
  1532.  
  1533. TASK [rabbitmq : Make queues mirrored] *****************************************
  1534. skipping: [localhost] => (item=/)
  1535.  
  1536. TASK [rabbitmq : Install admin tools] ******************************************
  1537. changed: [localhost]
  1538.  
  1539. TASK [rabbitmq : Ensure rabbitmqadmin attributes] ******************************
  1540. changed: [localhost]
  1541.  
  1542. TASK [rabbitmq : Set cluster name] *********************************************
  1543. changed: [localhost]
  1544.  
  1545. TASK [security : Install security packages] ************************************
  1546. skipping: [localhost]
  1547.  
  1548. TASK [security : Update all system packages] ***********************************
  1549. skipping: [localhost]
  1550.  
  1551. TASK [security : Configure periodic unattended-upgrades] ***********************
  1552. skipping: [localhost]
  1553.  
  1554. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1555. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1556. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1557. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1558.  
  1559. TASK [security : Disable unattended-upgrades] **********************************
  1560. skipping: [localhost]
  1561.  
  1562. TASK [security : Only unattended-upgrade from security repo] *******************
  1563. skipping: [localhost]
  1564.  
  1565. TASK [security : Add debian blacklist] *****************************************
  1566. skipping: [localhost]
  1567.  
  1568. TASK [security : Disable security only updates on unattended-upgrades] *********
  1569. skipping: [localhost]
  1570.  
  1571. TASK [security : Take security updates during ansible runs] ********************
  1572. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1573. skipping: [localhost] => (item=unattended-upgrade)
  1574.  
  1575. TASK [security : Install security packages] ************************************
  1576. skipping: [localhost]
  1577.  
  1578. TASK [security : Enable automatic start for update service] ********************
  1579. skipping: [localhost]
  1580.  
  1581. TASK [security : Update all system packages] ***********************************
  1582. skipping: [localhost]
  1583.  
  1584. TASK [security : Configure security auto-updates] ******************************
  1585. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1586. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1587.  
  1588. TASK [security : Take security updates during ansible runs] ********************
  1589. skipping: [localhost] => (item=yum check-update --security)
  1590. skipping: [localhost] => (item=yum update --security -y)
  1591.  
  1592. TASK [security : Install security packages] ************************************
  1593. skipping: [localhost]
  1594.  
  1595. TASK [security : Update all system packages] ***********************************
  1596. skipping: [localhost]
  1597.  
  1598. TASK [security : Configure periodic unattended-upgrades] ***********************
  1599. skipping: [localhost]
  1600.  
  1601. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1602. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1603. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1604. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1605.  
  1606. TASK [security : Disable unattended-upgrades] **********************************
  1607. skipping: [localhost]
  1608.  
  1609. TASK [security : Only unattended-upgrade from security repo] *******************
  1610. skipping: [localhost]
  1611.  
  1612. TASK [security : Add debian blacklist] *****************************************
  1613. skipping: [localhost]
  1614.  
  1615. TASK [security : Disable security only updates on unattended-upgrades] *********
  1616. skipping: [localhost]
  1617.  
  1618. TASK [security : Take security updates during ansible runs] ********************
  1619. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1620. skipping: [localhost] => (item=unattended-upgrade)
  1621.  
  1622. TASK [security : Install security packages] ************************************
  1623. skipping: [localhost]
  1624.  
  1625. TASK [security : Enable automatic start for update service] ********************
  1626. skipping: [localhost]
  1627.  
  1628. TASK [security : Update all system packages] ***********************************
  1629. skipping: [localhost]
  1630.  
  1631. TASK [security : Configure security auto-updates] ******************************
  1632. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1633. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1634.  
  1635. TASK [security : Take security updates during ansible runs] ********************
  1636. skipping: [localhost] => (item=yum check-update --security)
  1637. skipping: [localhost] => (item=yum update --security -y)
  1638.  
  1639. TASK [supervisor : Create application and supervisor service user] *************
  1640. changed: [localhost] => (item=supervisor)
  1641. ok: [localhost] => (item=www-data)
  1642.  
  1643. TASK [supervisor : Create supervisor and service user accessible directories] ***
  1644. changed: [localhost] => (item=/edx/app/supervisor)
  1645. changed: [localhost] => (item=/edx/app/supervisor/venvs/supervisor)
  1646. changed: [localhost] => (item=/edx/app/supervisor/conf.d)
  1647. changed: [localhost] => (item=/edx/app/supervisor/conf.available.d)
  1648.  
  1649. TASK [supervisor : Create supervisor directories] ******************************
  1650. changed: [localhost] => (item=/edx/var/supervisor)
  1651. changed: [localhost] => (item=/edx/var/log/supervisor)
  1652.  
  1653. TASK [supervisor : Install supervisor in its venv] *****************************
  1654. changed: [localhost]
  1655.  
  1656. TASK [supervisor : Install supervisor in its venv] *****************************
  1657. changed: [localhost]
  1658.  
  1659. TASK [supervisor : Create supervisor upstart job] ******************************
  1660. skipping: [localhost]
  1661.  
  1662. TASK [supervisor : Create supervisor systemd job] ******************************
  1663. changed: [localhost]
  1664.  
  1665. TASK [supervisor : Write the pre_suprevisor python script] *********************
  1666. skipping: [localhost]
  1667.  
  1668. TASK [supervisor : Create supervisor master config] ****************************
  1669. changed: [localhost]
  1670.  
  1671. TASK [supervisor : Remove a symlink for supervisortctl] ************************
  1672. [WARNING]: The src option requires state to be 'link' or 'hard'. This will
  1673. become an error in Ansible 2.10
  1674. ok: [localhost]
  1675.  
  1676. TASK [supervisor : Remove symlink for supervisor cfg] **************************
  1677. ok: [localhost] => (item=/edx/app/supervisor/supervisord.conf)
  1678. ok: [localhost] => (item=/edx/app/supervisor/conf.d)
  1679.  
  1680. TASK [supervisor : Create helper script for running supervisor] ****************
  1681. changed: [localhost]
  1682.  
  1683. TASK [supervisor : Are we in a Docker container] *******************************
  1684. changed: [localhost]
  1685.  
  1686. TASK [supervisor : Enable supervisor to start on boot] *************************
  1687. changed: [localhost]
  1688.  
  1689. TASK [supervisor : Start supervisor] *******************************************
  1690. changed: [localhost]
  1691.  
  1692. TASK [supervisor : Wait for web port to be available] **************************
  1693. ok: [localhost]
  1694.  
  1695. TASK [supervisor : Update supervisor configuration] ****************************
  1696. ok: [localhost]
  1697.  
  1698. TASK [edxapp_common : Install system packages] *********************************
  1699. changed: [localhost]
  1700.  
  1701. TASK [nltk : Install unzip] ****************************************************
  1702. ok: [localhost]
  1703.  
  1704. TASK [nltk : create the nltk data directory and subdirectories] ****************
  1705. changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
  1706. changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
  1707. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
  1708.  
  1709. TASK [nltk : download nltk data] ***********************************************
  1710. changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
  1711. changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
  1712. changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
  1713.  
  1714. TASK [nltk : unarchive nltk data] **********************************************
  1715. [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
  1716. `result|changed` use `result is changed`. This feature will be removed in
  1717. version 2.9. Deprecation warnings can be disabled by setting
  1718. deprecation_warnings=False in ansible.cfg.
  1719. changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
  1720. changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
  1721. changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
  1722. [WARNING]: Consider using the unarchive module rather than running 'unzip'.
  1723. If you need to use command because unarchive is insufficient you can add 'warn:
  1724. false' to this command task or set 'command_warnings=False' in ansible.cfg to
  1725. get rid of this message.
  1726.  
  1727. TASK [add_user : create user groups] *******************************************
  1728. skipping: [localhost] => (item=edx-themes)
  1729.  
  1730. TASK [add_user : create application user] **************************************
  1731. skipping: [localhost]
  1732.  
  1733. TASK [add_user : ensure correct ownership of home directory] *******************
  1734. skipping: [localhost]
  1735.  
  1736. TASK [add_user : create dirs for the user] *************************************
  1737.  
  1738. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  1739. skipping: [localhost]
  1740.  
  1741. TASK [git_clone : Validate git protocol] ***************************************
  1742. skipping: [localhost] => (item=None)
  1743.  
  1744. TASK [git_clone : Install read-only ssh key] ***********************************
  1745. skipping: [localhost] => (item=None)
  1746.  
  1747. TASK [git_clone : Check that working tree is clean] ****************************
  1748. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  1749.  
  1750. TASK [git_clone : Require a clean working tree] ********************************
  1751. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/var/edx-themes/edx-themes', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/var/edx-themes/edx-themes'})
  1752.  
  1753. TASK [git_clone : Checkout code over ssh] **************************************
  1754. skipping: [localhost] => (item=None)
  1755.  
  1756. TASK [git_clone : Checkout code over https] ************************************
  1757. skipping: [localhost] => (item=None)
  1758.  
  1759. TASK [git_clone : Remove read-only ssh key] ************************************
  1760. skipping: [localhost] => (item=None)
  1761.  
  1762. TASK [git_clone : Run git clean after checking out code] ***********************
  1763. skipping: [localhost] => (item=None)
  1764.  
  1765. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  1766. skipping: [localhost]
  1767.  
  1768. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  1769. skipping: [localhost] => (item=edxapp)
  1770.  
  1771. TASK [edx_themes : update .bashrc to set umask value] **************************
  1772. skipping: [localhost]
  1773.  
  1774. TASK [edxapp : create application user] ****************************************
  1775. changed: [localhost]
  1776.  
  1777. TASK [edxapp : create edxapp user dirs] ****************************************
  1778. changed: [localhost] => (item={u'path': u'/edx/app/edxapp'})
  1779. changed: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
  1780. changed: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
  1781. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
  1782. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
  1783. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
  1784. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
  1785. changed: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
  1786. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
  1787.  
  1788. TASK [edxapp : write devstack script] ******************************************
  1789. skipping: [localhost]
  1790.  
  1791. TASK [edxapp : create edxapp log dir] ******************************************
  1792. changed: [localhost]
  1793.  
  1794. TASK [edxapp : Ensure the tracking folder exists] ******************************
  1795. changed: [localhost]
  1796.  
  1797. TASK [edxapp : Ensure the tracking.log file exists] ****************************
  1798. changed: [localhost]
  1799.  
  1800. TASK [edxapp : create web-writable edxapp data dirs] ***************************
  1801. changed: [localhost] => (item=/edx/var/edxapp/data)
  1802. changed: [localhost] => (item=/edx/var/edxapp/uploads)
  1803. changed: [localhost] => (item=/edx/var/edxapp/media)
  1804.  
  1805. TASK [edxapp : install system packages on which LMS and CMS rely] **************
  1806. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  1807. squash_actions is deprecated. Instead of using a loop to supply multiple items
  1808. and specifying `name: "{{ item }}"`, please use `name: "{{ query('flattened',
  1809. ['{{ edxapp_debian_pkgs_default }}', '{{ edxapp_debian_pkgs_extra }}']) }}"`
  1810. and remove the loop. This feature will be removed in version 2.11. Deprecation
  1811. warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  1812. changed: [localhost] => (item=[u's3cmd', u'pkg-config', u'g++', u'apparmor-utils', u'curl', u'ipython', u'ntp', u'libfreetype6-dev', u'libffi-dev', u'python-dev', u'python3-dev', u'libsqlite3-dev'])
  1813.  
  1814. TASK [edxapp : Install the gpg key for nodejs LTS] *****************************
  1815. changed: [localhost]
  1816.  
  1817. TASK [edxapp : Install the nodejs LTS repos] ***********************************
  1818. changed: [localhost]
  1819.  
  1820. TASK [edxapp : Install node] ***************************************************
  1821. changed: [localhost]
  1822.  
  1823. TASK [edxapp : set up edxapp .npmrc] *******************************************
  1824. changed: [localhost]
  1825.  
  1826. TASK [edxapp : create log directories for service variants] ********************
  1827. changed: [localhost] => (item=lms)
  1828. changed: [localhost] => (item=cms)
  1829.  
  1830. TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
  1831. ok: [localhost]
  1832.  
  1833. TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
  1834. skipping: [localhost]
  1835.  
  1836. TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
  1837. ok: [localhost]
  1838.  
  1839. TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
  1840. ok: [localhost]
  1841.  
  1842. TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
  1843. skipping: [localhost]
  1844.  
  1845. TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
  1846. ok: [localhost]
  1847.  
  1848. TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
  1849. changed: [localhost]
  1850.  
  1851. TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
  1852. ok: [localhost]
  1853.  
  1854. TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
  1855. changed: [localhost]
  1856.  
  1857. TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
  1858. changed: [localhost]
  1859.  
  1860. TASK [edxapp : code sandbox | start apparmor service] **************************
  1861. ok: [localhost]
  1862.  
  1863. TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
  1864. changed: [localhost]
  1865.  
  1866. TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
  1867. changed: [localhost]
  1868.  
  1869. TASK [edxapp : copy the template to the desired location] **********************
  1870. changed: [localhost] => (item={u'dest': u'/edx/app/edxapp/edxapp_env', u'src': u'edxapp_env.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  1871. changed: [localhost] => (item={u'dest': u'/edx/app/edxapp/newrelic.ini', u'src': u'newrelic.ini.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  1872. changed: [localhost] => (item={u'dest': u'/tmp/edxapp_git_ssh.sh', u'src': u'git_ssh.sh.j2', u'group': u'edxapp', u'mode': u'0750', u'owner': u'edxapp'})
  1873. changed: [localhost] => (item={u'dest': u'/edx/app/edxapp/.boto', u'src': u'boto.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  1874.  
  1875. TASK [edxapp : install read-only ssh key] **************************************
  1876. skipping: [localhost]
  1877.  
  1878. TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
  1879. changed: [localhost]
  1880.  
  1881. TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
  1882. changed: [localhost]
  1883.  
  1884. TASK [edxapp : git clean after checking out edx-platform] **********************
  1885. changed: [localhost]
  1886.  
  1887. TASK [edxapp : checkout Stanford-style theme] **********************************
  1888. skipping: [localhost]
  1889.  
  1890. TASK [Install a theme through simpletheme] *************************************
  1891.  
  1892. TASK [simple_theme : assert] ***************************************************
  1893. skipping: [localhost]
  1894.  
  1895. TASK [simple_theme : assert] ***************************************************
  1896. skipping: [localhost]
  1897.  
  1898. TASK [simple_theme : Check whether theme directory already exists] *************
  1899. skipping: [localhost]
  1900.  
  1901. TASK [simple_theme : Download skeleton theme] **********************************
  1902. skipping: [localhost]
  1903.  
  1904. TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
  1905. skipping: [localhost]
  1906.  
  1907. TASK [simple_theme : Create default skeleton (dirs)] ***************************
  1908. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1909. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1910. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1911. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1912. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1913. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1914. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1915. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1916.  
  1917. TASK [simple_theme : Create default skeleton (files)] **************************
  1918. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1919. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1920. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1921. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1922. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1923. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1924. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1925. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  1926.  
  1927. TASK [simple_theme : Create directory to hold the theme and styles] ************
  1928. skipping: [localhost] => (item=.)
  1929. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
  1930.  
  1931. TASK [simple_theme : Compile the templates] ************************************
  1932. skipping: [localhost] => (item=lms/static/sass/common-variables.scss)
  1933. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
  1934. skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
  1935.  
  1936. TASK [simple_theme : Create directories for static files to be copied] *********
  1937. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1938. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1939. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1940. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1941. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1942. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1943. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1944. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1945. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1946. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1947. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1948. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1949. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1950. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1951. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1952. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1953. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1954. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1955. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1956.  
  1957. TASK [simple_theme : Copy static files (adding "static/")] *********************
  1958. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1959. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1960. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1961. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1962. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1963. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1964. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1965. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1966. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1967. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1968. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1969. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1970. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1971. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1972. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1973. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1974. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1975. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1976. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  1977.  
  1978. TASK [simple_theme : Create directories for static files to be downloaded] *****
  1979.  
  1980. TASK [simple_theme : Download static files to be included in theme] ************
  1981.  
  1982. TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
  1983. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  1984. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  1985. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  1986.  
  1987. TASK [edxapp : Updating requirement files for git mirror] **********************
  1988. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt'})
  1989. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775207.1899812, u'block_size': 4096, u'inode': 12548458, u'isgid': False, u'size': 8276, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092450', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 24, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1579775208.6379898, u'mimetype': u'text/plain', u'ctime': 1579775207.1899812, u'isblk': False, u'checksum': u'90ccd948f6dbc7c9d8f7d9a317c463d551662592', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt'})
  1990. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775207.1899812, u'block_size': 4096, u'inode': 12548451, u'isgid': False, u'size': 1354, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092443', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'xusr': False, u'atime': 1579775208.6379898, u'mimetype': u'text/plain', u'ctime': 1579775207.1899812, u'isblk': False, u'checksum': u'e9eee91a18da5461a82d986551f988731d05bbea', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt'})
  1991. [WARNING]: Consider using the replace, lineinfile or template module rather
  1992. than running 'sed'. If you need to use command because replace, lineinfile or
  1993. template is insufficient you can add 'warn: false' to this command task or set
  1994. 'command_warnings=False' in ansible.cfg to get rid of this message.
  1995.  
  1996. TASK [edxapp : Create the virtualenv to install the Python requirements] *******
  1997. changed: [localhost]
  1998.  
  1999. TASK [edxapp : Pin pip to a specific version.] *********************************
  2000. changed: [localhost]
  2001.  
  2002. TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
  2003. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  2004. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  2005.  
  2006. TASK [edxapp : install python requirements] ************************************
  2007. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt'})
  2008. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775211.654008, u'block_size': 4096, u'inode': 12548792, u'isgid': False, u'size': 8276, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092840', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 24, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1579775211.654008, u'mimetype': u'text/plain', u'ctime': 1579775211.654008, u'isblk': False, u'checksum': u'90ccd948f6dbc7c9d8f7d9a317c463d551662592', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt'})
  2009.  
  2010. TASK [edxapp : install python private requirements] ****************************
  2011. skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.4.6'})
  2012. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/oppia-xblock.git@1030adb3590ad2d32c93443cc8690db0985d76b6#egg=oppia-xblock'})
  2013. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/schoolyourself-xblock.git@2093048720cfb36cc05b3143cd6f2585c7c64d85#egg=schoolyourself-xblock'})
  2014. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@a45a6560c92b6d8b62be1f939ff1d00dfff84e70#egg=concept-xblock'})
  2015. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@20538c6e9bb704801a71ecbb6981f794556dfc45#egg=audio-xblock'})
  2016. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@c950ffdda2f69effda93bf03df8646f61d3ffada#egg=animation-xblock'})
  2017. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ubcpi.git@3c4b2cdc9f595ab8cdb436f559b56f36638313b6#egg=ubcpi-xblock'})
  2018. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-vectordraw.git@76976425356dfc7f13570f354c0c438db84c2840#egg=xblock-vectordraw==0.3.0'})
  2019. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@013003aa3ce28f0ae03b8227dc3a6daa4e19997d#egg=xblock-activetable'})
  2020. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/edx-zoom.git@37c323ae93265937bf60abb92657318efeec96c5#egg=edx-zoom'})
  2021. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/labxchange-xblocks.git@29c6d829b8d54f5683a41626616024c8643b7b0f#egg=labxchange-xblocks'})
  2022. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/lx-pathway-plugin.git@b69f6b27108fa033c9a402f65cbf3a34a7b5ad93#egg=lx-pathway-plugin'})
  2023.  
  2024. TASK [edxapp : install python extra requirements] ******************************
  2025.  
  2026. TASK [edxapp : install CAS attribute module] ***********************************
  2027. skipping: [localhost]
  2028.  
  2029. TASK [edxapp : install sandbox requirements into regular venv] *****************
  2030. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  2031.  
  2032. TASK [edxapp : Set the npm registry] *******************************************
  2033. ok: [localhost]
  2034.  
  2035. TASK [edxapp : Set the npm registry permissions] *******************************
  2036. changed: [localhost]
  2037.  
  2038. TASK [edxapp : install node dependencies] **************************************
  2039. changed: [localhost]
  2040.  
  2041. TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
  2042. changed: [localhost]
  2043.  
  2044. TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  2045. changed: [localhost]
  2046.  
  2047. TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
  2048. changed: [localhost]
  2049.  
  2050. TASK [edxapp : compiling all py files in the edx-platform repo] ****************
  2051. changed: [localhost]
  2052.  
  2053. TASK [edxapp : give other read permissions to the virtualenv] ******************
  2054. ok: [localhost]
  2055.  
  2056. TASK [edxapp : create service wrapper scripts - {{item}}] **********************
  2057. changed: [localhost] => (item=lms.sh)
  2058. changed: [localhost] => (item=cms.sh)
  2059. changed: [localhost] => (item=worker.sh)
  2060. changed: [localhost] => (item=reload_lms_config.sh)
  2061. changed: [localhost] => (item=reload_cms_config.sh)
  2062.  
  2063. TASK [edxapp : create application and auth config] *****************************
  2064. changed: [localhost] => (item=[u'lms', u'env'])
  2065. changed: [localhost] => (item=[u'lms', u'auth'])
  2066. changed: [localhost] => (item=[u'cms', u'env'])
  2067. changed: [localhost] => (item=[u'cms', u'auth'])
  2068.  
  2069. TASK [edxapp : combined lms auth env for yml] **********************************
  2070. ok: [localhost]
  2071.  
  2072. TASK [edxapp : render lms yml config] ******************************************
  2073. changed: [localhost] => (item=None)
  2074. ok: [localhost] => (item=None)
  2075. changed: [localhost]
  2076.  
  2077. TASK [edxapp : combined cms auth env for yml] **********************************
  2078. ok: [localhost]
  2079.  
  2080. TASK [edxapp : render studio yml config] ***************************************
  2081. changed: [localhost] => (item=None)
  2082. ok: [localhost] => (item=None)
  2083. changed: [localhost]
  2084.  
  2085. TASK [edxapp : Decrypt lms config] *********************************************
  2086. skipping: [localhost] => (item=None)
  2087. skipping: [localhost] => (item=None)
  2088.  
  2089. TASK [edxapp : Decrypt cms config] *********************************************
  2090. skipping: [localhost] => (item=None)
  2091. skipping: [localhost] => (item=None)
  2092.  
  2093. TASK [edxapp : Replace deploy host to sandbox dns name] ************************
  2094. skipping: [localhost] => (item=None)
  2095. skipping: [localhost] => (item=None)
  2096.  
  2097. TASK [edxapp : Copy lms config file] *******************************************
  2098. skipping: [localhost] => (item=None)
  2099. skipping: [localhost] => (item=None)
  2100.  
  2101. TASK [edxapp : Copy cms config file] *******************************************
  2102. skipping: [localhost] => (item=None)
  2103. skipping: [localhost] => (item=None)
  2104.  
  2105. TASK [edxapp : Write the revisions config file] ********************************
  2106. changed: [localhost]
  2107.  
  2108. TASK [edxapp : writing {{ item }} supervisor script] ***************************
  2109. changed: [localhost] => (item=lms)
  2110. changed: [localhost] => (item=cms)
  2111.  
  2112. TASK [edxapp : writing celery supervisor scripts] ******************************
  2113. changed: [localhost] => (item=workers.conf)
  2114.  
  2115. TASK [edxapp : clean out old edxapp.conf] **************************************
  2116. ok: [localhost]
  2117.  
  2118. TASK [edxapp : add gunicorn configuration files] *******************************
  2119. changed: [localhost] => (item=lms)
  2120. changed: [localhost] => (item=cms)
  2121.  
  2122. TASK [edxapp : enable {{ item }} supervisor script] ****************************
  2123. skipping: [localhost] => (item=lms)
  2124. skipping: [localhost] => (item=cms)
  2125.  
  2126. TASK [edxapp : enable celery worker supervisor script] *************************
  2127. changed: [localhost]
  2128.  
  2129. TASK [edxapp : create helper scripts for managing edxapp] **********************
  2130. changed: [localhost] => (item=[u'edxapp-migrate', u'lms'])
  2131. changed: [localhost] => (item=[u'edxapp-migrate', u'cms'])
  2132. changed: [localhost] => (item=[u'edxapp-runserver', u'lms'])
  2133. changed: [localhost] => (item=[u'edxapp-runserver', u'cms'])
  2134. changed: [localhost] => (item=[u'edxapp-shell', u'lms'])
  2135. changed: [localhost] => (item=[u'edxapp-shell', u'cms'])
  2136.  
  2137. TASK [edxapp : create script to compile and update assets] *********************
  2138. changed: [localhost]
  2139.  
  2140. TASK [edxapp : migrate] ********************************************************
  2141. changed: [localhost] => (item=lms)
  2142. changed: [localhost] => (item=cms)
  2143.  
  2144. TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
  2145. skipping: [localhost] => (item=absent)
  2146. skipping: [localhost] => (item=directory)
  2147.  
  2148. TASK [edxapp : gather static assets with paver] ********************************
  2149. skipping: [localhost]
  2150.  
  2151. TASK [edxapp : update supervisor configuration] ********************************
  2152. changed: [localhost]
  2153.  
  2154. TASK [edxapp : ensure edxapp has started] **************************************
  2155. skipping: [localhost] => (item=lms)
  2156. skipping: [localhost] => (item=cms)
  2157.  
  2158. TASK [edxapp : ensure edxapp_workers has started] ******************************
  2159. ok: [localhost]
  2160.  
  2161. TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
  2162. changed: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
  2163. changed: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
  2164. changed: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
  2165. changed: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
  2166.  
  2167. TASK [edxapp : remove read-only ssh key] ***************************************
  2168. skipping: [localhost]
  2169.  
  2170. TASK [edxapp : get instance information] ***************************************
  2171. skipping: [localhost]
  2172.  
  2173. TASK [edxapp : tag instance with edx_platform version] *************************
  2174. skipping: [localhost]
  2175.  
  2176. TASK [edxapp : tag instance with edxapp theme version] *************************
  2177. skipping: [localhost]
  2178.  
  2179. TASK [edxapp : set_fact] *******************************************************
  2180. ok: [localhost]
  2181.  
  2182. TASK [edxapp : restart edxapp] *************************************************
  2183. skipping: [localhost] => (item=lms)
  2184. skipping: [localhost] => (item=cms)
  2185.  
  2186. TASK [edxapp : restart edxapp_workers] *****************************************
  2187. changed: [localhost]
  2188.  
  2189. TASK [edxapp : create service worker users] ************************************
  2190. changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'enterprise_worker@example.com'})
  2191. changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'veda_service_user@example.com'})
  2192. changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'discovery_worker@example.com'})
  2193. changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'insights_worker@example.com'})
  2194. changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'credentials_worker@example.com'})
  2195. changed: [localhost] => (item={u'username': u'designer_worker', u'is_superuser': False, u'is_staff': True, u'email': u'designer_worker@example.com'})
  2196. changed: [localhost] => (item={u'username': u'registrar_worker', u'is_superuser': False, u'is_staff': True, u'email': u'registrar_worker@example.com'})
  2197. skipping: [localhost] => (item={u'username': u'retirement_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'retirement_worker@example.com'})
  2198.  
  2199. TASK [edxapp : reindex all courses] ********************************************
  2200. skipping: [localhost]
  2201.  
  2202. TASK [edxapp : install cron job to run clearsessions] **************************
  2203. skipping: [localhost]
  2204.  
  2205. TASK [edxapp : install additional cron jobs] ***********************************
  2206.  
  2207. TASK [edxapp : populate retirement states] *************************************
  2208. skipping: [localhost]
  2209.  
  2210. TASK [Include JWT signature setting in the app config file] ********************
  2211. skipping: [localhost]
  2212.  
  2213. TASK [security : Install security packages] ************************************
  2214. skipping: [localhost]
  2215.  
  2216. TASK [security : Update all system packages] ***********************************
  2217. skipping: [localhost]
  2218.  
  2219. TASK [security : Configure periodic unattended-upgrades] ***********************
  2220. skipping: [localhost]
  2221.  
  2222. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2223. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2224. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2225. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2226.  
  2227. TASK [security : Disable unattended-upgrades] **********************************
  2228. skipping: [localhost]
  2229.  
  2230. TASK [security : Only unattended-upgrade from security repo] *******************
  2231. skipping: [localhost]
  2232.  
  2233. TASK [security : Add debian blacklist] *****************************************
  2234. skipping: [localhost]
  2235.  
  2236. TASK [security : Disable security only updates on unattended-upgrades] *********
  2237. skipping: [localhost]
  2238.  
  2239. TASK [security : Take security updates during ansible runs] ********************
  2240. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2241. skipping: [localhost] => (item=unattended-upgrade)
  2242.  
  2243. TASK [security : Install security packages] ************************************
  2244. skipping: [localhost]
  2245.  
  2246. TASK [security : Enable automatic start for update service] ********************
  2247. skipping: [localhost]
  2248.  
  2249. TASK [security : Update all system packages] ***********************************
  2250. skipping: [localhost]
  2251.  
  2252. TASK [security : Configure security auto-updates] ******************************
  2253. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2254. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2255.  
  2256. TASK [security : Take security updates during ansible runs] ********************
  2257. skipping: [localhost] => (item=yum check-update --security)
  2258. skipping: [localhost] => (item=yum update --security -y)
  2259.  
  2260. TASK [security : Install security packages] ************************************
  2261. skipping: [localhost]
  2262.  
  2263. TASK [security : Update all system packages] ***********************************
  2264. skipping: [localhost]
  2265.  
  2266. TASK [security : Configure periodic unattended-upgrades] ***********************
  2267. skipping: [localhost]
  2268.  
  2269. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2270. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2271. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2272. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2273.  
  2274. TASK [security : Disable unattended-upgrades] **********************************
  2275. skipping: [localhost]
  2276.  
  2277. TASK [security : Only unattended-upgrade from security repo] *******************
  2278. skipping: [localhost]
  2279.  
  2280. TASK [security : Add debian blacklist] *****************************************
  2281. skipping: [localhost]
  2282.  
  2283. TASK [security : Disable security only updates on unattended-upgrades] *********
  2284. skipping: [localhost]
  2285.  
  2286. TASK [security : Take security updates during ansible runs] ********************
  2287. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2288. skipping: [localhost] => (item=unattended-upgrade)
  2289.  
  2290. TASK [security : Install security packages] ************************************
  2291. skipping: [localhost]
  2292.  
  2293. TASK [security : Enable automatic start for update service] ********************
  2294. skipping: [localhost]
  2295.  
  2296. TASK [security : Update all system packages] ***********************************
  2297. skipping: [localhost]
  2298.  
  2299. TASK [security : Configure security auto-updates] ******************************
  2300. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2301. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2302.  
  2303. TASK [security : Take security updates during ansible runs] ********************
  2304. skipping: [localhost] => (item=yum check-update --security)
  2305. skipping: [localhost] => (item=yum update --security -y)
  2306.  
  2307. TASK [add_user : create user groups] *******************************************
  2308. skipping: [localhost] => (item=edx-themes)
  2309.  
  2310. TASK [add_user : create application user] **************************************
  2311. skipping: [localhost]
  2312.  
  2313. TASK [add_user : ensure correct ownership of home directory] *******************
  2314. skipping: [localhost]
  2315.  
  2316. TASK [add_user : create dirs for the user] *************************************
  2317.  
  2318. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  2319. skipping: [localhost]
  2320.  
  2321. TASK [git_clone : Validate git protocol] ***************************************
  2322. skipping: [localhost] => (item=None)
  2323.  
  2324. TASK [git_clone : Install read-only ssh key] ***********************************
  2325. skipping: [localhost] => (item=None)
  2326.  
  2327. TASK [git_clone : Check that working tree is clean] ****************************
  2328. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  2329.  
  2330. TASK [git_clone : Require a clean working tree] ********************************
  2331. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/var/edx-themes/edx-themes', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/var/edx-themes/edx-themes'})
  2332.  
  2333. TASK [git_clone : Checkout code over ssh] **************************************
  2334. skipping: [localhost] => (item=None)
  2335.  
  2336. TASK [git_clone : Checkout code over https] ************************************
  2337. skipping: [localhost] => (item=None)
  2338.  
  2339. TASK [git_clone : Remove read-only ssh key] ************************************
  2340. skipping: [localhost] => (item=None)
  2341.  
  2342. TASK [git_clone : Run git clean after checking out code] ***********************
  2343. skipping: [localhost] => (item=None)
  2344.  
  2345. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  2346. skipping: [localhost]
  2347.  
  2348. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  2349. skipping: [localhost] => (item=edxapp)
  2350.  
  2351. TASK [edx_themes : update .bashrc to set umask value] **************************
  2352. skipping: [localhost]
  2353.  
  2354. TASK [edxapp : create application user] ****************************************
  2355. ok: [localhost]
  2356.  
  2357. TASK [edxapp : create edxapp user dirs] ****************************************
  2358. ok: [localhost] => (item={u'path': u'/edx/app/edxapp'})
  2359. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
  2360. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
  2361. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
  2362. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
  2363. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
  2364. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
  2365. ok: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
  2366. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
  2367.  
  2368. TASK [edxapp : write devstack script] ******************************************
  2369. skipping: [localhost]
  2370.  
  2371. TASK [edxapp : create edxapp log dir] ******************************************
  2372. ok: [localhost]
  2373.  
  2374. TASK [edxapp : Ensure the tracking folder exists] ******************************
  2375. ok: [localhost]
  2376.  
  2377. TASK [edxapp : Ensure the tracking.log file exists] ****************************
  2378. changed: [localhost]
  2379.  
  2380. TASK [edxapp : create web-writable edxapp data dirs] ***************************
  2381. changed: [localhost] => (item=/edx/var/edxapp/data)
  2382. ok: [localhost] => (item=/edx/var/edxapp/uploads)
  2383. ok: [localhost] => (item=/edx/var/edxapp/media)
  2384.  
  2385. TASK [edxapp : install system packages on which LMS and CMS rely] **************
  2386. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  2387. squash_actions is deprecated. Instead of using a loop to supply multiple items
  2388. and specifying `name: "{{ item }}"`, please use `name: "{{ query('flattened',
  2389. ['{{ edxapp_debian_pkgs_default }}', '{{ edxapp_debian_pkgs_extra }}']) }}"`
  2390. and remove the loop. This feature will be removed in version 2.11. Deprecation
  2391. warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  2392. ok: [localhost] => (item=[u's3cmd', u'pkg-config', u'g++', u'apparmor-utils', u'curl', u'ipython', u'ntp', u'libfreetype6-dev', u'libffi-dev', u'python-dev', u'python3-dev', u'libsqlite3-dev'])
  2393.  
  2394. TASK [edxapp : Install the gpg key for nodejs LTS] *****************************
  2395. ok: [localhost]
  2396.  
  2397. TASK [edxapp : Install the nodejs LTS repos] ***********************************
  2398. ok: [localhost]
  2399.  
  2400. TASK [edxapp : Install node] ***************************************************
  2401. ok: [localhost]
  2402.  
  2403. TASK [edxapp : set up edxapp .npmrc] *******************************************
  2404. changed: [localhost]
  2405.  
  2406. TASK [edxapp : create log directories for service variants] ********************
  2407. ok: [localhost] => (item=lms)
  2408. ok: [localhost] => (item=cms)
  2409.  
  2410. TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
  2411. ok: [localhost]
  2412.  
  2413. TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
  2414. skipping: [localhost]
  2415.  
  2416. TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
  2417. ok: [localhost]
  2418.  
  2419. TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
  2420. ok: [localhost]
  2421.  
  2422. TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
  2423. skipping: [localhost]
  2424.  
  2425. TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
  2426. ok: [localhost]
  2427.  
  2428. TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
  2429. ok: [localhost]
  2430.  
  2431. TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
  2432. ok: [localhost]
  2433.  
  2434. TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
  2435. ok: [localhost]
  2436.  
  2437. TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
  2438. ok: [localhost]
  2439.  
  2440. TASK [edxapp : code sandbox | start apparmor service] **************************
  2441. ok: [localhost]
  2442.  
  2443. TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
  2444. changed: [localhost]
  2445.  
  2446. TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
  2447. changed: [localhost]
  2448.  
  2449. TASK [edxapp : copy the template to the desired location] **********************
  2450. ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/edxapp_env', u'src': u'edxapp_env.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  2451. ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/newrelic.ini', u'src': u'newrelic.ini.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  2452. ok: [localhost] => (item={u'dest': u'/tmp/edxapp_git_ssh.sh', u'src': u'git_ssh.sh.j2', u'group': u'edxapp', u'mode': u'0750', u'owner': u'edxapp'})
  2453. ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/.boto', u'src': u'boto.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
  2454.  
  2455. TASK [edxapp : install read-only ssh key] **************************************
  2456. skipping: [localhost]
  2457.  
  2458. TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
  2459. changed: [localhost]
  2460.  
  2461. TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
  2462. ok: [localhost]
  2463.  
  2464. TASK [edxapp : git clean after checking out edx-platform] **********************
  2465. changed: [localhost]
  2466.  
  2467. TASK [edxapp : checkout Stanford-style theme] **********************************
  2468. skipping: [localhost]
  2469.  
  2470. TASK [Install a theme through simpletheme] *************************************
  2471.  
  2472. TASK [simple_theme : assert] ***************************************************
  2473. skipping: [localhost]
  2474.  
  2475. TASK [simple_theme : assert] ***************************************************
  2476. skipping: [localhost]
  2477.  
  2478. TASK [simple_theme : Check whether theme directory already exists] *************
  2479. skipping: [localhost]
  2480.  
  2481. TASK [simple_theme : Download skeleton theme] **********************************
  2482. skipping: [localhost]
  2483.  
  2484. TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
  2485. skipping: [localhost]
  2486.  
  2487. TASK [simple_theme : Create default skeleton (dirs)] ***************************
  2488. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2489. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2490. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2491. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2492. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2493. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2494. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2495. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2496.  
  2497. TASK [simple_theme : Create default skeleton (files)] **************************
  2498. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2499. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2500. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2501. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2502. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2503. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2504. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2505. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
  2506.  
  2507. TASK [simple_theme : Create directory to hold the theme and styles] ************
  2508. skipping: [localhost] => (item=.)
  2509. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
  2510.  
  2511. TASK [simple_theme : Compile the templates] ************************************
  2512. skipping: [localhost] => (item=lms/static/sass/common-variables.scss)
  2513. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
  2514. skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
  2515.  
  2516. TASK [simple_theme : Create directories for static files to be copied] *********
  2517. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2518. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2519. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2520. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2521. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2522. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2523. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2524. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2525. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2526. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2527. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2528. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2529. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2530. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2531. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2532. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2533. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2534. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2535. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2536.  
  2537. TASK [simple_theme : Copy static files (adding "static/")] *********************
  2538. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2539. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2540. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2541. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2542. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2543. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2544. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2545. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2546. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2547. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2548. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2549. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2550. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2551. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2552. skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2553. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2554. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2555. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2556. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
  2557.  
  2558. TASK [simple_theme : Create directories for static files to be downloaded] *****
  2559.  
  2560. TASK [simple_theme : Download static files to be included in theme] ************
  2561.  
  2562. TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
  2563. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  2564. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  2565. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  2566.  
  2567. TASK [edxapp : Updating requirement files for git mirror] **********************
  2568. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt'})
  2569. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775211.654008, u'block_size': 4096, u'inode': 12548792, u'isgid': False, u'size': 8276, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092840', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 24, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1579775217.7980452, u'mimetype': u'text/plain', u'ctime': 1579775211.654008, u'isblk': False, u'checksum': u'90ccd948f6dbc7c9d8f7d9a317c463d551662592', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt'})
  2570. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775211.7700088, u'block_size': 4096, u'inode': 12548458, u'isgid': False, u'size': 1354, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092849', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'xusr': False, u'atime': 1579775550.4182022, u'mimetype': u'text/plain', u'ctime': 1579775211.7700088, u'isblk': False, u'checksum': u'e9eee91a18da5461a82d986551f988731d05bbea', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt'})
  2571.  
  2572. TASK [edxapp : Create the virtualenv to install the Python requirements] *******
  2573. ok: [localhost]
  2574.  
  2575. TASK [edxapp : Pin pip to a specific version.] *********************************
  2576. changed: [localhost]
  2577.  
  2578. TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
  2579. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  2580. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  2581.  
  2582. TASK [edxapp : install python requirements] ************************************
  2583. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt'})
  2584. changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579776070.062587, u'block_size': 4096, u'inode': 12549176, u'isgid': False, u'size': 8276, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497288643', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 24, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1579776070.062587, u'mimetype': u'text/plain', u'ctime': 1579776070.062587, u'isblk': False, u'checksum': u'90ccd948f6dbc7c9d8f7d9a317c463d551662592', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt'})
  2585.  
  2586. TASK [edxapp : install python private requirements] ****************************
  2587. skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.4.6'})
  2588. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/oppia-xblock.git@1030adb3590ad2d32c93443cc8690db0985d76b6#egg=oppia-xblock'})
  2589. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/schoolyourself-xblock.git@2093048720cfb36cc05b3143cd6f2585c7c64d85#egg=schoolyourself-xblock'})
  2590. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@a45a6560c92b6d8b62be1f939ff1d00dfff84e70#egg=concept-xblock'})
  2591. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@20538c6e9bb704801a71ecbb6981f794556dfc45#egg=audio-xblock'})
  2592. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@c950ffdda2f69effda93bf03df8646f61d3ffada#egg=animation-xblock'})
  2593. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ubcpi.git@3c4b2cdc9f595ab8cdb436f559b56f36638313b6#egg=ubcpi-xblock'})
  2594. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-vectordraw.git@76976425356dfc7f13570f354c0c438db84c2840#egg=xblock-vectordraw==0.3.0'})
  2595. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@013003aa3ce28f0ae03b8227dc3a6daa4e19997d#egg=xblock-activetable'})
  2596. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/edx-zoom.git@37c323ae93265937bf60abb92657318efeec96c5#egg=edx-zoom'})
  2597. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/labxchange-xblocks.git@29c6d829b8d54f5683a41626616024c8643b7b0f#egg=labxchange-xblocks'})
  2598. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/lx-pathway-plugin.git@b69f6b27108fa033c9a402f65cbf3a34a7b5ad93#egg=lx-pathway-plugin'})
  2599.  
  2600. TASK [edxapp : install python extra requirements] ******************************
  2601.  
  2602. TASK [edxapp : install CAS attribute module] ***********************************
  2603. skipping: [localhost]
  2604.  
  2605. TASK [edxapp : install sandbox requirements into regular venv] *****************
  2606. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  2607.  
  2608. TASK [edxapp : Set the npm registry] *******************************************
  2609. ok: [localhost]
  2610.  
  2611. TASK [edxapp : Set the npm registry permissions] *******************************
  2612. changed: [localhost]
  2613.  
  2614. TASK [edxapp : install node dependencies] **************************************
  2615. changed: [localhost]
  2616.  
  2617. TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
  2618. changed: [localhost]
  2619.  
  2620. TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  2621. ok: [localhost]
  2622.  
  2623. TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
  2624. changed: [localhost]
  2625.  
  2626. TASK [edxapp : compiling all py files in the edx-platform repo] ****************
  2627. changed: [localhost]
  2628.  
  2629. TASK [edxapp : give other read permissions to the virtualenv] ******************
  2630. ok: [localhost]
  2631.  
  2632. TASK [edxapp : create service wrapper scripts - {{item}}] **********************
  2633. ok: [localhost] => (item=lms.sh)
  2634. ok: [localhost] => (item=cms.sh)
  2635. ok: [localhost] => (item=worker.sh)
  2636. ok: [localhost] => (item=reload_lms_config.sh)
  2637. ok: [localhost] => (item=reload_cms_config.sh)
  2638.  
  2639. TASK [edxapp : create application and auth config] *****************************
  2640. ok: [localhost] => (item=[u'lms', u'env'])
  2641. ok: [localhost] => (item=[u'lms', u'auth'])
  2642. ok: [localhost] => (item=[u'cms', u'env'])
  2643. ok: [localhost] => (item=[u'cms', u'auth'])
  2644.  
  2645. TASK [edxapp : combined lms auth env for yml] **********************************
  2646. ok: [localhost]
  2647.  
  2648. TASK [edxapp : render lms yml config] ******************************************
  2649. ok: [localhost] => (item=None)
  2650. ok: [localhost] => (item=None)
  2651. ok: [localhost]
  2652.  
  2653. TASK [edxapp : combined cms auth env for yml] **********************************
  2654. ok: [localhost]
  2655.  
  2656. TASK [edxapp : render studio yml config] ***************************************
  2657. ok: [localhost] => (item=None)
  2658. ok: [localhost] => (item=None)
  2659. ok: [localhost]
  2660.  
  2661. TASK [edxapp : Decrypt lms config] *********************************************
  2662. skipping: [localhost] => (item=None)
  2663. skipping: [localhost] => (item=None)
  2664.  
  2665. TASK [edxapp : Decrypt cms config] *********************************************
  2666. skipping: [localhost] => (item=None)
  2667. skipping: [localhost] => (item=None)
  2668.  
  2669. TASK [edxapp : Replace deploy host to sandbox dns name] ************************
  2670. skipping: [localhost] => (item=None)
  2671. skipping: [localhost] => (item=None)
  2672.  
  2673. TASK [edxapp : Copy lms config file] *******************************************
  2674. skipping: [localhost] => (item=None)
  2675. skipping: [localhost] => (item=None)
  2676.  
  2677. TASK [edxapp : Copy cms config file] *******************************************
  2678. skipping: [localhost] => (item=None)
  2679. skipping: [localhost] => (item=None)
  2680.  
  2681. TASK [edxapp : Write the revisions config file] ********************************
  2682. ok: [localhost]
  2683.  
  2684. TASK [edxapp : writing {{ item }} supervisor script] ***************************
  2685. ok: [localhost] => (item=lms)
  2686. ok: [localhost] => (item=cms)
  2687.  
  2688. TASK [edxapp : writing celery supervisor scripts] ******************************
  2689. ok: [localhost] => (item=workers.conf)
  2690.  
  2691. TASK [edxapp : clean out old edxapp.conf] **************************************
  2692. ok: [localhost]
  2693.  
  2694. TASK [edxapp : add gunicorn configuration files] *******************************
  2695. ok: [localhost] => (item=lms)
  2696. ok: [localhost] => (item=cms)
  2697.  
  2698. TASK [edxapp : enable {{ item }} supervisor script] ****************************
  2699. changed: [localhost] => (item=lms)
  2700. changed: [localhost] => (item=cms)
  2701.  
  2702. TASK [edxapp : enable celery worker supervisor script] *************************
  2703. skipping: [localhost]
  2704.  
  2705. TASK [edxapp : create helper scripts for managing edxapp] **********************
  2706. ok: [localhost] => (item=[u'edxapp-migrate', u'lms'])
  2707. ok: [localhost] => (item=[u'edxapp-migrate', u'cms'])
  2708. ok: [localhost] => (item=[u'edxapp-runserver', u'lms'])
  2709. ok: [localhost] => (item=[u'edxapp-runserver', u'cms'])
  2710. ok: [localhost] => (item=[u'edxapp-shell', u'lms'])
  2711. ok: [localhost] => (item=[u'edxapp-shell', u'cms'])
  2712.  
  2713. TASK [edxapp : create script to compile and update assets] *********************
  2714. ok: [localhost]
  2715.  
  2716. TASK [edxapp : migrate] ********************************************************
  2717. changed: [localhost] => (item=lms)
  2718. changed: [localhost] => (item=cms)
  2719.  
  2720. TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
  2721. changed: [localhost] => (item=absent)
  2722. changed: [localhost] => (item=directory)
  2723.  
  2724. TASK [edxapp : gather static assets with paver] ********************************
  2725. changed: [localhost]
  2726.  
  2727. TASK [edxapp : update supervisor configuration] ********************************
  2728. changed: [localhost]
  2729.  
  2730. TASK [edxapp : ensure edxapp has started] **************************************
  2731. ok: [localhost] => (item=lms)
  2732. ok: [localhost] => (item=cms)
  2733.  
  2734. TASK [edxapp : ensure edxapp_workers has started] ******************************
  2735. skipping: [localhost]
  2736.  
  2737. TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
  2738. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
  2739. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
  2740. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
  2741. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
  2742.  
  2743. TASK [edxapp : remove read-only ssh key] ***************************************
  2744. skipping: [localhost]
  2745.  
  2746. TASK [edxapp : get instance information] ***************************************
  2747. skipping: [localhost]
  2748.  
  2749. TASK [edxapp : tag instance with edx_platform version] *************************
  2750. skipping: [localhost]
  2751.  
  2752. TASK [edxapp : tag instance with edxapp theme version] *************************
  2753. skipping: [localhost]
  2754.  
  2755. TASK [edxapp : set_fact] *******************************************************
  2756. ok: [localhost]
  2757.  
  2758. TASK [edxapp : restart edxapp] *************************************************
  2759. changed: [localhost] => (item=lms)
  2760. changed: [localhost] => (item=cms)
  2761.  
  2762. TASK [edxapp : restart edxapp_workers] *****************************************
  2763. skipping: [localhost]
  2764.  
  2765. TASK [edxapp : create service worker users] ************************************
  2766. changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'enterprise_worker@example.com'})
  2767. changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'veda_service_user@example.com'})
  2768. changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'discovery_worker@example.com'})
  2769. changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'insights_worker@example.com'})
  2770. changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'credentials_worker@example.com'})
  2771. changed: [localhost] => (item={u'username': u'designer_worker', u'is_superuser': False, u'is_staff': True, u'email': u'designer_worker@example.com'})
  2772. changed: [localhost] => (item={u'username': u'registrar_worker', u'is_superuser': False, u'is_staff': True, u'email': u'registrar_worker@example.com'})
  2773. skipping: [localhost] => (item={u'username': u'retirement_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'retirement_worker@example.com'})
  2774.  
  2775. TASK [edxapp : reindex all courses] ********************************************
  2776. skipping: [localhost]
  2777.  
  2778. TASK [edxapp : install cron job to run clearsessions] **************************
  2779. skipping: [localhost]
  2780.  
  2781. TASK [edxapp : install additional cron jobs] ***********************************
  2782.  
  2783. TASK [edxapp : populate retirement states] *************************************
  2784. skipping: [localhost]
  2785.  
  2786. TASK [Include JWT signature setting in the app config file] ********************
  2787. skipping: [localhost]
  2788.  
  2789. TASK [security : Install security packages] ************************************
  2790. skipping: [localhost]
  2791.  
  2792. TASK [security : Update all system packages] ***********************************
  2793. skipping: [localhost]
  2794.  
  2795. TASK [security : Configure periodic unattended-upgrades] ***********************
  2796. skipping: [localhost]
  2797.  
  2798. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2799. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2800. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2801. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2802.  
  2803. TASK [security : Disable unattended-upgrades] **********************************
  2804. skipping: [localhost]
  2805.  
  2806. TASK [security : Only unattended-upgrade from security repo] *******************
  2807. skipping: [localhost]
  2808.  
  2809. TASK [security : Add debian blacklist] *****************************************
  2810. skipping: [localhost]
  2811.  
  2812. TASK [security : Disable security only updates on unattended-upgrades] *********
  2813. skipping: [localhost]
  2814.  
  2815. TASK [security : Take security updates during ansible runs] ********************
  2816. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2817. skipping: [localhost] => (item=unattended-upgrade)
  2818.  
  2819. TASK [security : Install security packages] ************************************
  2820. skipping: [localhost]
  2821.  
  2822. TASK [security : Enable automatic start for update service] ********************
  2823. skipping: [localhost]
  2824.  
  2825. TASK [security : Update all system packages] ***********************************
  2826. skipping: [localhost]
  2827.  
  2828. TASK [security : Configure security auto-updates] ******************************
  2829. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2830. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2831.  
  2832. TASK [security : Take security updates during ansible runs] ********************
  2833. skipping: [localhost] => (item=yum check-update --security)
  2834. skipping: [localhost] => (item=yum update --security -y)
  2835.  
  2836. TASK [security : Install security packages] ************************************
  2837. skipping: [localhost]
  2838.  
  2839. TASK [security : Update all system packages] ***********************************
  2840. skipping: [localhost]
  2841.  
  2842. TASK [security : Configure periodic unattended-upgrades] ***********************
  2843. skipping: [localhost]
  2844.  
  2845. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2846. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2847. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2848. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2849.  
  2850. TASK [security : Disable unattended-upgrades] **********************************
  2851. skipping: [localhost]
  2852.  
  2853. TASK [security : Only unattended-upgrade from security repo] *******************
  2854. skipping: [localhost]
  2855.  
  2856. TASK [security : Add debian blacklist] *****************************************
  2857. skipping: [localhost]
  2858.  
  2859. TASK [security : Disable security only updates on unattended-upgrades] *********
  2860. skipping: [localhost]
  2861.  
  2862. TASK [security : Take security updates during ansible runs] ********************
  2863. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2864. skipping: [localhost] => (item=unattended-upgrade)
  2865.  
  2866. TASK [security : Install security packages] ************************************
  2867. skipping: [localhost]
  2868.  
  2869. TASK [security : Enable automatic start for update service] ********************
  2870. skipping: [localhost]
  2871.  
  2872. TASK [security : Update all system packages] ***********************************
  2873. skipping: [localhost]
  2874.  
  2875. TASK [security : Configure security auto-updates] ******************************
  2876. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2877. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2878.  
  2879. TASK [security : Take security updates during ansible runs] ********************
  2880. skipping: [localhost] => (item=yum check-update --security)
  2881. skipping: [localhost] => (item=yum update --security -y)
  2882.  
  2883. TASK [automated : Create automated user] ***************************************
  2884.  
  2885. TASK [automated : Create sudoers file from template] ***************************
  2886.  
  2887. TASK [automated : Create .ssh directory] ***************************************
  2888.  
  2889. TASK [automated : Build authorized_keys file] **********************************
  2890.  
  2891. TASK [automated : Build known_hosts file] **************************************
  2892.  
  2893. TASK [automated : Are we in a Docker container] ********************************
  2894. skipping: [localhost]
  2895.  
  2896. TASK [automated : Allow automated users to ssh] ********************************
  2897. skipping: [localhost]
  2898.  
  2899. TASK [automated : restart ssh] *************************************************
  2900. skipping: [localhost]
  2901.  
  2902. TASK [add_user : create user groups] *******************************************
  2903. skipping: [localhost] => (item=blockstore)
  2904.  
  2905. TASK [add_user : create application user] **************************************
  2906. skipping: [localhost]
  2907.  
  2908. TASK [add_user : ensure correct ownership of home directory] *******************
  2909. skipping: [localhost]
  2910.  
  2911. TASK [add_user : create dirs for the user] *************************************
  2912.  
  2913. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  2914. skipping: [localhost]
  2915.  
  2916. TASK [git_clone : Validate git protocol] ***************************************
  2917. skipping: [localhost] => (item=None)
  2918.  
  2919. TASK [git_clone : Install read-only ssh key] ***********************************
  2920. skipping: [localhost] => (item=None)
  2921.  
  2922. TASK [git_clone : Check that working tree is clean] ****************************
  2923. skipping: [localhost] => (item=/edx/app/blockstore/blockstore)
  2924.  
  2925. TASK [git_clone : Require a clean working tree] ********************************
  2926. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/app/blockstore/blockstore', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/blockstore/blockstore'})
  2927.  
  2928. TASK [git_clone : Checkout code over ssh] **************************************
  2929. skipping: [localhost] => (item=None)
  2930.  
  2931. TASK [git_clone : Checkout code over https] ************************************
  2932. skipping: [localhost] => (item=None)
  2933.  
  2934. TASK [git_clone : Remove read-only ssh key] ************************************
  2935. skipping: [localhost] => (item=None)
  2936.  
  2937. TASK [git_clone : Run git clean after checking out code] ***********************
  2938. skipping: [localhost] => (item=None)
  2939.  
  2940. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  2941. skipping: [localhost] => (item=)
  2942. skipping: [localhost] => (item=venvs)
  2943. skipping: [localhost] => (item=data)
  2944. skipping: [localhost] => (item=staticfiles)
  2945.  
  2946. TASK [edx_service : Create /edx/var/app dir] ***********************************
  2947. skipping: [localhost]
  2948.  
  2949. TASK [edx_service : Create /edx/etc dir] ***************************************
  2950. skipping: [localhost]
  2951.  
  2952. TASK [edx_service : Create edx_service log dir] ********************************
  2953. skipping: [localhost] => (item=/edx/var/log/blockstore)
  2954.  
  2955. TASK [edx_service : Write out app config file] *********************************
  2956. skipping: [localhost]
  2957.  
  2958. TASK [edx_service : Decrypt app config file] ***********************************
  2959. skipping: [localhost]
  2960.  
  2961. TASK [edx_service : Replace deploy host to sandbox dns name] *******************
  2962. skipping: [localhost]
  2963.  
  2964. TASK [edx_service : Copy app config file] **************************************
  2965. skipping: [localhost]
  2966.  
  2967. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2968. skipping: [localhost]
  2969.  
  2970. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2971. skipping: [localhost]
  2972.  
  2973. TASK [edx_service : Get instance information] **********************************
  2974. skipping: [localhost]
  2975.  
  2976. TASK [edx_service : Tag instance] **********************************************
  2977. skipping: [localhost] => (item=[{u'REPO': u'blockstore.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'open-craft', u'DESTINATION': u'/edx/app/blockstore/blockstore', u'SSH_KEY': None}, {'skipped': True, '_ansible_no_log': True, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': {u'REPO': u'blockstore.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'open-craft', u'DESTINATION': u'/edx/app/blockstore/blockstore', u'SSH_KEY': None}, 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': {u'REPO': u'blockstore.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'open-craft', u'DESTINATION': u'/edx/app/blockstore/blockstore', u'SSH_KEY': None}}])
  2978.  
  2979. TASK [edx_django_service : add gunicorn configuration file] ********************
  2980. skipping: [localhost]
  2981.  
  2982. TASK [edx_django_service : install python3] ************************************
  2983. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  2984. squash_actions is deprecated. Instead of using a loop to supply multiple items
  2985. and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
  2986. 'python3-dev']` and remove the loop. This feature will be removed in version
  2987. 2.11. Deprecation warnings can be disabled by setting
  2988. deprecation_warnings=False in ansible.cfg.
  2989. skipping: [localhost] => (item=[])
  2990.  
  2991. TASK [edx_django_service : build virtualenv with python3] **********************
  2992. skipping: [localhost]
  2993.  
  2994. TASK [edx_django_service : build virtualenv with python2.7] ********************
  2995. skipping: [localhost]
  2996.  
  2997. TASK [edx_django_service : Pin pip to a specific version.] *********************
  2998. skipping: [localhost]
  2999.  
  3000. TASK [edx_django_service : install nodenv] *************************************
  3001. skipping: [localhost]
  3002.  
  3003. TASK [edx_django_service : create nodeenv] *************************************
  3004. skipping: [localhost]
  3005.  
  3006. TASK [edx_django_service : upgrade npm] ****************************************
  3007. skipping: [localhost]
  3008.  
  3009. TASK [edx_django_service : install production requirements] ********************
  3010. skipping: [localhost]
  3011.  
  3012. TASK [edx_django_service : install development requirements] *******************
  3013. skipping: [localhost]
  3014.  
  3015. TASK [edx_django_service : migrate database] ***********************************
  3016. skipping: [localhost]
  3017.  
  3018. TASK [edx_django_service : run post-migrate commands] **************************
  3019.  
  3020. TASK [edx_django_service : ensure log files exist for tailing] *****************
  3021. skipping: [localhost] => (item=/edx/var/log/supervisor/blockstore-stdout.log)
  3022. skipping: [localhost] => (item=/edx/var/log/supervisor/blockstore-stderr.log)
  3023.  
  3024. TASK [edx_django_service : write out the supervisor wrapper] *******************
  3025. skipping: [localhost]
  3026.  
  3027. TASK [edx_django_service : write supervisord config] ***************************
  3028. skipping: [localhost]
  3029.  
  3030. TASK [edx_django_service : write devstack script] ******************************
  3031. skipping: [localhost]
  3032.  
  3033. TASK [edx_django_service : setup the app env file] *****************************
  3034. skipping: [localhost]
  3035.  
  3036. TASK [edx_django_service : enable supervisor script] ***************************
  3037. skipping: [localhost]
  3038.  
  3039. TASK [edx_django_service : update supervisor configuration] ********************
  3040. skipping: [localhost]
  3041.  
  3042. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  3043. skipping: [localhost] => (item=python)
  3044. skipping: [localhost] => (item=pip)
  3045. skipping: [localhost] => (item=django-admin.py)
  3046.  
  3047. TASK [edx_django_service : create symlinks from the repo dir] ******************
  3048. skipping: [localhost] => (item=manage.py)
  3049.  
  3050. TASK [edx_django_service : compile static assets] ******************************
  3051. skipping: [localhost]
  3052.  
  3053. TASK [edx_django_service : restart the application] ****************************
  3054. skipping: [localhost]
  3055.  
  3056. TASK [edx_django_service : Copying nginx configs for the service] **************
  3057. skipping: [localhost]
  3058.  
  3059. TASK [edx_django_service : Creating nginx config links for the service] ********
  3060. skipping: [localhost]
  3061.  
  3062. TASK [Include JWT signature setting in the app config file] ********************
  3063. skipping: [localhost]
  3064.  
  3065. TASK [add_user : create user groups] *******************************************
  3066. skipping: [localhost] => (item=edx-themes)
  3067.  
  3068. TASK [add_user : create application user] **************************************
  3069. skipping: [localhost]
  3070.  
  3071. TASK [add_user : ensure correct ownership of home directory] *******************
  3072. skipping: [localhost]
  3073.  
  3074. TASK [add_user : create dirs for the user] *************************************
  3075.  
  3076. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  3077. skipping: [localhost]
  3078.  
  3079. TASK [git_clone : Validate git protocol] ***************************************
  3080. skipping: [localhost] => (item=None)
  3081.  
  3082. TASK [git_clone : Install read-only ssh key] ***********************************
  3083. skipping: [localhost] => (item=None)
  3084.  
  3085. TASK [git_clone : Check that working tree is clean] ****************************
  3086. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  3087.  
  3088. TASK [git_clone : Require a clean working tree] ********************************
  3089. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/var/edx-themes/edx-themes', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/var/edx-themes/edx-themes'})
  3090.  
  3091. TASK [git_clone : Checkout code over ssh] **************************************
  3092. skipping: [localhost] => (item=None)
  3093.  
  3094. TASK [git_clone : Checkout code over https] ************************************
  3095. skipping: [localhost] => (item=None)
  3096.  
  3097. TASK [git_clone : Remove read-only ssh key] ************************************
  3098. skipping: [localhost] => (item=None)
  3099.  
  3100. TASK [git_clone : Run git clean after checking out code] ***********************
  3101. skipping: [localhost] => (item=None)
  3102.  
  3103. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  3104. skipping: [localhost]
  3105.  
  3106. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  3107. skipping: [localhost] => (item=ecommerce)
  3108.  
  3109. TASK [edx_themes : update .bashrc to set umask value] **************************
  3110. skipping: [localhost]
  3111.  
  3112. TASK [security : Install security packages] ************************************
  3113. skipping: [localhost]
  3114.  
  3115. TASK [security : Update all system packages] ***********************************
  3116. skipping: [localhost]
  3117.  
  3118. TASK [security : Configure periodic unattended-upgrades] ***********************
  3119. skipping: [localhost]
  3120.  
  3121. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3122. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3123. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3124. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3125.  
  3126. TASK [security : Disable unattended-upgrades] **********************************
  3127. skipping: [localhost]
  3128.  
  3129. TASK [security : Only unattended-upgrade from security repo] *******************
  3130. skipping: [localhost]
  3131.  
  3132. TASK [security : Add debian blacklist] *****************************************
  3133. skipping: [localhost]
  3134.  
  3135. TASK [security : Disable security only updates on unattended-upgrades] *********
  3136. skipping: [localhost]
  3137.  
  3138. TASK [security : Take security updates during ansible runs] ********************
  3139. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3140. skipping: [localhost] => (item=unattended-upgrade)
  3141.  
  3142. TASK [security : Install security packages] ************************************
  3143. skipping: [localhost]
  3144.  
  3145. TASK [security : Enable automatic start for update service] ********************
  3146. skipping: [localhost]
  3147.  
  3148. TASK [security : Update all system packages] ***********************************
  3149. skipping: [localhost]
  3150.  
  3151. TASK [security : Configure security auto-updates] ******************************
  3152. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3153. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3154.  
  3155. TASK [security : Take security updates during ansible runs] ********************
  3156. skipping: [localhost] => (item=yum check-update --security)
  3157. skipping: [localhost] => (item=yum update --security -y)
  3158.  
  3159. TASK [security : Install security packages] ************************************
  3160. skipping: [localhost]
  3161.  
  3162. TASK [security : Update all system packages] ***********************************
  3163. skipping: [localhost]
  3164.  
  3165. TASK [security : Configure periodic unattended-upgrades] ***********************
  3166. skipping: [localhost]
  3167.  
  3168. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3169. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3170. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3171. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3172.  
  3173. TASK [security : Disable unattended-upgrades] **********************************
  3174. skipping: [localhost]
  3175.  
  3176. TASK [security : Only unattended-upgrade from security repo] *******************
  3177. skipping: [localhost]
  3178.  
  3179. TASK [security : Add debian blacklist] *****************************************
  3180. skipping: [localhost]
  3181.  
  3182. TASK [security : Disable security only updates on unattended-upgrades] *********
  3183. skipping: [localhost]
  3184.  
  3185. TASK [security : Take security updates during ansible runs] ********************
  3186. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3187. skipping: [localhost] => (item=unattended-upgrade)
  3188.  
  3189. TASK [security : Install security packages] ************************************
  3190. skipping: [localhost]
  3191.  
  3192. TASK [security : Enable automatic start for update service] ********************
  3193. skipping: [localhost]
  3194.  
  3195. TASK [security : Update all system packages] ***********************************
  3196. skipping: [localhost]
  3197.  
  3198. TASK [security : Configure security auto-updates] ******************************
  3199. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3200. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3201.  
  3202. TASK [security : Take security updates during ansible runs] ********************
  3203. skipping: [localhost] => (item=yum check-update --security)
  3204. skipping: [localhost] => (item=yum update --security -y)
  3205.  
  3206. TASK [automated : Create automated user] ***************************************
  3207.  
  3208. TASK [automated : Create sudoers file from template] ***************************
  3209.  
  3210. TASK [automated : Create .ssh directory] ***************************************
  3211.  
  3212. TASK [automated : Build authorized_keys file] **********************************
  3213.  
  3214. TASK [automated : Build known_hosts file] **************************************
  3215.  
  3216. TASK [automated : Are we in a Docker container] ********************************
  3217. changed: [localhost]
  3218.  
  3219. TASK [automated : Allow automated users to ssh] ********************************
  3220. skipping: [localhost]
  3221.  
  3222. TASK [automated : restart ssh] *************************************************
  3223. skipping: [localhost]
  3224.  
  3225. TASK [add_user : create user groups] *******************************************
  3226. changed: [localhost] => (item=ecommerce)
  3227.  
  3228. TASK [add_user : create application user] **************************************
  3229. changed: [localhost]
  3230.  
  3231. TASK [add_user : ensure correct ownership of home directory] *******************
  3232. ok: [localhost]
  3233.  
  3234. TASK [add_user : create dirs for the user] *************************************
  3235.  
  3236. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  3237. changed: [localhost]
  3238.  
  3239. TASK [git_clone : Validate git protocol] ***************************************
  3240. skipping: [localhost] => (item=None)
  3241.  
  3242. TASK [git_clone : Install read-only ssh key] ***********************************
  3243. skipping: [localhost] => (item=None)
  3244.  
  3245. TASK [git_clone : Check that working tree is clean] ****************************
  3246. changed: [localhost] => (item=/edx/app/ecommerce/ecommerce)
  3247.  
  3248. TASK [git_clone : Require a clean working tree] ********************************
  3249. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001905', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/ecommerce/ecommerce', u'end': u'2020-01-23 10:51:43.614888', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/ecommerce/ecommerce" || git -C "/edx/app/ecommerce/ecommerce" status --porcelain --untracked-files=no', 'item': u'/edx/app/ecommerce/ecommerce', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/ecommerce/ecommerce" || git -C "/edx/app/ecommerce/ecommerce" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 10:51:43.612983', '_ansible_ignore_errors': None})
  3250.  
  3251. TASK [git_clone : Checkout code over ssh] **************************************
  3252. skipping: [localhost] => (item=None)
  3253.  
  3254. TASK [git_clone : Checkout code over https] ************************************
  3255. changed: [localhost] => (item=None)
  3256. changed: [localhost]
  3257.  
  3258. TASK [git_clone : Remove read-only ssh key] ************************************
  3259. skipping: [localhost] => (item=None)
  3260.  
  3261. TASK [git_clone : Run git clean after checking out code] ***********************
  3262. changed: [localhost] => (item=None)
  3263. changed: [localhost]
  3264.  
  3265. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  3266. ok: [localhost] => (item=)
  3267. changed: [localhost] => (item=venvs)
  3268. changed: [localhost] => (item=data)
  3269. changed: [localhost] => (item=staticfiles)
  3270.  
  3271. TASK [edx_service : Create /edx/var/app dir] ***********************************
  3272. changed: [localhost]
  3273.  
  3274. TASK [edx_service : Create /edx/etc dir] ***************************************
  3275. changed: [localhost]
  3276.  
  3277. TASK [edx_service : Create edx_service log dir] ********************************
  3278. changed: [localhost] => (item=/edx/var/log/ecommerce)
  3279.  
  3280. TASK [edx_service : Write out app config file] *********************************
  3281. changed: [localhost]
  3282.  
  3283. TASK [edx_service : Decrypt app config file] ***********************************
  3284. skipping: [localhost]
  3285.  
  3286. TASK [edx_service : Replace deploy host to sandbox dns name] *******************
  3287. skipping: [localhost]
  3288.  
  3289. TASK [edx_service : Copy app config file] **************************************
  3290. skipping: [localhost]
  3291.  
  3292. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3293. changed: [localhost]
  3294.  
  3295. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3296. skipping: [localhost]
  3297.  
  3298. TASK [edx_service : Get instance information] **********************************
  3299. ok: [localhost]
  3300.  
  3301. TASK [edx_service : Tag instance] **********************************************
  3302. skipping: [localhost] => (item=[{u'REPO': u'ecommerce.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'ecommerce.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None}, u'after': u'aa179242327bffea625027be15a1c3b122e0c246', 'failed': False, '_ansible_item_label': {u'REPO': u'ecommerce.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/ecommerce/ecommerce', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/ecommerce.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
  3303.  
  3304. TASK [edx_django_service : add gunicorn configuration file] ********************
  3305. changed: [localhost]
  3306.  
  3307. TASK [edx_django_service : install python3] ************************************
  3308. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  3309. squash_actions is deprecated. Instead of using a loop to supply multiple items
  3310. and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
  3311. 'python3-dev']` and remove the loop. This feature will be removed in version
  3312. 2.11. Deprecation warnings can be disabled by setting
  3313. deprecation_warnings=False in ansible.cfg.
  3314. changed: [localhost] => (item=[u'python3-pip', u'python3-dev'])
  3315.  
  3316. TASK [edx_django_service : build virtualenv with python3] **********************
  3317. changed: [localhost]
  3318.  
  3319. TASK [edx_django_service : build virtualenv with python2.7] ********************
  3320. skipping: [localhost]
  3321.  
  3322. TASK [edx_django_service : Pin pip to a specific version.] *********************
  3323. changed: [localhost]
  3324.  
  3325. TASK [edx_django_service : install nodenv] *************************************
  3326. changed: [localhost]
  3327.  
  3328. TASK [edx_django_service : create nodeenv] *************************************
  3329. changed: [localhost]
  3330.  
  3331. TASK [edx_django_service : upgrade npm] ****************************************
  3332. changed: [localhost]
  3333.  
  3334. TASK [edx_django_service : install production requirements] ********************
  3335. changed: [localhost]
  3336.  
  3337. TASK [edx_django_service : install development requirements] *******************
  3338. skipping: [localhost]
  3339.  
  3340. TASK [edx_django_service : migrate database] ***********************************
  3341. changed: [localhost]
  3342.  
  3343. TASK [edx_django_service : run post-migrate commands] **************************
  3344. changed: [localhost] => (item={u'command': u'./manage.py oscar_populate_countries --initial-only', u'when': True})
  3345. changed: [localhost] => (item={u'command': u'./manage.py create_or_update_site --site-id=1 --site-domain=localhost:8002 --partner-code=edX --partner-name="Open edX" --lms-url-root=http://127.0.0.1:8000 --client-side-payment-processor=cybersource --payment-processors=cybersource,paypal --sso-client-id=ecommerce-sso-key --sso-client-secret=ecommerce-sso-secret --backend-service-client-id=ecommerce-backend-service-key --backend-service-client-secret=ecommerce-backend-service-secret --from-email staff@example.com --discovery_api_url=http://localhost:8008/api/v1/', u'when': True})
  3346. changed: [localhost] => (item={u'command': u'./manage.py create_demo_data --partner=edX', u'when': True})
  3347.  
  3348. TASK [edx_django_service : ensure log files exist for tailing] *****************
  3349. changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stdout.log)
  3350. changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stderr.log)
  3351.  
  3352. TASK [edx_django_service : write out the supervisor wrapper] *******************
  3353. changed: [localhost]
  3354.  
  3355. TASK [edx_django_service : write supervisord config] ***************************
  3356. changed: [localhost]
  3357.  
  3358. TASK [edx_django_service : write devstack script] ******************************
  3359. skipping: [localhost]
  3360.  
  3361. TASK [edx_django_service : setup the app env file] *****************************
  3362. changed: [localhost]
  3363.  
  3364. TASK [edx_django_service : enable supervisor script] ***************************
  3365. changed: [localhost]
  3366.  
  3367. TASK [edx_django_service : update supervisor configuration] ********************
  3368. changed: [localhost]
  3369.  
  3370. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  3371. changed: [localhost] => (item=python)
  3372. changed: [localhost] => (item=pip)
  3373. changed: [localhost] => (item=django-admin.py)
  3374.  
  3375. TASK [edx_django_service : create symlinks from the repo dir] ******************
  3376. changed: [localhost] => (item=manage.py)
  3377.  
  3378. TASK [edx_django_service : compile static assets] ******************************
  3379. changed: [localhost]
  3380.  
  3381. TASK [edx_django_service : restart the application] ****************************
  3382. changed: [localhost]
  3383.  
  3384. TASK [edx_django_service : Copying nginx configs for the service] **************
  3385. changed: [localhost]
  3386.  
  3387. TASK [edx_django_service : Creating nginx config links for the service] ********
  3388. changed: [localhost]
  3389.  
  3390. TASK [Include JWT signature setting in the app config file] ********************
  3391. skipping: [localhost]
  3392.  
  3393. TASK [security : Install security packages] ************************************
  3394. skipping: [localhost]
  3395.  
  3396. TASK [security : Update all system packages] ***********************************
  3397. skipping: [localhost]
  3398.  
  3399. TASK [security : Configure periodic unattended-upgrades] ***********************
  3400. skipping: [localhost]
  3401.  
  3402. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3403. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3404. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3405. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3406.  
  3407. TASK [security : Disable unattended-upgrades] **********************************
  3408. skipping: [localhost]
  3409.  
  3410. TASK [security : Only unattended-upgrade from security repo] *******************
  3411. skipping: [localhost]
  3412.  
  3413. TASK [security : Add debian blacklist] *****************************************
  3414. skipping: [localhost]
  3415.  
  3416. TASK [security : Disable security only updates on unattended-upgrades] *********
  3417. skipping: [localhost]
  3418.  
  3419. TASK [security : Take security updates during ansible runs] ********************
  3420. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3421. skipping: [localhost] => (item=unattended-upgrade)
  3422.  
  3423. TASK [security : Install security packages] ************************************
  3424. skipping: [localhost]
  3425.  
  3426. TASK [security : Enable automatic start for update service] ********************
  3427. skipping: [localhost]
  3428.  
  3429. TASK [security : Update all system packages] ***********************************
  3430. skipping: [localhost]
  3431.  
  3432. TASK [security : Configure security auto-updates] ******************************
  3433. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3434. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3435.  
  3436. TASK [security : Take security updates during ansible runs] ********************
  3437. skipping: [localhost] => (item=yum check-update --security)
  3438. skipping: [localhost] => (item=yum update --security -y)
  3439.  
  3440. TASK [antivirus : install antivirus system packages] ***************************
  3441. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  3442. squash_actions is deprecated. Instead of using a loop to supply multiple items
  3443. and specifying `pkg: "{{ item }}"`, please use `pkg: '{{ antivirus_debian_pkgs
  3444. }}'` and remove the loop. This feature will be removed in version 2.11.
  3445. Deprecation warnings can be disabled by setting deprecation_warnings=False in
  3446. ansible.cfg.
  3447. skipping: [localhost] => (item=[])
  3448.  
  3449. TASK [antivirus : create antivirus scanner user] *******************************
  3450. skipping: [localhost]
  3451.  
  3452. TASK [antivirus : create antivirus edx directories] ****************************
  3453. skipping: [localhost] => (item=/edx/app/antivirus)
  3454. skipping: [localhost] => (item=/edx/app/antivirus/data)
  3455. skipping: [localhost] => (item=/edx/var/log/antivirus)
  3456.  
  3457. TASK [antivirus : Ensure the clamav.log file exists] ***************************
  3458. skipping: [localhost]
  3459.  
  3460. TASK [antivirus : install antivirus s3 scanner script] *************************
  3461. skipping: [localhost]
  3462.  
  3463. TASK [antivirus : install antivirus s3 scanner cronjob] ************************
  3464. skipping: [localhost] => (item=None)
  3465.  
  3466. TASK [antivirus : install antivirus server scanner script] *********************
  3467. skipping: [localhost]
  3468.  
  3469. TASK [antivirus : install antivirus server scanner cronjob] ********************
  3470. skipping: [localhost]
  3471.  
  3472. TASK [ecommerce : Create Apple Pay certificates directory] *********************
  3473. changed: [localhost]
  3474.  
  3475. TASK [ecommerce : Write Apple Pay merchant certificates] ***********************
  3476. changed: [localhost]
  3477.  
  3478. TASK [security : Install security packages] ************************************
  3479. skipping: [localhost]
  3480.  
  3481. TASK [security : Update all system packages] ***********************************
  3482. skipping: [localhost]
  3483.  
  3484. TASK [security : Configure periodic unattended-upgrades] ***********************
  3485. skipping: [localhost]
  3486.  
  3487. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3488. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3489. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3490. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3491.  
  3492. TASK [security : Disable unattended-upgrades] **********************************
  3493. skipping: [localhost]
  3494.  
  3495. TASK [security : Only unattended-upgrade from security repo] *******************
  3496. skipping: [localhost]
  3497.  
  3498. TASK [security : Add debian blacklist] *****************************************
  3499. skipping: [localhost]
  3500.  
  3501. TASK [security : Disable security only updates on unattended-upgrades] *********
  3502. skipping: [localhost]
  3503.  
  3504. TASK [security : Take security updates during ansible runs] ********************
  3505. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3506. skipping: [localhost] => (item=unattended-upgrade)
  3507.  
  3508. TASK [security : Install security packages] ************************************
  3509. skipping: [localhost]
  3510.  
  3511. TASK [security : Enable automatic start for update service] ********************
  3512. skipping: [localhost]
  3513.  
  3514. TASK [security : Update all system packages] ***********************************
  3515. skipping: [localhost]
  3516.  
  3517. TASK [security : Configure security auto-updates] ******************************
  3518. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3519. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3520.  
  3521. TASK [security : Take security updates during ansible runs] ********************
  3522. skipping: [localhost] => (item=yum check-update --security)
  3523. skipping: [localhost] => (item=yum update --security -y)
  3524.  
  3525. TASK [security : Install security packages] ************************************
  3526. skipping: [localhost]
  3527.  
  3528. TASK [security : Update all system packages] ***********************************
  3529. skipping: [localhost]
  3530.  
  3531. TASK [security : Configure periodic unattended-upgrades] ***********************
  3532. skipping: [localhost]
  3533.  
  3534. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3535. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3536. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3537. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3538.  
  3539. TASK [security : Disable unattended-upgrades] **********************************
  3540. skipping: [localhost]
  3541.  
  3542. TASK [security : Only unattended-upgrade from security repo] *******************
  3543. skipping: [localhost]
  3544.  
  3545. TASK [security : Add debian blacklist] *****************************************
  3546. skipping: [localhost]
  3547.  
  3548. TASK [security : Disable security only updates on unattended-upgrades] *********
  3549. skipping: [localhost]
  3550.  
  3551. TASK [security : Take security updates during ansible runs] ********************
  3552. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3553. skipping: [localhost] => (item=unattended-upgrade)
  3554.  
  3555. TASK [security : Install security packages] ************************************
  3556. skipping: [localhost]
  3557.  
  3558. TASK [security : Enable automatic start for update service] ********************
  3559. skipping: [localhost]
  3560.  
  3561. TASK [security : Update all system packages] ***********************************
  3562. skipping: [localhost]
  3563.  
  3564. TASK [security : Configure security auto-updates] ******************************
  3565. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3566. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3567.  
  3568. TASK [security : Take security updates during ansible runs] ********************
  3569. skipping: [localhost] => (item=yum check-update --security)
  3570. skipping: [localhost] => (item=yum update --security -y)
  3571.  
  3572. TASK [add_user : create user groups] *******************************************
  3573. changed: [localhost] => (item=ecomworker)
  3574.  
  3575. TASK [add_user : create application user] **************************************
  3576. changed: [localhost]
  3577.  
  3578. TASK [add_user : ensure correct ownership of home directory] *******************
  3579. ok: [localhost]
  3580.  
  3581. TASK [add_user : create dirs for the user] *************************************
  3582.  
  3583. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  3584. changed: [localhost]
  3585.  
  3586. TASK [git_clone : Validate git protocol] ***************************************
  3587. skipping: [localhost] => (item=None)
  3588.  
  3589. TASK [git_clone : Install read-only ssh key] ***********************************
  3590. skipping: [localhost] => (item=None)
  3591.  
  3592. TASK [git_clone : Check that working tree is clean] ****************************
  3593. changed: [localhost] => (item=/edx/app/ecomworker/ecomworker)
  3594.  
  3595. TASK [git_clone : Require a clean working tree] ********************************
  3596. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001897', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/ecomworker/ecomworker', u'end': u'2020-01-23 10:58:19.827036', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/ecomworker/ecomworker" || git -C "/edx/app/ecomworker/ecomworker" status --porcelain --untracked-files=no', 'item': u'/edx/app/ecomworker/ecomworker', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/ecomworker/ecomworker" || git -C "/edx/app/ecomworker/ecomworker" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 10:58:19.825139', '_ansible_ignore_errors': None})
  3597.  
  3598. TASK [git_clone : Checkout code over ssh] **************************************
  3599. skipping: [localhost] => (item=None)
  3600.  
  3601. TASK [git_clone : Checkout code over https] ************************************
  3602. changed: [localhost] => (item=None)
  3603. changed: [localhost]
  3604.  
  3605. TASK [git_clone : Remove read-only ssh key] ************************************
  3606. skipping: [localhost] => (item=None)
  3607.  
  3608. TASK [git_clone : Run git clean after checking out code] ***********************
  3609. changed: [localhost] => (item=None)
  3610. changed: [localhost]
  3611.  
  3612. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  3613. ok: [localhost] => (item=)
  3614. changed: [localhost] => (item=venvs)
  3615. changed: [localhost] => (item=data)
  3616. changed: [localhost] => (item=staticfiles)
  3617.  
  3618. TASK [edx_service : Create /edx/var/app dir] ***********************************
  3619. changed: [localhost]
  3620.  
  3621. TASK [edx_service : Create /edx/etc dir] ***************************************
  3622. changed: [localhost]
  3623.  
  3624. TASK [edx_service : Create edx_service log dir] ********************************
  3625. changed: [localhost] => (item=/edx/var/log/ecomworker)
  3626.  
  3627. TASK [edx_service : Write out app config file] *********************************
  3628. changed: [localhost]
  3629.  
  3630. TASK [edx_service : Decrypt app config file] ***********************************
  3631. skipping: [localhost]
  3632.  
  3633. TASK [edx_service : Replace deploy host to sandbox dns name] *******************
  3634. skipping: [localhost]
  3635.  
  3636. TASK [edx_service : Copy app config file] **************************************
  3637. skipping: [localhost]
  3638.  
  3639. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3640. ok: [localhost]
  3641.  
  3642. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3643. skipping: [localhost]
  3644.  
  3645. TASK [edx_service : Get instance information] **********************************
  3646. ok: [localhost]
  3647.  
  3648. TASK [edx_service : Tag instance] **********************************************
  3649. skipping: [localhost] => (item=[{u'REPO': u'ecommerce-worker.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'ecommerce-worker.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None}, u'after': u'4da3ab9ca1985b16ddcfd4d76229c5e6371b7969', 'failed': False, '_ansible_item_label': {u'REPO': u'ecommerce-worker.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/ecomworker/ecomworker', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/ecommerce-worker.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
  3650.  
  3651. TASK [ecomworker : install application requirements] ***************************
  3652. changed: [localhost] => (item=production.txt)
  3653. changed: [localhost] => (item=optional.txt)
  3654.  
  3655. TASK [ecomworker : write out the supervisor wrapper] ***************************
  3656. changed: [localhost]
  3657.  
  3658. TASK [ecomworker : write supervisord config] ***********************************
  3659. changed: [localhost]
  3660.  
  3661. TASK [ecomworker : setup the ecommerce_worker env file] ************************
  3662. changed: [localhost]
  3663.  
  3664. TASK [ecomworker : enable supervisor script] ***********************************
  3665. changed: [localhost]
  3666.  
  3667. TASK [ecomworker : update supervisor configuration] ****************************
  3668. changed: [localhost]
  3669.  
  3670. TASK [ecomworker : create symlinks from the venv bin dir] **********************
  3671. changed: [localhost] => (item=python)
  3672. changed: [localhost] => (item=pip)
  3673.  
  3674. TASK [ecomworker : restart the applicaton] *************************************
  3675. changed: [localhost]
  3676.  
  3677. TASK [security : Install security packages] ************************************
  3678. skipping: [localhost]
  3679.  
  3680. TASK [security : Update all system packages] ***********************************
  3681. skipping: [localhost]
  3682.  
  3683. TASK [security : Configure periodic unattended-upgrades] ***********************
  3684. skipping: [localhost]
  3685.  
  3686. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3687. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3688. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3689. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3690.  
  3691. TASK [security : Disable unattended-upgrades] **********************************
  3692. skipping: [localhost]
  3693.  
  3694. TASK [security : Only unattended-upgrade from security repo] *******************
  3695. skipping: [localhost]
  3696.  
  3697. TASK [security : Add debian blacklist] *****************************************
  3698. skipping: [localhost]
  3699.  
  3700. TASK [security : Disable security only updates on unattended-upgrades] *********
  3701. skipping: [localhost]
  3702.  
  3703. TASK [security : Take security updates during ansible runs] ********************
  3704. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3705. skipping: [localhost] => (item=unattended-upgrade)
  3706.  
  3707. TASK [security : Install security packages] ************************************
  3708. skipping: [localhost]
  3709.  
  3710. TASK [security : Enable automatic start for update service] ********************
  3711. skipping: [localhost]
  3712.  
  3713. TASK [security : Update all system packages] ***********************************
  3714. skipping: [localhost]
  3715.  
  3716. TASK [security : Configure security auto-updates] ******************************
  3717. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3718. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3719.  
  3720. TASK [security : Take security updates during ansible runs] ********************
  3721. skipping: [localhost] => (item=yum check-update --security)
  3722. skipping: [localhost] => (item=yum update --security -y)
  3723.  
  3724. TASK [security : Install security packages] ************************************
  3725. skipping: [localhost]
  3726.  
  3727. TASK [security : Update all system packages] ***********************************
  3728. skipping: [localhost]
  3729.  
  3730. TASK [security : Configure periodic unattended-upgrades] ***********************
  3731. skipping: [localhost]
  3732.  
  3733. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3734. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3735. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3736. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3737.  
  3738. TASK [security : Disable unattended-upgrades] **********************************
  3739. skipping: [localhost]
  3740.  
  3741. TASK [security : Only unattended-upgrade from security repo] *******************
  3742. skipping: [localhost]
  3743.  
  3744. TASK [security : Add debian blacklist] *****************************************
  3745. skipping: [localhost]
  3746.  
  3747. TASK [security : Disable security only updates on unattended-upgrades] *********
  3748. skipping: [localhost]
  3749.  
  3750. TASK [security : Take security updates during ansible runs] ********************
  3751. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3752. skipping: [localhost] => (item=unattended-upgrade)
  3753.  
  3754. TASK [security : Install security packages] ************************************
  3755. skipping: [localhost]
  3756.  
  3757. TASK [security : Enable automatic start for update service] ********************
  3758. skipping: [localhost]
  3759.  
  3760. TASK [security : Update all system packages] ***********************************
  3761. skipping: [localhost]
  3762.  
  3763. TASK [security : Configure security auto-updates] ******************************
  3764. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3765. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3766.  
  3767. TASK [security : Take security updates during ansible runs] ********************
  3768. skipping: [localhost] => (item=yum check-update --security)
  3769. skipping: [localhost] => (item=yum update --security -y)
  3770.  
  3771. TASK [automated : Create automated user] ***************************************
  3772.  
  3773. TASK [automated : Create sudoers file from template] ***************************
  3774.  
  3775. TASK [automated : Create .ssh directory] ***************************************
  3776.  
  3777. TASK [automated : Build authorized_keys file] **********************************
  3778.  
  3779. TASK [automated : Build known_hosts file] **************************************
  3780.  
  3781. TASK [automated : Are we in a Docker container] ********************************
  3782. changed: [localhost]
  3783.  
  3784. TASK [automated : Allow automated users to ssh] ********************************
  3785. skipping: [localhost]
  3786.  
  3787. TASK [automated : restart ssh] *************************************************
  3788. skipping: [localhost]
  3789.  
  3790. TASK [add_user : create user groups] *******************************************
  3791. changed: [localhost] => (item=analytics_api)
  3792.  
  3793. TASK [add_user : create application user] **************************************
  3794. changed: [localhost]
  3795.  
  3796. TASK [add_user : ensure correct ownership of home directory] *******************
  3797. ok: [localhost]
  3798.  
  3799. TASK [add_user : create dirs for the user] *************************************
  3800.  
  3801. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  3802. changed: [localhost]
  3803.  
  3804. TASK [git_clone : Validate git protocol] ***************************************
  3805. skipping: [localhost] => (item=None)
  3806.  
  3807. TASK [git_clone : Install read-only ssh key] ***********************************
  3808. skipping: [localhost] => (item=None)
  3809.  
  3810. TASK [git_clone : Check that working tree is clean] ****************************
  3811. changed: [localhost] => (item=/edx/app/analytics_api/analytics_api)
  3812.  
  3813. TASK [git_clone : Require a clean working tree] ********************************
  3814. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001987', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/analytics_api/analytics_api', u'end': u'2020-01-23 10:58:49.760725', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/analytics_api/analytics_api" || git -C "/edx/app/analytics_api/analytics_api" status --porcelain --untracked-files=no', 'item': u'/edx/app/analytics_api/analytics_api', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/analytics_api/analytics_api" || git -C "/edx/app/analytics_api/analytics_api" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 10:58:49.758738', '_ansible_ignore_errors': None})
  3815.  
  3816. TASK [git_clone : Checkout code over ssh] **************************************
  3817. skipping: [localhost] => (item=None)
  3818.  
  3819. TASK [git_clone : Checkout code over https] ************************************
  3820. changed: [localhost] => (item=None)
  3821. changed: [localhost]
  3822.  
  3823. TASK [git_clone : Remove read-only ssh key] ************************************
  3824. skipping: [localhost] => (item=None)
  3825.  
  3826. TASK [git_clone : Run git clean after checking out code] ***********************
  3827. changed: [localhost] => (item=None)
  3828. changed: [localhost]
  3829.  
  3830. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  3831. ok: [localhost] => (item=)
  3832. changed: [localhost] => (item=venvs)
  3833. changed: [localhost] => (item=data)
  3834. changed: [localhost] => (item=staticfiles)
  3835.  
  3836. TASK [edx_service : Create /edx/var/app dir] ***********************************
  3837. changed: [localhost]
  3838.  
  3839. TASK [edx_service : Create /edx/etc dir] ***************************************
  3840. changed: [localhost]
  3841.  
  3842. TASK [edx_service : Create edx_service log dir] ********************************
  3843. changed: [localhost] => (item=/edx/var/log/analytics_api)
  3844.  
  3845. TASK [edx_service : Write out app config file] *********************************
  3846. changed: [localhost]
  3847.  
  3848. TASK [edx_service : Decrypt app config file] ***********************************
  3849. skipping: [localhost]
  3850.  
  3851. TASK [edx_service : Replace deploy host to sandbox dns name] *******************
  3852. skipping: [localhost]
  3853.  
  3854. TASK [edx_service : Copy app config file] **************************************
  3855. skipping: [localhost]
  3856.  
  3857. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3858. ok: [localhost]
  3859.  
  3860. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3861. skipping: [localhost]
  3862.  
  3863. TASK [edx_service : Get instance information] **********************************
  3864. ok: [localhost]
  3865.  
  3866. TASK [edx_service : Tag instance] **********************************************
  3867. skipping: [localhost] => (item=[{u'REPO': u'edx-analytics-data-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'edx-analytics-data-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None}, u'after': u'9aeac0dc6b28a21d7ff757c9e6cf1e5ee2b840c9', 'failed': False, '_ansible_item_label': {u'REPO': u'edx-analytics-data-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/analytics_api/analytics_api', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/edx-analytics-data-api.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
  3868.  
  3869. TASK [edx_django_service : add gunicorn configuration file] ********************
  3870. changed: [localhost]
  3871.  
  3872. TASK [edx_django_service : install python3] ************************************
  3873. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  3874. squash_actions is deprecated. Instead of using a loop to supply multiple items
  3875. and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
  3876. 'python3-dev']` and remove the loop. This feature will be removed in version
  3877. 2.11. Deprecation warnings can be disabled by setting
  3878. deprecation_warnings=False in ansible.cfg.
  3879. skipping: [localhost] => (item=[])
  3880.  
  3881. TASK [edx_django_service : build virtualenv with python3] **********************
  3882. skipping: [localhost]
  3883.  
  3884. TASK [edx_django_service : build virtualenv with python2.7] ********************
  3885. changed: [localhost]
  3886.  
  3887. TASK [edx_django_service : Pin pip to a specific version.] *********************
  3888. changed: [localhost]
  3889.  
  3890. TASK [edx_django_service : install nodenv] *************************************
  3891. changed: [localhost]
  3892.  
  3893. TASK [edx_django_service : create nodeenv] *************************************
  3894. changed: [localhost]
  3895.  
  3896. TASK [edx_django_service : upgrade npm] ****************************************
  3897. changed: [localhost]
  3898.  
  3899. TASK [edx_django_service : install production requirements] ********************
  3900. changed: [localhost]
  3901.  
  3902. TASK [edx_django_service : install development requirements] *******************
  3903. skipping: [localhost]
  3904.  
  3905. TASK [edx_django_service : migrate database] ***********************************
  3906. changed: [localhost]
  3907.  
  3908. TASK [edx_django_service : run post-migrate commands] **************************
  3909.  
  3910. TASK [edx_django_service : ensure log files exist for tailing] *****************
  3911. changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stdout.log)
  3912. changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stderr.log)
  3913.  
  3914. TASK [edx_django_service : write out the supervisor wrapper] *******************
  3915. changed: [localhost]
  3916.  
  3917. TASK [edx_django_service : write supervisord config] ***************************
  3918. changed: [localhost]
  3919.  
  3920. TASK [edx_django_service : write devstack script] ******************************
  3921. skipping: [localhost]
  3922.  
  3923. TASK [edx_django_service : setup the app env file] *****************************
  3924. changed: [localhost]
  3925.  
  3926. TASK [edx_django_service : enable supervisor script] ***************************
  3927. changed: [localhost]
  3928.  
  3929. TASK [edx_django_service : update supervisor configuration] ********************
  3930. changed: [localhost]
  3931.  
  3932. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  3933. changed: [localhost] => (item=python)
  3934. changed: [localhost] => (item=pip)
  3935. changed: [localhost] => (item=django-admin.py)
  3936.  
  3937. TASK [edx_django_service : create symlinks from the repo dir] ******************
  3938. changed: [localhost] => (item=manage.py)
  3939.  
  3940. TASK [edx_django_service : compile static assets] ******************************
  3941. changed: [localhost]
  3942.  
  3943. TASK [edx_django_service : restart the application] ****************************
  3944. changed: [localhost]
  3945.  
  3946. TASK [edx_django_service : Copying nginx configs for the service] **************
  3947. changed: [localhost]
  3948.  
  3949. TASK [edx_django_service : Creating nginx config links for the service] ********
  3950. changed: [localhost]
  3951.  
  3952. TASK [Include JWT signature setting in the app config file] ********************
  3953. skipping: [localhost]
  3954.  
  3955. TASK [analytics_api : create api users] ****************************************
  3956. changed: [localhost] => (item={'value': u'changeme', 'key': u'dummy-api-user'})
  3957.  
  3958. TASK [security : Install security packages] ************************************
  3959. skipping: [localhost]
  3960.  
  3961. TASK [security : Update all system packages] ***********************************
  3962. skipping: [localhost]
  3963.  
  3964. TASK [security : Configure periodic unattended-upgrades] ***********************
  3965. skipping: [localhost]
  3966.  
  3967. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3968. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3969. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3970. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3971.  
  3972. TASK [security : Disable unattended-upgrades] **********************************
  3973. skipping: [localhost]
  3974.  
  3975. TASK [security : Only unattended-upgrade from security repo] *******************
  3976. skipping: [localhost]
  3977.  
  3978. TASK [security : Add debian blacklist] *****************************************
  3979. skipping: [localhost]
  3980.  
  3981. TASK [security : Disable security only updates on unattended-upgrades] *********
  3982. skipping: [localhost]
  3983.  
  3984. TASK [security : Take security updates during ansible runs] ********************
  3985. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3986. skipping: [localhost] => (item=unattended-upgrade)
  3987.  
  3988. TASK [security : Install security packages] ************************************
  3989. skipping: [localhost]
  3990.  
  3991. TASK [security : Enable automatic start for update service] ********************
  3992. skipping: [localhost]
  3993.  
  3994. TASK [security : Update all system packages] ***********************************
  3995. skipping: [localhost]
  3996.  
  3997. TASK [security : Configure security auto-updates] ******************************
  3998. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3999. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4000.  
  4001. TASK [security : Take security updates during ansible runs] ********************
  4002. skipping: [localhost] => (item=yum check-update --security)
  4003. skipping: [localhost] => (item=yum update --security -y)
  4004.  
  4005. TASK [security : Install security packages] ************************************
  4006. skipping: [localhost]
  4007.  
  4008. TASK [security : Update all system packages] ***********************************
  4009. skipping: [localhost]
  4010.  
  4011. TASK [security : Configure periodic unattended-upgrades] ***********************
  4012. skipping: [localhost]
  4013.  
  4014. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4015. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4016. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4017. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4018.  
  4019. TASK [security : Disable unattended-upgrades] **********************************
  4020. skipping: [localhost]
  4021.  
  4022. TASK [security : Only unattended-upgrade from security repo] *******************
  4023. skipping: [localhost]
  4024.  
  4025. TASK [security : Add debian blacklist] *****************************************
  4026. skipping: [localhost]
  4027.  
  4028. TASK [security : Disable security only updates on unattended-upgrades] *********
  4029. skipping: [localhost]
  4030.  
  4031. TASK [security : Take security updates during ansible runs] ********************
  4032. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4033. skipping: [localhost] => (item=unattended-upgrade)
  4034.  
  4035. TASK [security : Install security packages] ************************************
  4036. skipping: [localhost]
  4037.  
  4038. TASK [security : Enable automatic start for update service] ********************
  4039. skipping: [localhost]
  4040.  
  4041. TASK [security : Update all system packages] ***********************************
  4042. skipping: [localhost]
  4043.  
  4044. TASK [security : Configure security auto-updates] ******************************
  4045. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4046. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4047.  
  4048. TASK [security : Take security updates during ansible runs] ********************
  4049. skipping: [localhost] => (item=yum check-update --security)
  4050. skipping: [localhost] => (item=yum update --security -y)
  4051.  
  4052. TASK [add_user : create user groups] *******************************************
  4053. changed: [localhost] => (item=insights)
  4054.  
  4055. TASK [add_user : create application user] **************************************
  4056. changed: [localhost]
  4057.  
  4058. TASK [add_user : ensure correct ownership of home directory] *******************
  4059. ok: [localhost]
  4060.  
  4061. TASK [add_user : create dirs for the user] *************************************
  4062.  
  4063. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  4064. changed: [localhost]
  4065.  
  4066. TASK [git_clone : Validate git protocol] ***************************************
  4067. skipping: [localhost] => (item=None)
  4068.  
  4069. TASK [git_clone : Install read-only ssh key] ***********************************
  4070. skipping: [localhost] => (item=None)
  4071.  
  4072. TASK [git_clone : Check that working tree is clean] ****************************
  4073. changed: [localhost] => (item=/edx/app/insights/edx_analytics_dashboard)
  4074.  
  4075. TASK [git_clone : Require a clean working tree] ********************************
  4076. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001899', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/insights/edx_analytics_dashboard', u'end': u'2020-01-23 11:00:19.853113', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/insights/edx_analytics_dashboard" || git -C "/edx/app/insights/edx_analytics_dashboard" status --porcelain --untracked-files=no', 'item': u'/edx/app/insights/edx_analytics_dashboard', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/insights/edx_analytics_dashboard" || git -C "/edx/app/insights/edx_analytics_dashboard" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 11:00:19.851214', '_ansible_ignore_errors': None})
  4077.  
  4078. TASK [git_clone : Checkout code over ssh] **************************************
  4079. skipping: [localhost] => (item=None)
  4080.  
  4081. TASK [git_clone : Checkout code over https] ************************************
  4082. changed: [localhost] => (item=None)
  4083. changed: [localhost]
  4084.  
  4085. TASK [git_clone : Remove read-only ssh key] ************************************
  4086. skipping: [localhost] => (item=None)
  4087.  
  4088. TASK [git_clone : Run git clean after checking out code] ***********************
  4089. changed: [localhost] => (item=None)
  4090. changed: [localhost]
  4091.  
  4092. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  4093. ok: [localhost] => (item=)
  4094. changed: [localhost] => (item=venvs)
  4095. changed: [localhost] => (item=data)
  4096. changed: [localhost] => (item=staticfiles)
  4097.  
  4098. TASK [edx_service : Create /edx/var/app dir] ***********************************
  4099. changed: [localhost]
  4100.  
  4101. TASK [edx_service : Create /edx/etc dir] ***************************************
  4102. changed: [localhost]
  4103.  
  4104. TASK [edx_service : Create edx_service log dir] ********************************
  4105. changed: [localhost] => (item=/edx/var/log/insights)
  4106.  
  4107. TASK [edx_service : Write out app config file] *********************************
  4108. changed: [localhost]
  4109.  
  4110. TASK [edx_service : Decrypt app config file] ***********************************
  4111. skipping: [localhost]
  4112.  
  4113. TASK [edx_service : Replace deploy host to sandbox dns name] *******************
  4114. skipping: [localhost]
  4115.  
  4116. TASK [edx_service : Copy app config file] **************************************
  4117. skipping: [localhost]
  4118.  
  4119. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  4120. changed: [localhost]
  4121.  
  4122. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  4123. skipping: [localhost]
  4124.  
  4125. TASK [edx_service : Get instance information] **********************************
  4126. ok: [localhost]
  4127.  
  4128. TASK [edx_service : Tag instance] **********************************************
  4129. skipping: [localhost] => (item=[{u'REPO': u'edx-analytics-dashboard.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'edx-analytics-dashboard.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None}, u'after': u'bbce89bcc7abbf442dfc3edb51fddea9dc7a20d6', 'failed': False, '_ansible_item_label': {u'REPO': u'edx-analytics-dashboard.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/insights/edx_analytics_dashboard', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/edx-analytics-dashboard.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
  4130.  
  4131. TASK [insights : setup the insights env file] **********************************
  4132. changed: [localhost]
  4133.  
  4134. TASK [insights : install application requirements] *****************************
  4135. changed: [localhost] => (item=production.txt)
  4136. ok: [localhost] => (item=optional.txt)
  4137.  
  4138. TASK [insights : create nodeenv] ***********************************************
  4139. changed: [localhost]
  4140.  
  4141. TASK [insights : install node dependencies] ************************************
  4142. changed: [localhost]
  4143.  
  4144. TASK [insights : migrate] ******************************************************
  4145. changed: [localhost]
  4146.  
  4147. TASK [insights : run webpack] **************************************************
  4148. changed: [localhost]
  4149.  
  4150. TASK [insights : run collectstatic] ********************************************
  4151. changed: [localhost] => (item=collectstatic --noinput)
  4152.  
  4153. TASK [insights : write out the supervisior wrapper] ****************************
  4154. changed: [localhost]
  4155.  
  4156. TASK [insights : write supervisord config] *************************************
  4157. changed: [localhost]
  4158.  
  4159. TASK [insights : enable supervisor script] *************************************
  4160. changed: [localhost]
  4161.  
  4162. TASK [insights : update supervisor configuration] ******************************
  4163. changed: [localhost]
  4164.  
  4165. TASK [insights : create symlinks from the venv bin dir] ************************
  4166. changed: [localhost] => (item=python)
  4167. changed: [localhost] => (item=pip)
  4168. changed: [localhost] => (item=django-admin.py)
  4169.  
  4170. TASK [insights : create manage.py symlink] *************************************
  4171. changed: [localhost]
  4172.  
  4173. TASK [insights : restart insights] *********************************************
  4174. changed: [localhost]
  4175.  
  4176. TASK [security : Install security packages] ************************************
  4177. skipping: [localhost]
  4178.  
  4179. TASK [security : Update all system packages] ***********************************
  4180. skipping: [localhost]
  4181.  
  4182. TASK [security : Configure periodic unattended-upgrades] ***********************
  4183. skipping: [localhost]
  4184.  
  4185. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4186. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4187. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4188. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4189.  
  4190. TASK [security : Disable unattended-upgrades] **********************************
  4191. skipping: [localhost]
  4192.  
  4193. TASK [security : Only unattended-upgrade from security repo] *******************
  4194. skipping: [localhost]
  4195.  
  4196. TASK [security : Add debian blacklist] *****************************************
  4197. skipping: [localhost]
  4198.  
  4199. TASK [security : Disable security only updates on unattended-upgrades] *********
  4200. skipping: [localhost]
  4201.  
  4202. TASK [security : Take security updates during ansible runs] ********************
  4203. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4204. skipping: [localhost] => (item=unattended-upgrade)
  4205.  
  4206. TASK [security : Install security packages] ************************************
  4207. skipping: [localhost]
  4208.  
  4209. TASK [security : Enable automatic start for update service] ********************
  4210. skipping: [localhost]
  4211.  
  4212. TASK [security : Update all system packages] ***********************************
  4213. skipping: [localhost]
  4214.  
  4215. TASK [security : Configure security auto-updates] ******************************
  4216. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4217. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4218.  
  4219. TASK [security : Take security updates during ansible runs] ********************
  4220. skipping: [localhost] => (item=yum check-update --security)
  4221. skipping: [localhost] => (item=yum update --security -y)
  4222.  
  4223. TASK [security : Install security packages] ************************************
  4224. skipping: [localhost]
  4225.  
  4226. TASK [security : Update all system packages] ***********************************
  4227. skipping: [localhost]
  4228.  
  4229. TASK [security : Configure periodic unattended-upgrades] ***********************
  4230. skipping: [localhost]
  4231.  
  4232. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4233. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4234. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4235. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4236.  
  4237. TASK [security : Disable unattended-upgrades] **********************************
  4238. skipping: [localhost]
  4239.  
  4240. TASK [security : Only unattended-upgrade from security repo] *******************
  4241. skipping: [localhost]
  4242.  
  4243. TASK [security : Add debian blacklist] *****************************************
  4244. skipping: [localhost]
  4245.  
  4246. TASK [security : Disable security only updates on unattended-upgrades] *********
  4247. skipping: [localhost]
  4248.  
  4249. TASK [security : Take security updates during ansible runs] ********************
  4250. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4251. skipping: [localhost] => (item=unattended-upgrade)
  4252.  
  4253. TASK [security : Install security packages] ************************************
  4254. skipping: [localhost]
  4255.  
  4256. TASK [security : Enable automatic start for update service] ********************
  4257. skipping: [localhost]
  4258.  
  4259. TASK [security : Update all system packages] ***********************************
  4260. skipping: [localhost]
  4261.  
  4262. TASK [security : Configure security auto-updates] ******************************
  4263. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4264. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4265.  
  4266. TASK [security : Take security updates during ansible runs] ********************
  4267. skipping: [localhost] => (item=yum check-update --security)
  4268. skipping: [localhost] => (item=yum update --security -y)
  4269.  
  4270. TASK [add_user : create user groups] *******************************************
  4271. skipping: [localhost] => (item=edx_notes_api)
  4272.  
  4273. TASK [add_user : create application user] **************************************
  4274. skipping: [localhost]
  4275.  
  4276. TASK [add_user : ensure correct ownership of home directory] *******************
  4277. skipping: [localhost]
  4278.  
  4279. TASK [add_user : create dirs for the user] *************************************
  4280.  
  4281. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  4282. skipping: [localhost]
  4283.  
  4284. TASK [git_clone : Validate git protocol] ***************************************
  4285. skipping: [localhost] => (item=None)
  4286.  
  4287. TASK [git_clone : Install read-only ssh key] ***********************************
  4288. skipping: [localhost] => (item=None)
  4289.  
  4290. TASK [git_clone : Check that working tree is clean] ****************************
  4291. skipping: [localhost] => (item=/edx/app/edx_notes_api/edx_notes_api)
  4292.  
  4293. TASK [git_clone : Require a clean working tree] ********************************
  4294. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/app/edx_notes_api/edx_notes_api', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edx_notes_api/edx_notes_api'})
  4295.  
  4296. TASK [git_clone : Checkout code over ssh] **************************************
  4297. skipping: [localhost] => (item=None)
  4298.  
  4299. TASK [git_clone : Checkout code over https] ************************************
  4300. skipping: [localhost] => (item=None)
  4301.  
  4302. TASK [git_clone : Remove read-only ssh key] ************************************
  4303. skipping: [localhost] => (item=None)
  4304.  
  4305. TASK [git_clone : Run git clean after checking out code] ***********************
  4306. skipping: [localhost] => (item=None)
  4307.  
  4308. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  4309. skipping: [localhost] => (item=)
  4310. skipping: [localhost] => (item=venvs)
  4311. skipping: [localhost] => (item=data)
  4312. skipping: [localhost] => (item=staticfiles)
  4313.  
  4314. TASK [edx_service : Create /edx/var/app dir] ***********************************
  4315. skipping: [localhost]
  4316.  
  4317. TASK [edx_service : Create /edx/etc dir] ***************************************
  4318. skipping: [localhost]
  4319.  
  4320. TASK [edx_service : Create edx_service log dir] ********************************
  4321. skipping: [localhost] => (item=/edx/var/log/edx_notes_api)
  4322.  
  4323. TASK [edx_service : Write out app config file] *********************************
  4324. skipping: [localhost]
  4325.  
  4326. TASK [edx_service : Decrypt app config file] ***********************************
  4327. skipping: [localhost]
  4328.  
  4329. TASK [edx_service : Replace deploy host to sandbox dns name] *******************
  4330. skipping: [localhost]
  4331.  
  4332. TASK [edx_service : Copy app config file] **************************************
  4333. skipping: [localhost]
  4334.  
  4335. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  4336. skipping: [localhost]
  4337.  
  4338. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  4339. skipping: [localhost]
  4340.  
  4341. TASK [edx_service : Get instance information] **********************************
  4342. skipping: [localhost]
  4343.  
  4344. TASK [edx_service : Tag instance] **********************************************
  4345. skipping: [localhost] => (item=[{u'REPO': u'edx-notes-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', u'SSH_KEY': None}, {'skipped': True, '_ansible_no_log': True, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': {u'REPO': u'edx-notes-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', u'SSH_KEY': None}, 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': {u'REPO': u'edx-notes-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', u'SSH_KEY': None}}])
  4346.  
  4347. TASK [edx_notes_api : Install application requirements] ************************
  4348. skipping: [localhost] => (item=base.txt)
  4349.  
  4350. TASK [edx_notes_api : write devstack script] ***********************************
  4351. skipping: [localhost]
  4352.  
  4353. TASK [edx_notes_api : Migrate] *************************************************
  4354. skipping: [localhost]
  4355.  
  4356. TASK [edx_notes_api : Write out gunicorn.py] ***********************************
  4357. skipping: [localhost]
  4358.  
  4359. TASK [edx_notes_api : Write out the supervisor wrapper] ************************
  4360. skipping: [localhost]
  4361.  
  4362. TASK [edx_notes_api : Write supervisord config] ********************************
  4363. skipping: [localhost]
  4364.  
  4365. TASK [edx_notes_api : Setup the edx_notes_api env file] ************************
  4366. skipping: [localhost]
  4367.  
  4368. TASK [edx_notes_api : Enable supervisor script] ********************************
  4369. skipping: [localhost]
  4370.  
  4371. TASK [edx_notes_api : Update supervisor configuration] *************************
  4372. skipping: [localhost]
  4373.  
  4374. TASK [edx_notes_api : Restart supervisor] **************************************
  4375. skipping: [localhost]
  4376.  
  4377. TASK [edx_notes_api : Create symlinks from the venv bin dir] *******************
  4378. skipping: [localhost] => (item=python)
  4379. skipping: [localhost] => (item=pip)
  4380. skipping: [localhost] => (item=django-admin.py)
  4381.  
  4382. TASK [edx_notes_api : Create manage.py symlink] ********************************
  4383. skipping: [localhost]
  4384.  
  4385. TASK [edx_notes_api : Restart edx_notes_api] ***********************************
  4386. skipping: [localhost]
  4387.  
  4388. TASK [security : Install security packages] ************************************
  4389. skipping: [localhost]
  4390.  
  4391. TASK [security : Update all system packages] ***********************************
  4392. skipping: [localhost]
  4393.  
  4394. TASK [security : Configure periodic unattended-upgrades] ***********************
  4395. skipping: [localhost]
  4396.  
  4397. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4398. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4399. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4400. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4401.  
  4402. TASK [security : Disable unattended-upgrades] **********************************
  4403. skipping: [localhost]
  4404.  
  4405. TASK [security : Only unattended-upgrade from security repo] *******************
  4406. skipping: [localhost]
  4407.  
  4408. TASK [security : Add debian blacklist] *****************************************
  4409. skipping: [localhost]
  4410.  
  4411. TASK [security : Disable security only updates on unattended-upgrades] *********
  4412. skipping: [localhost]
  4413.  
  4414. TASK [security : Take security updates during ansible runs] ********************
  4415. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4416. skipping: [localhost] => (item=unattended-upgrade)
  4417.  
  4418. TASK [security : Install security packages] ************************************
  4419. skipping: [localhost]
  4420.  
  4421. TASK [security : Enable automatic start for update service] ********************
  4422. skipping: [localhost]
  4423.  
  4424. TASK [security : Update all system packages] ***********************************
  4425. skipping: [localhost]
  4426.  
  4427. TASK [security : Configure security auto-updates] ******************************
  4428. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4429. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4430.  
  4431. TASK [security : Take security updates during ansible runs] ********************
  4432. skipping: [localhost] => (item=yum check-update --security)
  4433. skipping: [localhost] => (item=yum update --security -y)
  4434.  
  4435. TASK [nginx : Create Diffie-Hellman parameters to prevent weak key exchange] ***
  4436. skipping: [localhost]
  4437.  
  4438. TASK [nginx : Restrict permissions of DH parameters file] **********************
  4439. skipping: [localhost]
  4440.  
  4441. TASK [nginx : Create nginx app and data dirs] **********************************
  4442. skipping: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx', u'group': u'www-data'})
  4443. skipping: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/sites-available', u'group': u'www-data'})
  4444. skipping: [localhost] => (item={u'owner': u'root', u'path': u'/etc/nginx/sites-enabled', u'group': u'www-data'})
  4445. skipping: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/conf.d', u'group': u'www-data'})
  4446. skipping: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx', u'group': u'root'})
  4447. skipping: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/log/nginx', u'group': u'root'})
  4448. skipping: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx/server-static', u'group': u'root'})
  4449.  
  4450. TASK [nginx : Install needed packages] *****************************************
  4451. skipping: [localhost]
  4452.  
  4453. TASK [nginx : Add apt key] *****************************************************
  4454. skipping: [localhost]
  4455.  
  4456. TASK [nginx : Add nginx repository] ********************************************
  4457. skipping: [localhost]
  4458.  
  4459. TASK [nginx : Remove old nginx packages] ***************************************
  4460. skipping: [localhost]
  4461.  
  4462. TASK [nginx : Install the nginx package] ***************************************
  4463. skipping: [localhost]
  4464.  
  4465. TASK [nginx : Remove the default site] *****************************************
  4466. skipping: [localhost]
  4467.  
  4468. TASK [nginx : Define server configuration file and common nginx configuration] ***
  4469. skipping: [localhost] => (item={u'dest': u'/etc/nginx/nginx.conf', u'src': u'etc/nginx/nginx.conf.j2', u'group': u'www-data', u'mode': u'0644'})
  4470. skipping: [localhost] => (item={u'dest': u'/edx/app/nginx/sites-available/maps', u'src': u'edx/app/nginx/sites-available/maps.j2', u'group': u'root', u'mode': u'0600'})
  4471.  
  4472. TASK [nginx : Create robot rules] **********************************************
  4473. skipping: [localhost]
  4474.  
  4475. TASK [nginx : Creating link for common nginx configuration] ********************
  4476. skipping: [localhost] => (item=maps)
  4477.  
  4478. TASK [nginx : Copying nginx configs for [u'edx_notes_api']] ********************
  4479. skipping: [localhost] => (item=edx_notes_api)
  4480.  
  4481. TASK [nginx : Creating nginx config links for [u'edx_notes_api']] **************
  4482. skipping: [localhost] => (item=edx_notes_api)
  4483.  
  4484. TASK [nginx : Copying nginx extra configs] *************************************
  4485.  
  4486. TASK [nginx : Creating links for nginx extra configs] **************************
  4487.  
  4488. TASK [nginx : Copying custom nginx config] *************************************
  4489.  
  4490. TASK [nginx : Copying nginx redirect configs for {}] ***************************
  4491.  
  4492. TASK [nginx : Creating nginx redirect links for {}] ****************************
  4493.  
  4494. TASK [nginx : Create NGINX server templates] ***********************************
  4495. skipping: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Rate limit exceeded', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', u'file': u'rate-limit.html', u'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'heading': u'Uh oh, we are having some server issues..'})
  4496. skipping: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Server error', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', u'file': u'server-error.html', u'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'heading': u'Uh oh, we are having some server issues..'})
  4497.  
  4498. TASK [nginx : Copy static files] ***********************************************
  4499.  
  4500. TASK [nginx : Write out htpasswd file] *****************************************
  4501. skipping: [localhost] => (item={u'state': u'present', u'password': u'lrNfNJLV3aHD5QeUm8aMLevwb2HCl0vlDya', u'name': u'UCKwdrqkxgOKBAotfwJdIIqD7bcjXAmnvDb'})
  4502.  
  4503. TASK [nginx : Write out htpasswd file for prospectus preview pages] ************
  4504. skipping: [localhost]
  4505.  
  4506. TASK [nginx : Create nginx log file location (just in case)] *******************
  4507. skipping: [localhost]
  4508.  
  4509. TASK [nginx : stat] ************************************************************
  4510. skipping: [localhost]
  4511.  
  4512. TASK [nginx : stat] ************************************************************
  4513. skipping: [localhost]
  4514.  
  4515. TASK [nginx : copy ssl cert] ***************************************************
  4516. skipping: [localhost]
  4517.  
  4518. TASK [nginx : copy ssl key] ****************************************************
  4519. skipping: [localhost]
  4520.  
  4521. TASK [nginx : Removing default nginx config and restart (enabled)] *************
  4522. skipping: [localhost]
  4523.  
  4524. TASK [nginx : Set up nginx access log rotation] ********************************
  4525. skipping: [localhost]
  4526.  
  4527. TASK [nginx : Set up nginx error log rotation] *********************************
  4528. skipping: [localhost]
  4529.  
  4530. TASK [nginx : Test nginx configs] **********************************************
  4531. skipping: [localhost]
  4532. [WARNING]: flush_handlers task does not support when conditional
  4533.  
  4534. RUNNING HANDLER [nginx : reload nginx] *****************************************
  4535. changed: [localhost]
  4536.  
  4537. TASK [nginx : make sure nginx has started] *************************************
  4538. skipping: [localhost]
  4539.  
  4540. TASK [security : Install security packages] ************************************
  4541. skipping: [localhost]
  4542.  
  4543. TASK [security : Update all system packages] ***********************************
  4544. skipping: [localhost]
  4545.  
  4546. TASK [security : Configure periodic unattended-upgrades] ***********************
  4547. skipping: [localhost]
  4548.  
  4549. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4550. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4551. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4552. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4553.  
  4554. TASK [security : Disable unattended-upgrades] **********************************
  4555. skipping: [localhost]
  4556.  
  4557. TASK [security : Only unattended-upgrade from security repo] *******************
  4558. skipping: [localhost]
  4559.  
  4560. TASK [security : Add debian blacklist] *****************************************
  4561. skipping: [localhost]
  4562.  
  4563. TASK [security : Disable security only updates on unattended-upgrades] *********
  4564. skipping: [localhost]
  4565.  
  4566. TASK [security : Take security updates during ansible runs] ********************
  4567. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4568. skipping: [localhost] => (item=unattended-upgrade)
  4569.  
  4570. TASK [security : Install security packages] ************************************
  4571. skipping: [localhost]
  4572.  
  4573. TASK [security : Enable automatic start for update service] ********************
  4574. skipping: [localhost]
  4575.  
  4576. TASK [security : Update all system packages] ***********************************
  4577. skipping: [localhost]
  4578.  
  4579. TASK [security : Configure security auto-updates] ******************************
  4580. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4581. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4582.  
  4583. TASK [security : Take security updates during ansible runs] ********************
  4584. skipping: [localhost] => (item=yum check-update --security)
  4585. skipping: [localhost] => (item=yum update --security -y)
  4586.  
  4587. TASK [demo : create demo app and data dirs] ************************************
  4588. changed: [localhost]
  4589.  
  4590. TASK [demo : check out the demo course] ****************************************
  4591. changed: [localhost]
  4592.  
  4593. TASK [demo : import demo course] ***********************************************
  4594. changed: [localhost]
  4595.  
  4596. TASK [demo : build staff and test user list] ***********************************
  4597. ok: [localhost]
  4598.  
  4599. TASK [demo : build staff and test user list] ***********************************
  4600. skipping: [localhost]
  4601.  
  4602. TASK [demo : build staff, admin, and test user list] ***************************
  4603. ok: [localhost]
  4604.  
  4605. TASK [demo : create some test users] *******************************************
  4606. changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'honor@example.com'})
  4607. changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'audit@example.com'})
  4608. changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'verified@example.com'})
  4609. changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'staff@example.com'})
  4610.  
  4611. TASK [demo : enroll test users in the demo course] *****************************
  4612. changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'honor@example.com'})
  4613. changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'audit@example.com'})
  4614. changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'verified@example.com'})
  4615. changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'staff@example.com'})
  4616.  
  4617. TASK [demo : add test users to the certificate whitelist] **********************
  4618. changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'honor@example.com'})
  4619. changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'audit@example.com'})
  4620. changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'verified@example.com'})
  4621.  
  4622. TASK [demo : seed the forums for the demo course] ******************************
  4623. changed: [localhost]
  4624.  
  4625. TASK [oauth_client_setup : Create OAuth2 django-oauth2-provider Clients] *******
  4626. skipping: [localhost] => (item={u'username': u'ecommerce_worker', u'backend_service_secret': u'ecommerce-backend-service-secret', u'sso_secret': u'ecommerce-sso-secret', u'name': u'ecommerce', u'logout_uri': u'http://localhost:8002/logout/', u'url_root': u'http://localhost:8002', u'backend_service_id': u'ecommerce-backend-service-key', u'sso_id': u'ecommerce-sso-key'})
  4627. changed: [localhost] => (item={u'username': u'insights_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'http://example.com/accounts/logout/', u'url_root': u'http://127.0.0.1:8110', u'secret': u'secret', u'id': u'YOUR_OAUTH2_KEY', u'backend_service_id': u'None', u'name': u'insights'})
  4628. skipping: [localhost] => (item={u'username': u'credentials_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'None', u'url_root': u'None', u'secret': u'None', u'id': u'None', u'backend_service_id': u'None', u'name': u'None'})
  4629. skipping: [localhost] => (item={u'username': u'discovery_worker', u'backend_service_secret': u'discovery-backend-service-secret', u'sso_secret': u'discovery-sso-secret', u'name': u'discovery', u'logout_uri': u'http://localhost:18381/logout/', u'url_root': u'http://localhost:18381', u'backend_service_id': u'discovery-backend-service-key', u'sso_id': u'discovery-sso-key'})
  4630. skipping: [localhost] => (item={u'username': u'veda_service_user', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
  4631. skipping: [localhost] => (item={u'username': u'registrar_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
  4632. skipping: [localhost] => (item={u'username': u'designer_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
  4633. skipping: [localhost] => (item={u'username': u'None', u'backend_service_secret': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-SECRET', u'name': u'None', u'backend_service_id': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-ID'})
  4634.  
  4635. TASK [oauth_client_setup : Create OAuth2 django-oauth-toolkit SSO Applications] ***
  4636. changed: [localhost] => (item={u'username': u'ecommerce_worker', u'backend_service_secret': u'ecommerce-backend-service-secret', u'sso_secret': u'ecommerce-sso-secret', u'name': u'ecommerce', u'logout_uri': u'http://localhost:8002/logout/', u'url_root': u'http://localhost:8002', u'backend_service_id': u'ecommerce-backend-service-key', u'sso_id': u'ecommerce-sso-key'})
  4637. skipping: [localhost] => (item={u'username': u'insights_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'http://example.com/accounts/logout/', u'url_root': u'http://127.0.0.1:8110', u'secret': u'secret', u'id': u'YOUR_OAUTH2_KEY', u'backend_service_id': u'None', u'name': u'insights'})
  4638. skipping: [localhost] => (item={u'username': u'credentials_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'None', u'url_root': u'None', u'secret': u'None', u'id': u'None', u'backend_service_id': u'None', u'name': u'None'})
  4639. changed: [localhost] => (item={u'username': u'discovery_worker', u'backend_service_secret': u'discovery-backend-service-secret', u'sso_secret': u'discovery-sso-secret', u'name': u'discovery', u'logout_uri': u'http://localhost:18381/logout/', u'url_root': u'http://localhost:18381', u'backend_service_id': u'discovery-backend-service-key', u'sso_id': u'discovery-sso-key'})
  4640. skipping: [localhost] => (item={u'username': u'veda_service_user', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
  4641. skipping: [localhost] => (item={u'username': u'registrar_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
  4642. skipping: [localhost] => (item={u'username': u'designer_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
  4643. skipping: [localhost] => (item={u'username': u'None', u'backend_service_secret': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-SECRET', u'name': u'None', u'backend_service_id': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-ID'})
  4644.  
  4645. TASK [oauth_client_setup : Create OAuth2 django-oauth-toolkit Backend Service Applications] ***
  4646. changed: [localhost] => (item={u'username': u'ecommerce_worker', u'backend_service_secret': u'ecommerce-backend-service-secret', u'sso_secret': u'ecommerce-sso-secret', u'name': u'ecommerce', u'logout_uri': u'http://localhost:8002/logout/', u'url_root': u'http://localhost:8002', u'backend_service_id': u'ecommerce-backend-service-key', u'sso_id': u'ecommerce-sso-key'})
  4647. skipping: [localhost] => (item={u'username': u'insights_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'http://example.com/accounts/logout/', u'url_root': u'http://127.0.0.1:8110', u'secret': u'secret', u'id': u'YOUR_OAUTH2_KEY', u'backend_service_id': u'None', u'name': u'insights'})
  4648. skipping: [localhost] => (item={u'username': u'credentials_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'None', u'url_root': u'None', u'secret': u'None', u'id': u'None', u'backend_service_id': u'None', u'name': u'None'})
  4649. changed: [localhost] => (item={u'username': u'discovery_worker', u'backend_service_secret': u'discovery-backend-service-secret', u'sso_secret': u'discovery-sso-secret', u'name': u'discovery', u'logout_uri': u'http://localhost:18381/logout/', u'url_root': u'http://localhost:18381', u'backend_service_id': u'discovery-backend-service-key', u'sso_id': u'discovery-sso-key'})
  4650. skipping: [localhost] => (item={u'username': u'veda_service_user', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
  4651. skipping: [localhost] => (item={u'username': u'registrar_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
  4652. skipping: [localhost] => (item={u'username': u'designer_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
  4653. skipping: [localhost] => (item={u'username': u'None', u'backend_service_secret': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-SECRET', u'name': u'None', u'backend_service_id': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-ID'})
  4654.  
  4655. TASK [oraclejdk : Install debian needed pkgs] **********************************
  4656. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  4657. squash_actions is deprecated. Instead of using a loop to supply multiple items
  4658. and specifying `name: "{{ item }}"`, please use `name: '{{
  4659. oraclejdk_debian_pkgs }}'` and remove the loop. This feature will be removed in
  4660. version 2.11. Deprecation warnings can be disabled by setting
  4661. deprecation_warnings=False in ansible.cfg.
  4662. ok: [localhost] => (item=[u'curl'])
  4663.  
  4664. TASK [oraclejdk : Download Oracle Java] ****************************************
  4665. [DEPRECATION WARNING]: Supplying `headers` as a string is deprecated. Please
  4666. use dict/hash format for `headers`. This feature will be removed in version
  4667. 2.10. Deprecation warnings can be disabled by setting
  4668. deprecation_warnings=False in ansible.cfg.
  4669. changed: [localhost]
  4670.  
  4671. TASK [oraclejdk : Create jvm dir] **********************************************
  4672. ok: [localhost]
  4673.  
  4674. TASK [oraclejdk : Untar Oracle Java] *******************************************
  4675. changed: [localhost]
  4676.  
  4677. TASK [oraclejdk : Create symlink expected by elasticsearch] ********************
  4678. changed: [localhost]
  4679.  
  4680. TASK [oraclejdk : Update alternatives java] ************************************
  4681. changed: [localhost] => (item=java)
  4682. changed: [localhost] => (item=javac)
  4683. changed: [localhost] => (item=javaws)
  4684. changed: [localhost] => (item=jarsigner)
  4685.  
  4686. TASK [oraclejdk : Add JAVA_HOME for Oracle Java] *******************************
  4687. changed: [localhost]
  4688.  
  4689. TASK [security : Install security packages] ************************************
  4690. skipping: [localhost]
  4691.  
  4692. TASK [security : Update all system packages] ***********************************
  4693. skipping: [localhost]
  4694.  
  4695. TASK [security : Configure periodic unattended-upgrades] ***********************
  4696. skipping: [localhost]
  4697.  
  4698. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4699. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4700. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4701. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4702.  
  4703. TASK [security : Disable unattended-upgrades] **********************************
  4704. skipping: [localhost]
  4705.  
  4706. TASK [security : Only unattended-upgrade from security repo] *******************
  4707. skipping: [localhost]
  4708.  
  4709. TASK [security : Add debian blacklist] *****************************************
  4710. skipping: [localhost]
  4711.  
  4712. TASK [security : Disable security only updates on unattended-upgrades] *********
  4713. skipping: [localhost]
  4714.  
  4715. TASK [security : Take security updates during ansible runs] ********************
  4716. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4717. skipping: [localhost] => (item=unattended-upgrade)
  4718.  
  4719. TASK [security : Install security packages] ************************************
  4720. skipping: [localhost]
  4721.  
  4722. TASK [security : Enable automatic start for update service] ********************
  4723. skipping: [localhost]
  4724.  
  4725. TASK [security : Update all system packages] ***********************************
  4726. skipping: [localhost]
  4727.  
  4728. TASK [security : Configure security auto-updates] ******************************
  4729. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4730. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4731.  
  4732. TASK [security : Take security updates during ansible runs] ********************
  4733. skipping: [localhost] => (item=yum check-update --security)
  4734. skipping: [localhost] => (item=yum update --security -y)
  4735.  
  4736. TASK [elasticsearch : Install Elasticsearch repo key] **************************
  4737. changed: [localhost]
  4738.  
  4739. TASK [elasticsearch : Add Elasticsearch Repo] **********************************
  4740. changed: [localhost]
  4741.  
  4742. TASK [elasticsearch : install elasticsearch] ***********************************
  4743. changed: [localhost]
  4744.  
  4745. TASK [elasticsearch : dpkg_selections] *****************************************
  4746. changed: [localhost]
  4747.  
  4748. TASK [elasticsearch : create directories] **************************************
  4749. changed: [localhost] => (item=/edx/var/elasticsearch)
  4750. changed: [localhost] => (item=/edx/var/log/elasticsearch)
  4751. changed: [localhost] => (item=/edx/etc/elasticsearch)
  4752.  
  4753. TASK [elasticsearch : update elasticsearch defaults] ***************************
  4754. changed: [localhost]
  4755.  
  4756. TASK [elasticsearch : drop the elasticsearch config] ***************************
  4757. changed: [localhost]
  4758.  
  4759. TASK [elasticsearch : drop the elasticsearch logging config] *******************
  4760. changed: [localhost]
  4761.  
  4762. TASK [elasticsearch : Ensure elasticsearch is enabled and started] *************
  4763. changed: [localhost]
  4764.  
  4765. TASK [elasticsearch : Restart elastic when there has been an upgrade] **********
  4766. changed: [localhost]
  4767.  
  4768. TASK [security : Install security packages] ************************************
  4769. skipping: [localhost]
  4770.  
  4771. TASK [security : Update all system packages] ***********************************
  4772. skipping: [localhost]
  4773.  
  4774. TASK [security : Configure periodic unattended-upgrades] ***********************
  4775. skipping: [localhost]
  4776.  
  4777. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4778. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4779. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4780. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4781.  
  4782. TASK [security : Disable unattended-upgrades] **********************************
  4783. skipping: [localhost]
  4784.  
  4785. TASK [security : Only unattended-upgrade from security repo] *******************
  4786. skipping: [localhost]
  4787.  
  4788. TASK [security : Add debian blacklist] *****************************************
  4789. skipping: [localhost]
  4790.  
  4791. TASK [security : Disable security only updates on unattended-upgrades] *********
  4792. skipping: [localhost]
  4793.  
  4794. TASK [security : Take security updates during ansible runs] ********************
  4795. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4796. skipping: [localhost] => (item=unattended-upgrade)
  4797.  
  4798. TASK [security : Install security packages] ************************************
  4799. skipping: [localhost]
  4800.  
  4801. TASK [security : Enable automatic start for update service] ********************
  4802. skipping: [localhost]
  4803.  
  4804. TASK [security : Update all system packages] ***********************************
  4805. skipping: [localhost]
  4806.  
  4807. TASK [security : Configure security auto-updates] ******************************
  4808. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4809. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4810.  
  4811. TASK [security : Take security updates during ansible runs] ********************
  4812. skipping: [localhost] => (item=yum check-update --security)
  4813. skipping: [localhost] => (item=yum update --security -y)
  4814.  
  4815. TASK [security : Install security packages] ************************************
  4816. skipping: [localhost]
  4817.  
  4818. TASK [security : Update all system packages] ***********************************
  4819. skipping: [localhost]
  4820.  
  4821. TASK [security : Configure periodic unattended-upgrades] ***********************
  4822. skipping: [localhost]
  4823.  
  4824. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4825. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4826. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4827. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4828.  
  4829. TASK [security : Disable unattended-upgrades] **********************************
  4830. skipping: [localhost]
  4831.  
  4832. TASK [security : Only unattended-upgrade from security repo] *******************
  4833. skipping: [localhost]
  4834.  
  4835. TASK [security : Add debian blacklist] *****************************************
  4836. skipping: [localhost]
  4837.  
  4838. TASK [security : Disable security only updates on unattended-upgrades] *********
  4839. skipping: [localhost]
  4840.  
  4841. TASK [security : Take security updates during ansible runs] ********************
  4842. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4843. skipping: [localhost] => (item=unattended-upgrade)
  4844.  
  4845. TASK [security : Install security packages] ************************************
  4846. skipping: [localhost]
  4847.  
  4848. TASK [security : Enable automatic start for update service] ********************
  4849. skipping: [localhost]
  4850.  
  4851. TASK [security : Update all system packages] ***********************************
  4852. skipping: [localhost]
  4853.  
  4854. TASK [security : Configure security auto-updates] ******************************
  4855. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4856. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4857.  
  4858. TASK [security : Take security updates during ansible runs] ********************
  4859. skipping: [localhost] => (item=yum check-update --security)
  4860. skipping: [localhost] => (item=yum update --security -y)
  4861.  
  4862. TASK [rbenv : fail] ************************************************************
  4863. skipping: [localhost]
  4864.  
  4865. TASK [rbenv : fail] ************************************************************
  4866. skipping: [localhost]
  4867.  
  4868. TASK [rbenv : fail] ************************************************************
  4869. skipping: [localhost]
  4870.  
  4871. TASK [rbenv : create rbenv user forum] *****************************************
  4872. changed: [localhost]
  4873.  
  4874. TASK [rbenv : create rbenv dir if it does not exist] ***************************
  4875. changed: [localhost]
  4876.  
  4877. TASK [rbenv : install build depends] *******************************************
  4878. changed: [localhost] => (item=curl)
  4879. ok: [localhost] => (item=build-essential)
  4880. ok: [localhost] => (item=libcurl4-openssl-dev)
  4881. ok: [localhost] => (item=libreadline-dev)
  4882. ok: [localhost] => (item=libssl-dev)
  4883. ok: [localhost] => (item=libxml2-dev)
  4884. ok: [localhost] => (item=libxslt1-dev)
  4885. ok: [localhost] => (item=zlib1g-dev)
  4886.  
  4887. TASK [rbenv : update rbenv repo] ***********************************************
  4888. changed: [localhost]
  4889.  
  4890. TASK [rbenv : ensure ruby_env exists] ******************************************
  4891. changed: [localhost]
  4892.  
  4893. TASK [rbenv : check ruby-build installed] **************************************
  4894. fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["test", "-x", "/usr/local/bin/ruby-build"], "delta": "0:00:00.003464", "end": "2020-01-23 11:07:08.795521", "msg": "non-zero return code", "rc": 1, "start": "2020-01-23 11:07:08.792057", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  4895. ...ignoring
  4896.  
  4897. TASK [rbenv : if ruby-build exists, which versions we can install] *************
  4898. skipping: [localhost]
  4899.  
  4900. TASK [rbenv : create temporary directory] **************************************
  4901. changed: [localhost]
  4902.  
  4903. TASK [rbenv : clone ruby-build repo] *******************************************
  4904. changed: [localhost]
  4905.  
  4906. TASK [rbenv : install ruby-build] **********************************************
  4907. changed: [localhost]
  4908.  
  4909. TASK [rbenv : remove temporary directory] **************************************
  4910. changed: [localhost]
  4911.  
  4912. TASK [rbenv : check ruby 2.4.1 installed] **************************************
  4913. fatal: [localhost]: FAILED! => {"changed": true, "cmd": "rbenv versions | grep 2.4.1", "delta": "0:00:00.037469", "end": "2020-01-23 11:07:12.013162", "msg": "non-zero return code", "rc": 1, "start": "2020-01-23 11:07:11.975693", "stderr": "Warning: no Ruby detected on the system", "stderr_lines": ["Warning: no Ruby detected on the system"], "stdout": "", "stdout_lines": []}
  4914. ...ignoring
  4915.  
  4916. TASK [rbenv : install ruby 2.4.1] **********************************************
  4917. changed: [localhost]
  4918.  
  4919. TASK [rbenv : set global ruby 2.4.1] *******************************************
  4920. changed: [localhost]
  4921.  
  4922. TASK [rbenv : update rubygems] *************************************************
  4923. changed: [localhost]
  4924.  
  4925. TASK [rbenv : install bundler] *************************************************
  4926. changed: [localhost]
  4927.  
  4928. TASK [rbenv : remove rbenv version of rake] ************************************
  4929. changed: [localhost]
  4930.  
  4931. TASK [rbenv : install rake gem] ************************************************
  4932. changed: [localhost]
  4933.  
  4934. TASK [rbenv : rehash] **********************************************************
  4935. changed: [localhost]
  4936.  
  4937. TASK [forum : create application user] *****************************************
  4938. changed: [localhost]
  4939.  
  4940. TASK [forum : set forum app dir permissions] ***********************************
  4941. changed: [localhost]
  4942.  
  4943. TASK [forum : write devstack script] *******************************************
  4944. skipping: [localhost]
  4945.  
  4946. TASK [forum : setup the forum env for stage/prod] ******************************
  4947. changed: [localhost] => (item={u'LISTEN_HOST': u'0.0.0.0', u'DATA_DIR': u'/edx/var/forum', u'NEW_RELIC_LICENSE_KEY': u'', u'RACK_ENV': u'development', u'NEW_RELIC_ENABLE': False, u'SEARCH_SERVER': u'http://localhost:9200', u'PATH': u'/edx/app/forum/cs_comments_service/bin:/edx/app/forum/.rbenv/bin:/edx/app/forum/.rbenv/shims:/edx/app/forum/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', u'RBENV_ROOT': u'/edx/app/forum/.rbenv', u'NEW_RELIC_APP_NAME': u'default_env-default_deployment-forum', u'LISTEN_PORT': u'4567', u'MONGOID_USE_SSL': False, u'MONGOHQ_URL': u'mongodb://cs_comments_service:97CG2qUZuByth0wor8GKr46yrqGeTtUl3On@localhost:27017/cs_comments_service', u'MONGOID_AUTH_SOURCE': u'', u'WORKER_PROCESSES': u'4', u'SINATRA_ENV': u'development', u'API_KEY': u'6e4IAEMg1PioJsq9fJlUulXO78TaibAoJgM', u'HOME': u'/edx/app/forum', u'GEM_PATH': u'/edx/app/forum/.gem', u'GEM_HOME': u'/edx/app/forum/.gem'})
  4948.  
  4949. TASK [forum : setup the forum env for devstack] ********************************
  4950. skipping: [localhost] => (item={u'LISTEN_HOST': u'0.0.0.0', u'DATA_DIR': u'/edx/var/forum', u'NEW_RELIC_LICENSE_KEY': u'', u'RACK_ENV': u'development', u'NEW_RELIC_ENABLE': False, u'SEARCH_SERVER': u'http://edx.devstack.elasticsearch:9200/', u'PATH': u'/edx/app/forum/cs_comments_service/bin:/edx/app/forum/.rbenv/bin:/edx/app/forum/.rbenv/shims:/edx/app/forum/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', u'RBENV_ROOT': u'/edx/app/forum/.rbenv', u'NEW_RELIC_APP_NAME': u'default_env-default_deployment-forum', u'LISTEN_PORT': u'4567', u'MONGOID_USE_SSL': False, u'MONGOHQ_URL': u'mongodb://cs_comments_service:password@edx.devstack.mongo:27017/cs_comments_service', u'MONGOID_AUTH_SOURCE': u'', u'WORKER_PROCESSES': u'4', u'SINATRA_ENV': u'development', u'API_KEY': u'6e4IAEMg1PioJsq9fJlUulXO78TaibAoJgM', u'HOME': u'/edx/app/forum', u'GEM_PATH': u'/edx/app/forum/.gem', u'GEM_HOME': u'/edx/app/forum/.gem'})
  4951.  
  4952. TASK [forum : create /edx/var/forum] *******************************************
  4953. changed: [localhost]
  4954.  
  4955. TASK [forum : create the supervisor config] ************************************
  4956. changed: [localhost]
  4957.  
  4958. TASK [forum : enable the supervisor config] ************************************
  4959. changed: [localhost]
  4960.  
  4961. TASK [forum : create the supervisor wrapper] ***********************************
  4962. changed: [localhost]
  4963.  
  4964. TASK [forum : git checkout forum repo into /edx/app/forum/cs_comments_service] ***
  4965. changed: [localhost]
  4966.  
  4967. TASK [forum : install comments service bundle] *********************************
  4968. changed: [localhost]
  4969.  
  4970. TASK [forum : initialize elasticsearch] ****************************************
  4971. changed: [localhost]
  4972.  
  4973. TASK [forum : rebuild elasticsearch indexes] ***********************************
  4974. skipping: [localhost]
  4975.  
  4976. TASK [forum : update supervisor configuration] *********************************
  4977. changed: [localhost]
  4978.  
  4979. TASK [forum : ensure forum is started] *****************************************
  4980. ok: [localhost]
  4981.  
  4982. TASK [forum : test that the required service are listening] ********************
  4983. ok: [localhost] => (item={u'host': u'localhost', u'port': u'9200', u'service': u'elasticsearch'})
  4984.  
  4985. TASK [forum : test that mongo replica set members are listing] *****************
  4986. ok: [localhost] => (item=localhost)
  4987.  
  4988. TASK [forum : get instance information] ****************************************
  4989. skipping: [localhost]
  4990.  
  4991. TASK [forum : tag instance] ****************************************************
  4992. skipping: [localhost]
  4993.  
  4994. TASK [forum : set_fact] ********************************************************
  4995. ok: [localhost]
  4996.  
  4997. TASK [security : Install security packages] ************************************
  4998. skipping: [localhost]
  4999.  
  5000. TASK [security : Update all system packages] ***********************************
  5001. skipping: [localhost]
  5002.  
  5003. TASK [security : Configure periodic unattended-upgrades] ***********************
  5004. skipping: [localhost]
  5005.  
  5006. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  5007. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  5008. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  5009. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  5010.  
  5011. TASK [security : Disable unattended-upgrades] **********************************
  5012. skipping: [localhost]
  5013.  
  5014. TASK [security : Only unattended-upgrade from security repo] *******************
  5015. skipping: [localhost]
  5016.  
  5017. TASK [security : Add debian blacklist] *****************************************
  5018. skipping: [localhost]
  5019.  
  5020. TASK [security : Disable security only updates on unattended-upgrades] *********
  5021. skipping: [localhost]
  5022.  
  5023. TASK [security : Take security updates during ansible runs] ********************
  5024. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  5025. skipping: [localhost] => (item=unattended-upgrade)
  5026.  
  5027. TASK [security : Install security packages] ************************************
  5028. skipping: [localhost]
  5029.  
  5030. TASK [security : Enable automatic start for update service] ********************
  5031. skipping: [localhost]
  5032.  
  5033. TASK [security : Update all system packages] ***********************************
  5034. skipping: [localhost]
  5035.  
  5036. TASK [security : Configure security auto-updates] ******************************
  5037. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  5038. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  5039.  
  5040. TASK [security : Take security updates during ansible runs] ********************
  5041. skipping: [localhost] => (item=yum check-update --security)
  5042. skipping: [localhost] => (item=yum update --security -y)
  5043.  
  5044. TASK [security : Install security packages] ************************************
  5045. skipping: [localhost]
  5046.  
  5047. TASK [security : Update all system packages] ***********************************
  5048. skipping: [localhost]
  5049.  
  5050. TASK [security : Configure periodic unattended-upgrades] ***********************
  5051. skipping: [localhost]
  5052.  
  5053. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  5054. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  5055. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  5056. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  5057.  
  5058. TASK [security : Disable unattended-upgrades] **********************************
  5059. skipping: [localhost]
  5060.  
  5061. TASK [security : Only unattended-upgrade from security repo] *******************
  5062. skipping: [localhost]
  5063.  
  5064. TASK [security : Add debian blacklist] *****************************************
  5065. skipping: [localhost]
  5066.  
  5067. TASK [security : Disable security only updates on unattended-upgrades] *********
  5068. skipping: [localhost]
  5069.  
  5070. TASK [security : Take security updates during ansible runs] ********************
  5071. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  5072. skipping: [localhost] => (item=unattended-upgrade)
  5073.  
  5074. TASK [security : Install security packages] ************************************
  5075. skipping: [localhost]
  5076.  
  5077. TASK [security : Enable automatic start for update service] ********************
  5078. skipping: [localhost]
  5079.  
  5080. TASK [security : Update all system packages] ***********************************
  5081. skipping: [localhost]
  5082.  
  5083. TASK [security : Configure security auto-updates] ******************************
  5084. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  5085. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  5086.  
  5087. TASK [security : Take security updates during ansible runs] ********************
  5088. skipping: [localhost] => (item=yum check-update --security)
  5089. skipping: [localhost] => (item=yum update --security -y)
  5090.  
  5091. TASK [automated : Create automated user] ***************************************
  5092.  
  5093. TASK [automated : Create sudoers file from template] ***************************
  5094.  
  5095. TASK [automated : Create .ssh directory] ***************************************
  5096.  
  5097. TASK [automated : Build authorized_keys file] **********************************
  5098.  
  5099. TASK [automated : Build known_hosts file] **************************************
  5100.  
  5101. TASK [automated : Are we in a Docker container] ********************************
  5102. changed: [localhost]
  5103.  
  5104. TASK [automated : Allow automated users to ssh] ********************************
  5105. skipping: [localhost]
  5106.  
  5107. TASK [automated : restart ssh] *************************************************
  5108. skipping: [localhost]
  5109.  
  5110. TASK [add_user : create user groups] *******************************************
  5111. changed: [localhost] => (item=discovery)
  5112.  
  5113. TASK [add_user : create application user] **************************************
  5114. changed: [localhost]
  5115.  
  5116. TASK [add_user : ensure correct ownership of home directory] *******************
  5117. ok: [localhost]
  5118.  
  5119. TASK [add_user : create dirs for the user] *************************************
  5120.  
  5121. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  5122. changed: [localhost]
  5123.  
  5124. TASK [git_clone : Validate git protocol] ***************************************
  5125. skipping: [localhost] => (item=None)
  5126.  
  5127. TASK [git_clone : Install read-only ssh key] ***********************************
  5128. skipping: [localhost] => (item=None)
  5129.  
  5130. TASK [git_clone : Check that working tree is clean] ****************************
  5131. changed: [localhost] => (item=/edx/app/discovery/discovery)
  5132.  
  5133. TASK [git_clone : Require a clean working tree] ********************************
  5134. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001827', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/discovery/discovery', u'end': u'2020-01-23 11:13:58.904194', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/discovery/discovery" || git -C "/edx/app/discovery/discovery" status --porcelain --untracked-files=no', 'item': u'/edx/app/discovery/discovery', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/discovery/discovery" || git -C "/edx/app/discovery/discovery" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 11:13:58.902367', '_ansible_ignore_errors': None})
  5135.  
  5136. TASK [git_clone : Checkout code over ssh] **************************************
  5137. skipping: [localhost] => (item=None)
  5138.  
  5139. TASK [git_clone : Checkout code over https] ************************************
  5140. changed: [localhost] => (item=None)
  5141. changed: [localhost]
  5142.  
  5143. TASK [git_clone : Remove read-only ssh key] ************************************
  5144. skipping: [localhost] => (item=None)
  5145.  
  5146. TASK [git_clone : Run git clean after checking out code] ***********************
  5147. changed: [localhost] => (item=None)
  5148. changed: [localhost]
  5149.  
  5150. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  5151. ok: [localhost] => (item=)
  5152. changed: [localhost] => (item=venvs)
  5153. changed: [localhost] => (item=data)
  5154. changed: [localhost] => (item=staticfiles)
  5155.  
  5156. TASK [edx_service : Create /edx/var/app dir] ***********************************
  5157. changed: [localhost]
  5158.  
  5159. TASK [edx_service : Create /edx/etc dir] ***************************************
  5160. changed: [localhost]
  5161.  
  5162. TASK [edx_service : Create edx_service log dir] ********************************
  5163. changed: [localhost] => (item=/edx/var/log/discovery)
  5164.  
  5165. TASK [edx_service : Write out app config file] *********************************
  5166. changed: [localhost]
  5167.  
  5168. TASK [edx_service : Decrypt app config file] ***********************************
  5169. skipping: [localhost]
  5170.  
  5171. TASK [edx_service : Replace deploy host to sandbox dns name] *******************
  5172. skipping: [localhost]
  5173.  
  5174. TASK [edx_service : Copy app config file] **************************************
  5175. skipping: [localhost]
  5176.  
  5177. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  5178. ok: [localhost]
  5179.  
  5180. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  5181. skipping: [localhost]
  5182.  
  5183. TASK [edx_service : Get instance information] **********************************
  5184. ok: [localhost]
  5185.  
  5186. TASK [edx_service : Tag instance] **********************************************
  5187. skipping: [localhost] => (item=[{u'REPO': u'course-discovery.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'course-discovery.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None}, u'after': u'00f2dcb925879f8d3e9a4387499177873ffdd384', 'failed': False, '_ansible_item_label': {u'REPO': u'course-discovery.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/discovery/discovery', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/course-discovery.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
  5188.  
  5189. TASK [edx_django_service : add gunicorn configuration file] ********************
  5190. changed: [localhost]
  5191.  
  5192. TASK [edx_django_service : install python3] ************************************
  5193. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  5194. squash_actions is deprecated. Instead of using a loop to supply multiple items
  5195. and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
  5196. 'python3-dev']` and remove the loop. This feature will be removed in version
  5197. 2.11. Deprecation warnings can be disabled by setting
  5198. deprecation_warnings=False in ansible.cfg.
  5199. ok: [localhost] => (item=[u'python3-pip', u'python3-dev'])
  5200.  
  5201. TASK [edx_django_service : build virtualenv with python3] **********************
  5202. changed: [localhost]
  5203.  
  5204. TASK [edx_django_service : build virtualenv with python2.7] ********************
  5205. skipping: [localhost]
  5206.  
  5207. TASK [edx_django_service : Pin pip to a specific version.] *********************
  5208. changed: [localhost]
  5209.  
  5210. TASK [edx_django_service : install nodenv] *************************************
  5211. changed: [localhost]
  5212.  
  5213. TASK [edx_django_service : create nodeenv] *************************************
  5214. changed: [localhost]
  5215.  
  5216. TASK [edx_django_service : upgrade npm] ****************************************
  5217. changed: [localhost]
  5218.  
  5219. TASK [edx_django_service : install production requirements] ********************
  5220. changed: [localhost]
  5221.  
  5222. TASK [edx_django_service : install development requirements] *******************
  5223. skipping: [localhost]
  5224.  
  5225. TASK [edx_django_service : migrate database] ***********************************
  5226. changed: [localhost]
  5227.  
  5228. TASK [edx_django_service : run post-migrate commands] **************************
  5229.  
  5230. TASK [edx_django_service : ensure log files exist for tailing] *****************
  5231. changed: [localhost] => (item=/edx/var/log/supervisor/discovery-stdout.log)
  5232. changed: [localhost] => (item=/edx/var/log/supervisor/discovery-stderr.log)
  5233.  
  5234. TASK [edx_django_service : write out the supervisor wrapper] *******************
  5235. changed: [localhost]
  5236.  
  5237. TASK [edx_django_service : write supervisord config] ***************************
  5238. changed: [localhost]
  5239.  
  5240. TASK [edx_django_service : write devstack script] ******************************
  5241. skipping: [localhost]
  5242.  
  5243. TASK [edx_django_service : setup the app env file] *****************************
  5244. changed: [localhost]
  5245.  
  5246. TASK [edx_django_service : enable supervisor script] ***************************
  5247. changed: [localhost]
  5248.  
  5249. TASK [edx_django_service : update supervisor configuration] ********************
  5250. changed: [localhost]
  5251.  
  5252. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  5253. changed: [localhost] => (item=python)
  5254. changed: [localhost] => (item=pip)
  5255. changed: [localhost] => (item=django-admin.py)
  5256.  
  5257. TASK [edx_django_service : create symlinks from the repo dir] ******************
  5258. changed: [localhost] => (item=manage.py)
  5259.  
  5260. TASK [edx_django_service : compile static assets] ******************************
  5261. changed: [localhost]
  5262.  
  5263. TASK [edx_django_service : restart the application] ****************************
  5264. changed: [localhost]
  5265.  
  5266. TASK [edx_django_service : Copying nginx configs for the service] **************
  5267. changed: [localhost]
  5268.  
  5269. TASK [edx_django_service : Creating nginx config links for the service] ********
  5270. changed: [localhost]
  5271.  
  5272. TASK [Include JWT signature setting in the app config file] ********************
  5273. skipping: [localhost]
  5274.  
  5275. TASK [security : Install security packages] ************************************
  5276. skipping: [localhost]
  5277.  
  5278. TASK [security : Update all system packages] ***********************************
  5279. skipping: [localhost]
  5280.  
  5281. TASK [security : Configure periodic unattended-upgrades] ***********************
  5282. skipping: [localhost]
  5283.  
  5284. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  5285. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  5286. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  5287. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  5288.  
  5289. TASK [security : Disable unattended-upgrades] **********************************
  5290. skipping: [localhost]
  5291.  
  5292. TASK [security : Only unattended-upgrade from security repo] *******************
  5293. skipping: [localhost]
  5294.  
  5295. TASK [security : Add debian blacklist] *****************************************
  5296. skipping: [localhost]
  5297.  
  5298. TASK [security : Disable security only updates on unattended-upgrades] *********
  5299. skipping: [localhost]
  5300.  
  5301. TASK [security : Take security updates during ansible runs] ********************
  5302. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  5303. skipping: [localhost] => (item=unattended-upgrade)
  5304.  
  5305. TASK [security : Install security packages] ************************************
  5306. skipping: [localhost]
  5307.  
  5308. TASK [security : Enable automatic start for update service] ********************
  5309. skipping: [localhost]
  5310.  
  5311. TASK [security : Update all system packages] ***********************************
  5312. skipping: [localhost]
  5313.  
  5314. TASK [security : Configure security auto-updates] ******************************
  5315. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  5316. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  5317.  
  5318. TASK [security : Take security updates during ansible runs] ********************
  5319. skipping: [localhost] => (item=yum check-update --security)
  5320. skipping: [localhost] => (item=yum update --security -y)
  5321.  
  5322. TASK [security : Install security packages] ************************************
  5323. skipping: [localhost]
  5324.  
  5325. TASK [security : Update all system packages] ***********************************
  5326. skipping: [localhost]
  5327.  
  5328. TASK [security : Configure periodic unattended-upgrades] ***********************
  5329. skipping: [localhost]
  5330.  
  5331. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  5332. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  5333. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  5334. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  5335.  
  5336. TASK [security : Disable unattended-upgrades] **********************************
  5337. skipping: [localhost]
  5338.  
  5339. TASK [security : Only unattended-upgrade from security repo] *******************
  5340. skipping: [localhost]
  5341.  
  5342. TASK [security : Add debian blacklist] *****************************************
  5343. skipping: [localhost]
  5344.  
  5345. TASK [security : Disable security only updates on unattended-upgrades] *********
  5346. skipping: [localhost]
  5347.  
  5348. TASK [security : Take security updates during ansible runs] ********************
  5349. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  5350. skipping: [localhost] => (item=unattended-upgrade)
  5351.  
  5352. TASK [security : Install security packages] ************************************
  5353. skipping: [localhost]
  5354.  
  5355. TASK [security : Enable automatic start for update service] ********************
  5356. skipping: [localhost]
  5357.  
  5358. TASK [security : Update all system packages] ***********************************
  5359. skipping: [localhost]
  5360.  
  5361. TASK [security : Configure security auto-updates] ******************************
  5362. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  5363. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  5364.  
  5365. TASK [security : Take security updates during ansible runs] ********************
  5366. skipping: [localhost] => (item=yum check-update --security)
  5367. skipping: [localhost] => (item=yum update --security -y)
  5368.  
  5369. TASK [notifier : Install notifier specific system packages] ********************
  5370. ok: [localhost]
  5371.  
  5372. TASK [notifier : Create notifier user notifier] ********************************
  5373. changed: [localhost]
  5374.  
  5375. TASK [notifier : Create notifier app dir] **************************************
  5376. changed: [localhost]
  5377.  
  5378. TASK [notifier : Setup the notifier env] ***************************************
  5379. changed: [localhost]
  5380.  
  5381. TASK [notifier : Drop a bash_profile] ******************************************
  5382. changed: [localhost]
  5383.  
  5384. TASK [notifier : Ensure .bashrc exists] ****************************************
  5385. changed: [localhost]
  5386.  
  5387. TASK [notifier : Add source of notifier_env to .bashrc] ************************
  5388. changed: [localhost]
  5389.  
  5390. TASK [notifier : Add source venv to .bashrc] ***********************************
  5391. changed: [localhost]
  5392.  
  5393. TASK [notifier : Create desired directories] ***********************************
  5394. changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/db', u'group': u'www-data', u'mode': u'2775'})
  5395. changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/bin', u'group': u'notifier', u'mode': u'2775'})
  5396. changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/.ssh', u'group': u'notifier', u'mode': u'2700'})
  5397. changed: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log/notifier', u'group': u'syslog', u'mode': u'0664'})
  5398.  
  5399. TASK [notifier : Copy the boto file] *******************************************
  5400. changed: [localhost]
  5401.  
  5402. TASK [notifier : Write supervisord wrapper for celery workers and scheduler] ***
  5403. changed: [localhost] => (item={u'dest': u'/edx/app/notifier/notifier-scheduler-supervisor.sh', u'src': u'notifier-scheduler-supervisor.sh.j2'})
  5404.  
  5405. TASK [notifier : Write supervisord config for celery workers and scheduler] ****
  5406. changed: [localhost] => (item={u'dest': u'/edx/app/supervisor/conf.available.d/notifier-celery-workers.conf', u'src': u'edx/app/supervisor/conf.d/notifier-celery-workers.conf.j2'})
  5407. changed: [localhost] => (item={u'dest': u'/edx/app/supervisor/conf.available.d/notifier-scheduler.conf', u'src': u'edx/app/supervisor/conf.d/notifier-scheduler.conf.j2'})
  5408.  
  5409. TASK [notifier : Enable supervisord config for celery workers] *****************
  5410. changed: [localhost]
  5411.  
  5412. TASK [notifier : Enable supervisord config for scheduler] **********************
  5413. changed: [localhost]
  5414.  
  5415. TASK [notifier : Checkout code] ************************************************
  5416. changed: [localhost]
  5417.  
  5418. TASK [notifier : Install read-only ssh key] ************************************
  5419. skipping: [localhost]
  5420.  
  5421. TASK [notifier : Checkout theme] ***********************************************
  5422. skipping: [localhost]
  5423.  
  5424. TASK [notifier : Write notifier local settings] ********************************
  5425. changed: [localhost]
  5426.  
  5427. TASK [notifier : Install application requirements] *****************************
  5428. changed: [localhost]
  5429.  
  5430. TASK [notifier : Fix permissions on notifer db file] ***************************
  5431. changed: [localhost]
  5432.  
  5433. TASK [notifier : Migrate the notifier db] **************************************
  5434. changed: [localhost]
  5435.  
  5436. TASK [notifier : restart notifier-scheduler] ***********************************
  5437. changed: [localhost]
  5438.  
  5439. TASK [notifier : restart notifier-celery-workers] ******************************
  5440. changed: [localhost]
  5441.  
  5442. TASK [security : Install security packages] ************************************
  5443. skipping: [localhost]
  5444.  
  5445. TASK [security : Update all system packages] ***********************************
  5446. skipping: [localhost]
  5447.  
  5448. TASK [security : Configure periodic unattended-upgrades] ***********************
  5449. skipping: [localhost]
  5450.  
  5451. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  5452. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  5453. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  5454. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  5455.  
  5456. TASK [security : Disable unattended-upgrades] **********************************
  5457. skipping: [localhost]
  5458.  
  5459. TASK [security : Only unattended-upgrade from security repo] *******************
  5460. skipping: [localhost]
  5461.  
  5462. TASK [security : Add debian blacklist] *****************************************
  5463. skipping: [localhost]
  5464.  
  5465. TASK [security : Disable security only updates on unattended-upgrades] *********
  5466. skipping: [localhost]
  5467.  
  5468. TASK [security : Take security updates during ansible runs] ********************
  5469. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  5470. skipping: [localhost] => (item=unattended-upgrade)
  5471.  
  5472. TASK [security : Install security packages] ************************************
  5473. skipping: [localhost]
  5474.  
  5475. TASK [security : Enable automatic start for update service] ********************
  5476. skipping: [localhost]
  5477.  
  5478. TASK [security : Update all system packages] ***********************************
  5479. skipping: [localhost]
  5480.  
  5481. TASK [security : Configure security auto-updates] ******************************
  5482. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  5483. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  5484.  
  5485. TASK [security : Take security updates during ansible runs] ********************
  5486. skipping: [localhost] => (item=yum check-update --security)
  5487. skipping: [localhost] => (item=yum update --security -y)
  5488.  
  5489. TASK [security : Install security packages] ************************************
  5490. skipping: [localhost]
  5491.  
  5492. TASK [security : Update all system packages] ***********************************
  5493. skipping: [localhost]
  5494.  
  5495. TASK [security : Configure periodic unattended-upgrades] ***********************
  5496. skipping: [localhost]
  5497.  
  5498. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  5499. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  5500. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  5501. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  5502.  
  5503. TASK [security : Disable unattended-upgrades] **********************************
  5504. skipping: [localhost]
  5505.  
  5506. TASK [security : Only unattended-upgrade from security repo] *******************
  5507. skipping: [localhost]
  5508.  
  5509. TASK [security : Add debian blacklist] *****************************************
  5510. skipping: [localhost]
  5511.  
  5512. TASK [security : Disable security only updates on unattended-upgrades] *********
  5513. skipping: [localhost]
  5514.  
  5515. TASK [security : Take security updates during ansible runs] ********************
  5516. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  5517. skipping: [localhost] => (item=unattended-upgrade)
  5518.  
  5519. TASK [security : Install security packages] ************************************
  5520. skipping: [localhost]
  5521.  
  5522. TASK [security : Enable automatic start for update service] ********************
  5523. skipping: [localhost]
  5524.  
  5525. TASK [security : Update all system packages] ***********************************
  5526. skipping: [localhost]
  5527.  
  5528. TASK [security : Configure security auto-updates] ******************************
  5529. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  5530. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  5531.  
  5532. TASK [security : Take security updates during ansible runs] ********************
  5533. skipping: [localhost] => (item=yum check-update --security)
  5534. skipping: [localhost] => (item=yum update --security -y)
  5535.  
  5536. TASK [add_user : create user groups] *******************************************
  5537. changed: [localhost] => (item=xqueue)
  5538.  
  5539. TASK [add_user : create application user] **************************************
  5540. changed: [localhost]
  5541.  
  5542. TASK [add_user : ensure correct ownership of home directory] *******************
  5543. ok: [localhost]
  5544.  
  5545. TASK [add_user : create dirs for the user] *************************************
  5546.  
  5547. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  5548. changed: [localhost]
  5549.  
  5550. TASK [git_clone : Validate git protocol] ***************************************
  5551. skipping: [localhost] => (item=None)
  5552.  
  5553. TASK [git_clone : Install read-only ssh key] ***********************************
  5554. skipping: [localhost] => (item=None)
  5555.  
  5556. TASK [git_clone : Check that working tree is clean] ****************************
  5557. changed: [localhost] => (item=/edx/app/xqueue/xqueue)
  5558.  
  5559. TASK [git_clone : Require a clean working tree] ********************************
  5560. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001952', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/xqueue/xqueue', u'end': u'2020-01-23 11:19:08.936696', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/xqueue/xqueue" || git -C "/edx/app/xqueue/xqueue" status --porcelain --untracked-files=no', 'item': u'/edx/app/xqueue/xqueue', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/xqueue/xqueue" || git -C "/edx/app/xqueue/xqueue" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 11:19:08.934744', '_ansible_ignore_errors': None})
  5561.  
  5562. TASK [git_clone : Checkout code over ssh] **************************************
  5563. skipping: [localhost] => (item=None)
  5564.  
  5565. TASK [git_clone : Checkout code over https] ************************************
  5566. changed: [localhost] => (item=None)
  5567. changed: [localhost]
  5568.  
  5569. TASK [git_clone : Remove read-only ssh key] ************************************
  5570. skipping: [localhost] => (item=None)
  5571.  
  5572. TASK [git_clone : Run git clean after checking out code] ***********************
  5573. changed: [localhost] => (item=None)
  5574. changed: [localhost]
  5575.  
  5576. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  5577. ok: [localhost] => (item=)
  5578. changed: [localhost] => (item=venvs)
  5579. changed: [localhost] => (item=data)
  5580. changed: [localhost] => (item=staticfiles)
  5581.  
  5582. TASK [edx_service : Create /edx/var/app dir] ***********************************
  5583. changed: [localhost]
  5584.  
  5585. TASK [edx_service : Create /edx/etc dir] ***************************************
  5586. changed: [localhost]
  5587.  
  5588. TASK [edx_service : Create edx_service log dir] ********************************
  5589. changed: [localhost] => (item=/edx/var/log/xqueue)
  5590.  
  5591. TASK [edx_service : Write out app config file] *********************************
  5592. changed: [localhost]
  5593.  
  5594. TASK [edx_service : Decrypt app config file] ***********************************
  5595. skipping: [localhost]
  5596.  
  5597. TASK [edx_service : Replace deploy host to sandbox dns name] *******************
  5598. skipping: [localhost]
  5599.  
  5600. TASK [edx_service : Copy app config file] **************************************
  5601. skipping: [localhost]
  5602.  
  5603. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  5604. ok: [localhost]
  5605.  
  5606. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  5607. skipping: [localhost]
  5608.  
  5609. TASK [edx_service : Get instance information] **********************************
  5610. ok: [localhost]
  5611.  
  5612. TASK [edx_service : Tag instance] **********************************************
  5613. skipping: [localhost] => (item=[{u'REPO': u'xqueue.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/xqueue/xqueue', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'xqueue.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/xqueue/xqueue', u'SSH_KEY': None}, u'after': u'45c2e69826819c94caba7a832adfffe169a15c3c', 'failed': False, '_ansible_item_label': {u'REPO': u'xqueue.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/xqueue/xqueue', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/xqueue/xqueue', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/xqueue.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
  5614.  
  5615. TASK [edx_service_with_rendered_config : Write out app config file] ************
  5616. changed: [localhost]
  5617.  
  5618. TASK [xqueue : install python3] ************************************************
  5619. [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
  5620. squash_actions is deprecated. Instead of using a loop to supply multiple items
  5621. and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
  5622. 'python3-dev']` and remove the loop. This feature will be removed in version
  5623. 2.11. Deprecation warnings can be disabled by setting
  5624. deprecation_warnings=False in ansible.cfg.
  5625. ok: [localhost] => (item=[u'python3-pip', u'python3-dev'])
  5626.  
  5627. TASK [xqueue : build virtualenv with python3] **********************************
  5628. changed: [localhost]
  5629.  
  5630. TASK [xqueue : Install python3 requirements] ***********************************
  5631. changed: [localhost]
  5632.  
  5633. TASK [xqueue : build virtualenv with python2.7] ********************************
  5634. skipping: [localhost]
  5635.  
  5636. TASK [xqueue : write devstack script] ******************************************
  5637. skipping: [localhost]
  5638.  
  5639. TASK [xqueue : Writing supervisor scripts - xqueue, xqueue consumer] ***********
  5640. changed: [localhost] => (item=xqueue)
  5641. changed: [localhost] => (item=xqueue_consumer)
  5642.  
  5643. TASK [xqueue : Enabling supervisor scripts - xqueue, xqueue consumer] **********
  5644. changed: [localhost] => (item=xqueue)
  5645. changed: [localhost] => (item=xqueue_consumer)
  5646.  
  5647. TASK [xqueue : add gunicorn configuration file] ********************************
  5648. changed: [localhost]
  5649.  
  5650. TASK [xqueue : setup the app env file] *****************************************
  5651. changed: [localhost]
  5652.  
  5653. TASK [xqueue : Install python requirements] ************************************
  5654. skipping: [localhost]
  5655.  
  5656. TASK [xqueue : Install python openstack requirements] **************************
  5657. skipping: [localhost]
  5658.  
  5659. TASK [xqueue : Migrate] ********************************************************
  5660. changed: [localhost]
  5661.  
  5662. TASK [xqueue : Create users] ***************************************************
  5663. changed: [localhost]
  5664.  
  5665. TASK [xqueue : Update supervisor configuration] ********************************
  5666. changed: [localhost]
  5667.  
  5668. TASK [xqueue : Ensure xqueue, consumer is running] *****************************
  5669. failed: [localhost] (item=xqueue) => {"changed": false, "item": "xqueue", "msg": "xqueue: ERROR (no such file)\n"}
  5670. ok: [localhost] => (item=xqueue_consumer)
  5671.  
  5672. RUNNING HANDLER [nginx : reload nginx] *****************************************
  5673.  
  5674. RUNNING HANDLER [forum : restart the forum service] ****************************
  5675. to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry
  5676.  
  5677. PLAY RECAP *********************************************************************
  5678. localhost : ok=547 changed=414 unreachable=0 failed=1
  5679.  
  5680. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: gather static assets with paver [1] ------------------------------------------- 426.55s
  5681. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [0] ------------------------------------------------------------------- 395.73s
  5682. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [0] ----------------------------------------------- 292.90s
  5683. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install ruby 2.4.1 ------------------------------------------------------------ 238.39s
  5684. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements [1] ------------------------------------------- 186.16s
  5685. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate database [3] ---------------------------------------------------------- 126.99s
  5686. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate database [1] ---------------------------------------------------------- 124.75s
  5687. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install comments service bundle ------------------------------------------------ 90.16s
  5688. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: checkout edx-platform repo into /edx/app/edxapp/edx-platform [0] --------------- 81.69s
  5689. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install node dependencies [2] -------------------------------------------------- 72.09s
  5690. INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing:
  5691. Playbook Configure instance(s) finished: 2020-01-23 11:19:41.622964, 1532 total tasks. 0:59:47.989390 elapsed.
  5692.  
  5693.  
  5694. ========================================
  5695. Ansible failed!
  5696. ----------------------------------------
  5697. If you need help, see https://open.edx.org/getting-help .
  5698. When asking for help, please provide as much information as you can.
  5699. These might be helpful:
  5700. Your log file is at logs/install-20200123-101913.log
  5701. Your environment:
  5702. OPENEDX_RELEASE=master
  5703. ========================================
  5704. Installation finished at 2020-01-23 11:19:42
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement