sandeshyadav

Untitled

May 1st, 2020
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 296.40 KB | None | 0 0
  1. Capturing output to logs/install-20200501-155220.log
  2. Installation started at 2020-05-01 15:52:20
  3. Installing release 'open-release/ironwood.master'
  4. Reading package lists...
  5. Building dependency tree...
  6. Reading state information...
  7. python-software-properties is already the newest version (0.96.20.9).
  8. The following package was automatically installed and is no longer required:
  9.   grub-pc-bin
  10. Use 'sudo apt autoremove' to remove it.
  11. 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
  12. gpg: keyring `/tmp/tmp5ekezmzv/secring.gpg' created
  13. gpg: keyring `/tmp/tmp5ekezmzv/pubring.gpg' created
  14. gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
  15. gpg: /tmp/tmp5ekezmzv/trustdb.gpg: trustdb created
  16. gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
  17. gpg: Total number processed: 1
  18. gpg:               imported: 1  (RSA: 1)
  19. OK
  20. Hit:1 http://azure.archive.ubuntu.com/ubuntu xenial InRelease
  21. Get:2 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
  22. Get:3 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
  23. Ign:4 http://packages.elastic.co/elasticsearch/1.5/debian stable InRelease
  24. Ign:5 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
  25. Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
  26. Hit:7 http://packages.elastic.co/elasticsearch/1.5/debian stable Release
  27. Get:8 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release [3,462 B]
  28. Get:9 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg [801 B]
  29. Hit:10 http://ppa.edx.org xenial InRelease
  30. Hit:11 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease
  31. Hit:12 http://nginx.org/packages/ubuntu xenial InRelease
  32. Hit:13 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
  33. Ign:9 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg
  34. Hit:15 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2/multiverse amd64 Packages
  35. Hit:16 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
  36. Hit:17 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
  37. Hit:18 https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu xenial InRelease
  38. Fetched 329 kB in 1s (318 kB/s)
  39. Reading package lists...
  40. W: http://packages.elastic.co/elasticsearch/1.5/debian/dists/stable/Release.gpg: Signature by key 46095ACC8548582C1A2699A9D27D666CD88E42B4 uses weak digest algorithm (SHA1)
  41. W: GPG error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D68FA50FEA312927
  42. W: The repository 'http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release' is not signed.
  43. Reading package lists...
  44. Building dependency tree...
  45. Reading state information...
  46. Calculating upgrade...
  47. The following package was automatically installed and is no longer required:
  48.  grub-pc-bin
  49. Use 'sudo apt autoremove' to remove it.
  50. The following packages have been kept back:
  51.  elasticsearch git git-man rabbitmq-server
  52. The following packages will be upgraded:
  53.  mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell
  54.  mongodb-org-tools
  55. 5 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
  56. Need to get 51.8 MB of archives.
  57. After this operation, 127 kB of additional disk space will be used.
  58. WARNING: The following packages cannot be authenticated!
  59.  mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools
  60.  mongodb-org
  61. E: There were unauthenticated packages and -y was used without --allow-unauthenticated
  62. Reading package lists...
  63. Building dependency tree...
  64. Reading state information...
  65. build-essential is already the newest version (12.1ubuntu2).
  66. g++ is already the newest version (4:5.3.1-1ubuntu1).
  67. gcc is already the newest version (4:5.3.1-1ubuntu1).
  68. libxmlsec1-dev is already the newest version (1.2.20-2ubuntu4).
  69. swig is already the newest version (3.0.8-0ubuntu3).
  70. curl is already the newest version (7.47.0-1ubuntu2.14).
  71. libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2.4).
  72. libmysqlclient-dev is already the newest version (5.7.29-0ubuntu0.16.04.1).
  73. libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.7).
  74. libxslt1-dev is already the newest version (1.1.28-2.1ubuntu0.3).
  75. python-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.8).
  76. python-dev is already the newest version (2.7.12-1~16.04).
  77. software-properties-common is already the newest version (0.96.20.9).
  78. python-pip is already the newest version (8.1.1-2ubuntu0.4).
  79. git-core is already the newest version (1:2.14.2-1~ppa0~ubuntu16.04.1).
  80. The following package was automatically installed and is no longer required:
  81.  grub-pc-bin
  82. Use 'sudo apt autoremove' to remove it.
  83. 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
  84. Cache entry deserialization failed, entry ignored
  85. Requirement already up-to-date: pip==9.0.3 in /usr/local/lib/python2.7/dist-packages
  86. You are using pip version 9.0.3, however version 20.1 is available.
  87. You should consider upgrading via the 'pip install --upgrade pip' command.
  88. Cache entry deserialization failed, entry ignored
  89. Cache entry deserialization failed, entry ignored
  90. Requirement already up-to-date: setuptools==39.0.1 in /usr/local/lib/python2.7/dist-packages
  91. You are using pip version 9.0.3, however version 20.1 is available.
  92. You should consider upgrading via the 'pip install --upgrade pip' command.
  93. Requirement already up-to-date: virtualenv==15.2.0 in /usr/local/lib/python2.7/dist-packages
  94. You are using pip version 9.0.3, however version 20.1 is available.
  95. You should consider upgrading via the 'pip install --upgrade pip' command.
  96. fatal: destination path 'configuration' already exists and is not an empty directory.
  97. Already on 'open-release/ironwood.master'
  98. Your branch is up-to-date with 'origin/open-release/ironwood.master'.
  99. From https://github.com/edx/configuration
  100.   da97706..f0a58d2  master     -> origin/master
  101. Already up-to-date.
  102. Requirement already satisfied: ansible==2.3.1.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 7))
  103. Requirement already satisfied: asn1crypto==0.24.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 8))
  104. Requirement already satisfied: awscli==1.15.19 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 9))
  105. Requirement already satisfied: bcrypt==3.1.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 10))
  106. Requirement already satisfied: boto3==1.7.14 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 11))
  107. Requirement already satisfied: boto==2.48.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 12))
  108. Requirement already satisfied: botocore==1.10.19 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 13))
  109. Requirement already satisfied: certifi==2018.4.16 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 14))
  110. Requirement already satisfied: cffi==1.11.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 15))
  111. Requirement already satisfied: chardet==3.0.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 16))
  112. Requirement already satisfied: colorama==0.3.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 17))
  113. Requirement already satisfied: cryptography==2.2.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 18))
  114. Requirement already satisfied: datadog==0.8.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 19))
  115. Requirement already satisfied: decorator==4.3.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 20))
  116. Requirement already satisfied: docopt==0.6.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 21))
  117. Requirement already satisfied: docutils==0.14 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 22))
  118. Requirement already satisfied: ecdsa==0.13 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 23))
  119. Requirement already satisfied: enum34==1.1.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 24))
  120. Requirement already satisfied: futures==3.2.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 25))
  121. Requirement already satisfied: idna==2.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 26))
  122. Requirement already satisfied: ipaddress==1.0.22 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 27))
  123. Requirement already satisfied: jinja2==2.8 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 28))
  124. Requirement already satisfied: jmespath==0.9.3 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 29))
  125. Requirement already satisfied: markupsafe==1.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 30))
  126. Requirement already satisfied: mysql-python==1.2.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 31))
  127. Requirement already satisfied: networkx==1.11 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 32))
  128. Requirement already satisfied: paramiko==2.4.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 33))
  129. Requirement already satisfied: pathlib2==2.3.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 34))
  130. Requirement already satisfied: prettytable==0.7.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 35))
  131. Requirement already satisfied: pyasn1==0.4.3 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 36))
  132. Requirement already satisfied: pycparser==2.18 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 37))
  133. Requirement already satisfied: pycrypto==2.6.1 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 38))
  134. Requirement already satisfied: pymongo==3.2.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 39))
  135. Requirement already satisfied: pynacl==1.2.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 40))
  136. Requirement already satisfied: python-dateutil==2.7.3 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 41))
  137. Requirement already satisfied: python-simple-hipchat==0.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 42))
  138. Requirement already satisfied: pyyaml==3.12 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 43))
  139. Requirement already satisfied: requests==2.18.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 44))
  140. Requirement already satisfied: rsa==3.4.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 45))
  141. Requirement already satisfied: s3transfer==0.1.13 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 46))
  142. Requirement already satisfied: scandir==1.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 47))
  143. Requirement already satisfied: simplejson==3.16.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 48))
  144. Requirement already satisfied: six==1.11.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 49))
  145. Requirement already satisfied: urllib3==1.22 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 50))
  146. Requirement already satisfied: wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 51))
  147. Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==2.3.1.0->-r requirements.txt (line 7))
  148. You are using pip version 9.0.3, however version 20.1 is available.
  149. You should consider upgrading via the 'pip install --upgrade pip' command.
  150. [WARNING]: While constructing a mapping from
  151. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 75, column
  152. 3, found a duplicate dict key (RACK_ENV). Using last defined value only.
  153. [WARNING]: While constructing a mapping from
  154. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 75, column
  155. 3, found a duplicate dict key (SINATRA_ENV). Using last defined value only.
  156. [WARNING]: While constructing a mapping from
  157. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 75, column
  158. 3, found a duplicate dict key (SEARCH_SERVER). Using last defined value only.
  159. [WARNING]: While constructing a mapping from
  160. /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 75, column
  161. 3, found a duplicate dict key (MONGOHQ_URL). Using last defined value only.
  162.  
  163. PLAY [Bootstrap instance(s)] ***************************************************
  164.  
  165. TASK [python : Update apt-get] *************************************************
  166. changed: [localhost]
  167.  
  168. TASK [python : Install packages] ***********************************************
  169. changed: [localhost] => (item=python-minimal)
  170.  
  171. PLAY [Configure instance(s)] ***************************************************
  172.  
  173. TASK [Gathering Facts] *********************************************************
  174. ok: [localhost]
  175.  
  176. TASK [swapfile : Write swapfile] ***********************************************
  177. ok: [localhost]
  178.  
  179. TASK [swapfile : Set swapfile permissions] *************************************
  180. ok: [localhost]
  181.  
  182. TASK [swapfile : Create swapfile] **********************************************
  183. skipping: [localhost]
  184.  
  185. TASK [swapfile : Enable swapfile] **********************************************
  186. skipping: [localhost]
  187.  
  188. TASK [swapfile : Add swapfile to /etc/fstab] ***********************************
  189. ok: [localhost]
  190.  
  191. TASK [swapfile : Configure vm.swappiness] **************************************
  192. skipping: [localhost]
  193.  
  194. TASK [swapfile : Configure vm.vfs_cache_pressure] ******************************
  195. skipping: [localhost]
  196.  
  197. TASK [server_utils : Check for expired edx key] ********************************
  198. skipping: [localhost]
  199.  
  200. TASK [server_utils : remove expired edx key] ***********************************
  201. skipping: [localhost]
  202.  
  203. TASK [server_utils : Install ubuntu system packages] ***************************
  204. skipping: [localhost] => (item=[])
  205.  
  206. TASK [user : debug] ************************************************************
  207. skipping: [localhost]
  208.  
  209. TASK [user : Create the edxadmin group] ****************************************
  210. skipping: [localhost]
  211.  
  212. TASK [user : Ensure sudoers.d is read] *****************************************
  213. skipping: [localhost]
  214.  
  215. TASK [user : Grant full sudo access to the edxadmin group] *********************
  216. skipping: [localhost]
  217.  
  218. TASK [user : Create the users] *************************************************
  219.  
  220. TASK [user : Assign admin role to admin users] *********************************
  221.  
  222. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  223.  
  224. TASK [user : Print warning if github user(s) missing ssh key] ******************
  225.  
  226. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  227.  
  228. TASK [user : Get github key(s) and update the authorized_keys file] ************
  229.  
  230. TASK [user : Create bashrc file for normal users] ******************************
  231.  
  232. TASK [user : Create .profile for all users] ************************************
  233.  
  234. TASK [user : Modify shell for restricted users] ********************************
  235.  
  236. TASK [user : Create bashrc file for restricted users] **************************
  237.  
  238. TASK [user : Create sudoers file from template] ********************************
  239. skipping: [localhost]
  240.  
  241. TASK [user : Change home directory ownership to root for restricted users] *****
  242.  
  243. TASK [user : Create ~/bin directory] *******************************************
  244.  
  245. TASK [user : Create allowed command links] *************************************
  246.  
  247. TASK [security : Install security packages] ************************************
  248. skipping: [localhost] => (item=[])
  249.  
  250. TASK [security : Update all system packages] ***********************************
  251. skipping: [localhost]
  252.  
  253. TASK [security : Configure periodic unattended-upgrades] ***********************
  254. skipping: [localhost]
  255.  
  256. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  257. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  258. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  259. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  260.  
  261. TASK [security : Disable unattended-upgrades] **********************************
  262. skipping: [localhost]
  263.  
  264. TASK [security : Only unattended-upgrade from security repo] *******************
  265. skipping: [localhost]
  266.  
  267. TASK [security : Disable security only updates on unattended-upgrades] *********
  268. skipping: [localhost]
  269.  
  270. TASK [security : Take security updates during ansible runs] ********************
  271. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  272. skipping: [localhost] => (item=unattended-upgrade)
  273.  
  274. TASK [security : Install security packages] ************************************
  275. skipping: [localhost] => (item=[])
  276.  
  277. TASK [security : Enable automatic start for update service] ********************
  278. skipping: [localhost]
  279.  
  280. TASK [security : Update all system packages] ***********************************
  281. skipping: [localhost]
  282.  
  283. TASK [security : Configure security auto-updates] ******************************
  284. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  285. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  286.  
  287. TASK [security : Take security updates during ansible runs] ********************
  288. skipping: [localhost] => (item=yum check-update --security)
  289. skipping: [localhost] => (item=yum update --security -y)
  290.  
  291. TASK [common : Check Configuration Sources] ************************************
  292.  
  293. TASK [common : stat] ***********************************************************
  294. skipping: [localhost]
  295.  
  296. TASK [common : Update CA Certificates] *****************************************
  297. skipping: [localhost]
  298.  
  299. TASK [common : stat] ***********************************************************
  300. skipping: [localhost]
  301.  
  302. TASK [common : Update CA Trust] ************************************************
  303. skipping: [localhost]
  304.  
  305. TASK [common : Add common_users] ***********************************************
  306. skipping: [localhost] => (item=syslog)
  307. skipping: [localhost] => (item=www-data)
  308.  
  309. TASK [common : check if instance is vagrant] ***********************************
  310. skipping: [localhost]
  311.  
  312. TASK [common : Add git apt repository] *****************************************
  313. skipping: [localhost]
  314.  
  315. TASK [common : Add edX PPA apt key] ********************************************
  316. skipping: [localhost]
  317.  
  318. TASK [common : Update expired apt keys] ****************************************
  319. skipping: [localhost]
  320.  
  321. TASK [common : Add custom edX PPA] *********************************************
  322. skipping: [localhost]
  323.  
  324. TASK [common : Install role-independent useful system packages] ****************
  325. skipping: [localhost] => (item=[])
  326.  
  327. TASK [common : Install role-independent useful system packages from custom PPA] ***
  328. skipping: [localhost] => (item=[])
  329.  
  330. TASK [common : Install role-independent useful system packages] ****************
  331. skipping: [localhost] => (item=[])
  332.  
  333. TASK [common : Create common directories] **************************************
  334. skipping: [localhost] => (item={u'path': u'/edx/var'})
  335. skipping: [localhost] => (item={u'path': u'/edx/app'})
  336. skipping: [localhost] => (item={u'path': u'/edx/bin'})
  337. skipping: [localhost] => (item={u'path': u'/edx/etc'})
  338. skipping: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
  339. skipping: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
  340. skipping: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
  341.  
  342. TASK [common : upload sudo config for key forwarding as root] ******************
  343. skipping: [localhost]
  344.  
  345. TASK [common : pip install virtualenv] *****************************************
  346. skipping: [localhost] => (item=pip==9.0.3)
  347. skipping: [localhost] => (item=setuptools==39.0.1)
  348. skipping: [localhost] => (item=virtualenv==15.2.0)
  349. skipping: [localhost] => (item=virtualenvwrapper==4.8.2)
  350.  
  351. TASK [common : update /etc/hosts] **********************************************
  352. skipping: [localhost]
  353.  
  354. TASK [common : update /etc/hostname] *******************************************
  355. skipping: [localhost]
  356.  
  357. TASK [common : run hostname] ***************************************************
  358. skipping: [localhost]
  359.  
  360. TASK [common : Copy the templates to their respestive destination] *************
  361. skipping: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
  362. skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
  363. skipping: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
  364. skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
  365.  
  366. TASK [common : restart rsyslogd] ***********************************************
  367. skipping: [localhost]
  368.  
  369. TASK [common : Add ntp alert script] *******************************************
  370. skipping: [localhost]
  371.  
  372. TASK [common : Remove MOTD update checker] *************************************
  373. skipping: [localhost]
  374.  
  375. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  376. skipping: [localhost]
  377.  
  378. TASK [common : install logrotate configuration] ********************************
  379. skipping: [localhost]
  380.  
  381. TASK [vhost : Create all service directories] **********************************
  382. skipping: [localhost] => (item={'key': u'logs', 'value': {u'owner': u'syslog', u'path': u'/edx/var/log/aws', u'group': u'syslog', u'mode': u'0650'}})
  383. skipping: [localhost] => (item={'key': u'data', 'value': {u'owner': u'root', u'path': u'/edx/var/aws', u'group': u'root', u'mode': u'0700'}})
  384. skipping: [localhost] => (item={'key': u'home', 'value': {u'owner': u'root', u'path': u'/edx/app/aws', u'group': u'root', u'mode': u'0755'}})
  385.  
  386. TASK [vhost : Add script for syncing logs on exit] *****************************
  387. skipping: [localhost]
  388.  
  389. TASK [vhost : Force logrotate on supervisor stop] ******************************
  390. skipping: [localhost]
  391.  
  392. TASK [vhost : Add systemd service for syncing logs on exit] ********************
  393. skipping: [localhost]
  394.  
  395. TASK [vhost : Enable systemd service for syncing logs on exit] *****************
  396. skipping: [localhost]
  397.  
  398. TASK [vhost : Update /etc/dhcp/dhclient.conf] **********************************
  399. skipping: [localhost]
  400.  
  401. TASK [vhost : Rerun dhclient to apply template] ********************************
  402. skipping: [localhost]
  403.  
  404. TASK [vhost : Copy the MOTD template in place] *********************************
  405. skipping: [localhost]
  406.  
  407. TASK [vhost : Add motd.tail support for 16.04] *********************************
  408. skipping: [localhost]
  409.  
  410. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  411. skipping: [localhost]
  412.  
  413. TASK [vhost : Update sshd logging to VERBOSE] **********************************
  414. skipping: [localhost]
  415.  
  416. TASK [vhost : Restart ssh] *****************************************************
  417. skipping: [localhost]
  418.  
  419. TASK [vhost : Restart ssh] *****************************************************
  420. skipping: [localhost]
  421.  
  422. TASK [aws : Gather ec2 facts for use in other roles] ***************************
  423. skipping: [localhost]
  424.  
  425. TASK [aws : Set the MTU to 1500 temporarily] ***********************************
  426. skipping: [localhost]
  427.  
  428. TASK [aws : Set the MTU to 1500 permanently] ***********************************
  429. skipping: [localhost]
  430.  
  431. TASK [aws : Install system packages] *******************************************
  432. skipping: [localhost] => (item=[])
  433.  
  434. TASK [aws : Copy the Python requirements file] *********************************
  435. skipping: [localhost]
  436.  
  437. TASK [aws : Install aws python packages] ***************************************
  438. skipping: [localhost]
  439.  
  440. TASK [aws : Copy the boto global config file] **********************************
  441. skipping: [localhost]
  442.  
  443. TASK [aws : Create s3 log sync script] *****************************************
  444. skipping: [localhost]
  445.  
  446. TASK [aws : Create symlink for s3 log sync script] *****************************
  447. skipping: [localhost]
  448.  
  449. TASK [aws : Check if files exist so the next task doesn't fail] ****************
  450. skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
  451. skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
  452. skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
  453. skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
  454.  
  455. TASK [aws : Update the ssh motd on Ubuntu] *************************************
  456. 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})
  457. 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})
  458. 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})
  459. 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})
  460.  
  461. TASK [server_utils : Check for expired edx key] ********************************
  462. changed: [localhost]
  463.  
  464. TASK [server_utils : remove expired edx key] ***********************************
  465. skipping: [localhost]
  466.  
  467. TASK [server_utils : Install ubuntu system packages] ***************************
  468. ok: [localhost] => (item=[u'ack-grep', u'mosh', u'tree', u'screen', u'tmux', u'curl', u'vim', u'dnsutils', u'inetutils-telnet', u'netcat'])
  469.  
  470. TASK [user : debug] ************************************************************
  471. ok: [localhost] => {
  472.     "user_info": []
  473. }
  474.  
  475. TASK [user : Create the edxadmin group] ****************************************
  476. ok: [localhost]
  477.  
  478. TASK [user : Ensure sudoers.d is read] *****************************************
  479. ok: [localhost]
  480.  
  481. TASK [user : Grant full sudo access to the edxadmin group] *********************
  482. ok: [localhost]
  483.  
  484. TASK [user : Create the users] *************************************************
  485.  
  486. TASK [user : Assign admin role to admin users] *********************************
  487.  
  488. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  489.  
  490. TASK [user : Print warning if github user(s) missing ssh key] ******************
  491.  
  492. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  493.  
  494. TASK [user : Get github key(s) and update the authorized_keys file] ************
  495.  
  496. TASK [user : Create bashrc file for normal users] ******************************
  497.  
  498. TASK [user : Create .profile for all users] ************************************
  499.  
  500. TASK [user : Modify shell for restricted users] ********************************
  501.  
  502. TASK [user : Create bashrc file for restricted users] **************************
  503.  
  504. TASK [user : Create sudoers file from template] ********************************
  505. ok: [localhost]
  506.  
  507. TASK [user : Change home directory ownership to root for restricted users] *****
  508.  
  509. TASK [user : Create ~/bin directory] *******************************************
  510.  
  511. TASK [user : Create allowed command links] *************************************
  512.  
  513. TASK [security : Install security packages] ************************************
  514. skipping: [localhost] => (item=[])
  515.  
  516. TASK [security : Update all system packages] ***********************************
  517. skipping: [localhost]
  518.  
  519. TASK [security : Configure periodic unattended-upgrades] ***********************
  520. skipping: [localhost]
  521.  
  522. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  523. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  524. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  525. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  526.  
  527. TASK [security : Disable unattended-upgrades] **********************************
  528. skipping: [localhost]
  529.  
  530. TASK [security : Only unattended-upgrade from security repo] *******************
  531. skipping: [localhost]
  532.  
  533. TASK [security : Disable security only updates on unattended-upgrades] *********
  534. skipping: [localhost]
  535.  
  536. TASK [security : Take security updates during ansible runs] ********************
  537. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  538. skipping: [localhost] => (item=unattended-upgrade)
  539.  
  540. TASK [security : Install security packages] ************************************
  541. skipping: [localhost] => (item=[])
  542.  
  543. TASK [security : Enable automatic start for update service] ********************
  544. skipping: [localhost]
  545.  
  546. TASK [security : Update all system packages] ***********************************
  547. skipping: [localhost]
  548.  
  549. TASK [security : Configure security auto-updates] ******************************
  550. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  551. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  552.  
  553. TASK [security : Take security updates during ansible runs] ********************
  554. skipping: [localhost] => (item=yum check-update --security)
  555. skipping: [localhost] => (item=yum update --security -y)
  556.  
  557. TASK [common : Check Configuration Sources] ************************************
  558.  
  559. TASK [common : stat] ***********************************************************
  560. ok: [localhost]
  561.  
  562. TASK [common : Update CA Certificates] *****************************************
  563. changed: [localhost]
  564.  
  565. TASK [common : stat] ***********************************************************
  566. ok: [localhost]
  567.  
  568. TASK [common : Update CA Trust] ************************************************
  569. skipping: [localhost]
  570.  
  571. TASK [common : Add common_users] ***********************************************
  572. ok: [localhost] => (item=www-data)
  573. ok: [localhost] => (item=syslog)
  574.  
  575. TASK [common : check if instance is vagrant] ***********************************
  576. ok: [localhost]
  577.  
  578. TASK [common : Add git apt repository] *****************************************
  579. ok: [localhost]
  580.  
  581. TASK [common : Add edX PPA apt key] ********************************************
  582. ok: [localhost]
  583.  
  584. TASK [common : Update expired apt keys] ****************************************
  585. changed: [localhost]
  586.  
  587. TASK [common : Add custom edX PPA] *********************************************
  588. ok: [localhost]
  589.  
  590. TASK [common : Install role-independent useful system packages] ****************
  591. ok: [localhost] => (item=[u'apt-transport-https', u'ntp', u'acl', u'iotop', u'lynx', u'logrotate', u'rsyslog', u'git', u'unzip', u'python-pip', u'python2.7-dev'])
  592.  
  593. TASK [common : Install role-independent useful system packages from custom PPA] ***
  594. skipping: [localhost] => (item=[])
  595.  
  596. TASK [common : Install role-independent useful system packages] ****************
  597. skipping: [localhost] => (item=[])
  598.  
  599. TASK [common : Create common directories] **************************************
  600. ok: [localhost] => (item={u'path': u'/edx/var'})
  601. ok: [localhost] => (item={u'path': u'/edx/app'})
  602. ok: [localhost] => (item={u'path': u'/edx/bin'})
  603. ok: [localhost] => (item={u'path': u'/edx/etc'})
  604. ok: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
  605. ok: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
  606. ok: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
  607.  
  608. TASK [common : upload sudo config for key forwarding as root] ******************
  609. ok: [localhost]
  610.  
  611. TASK [common : pip install virtualenv] *****************************************
  612. ok: [localhost] => (item=pip==9.0.3)
  613. ok: [localhost] => (item=setuptools==39.0.1)
  614. ok: [localhost] => (item=virtualenv==15.2.0)
  615. ok: [localhost] => (item=virtualenvwrapper==4.8.2)
  616.  
  617. TASK [common : update /etc/hosts] **********************************************
  618. skipping: [localhost]
  619.  
  620. TASK [common : update /etc/hostname] *******************************************
  621. skipping: [localhost]
  622.  
  623. TASK [common : run hostname] ***************************************************
  624. skipping: [localhost]
  625.  
  626. TASK [common : Copy the templates to their respestive destination] *************
  627. ok: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
  628. ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
  629. ok: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
  630. ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
  631.  
  632. TASK [common : restart rsyslogd] ***********************************************
  633. skipping: [localhost]
  634.  
  635. TASK [common : Add ntp alert script] *******************************************
  636. ok: [localhost]
  637.  
  638. TASK [common : Remove MOTD update checker] *************************************
  639. ok: [localhost]
  640.  
  641. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  642. ok: [localhost]
  643.  
  644. TASK [common : install logrotate configuration] ********************************
  645. ok: [localhost]
  646.  
  647. TASK [nginx : Create Diffie-Hellman parameters to prevent weak key exchange] ***
  648. ok: [localhost]
  649.  
  650. TASK [nginx : Restrict permissions of DH parameters file] **********************
  651. ok: [localhost]
  652.  
  653. TASK [nginx : Create nginx app and data dirs] **********************************
  654. ok: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx', u'group': u'www-data'})
  655. ok: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/sites-available', u'group': u'www-data'})
  656. ok: [localhost] => (item={u'owner': u'root', u'path': u'/etc/nginx/sites-enabled', u'group': u'www-data'})
  657. ok: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/conf.d', u'group': u'www-data'})
  658. ok: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx', u'group': u'root'})
  659. changed: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/log/nginx', u'group': u'root'})
  660. ok: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx/server-static', u'group': u'root'})
  661.  
  662. TASK [nginx : Install needed packages] *****************************************
  663. ok: [localhost] => (item=[u'python-passlib'])
  664.  
  665. TASK [nginx : Add apt key] *****************************************************
  666. ok: [localhost]
  667.  
  668. TASK [nginx : Add nginx repository] ********************************************
  669. ok: [localhost]
  670.  
  671. TASK [nginx : Remove old nginx packages] ***************************************
  672. ok: [localhost]
  673.  
  674. TASK [nginx : Install the nginx package] ***************************************
  675. ok: [localhost]
  676.  
  677. TASK [nginx : Remove the default site] *****************************************
  678. ok: [localhost]
  679.  
  680. TASK [nginx : Define server configuration file and common nginx configuration] ***
  681. ok: [localhost] => (item={u'dest': u'/etc/nginx/nginx.conf', u'src': u'etc/nginx/nginx.conf.j2', u'group': u'www-data', u'mode': u'0644'})
  682. ok: [localhost] => (item={u'dest': u'/edx/app/nginx/sites-available/maps', u'src': u'edx/app/nginx/sites-available/maps.j2', u'group': u'root', u'mode': u'0600'})
  683.  
  684. TASK [nginx : Create robot rules] **********************************************
  685. skipping: [localhost]
  686.  
  687. TASK [nginx : Creating link for common nginx configuration] ********************
  688. ok: [localhost] => (item=maps)
  689.  
  690. TASK [nginx : Copying nginx configs for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
  691. ok: [localhost] => (item=certs)
  692. ok: [localhost] => (item=cms)
  693. ok: [localhost] => (item=lms)
  694. ok: [localhost] => (item=forum)
  695. ok: [localhost] => (item=xqueue)
  696.  
  697. TASK [nginx : Creating nginx config links for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
  698. ok: [localhost] => (item=certs)
  699. ok: [localhost] => (item=cms)
  700. ok: [localhost] => (item=lms)
  701. ok: [localhost] => (item=forum)
  702. ok: [localhost] => (item=xqueue)
  703.  
  704. TASK [nginx : Copying nginx extra configs] *************************************
  705.  
  706. TASK [nginx : Creating links for nginx extra configs] **************************
  707.  
  708. TASK [nginx : Copying custom nginx config] *************************************
  709.  
  710. TASK [nginx : Copying nginx redirect configs for {}] ***************************
  711.  
  712. TASK [nginx : Creating nginx redirect links for {}] ****************************
  713.  
  714. TASK [nginx : Create NGINX server templates] ***********************************
  715. ok: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Rate limit exceeded', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'heading': u'Uh oh, we are having some server issues..', u'file': u'rate-limit.html', u'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:[email protected]">[email protected]</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;'})
  716. ok: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Server error', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'heading': u'Uh oh, we are having some server issues..', u'file': u'server-error.html', u'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:[email protected]">[email protected]</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;'})
  717.  
  718. TASK [nginx : Copy static files] ***********************************************
  719.  
  720. TASK [nginx : Write out htpasswd file] *****************************************
  721.  [WARNING]: when statements should not include jinja2 templating delimiters
  722. such as {{ }} or {% %}. Found: {{   CERTS_ENABLE_BASIC_AUTH|bool or
  723. ECOMMERCE_ENABLE_BASIC_AUTH|bool or   EDXAPP_CMS_ENABLE_BASIC_AUTH|bool or
  724. EDXAPP_LMS_ENABLE_BASIC_AUTH|bool or
  725. EDXAPP_LMS_PREVIEW_ENABLE_BASIC_AUTH|bool or   KIBANA_ENABLE_BASIC_AUTH|bool or
  726. XQUEUE_ENABLE_BASIC_AUTH|bool or   XSERVER_ENABLE_BASIC_AUTH|bool }}
  727. skipping: [localhost] => (item={u'state': u'present', u'password': u'9Ymps0Q1V5RXngAJTIohfjj2y1S4bBkgCbJ', u'name': u'NuwWpfZwbhVrBZ3WpUsG6gVJOSXtArrU4E2'})
  728.  
  729. TASK [nginx : Create nginx log file location (just in case)] *******************
  730. changed: [localhost]
  731.  
  732. TASK [nginx : stat] ************************************************************
  733. ok: [localhost -> localhost]
  734.  
  735. TASK [nginx : stat] ************************************************************
  736. ok: [localhost -> localhost]
  737.  
  738. TASK [nginx : copy ssl cert] ***************************************************
  739. skipping: [localhost]
  740.  
  741. TASK [nginx : copy ssl key] ****************************************************
  742. skipping: [localhost]
  743.  
  744. TASK [nginx : Removing default nginx config and restart (enabled)] *************
  745. ok: [localhost]
  746.  
  747. TASK [nginx : Set up nginx access log rotation] ********************************
  748. ok: [localhost]
  749.  
  750. TASK [nginx : Set up nginx error log rotation] *********************************
  751. ok: [localhost]
  752.  
  753. RUNNING HANDLER [nginx : restart nginx] ****************************************
  754. changed: [localhost]
  755.  
  756. TASK [nginx : make sure nginx has started] *************************************
  757. ok: [localhost]
  758.  
  759. TASK [security : Install security packages] ************************************
  760. skipping: [localhost] => (item=[])
  761.  
  762. TASK [security : Update all system packages] ***********************************
  763. skipping: [localhost]
  764.  
  765. TASK [security : Configure periodic unattended-upgrades] ***********************
  766. skipping: [localhost]
  767.  
  768. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  769. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  770. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  771. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  772.  
  773. TASK [security : Disable unattended-upgrades] **********************************
  774. skipping: [localhost]
  775.  
  776. TASK [security : Only unattended-upgrade from security repo] *******************
  777. skipping: [localhost]
  778.  
  779. TASK [security : Disable security only updates on unattended-upgrades] *********
  780. skipping: [localhost]
  781.  
  782. TASK [security : Take security updates during ansible runs] ********************
  783. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  784. skipping: [localhost] => (item=unattended-upgrade)
  785.  
  786. TASK [security : Install security packages] ************************************
  787. skipping: [localhost] => (item=[])
  788.  
  789. TASK [security : Enable automatic start for update service] ********************
  790. skipping: [localhost]
  791.  
  792. TASK [security : Update all system packages] ***********************************
  793. skipping: [localhost]
  794.  
  795. TASK [security : Configure security auto-updates] ******************************
  796. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  797. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  798.  
  799. TASK [security : Take security updates during ansible runs] ********************
  800. skipping: [localhost] => (item=yum check-update --security)
  801. skipping: [localhost] => (item=yum update --security -y)
  802.  
  803. TASK [security : Install security packages] ************************************
  804. skipping: [localhost] => (item=[])
  805.  
  806. TASK [security : Update all system packages] ***********************************
  807. skipping: [localhost]
  808.  
  809. TASK [security : Configure periodic unattended-upgrades] ***********************
  810. skipping: [localhost]
  811.  
  812. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  813. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  814. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  815. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  816.  
  817. TASK [security : Disable unattended-upgrades] **********************************
  818. skipping: [localhost]
  819.  
  820. TASK [security : Only unattended-upgrade from security repo] *******************
  821. skipping: [localhost]
  822.  
  823. TASK [security : Disable security only updates on unattended-upgrades] *********
  824. skipping: [localhost]
  825.  
  826. TASK [security : Take security updates during ansible runs] ********************
  827. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  828. skipping: [localhost] => (item=unattended-upgrade)
  829.  
  830. TASK [security : Install security packages] ************************************
  831. skipping: [localhost] => (item=[])
  832.  
  833. TASK [security : Enable automatic start for update service] ********************
  834. skipping: [localhost]
  835.  
  836. TASK [security : Update all system packages] ***********************************
  837. skipping: [localhost]
  838.  
  839. TASK [security : Configure security auto-updates] ******************************
  840. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  841. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  842.  
  843. TASK [security : Take security updates during ansible runs] ********************
  844. skipping: [localhost] => (item=yum check-update --security)
  845. skipping: [localhost] => (item=yum update --security -y)
  846.  
  847. TASK [mysql : Look for mysql 5.6] **********************************************
  848. fatal: [localhost]: FAILED! => {"changed": false, "cmd": "dpkg -s mysql-server", "delta": "0:00:00.019217", "end": "2020-05-01 15:53:22.243996", "failed": true, "rc": 1, "start": "2020-05-01 15:53:22.224779", "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": []}
  849. ...ignoring
  850.  
  851. TASK [mysql : Important message] ***********************************************
  852. skipping: [localhost]
  853.  
  854. TASK [mysql : pause] ***********************************************************
  855. skipping: [localhost]
  856.  
  857. TASK [mysql : Stop mysql service] **********************************************
  858. skipping: [localhost]
  859.  
  860. TASK [mysql : Remove experimental apt repository] ******************************
  861. skipping: [localhost]
  862.  
  863. TASK [mysql : Remove experimental version of mysql] ****************************
  864. skipping: [localhost] => (item=[])
  865.  
  866. TASK [mysql : Install mysql-5.6 and dependencies] ******************************
  867. ok: [localhost] => (item=[u'mysql-server-5.6', u'python-mysqldb'])
  868.  
  869. TASK [mysql : Set default character sets and collations] ***********************
  870. ok: [localhost]
  871.  
  872. TASK [mysql : restart mysql] ***************************************************
  873. changed: [localhost]
  874.  
  875. TASK [mysql : Ensure Anonymous user(s) does not exist] *************************
  876. ok: [localhost] => (item=localhost)
  877. ok: [localhost] => (item=ubuntuforopenedx)
  878.  
  879. TASK [edxlocal : Install packages needed for single server] ********************
  880. ok: [localhost] => (item=[u'postfix', u'libjpeg-dev'])
  881.  
  882. TASK [edxlocal : create databases] *********************************************
  883. ok: [localhost] => (item=ecommerce)
  884. ok: [localhost] => (item=dashboard)
  885. ok: [localhost] => (item=xqueue)
  886. ok: [localhost] => (item=edxapp)
  887. ok: [localhost] => (item=edxapp_csmh)
  888. skipping: [localhost] => (item=)
  889. ok: [localhost] => (item=analytics-api)
  890. ok: [localhost] => (item=reports)
  891. skipping: [localhost] => (item=)
  892. ok: [localhost] => (item=discovery)
  893. skipping: [localhost] => (item=)
  894. skipping: [localhost] => (item=)
  895.  
  896. TASK [edxlocal : create database users] ****************************************
  897. changed: [localhost] => (item={u'db': u'ecommerce', u'user': u'ecomm001', u'pass': u'urHF4AbuNssEqHLu632X0D6JmiEQ0cjdf7r'})
  898. changed: [localhost] => (item={u'db': u'dashboard', u'user': u'rosencrantz', u'pass': u'h1SeSFuEhX1BfNNSC7GNDJeGZo8h46rDim9'})
  899. changed: [localhost] => (item={u'db': u'xqueue', u'user': u'xqueue001', u'pass': u'8nsq5A70Yrd46yeIAngQgERvFxgZ1G9OZf1'})
  900. changed: [localhost] => (item={u'db': u'edxapp', u'user': u'edxapp001', u'pass': u'valSKhvoknvDTVmkvoiPt3h2phbHTowMXnO'})
  901. changed: [localhost] => (item={u'db': u'edxapp_csmh', u'user': u'edxapp_cmsh001', u'pass': u'GSldhkdYtBBxQonvtECSQ3mT6OsP3v62Mco'})
  902. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'fh9Hq8RUEEVdpFJ0ygPKuhsAPUwZ4olo7zY'})
  903. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'8eqBGXQAZdAN1RFm7Rt4SXtsKV6xMKcPY3Q'})
  904. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'PhmjdqRGRMiZICtdfNW30G8inKbYI1bGSFM'})
  905. changed: [localhost] => (item={u'db': u'discovery', u'user': u'discov001', u'pass': u'l8RTCAjnbwjkAgVVSzopcigtuXAbSnU9493'})
  906. skipping: [localhost] => (item={u'db': u'', u'user': u'journ001', u'pass': u'password'})
  907. skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u''})
  908.  
  909. TASK [edxlocal : setup the migration db user] **********************************
  910. changed: [localhost] => (item=ecommerce)
  911. ok: [localhost] => (item=dashboard)
  912. ok: [localhost] => (item=xqueue)
  913. ok: [localhost] => (item=edxapp)
  914. ok: [localhost] => (item=edxapp_csmh)
  915. skipping: [localhost] => (item=)
  916. ok: [localhost] => (item=analytics-api)
  917. ok: [localhost] => (item=reports)
  918. skipping: [localhost] => (item=)
  919. ok: [localhost] => (item=discovery)
  920. skipping: [localhost] => (item=)
  921. skipping: [localhost] => (item=)
  922.  
  923. TASK [edxlocal : create api user for the analytics api] ************************
  924. ok: [localhost]
  925.  
  926. TASK [edxlocal : create read-only reports user for the analytics-api] **********
  927. ok: [localhost]
  928.  
  929. TASK [edxlocal : create a database for the hive metastore] *********************
  930. skipping: [localhost]
  931.  
  932. TASK [edxlocal : setup the edx-notes-api db user] ******************************
  933. skipping: [localhost]
  934.  
  935. TASK [edxlocal : setup the read-only db user] **********************************
  936. changed: [localhost]
  937.  
  938. TASK [edxlocal : setup the admin db user] **************************************
  939. changed: [localhost]
  940.  
  941. TASK [memcache : Install memcached] ********************************************
  942. ok: [localhost]
  943.  
  944. TASK [security : Install security packages] ************************************
  945. skipping: [localhost] => (item=[])
  946.  
  947. TASK [security : Update all system packages] ***********************************
  948. skipping: [localhost]
  949.  
  950. TASK [security : Configure periodic unattended-upgrades] ***********************
  951. skipping: [localhost]
  952.  
  953. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  954. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  955. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  956. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  957.  
  958. TASK [security : Disable unattended-upgrades] **********************************
  959. skipping: [localhost]
  960.  
  961. TASK [security : Only unattended-upgrade from security repo] *******************
  962. skipping: [localhost]
  963.  
  964. TASK [security : Disable security only updates on unattended-upgrades] *********
  965. skipping: [localhost]
  966.  
  967. TASK [security : Take security updates during ansible runs] ********************
  968. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  969. skipping: [localhost] => (item=unattended-upgrade)
  970.  
  971. TASK [security : Install security packages] ************************************
  972. skipping: [localhost] => (item=[])
  973.  
  974. TASK [security : Enable automatic start for update service] ********************
  975. skipping: [localhost]
  976.  
  977. TASK [security : Update all system packages] ***********************************
  978. skipping: [localhost]
  979.  
  980. TASK [security : Configure security auto-updates] ******************************
  981. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  982. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  983.  
  984. TASK [security : Take security updates during ansible runs] ********************
  985. skipping: [localhost] => (item=yum check-update --security)
  986. skipping: [localhost] => (item=yum update --security -y)
  987.  
  988. TASK [mount_ebs : Unmount disk if fstype is wrong] *****************************
  989.  
  990. TASK [mount_ebs : Check that we don't want to unmount disks to change fstype when UNMOUNT_DISKS is false] ***
  991. skipping: [localhost] => (item={u'uuid': u'2c032f68-8266-4eb3-834e-0cb150bc669a', u'size_total': 31036776448, u'mount': u'/', u'size_available': 14473273344, u'fstype': u'ext4', u'device': u'/dev/sda1', u'options': u'rw,relatime,discard,data=ordered'})
  992. skipping: [localhost] => (item={u'uuid': u'7369-5DDC', u'size_total': 109422592, u'mount': u'/boot/efi', u'size_available': 105648128, u'fstype': u'vfat', u'device': u'/dev/sda15', u'options': u'rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro,discard'})
  993. skipping: [localhost] => (item={u'uuid': u'7e51b41b-1cc2-40a3-9640-15df0f2c2d05', u'size_total': 52708372480, u'mount': u'/mnt', u'size_available': 49953005568, u'fstype': u'ext4', u'device': u'/dev/sdb1', u'options': u'rw,relatime,data=ordered'})
  994.  
  995. TASK [mount_ebs : Create filesystem] *******************************************
  996.  
  997. TASK [mount_ebs : Unmount disks mounted to the wrong place] ********************
  998. skipping: [localhost] => (item={u'uuid': u'2c032f68-8266-4eb3-834e-0cb150bc669a', u'size_total': 31036776448, u'mount': u'/', u'size_available': 14473273344, u'fstype': u'ext4', u'device': u'/dev/sda1', u'options': u'rw,relatime,discard,data=ordered'})
  999. skipping: [localhost] => (item={u'uuid': u'7369-5DDC', u'size_total': 109422592, u'mount': u'/boot/efi', u'size_available': 105648128, u'fstype': u'vfat', u'device': u'/dev/sda15', u'options': u'rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro,discard'})
  1000. skipping: [localhost] => (item={u'uuid': u'7e51b41b-1cc2-40a3-9640-15df0f2c2d05', u'size_total': 52708372480, u'mount': u'/mnt', u'size_available': 49953005568, u'fstype': u'ext4', u'device': u'/dev/sdb1', u'options': u'rw,relatime,data=ordered'})
  1001.  
  1002. TASK [mount_ebs : Check that we don't want to unmount disks to change mountpoint when UNMOUNT_DISKS is false] ***
  1003. skipping: [localhost] => (item={u'uuid': u'2c032f68-8266-4eb3-834e-0cb150bc669a', u'size_total': 31036776448, u'mount': u'/', u'size_available': 14473273344, u'fstype': u'ext4', u'device': u'/dev/sda1', u'options': u'rw,relatime,discard,data=ordered'})
  1004. skipping: [localhost] => (item={u'uuid': u'7369-5DDC', u'size_total': 109422592, u'mount': u'/boot/efi', u'size_available': 105648128, u'fstype': u'vfat', u'device': u'/dev/sda15', u'options': u'rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro,discard'})
  1005. skipping: [localhost] => (item={u'uuid': u'7e51b41b-1cc2-40a3-9640-15df0f2c2d05', u'size_total': 52708372480, u'mount': u'/mnt', u'size_available': 49953005568, u'fstype': u'ext4', u'device': u'/dev/sdb1', u'options': u'rw,relatime,data=ordered'})
  1006.  
  1007. TASK [mount_ebs : Mount disks] *************************************************
  1008.  
  1009. TASK [mongo_3_2 : Add disable transparent huge pages systemd service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
  1010. ok: [localhost]
  1011.  
  1012. TASK [mongo_3_2 : Enable/start disable transparent huge pages service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
  1013. changed: [localhost]
  1014.  
  1015. TASK [mongo_3_2 : install python pymongo for mongo_user ansible module] ********
  1016. ok: [localhost]
  1017.  
  1018. TASK [mongo_3_2 : add the mongodb signing key] *********************************
  1019. ok: [localhost]
  1020.  
  1021. TASK [mongo_3_2 : add the mongodb repo to the sources list] ********************
  1022. ok: [localhost]
  1023.  
  1024. TASK [mongo_3_2 : install mongo server and recommends] *************************
  1025. ok: [localhost] => (item=[u'mongodb-org=3.2.16', u'mongodb-org-server=3.2.16', u'mongodb-org-shell=3.2.16', u'mongodb-org-mongos=3.2.16', u'mongodb-org-tools=3.2.16'])
  1026.  
  1027. TASK [mongo_3_2 : create mongo dirs] *******************************************
  1028. ok: [localhost] => (item=/edx/var/mongo)
  1029. ok: [localhost] => (item=/edx/var/mongo/mongodb)
  1030. ok: [localhost] => (item=/edx/var/log/mongo)
  1031. ok: [localhost] => (item=/edx/var/mongo/mongodb/journal)
  1032.  
  1033. TASK [mongo_3_2 : add serverStatus logging script] *****************************
  1034. changed: [localhost]
  1035.  
  1036. TASK [mongo_3_2 : add serverStatus logging script to cron] *********************
  1037. ok: [localhost]
  1038.  
  1039. TASK [mongo_3_2 : determine if there is a replica set already] *****************
  1040.  [WARNING]: Module did not set no_log for password
  1041. ok: [localhost]
  1042.  
  1043. TASK [mongo_3_2 : Try checking the replica set with no user/pass in case this is a new box] ***
  1044. skipping: [localhost]
  1045.  
  1046. TASK [mongo_3_2 : set facts that default to not initializing a replica set] ****
  1047. ok: [localhost]
  1048.  
  1049. TASK [mongo_3_2 : track if you have a replica set] *****************************
  1050. ok: [localhost]
  1051.  
  1052. TASK [mongo_3_2 : warn about unconfigured replica sets] ************************
  1053. ok: [localhost] => {
  1054.     "msg": "You do not appear to have a Replica Set configured, deploying one for you"
  1055. }
  1056.  
  1057. TASK [mongo_3_2 : copy mongodb key file] ***************************************
  1058. ok: [localhost]
  1059.  
  1060. TASK [mongo_3_2 : copy configuration template] *********************************
  1061. changed: [localhost]
  1062.  
  1063. TASK [mongo_3_2 : install logrotate configuration] *****************************
  1064. ok: [localhost]
  1065.  
  1066. TASK [mongo_3_2 : restart mongo service if we changed our configuration] *******
  1067. changed: [localhost]
  1068.  
  1069. TASK [mongo_3_2 : wait for mongo server to start] ******************************
  1070. ok: [localhost]
  1071.  
  1072. TASK [mongo_3_2 : create super user] *******************************************
  1073. changed: [localhost]
  1074.  
  1075. TASK [mongo_3_2 : Unset our skip initializing replica set fact so that mongod.conf gets a replica set] ***
  1076. ok: [localhost]
  1077.  
  1078. TASK [mongo_3_2 : re-copy configuration template with replica set enabled] *****
  1079. changed: [localhost]
  1080.  
  1081. TASK [mongo_3_2 : restart mongo service] ***************************************
  1082. changed: [localhost]
  1083.  
  1084. TASK [mongo_3_2 : wait for mongo server to start] ******************************
  1085. ok: [localhost]
  1086.  
  1087. TASK [mongo_3_2 : configure replica set] ***************************************
  1088. changed: [localhost]
  1089.  
  1090. TASK [mongo_3_2 : Wait for the replica set to update and (if needed) elect a primary] ***
  1091. ok: [localhost]
  1092.  
  1093. TASK [mongo_3_2 : create mongodb users in a replica set] ***********************
  1094. changed: [localhost] => (item={u'password': u'61FNXcHOBo6ca5JPdlXIWQLm70b1HhYWpqx', u'user': u'cs_comments_service', u'roles': u'readWrite', u'database': u'cs_comments_service'})
  1095. changed: [localhost] => (item={u'password': u'tFsfDwp04wgbNfS3BQZIpLTJpmA6Lh6bFXD', u'user': u'edxapp', u'roles': u'readWrite', u'database': u'edxapp'})
  1096.  
  1097. TASK [mongo_3_2 : ensure mongo starts at boot time] ****************************
  1098. ok: [localhost]
  1099.  
  1100. TASK [security : Install security packages] ************************************
  1101. skipping: [localhost] => (item=[])
  1102.  
  1103. TASK [security : Update all system packages] ***********************************
  1104. skipping: [localhost]
  1105.  
  1106. TASK [security : Configure periodic unattended-upgrades] ***********************
  1107. skipping: [localhost]
  1108.  
  1109. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1110. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1111. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1112. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1113.  
  1114. TASK [security : Disable unattended-upgrades] **********************************
  1115. skipping: [localhost]
  1116.  
  1117. TASK [security : Only unattended-upgrade from security repo] *******************
  1118. skipping: [localhost]
  1119.  
  1120. TASK [security : Disable security only updates on unattended-upgrades] *********
  1121. skipping: [localhost]
  1122.  
  1123. TASK [security : Take security updates during ansible runs] ********************
  1124. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1125. skipping: [localhost] => (item=unattended-upgrade)
  1126.  
  1127. TASK [security : Install security packages] ************************************
  1128. skipping: [localhost] => (item=[])
  1129.  
  1130. TASK [security : Enable automatic start for update service] ********************
  1131. skipping: [localhost]
  1132.  
  1133. TASK [security : Update all system packages] ***********************************
  1134. skipping: [localhost]
  1135.  
  1136. TASK [security : Configure security auto-updates] ******************************
  1137. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1138. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1139.  
  1140. TASK [security : Take security updates during ansible runs] ********************
  1141. skipping: [localhost] => (item=yum check-update --security)
  1142. skipping: [localhost] => (item=yum update --security -y)
  1143.  
  1144. TASK [rabbitmq : install packages needed by rabbit] ****************************
  1145. ok: [localhost] => (item=[u'apt-transport-https'])
  1146.  
  1147. TASK [rabbitmq : trust rabbit's packagecloud repository] ***********************
  1148. ok: [localhost]
  1149.  
  1150. TASK [rabbitmq : add rabbit's packagecloud repository] *************************
  1151. ok: [localhost]
  1152.  
  1153. TASK [rabbitmq : Check if rabbit is installed] *********************************
  1154. changed: [localhost]
  1155.  
  1156. TASK [rabbitmq : Warn if wrong rabbit version is installed] ********************
  1157. skipping: [localhost]
  1158.  
  1159. TASK [rabbitmq : Install rabbit package] ***************************************
  1160. skipping: [localhost]
  1161.  
  1162. TASK [rabbitmq : Stop rabbit cluster] ******************************************
  1163. changed: [localhost]
  1164.  
  1165. TASK [rabbitmq : Send sigterm to any running rabbitmq processes] ***************
  1166. changed: [localhost]
  1167.  
  1168. TASK [rabbitmq : Create rabbitmq edx directories] ******************************
  1169. ok: [localhost] => (item=/edx/app/rabbitmq)
  1170. ok: [localhost] => (item=/edx/var/log/rabbitmq)
  1171.  
  1172. TASK [rabbitmq : Add queue monitoring script] **********************************
  1173. ok: [localhost]
  1174.  
  1175. TASK [rabbitmq : Add RabbitMQ memory usage script] *****************************
  1176. ok: [localhost]
  1177.  
  1178. TASK [rabbitmq : Set up a cron job to run queue script] ************************
  1179. ok: [localhost]
  1180.  
  1181. TASK [rabbitmq : Set up a cron job to run the script] **************************
  1182. ok: [localhost]
  1183.  
  1184. TASK [rabbitmq : install logrotate configuration] ******************************
  1185. ok: [localhost]
  1186.  
  1187. TASK [rabbitmq : Create cookie directory] **************************************
  1188. ok: [localhost]
  1189.  
  1190. TASK [rabbitmq : Add rabbitmq erlang cookie] ***********************************
  1191. ok: [localhost]
  1192.  
  1193. TASK [rabbitmq : Create rabbitmq config directory] *****************************
  1194. ok: [localhost]
  1195.  
  1196. TASK [rabbitmq : Add rabbitmq environment configuration] ***********************
  1197. ok: [localhost]
  1198.  
  1199. TASK [rabbitmq : Add rabbitmq cluster configuration] ***************************
  1200. ok: [localhost]
  1201.  
  1202. TASK [rabbitmq : Install plugins] **********************************************
  1203. ok: [localhost] => (item=rabbitmq_management)
  1204.  
  1205. TASK [rabbitmq : Remove mnesia configuration] **********************************
  1206. skipping: [localhost]
  1207.  
  1208. TASK [rabbitmq : Start rabbit nodes] *******************************************
  1209. changed: [localhost]
  1210.  
  1211. TASK [rabbitmq : Wait for rabbit to start] *************************************
  1212. ok: [localhost]
  1213.  
  1214. TASK [rabbitmq : Remove guest user] ********************************************
  1215. ok: [localhost]
  1216.  
  1217. TASK [rabbitmq : Add vhosts] ***************************************************
  1218. ok: [localhost] => (item=/)
  1219.  
  1220. TASK [rabbitmq : set_fact] *****************************************************
  1221. ok: [localhost] => (item=/)
  1222.  
  1223. TASK [rabbitmq : Add admin users] **********************************************
  1224. ok: [localhost] => (item={u'password': u'E4heDgztgATakKm1BFHaRHVqvionuWWz3Uo', u'name': u'admin'})
  1225. ok: [localhost] => (item={u'password': u'OEFJFaRe0GbSxTuBLlff4bUV74sclgjkppH', u'name': u'edx'})
  1226. ok: [localhost] => (item={u'password': u'1L0xDr9VyIQzpp94ZjYDoQ7uYAWhb7qZg9c', u'name': u'celery'})
  1227.  
  1228. TASK [rabbitmq : Make queues mirrored] *****************************************
  1229. skipping: [localhost] => (item=/)
  1230.  
  1231. TASK [rabbitmq : Install admin tools] ******************************************
  1232. ok: [localhost]
  1233.  
  1234. TASK [rabbitmq : Ensure rabbitmqadmin attributes] ******************************
  1235. ok: [localhost]
  1236.  
  1237. TASK [rabbitmq : Set cluster name] *********************************************
  1238. changed: [localhost]
  1239.  
  1240. TASK [security : Install security packages] ************************************
  1241. skipping: [localhost] => (item=[])
  1242.  
  1243. TASK [security : Update all system packages] ***********************************
  1244. skipping: [localhost]
  1245.  
  1246. TASK [security : Configure periodic unattended-upgrades] ***********************
  1247. skipping: [localhost]
  1248.  
  1249. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1250. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1251. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1252. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1253.  
  1254. TASK [security : Disable unattended-upgrades] **********************************
  1255. skipping: [localhost]
  1256.  
  1257. TASK [security : Only unattended-upgrade from security repo] *******************
  1258. skipping: [localhost]
  1259.  
  1260. TASK [security : Disable security only updates on unattended-upgrades] *********
  1261. skipping: [localhost]
  1262.  
  1263. TASK [security : Take security updates during ansible runs] ********************
  1264. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1265. skipping: [localhost] => (item=unattended-upgrade)
  1266.  
  1267. TASK [security : Install security packages] ************************************
  1268. skipping: [localhost] => (item=[])
  1269.  
  1270. TASK [security : Enable automatic start for update service] ********************
  1271. skipping: [localhost]
  1272.  
  1273. TASK [security : Update all system packages] ***********************************
  1274. skipping: [localhost]
  1275.  
  1276. TASK [security : Configure security auto-updates] ******************************
  1277. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1278. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1279.  
  1280. TASK [security : Take security updates during ansible runs] ********************
  1281. skipping: [localhost] => (item=yum check-update --security)
  1282. skipping: [localhost] => (item=yum update --security -y)
  1283.  
  1284. TASK [security : Install security packages] ************************************
  1285. skipping: [localhost] => (item=[])
  1286.  
  1287. TASK [security : Update all system packages] ***********************************
  1288. skipping: [localhost]
  1289.  
  1290. TASK [security : Configure periodic unattended-upgrades] ***********************
  1291. skipping: [localhost]
  1292.  
  1293. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1294. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1295. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1296. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1297.  
  1298. TASK [security : Disable unattended-upgrades] **********************************
  1299. skipping: [localhost]
  1300.  
  1301. TASK [security : Only unattended-upgrade from security repo] *******************
  1302. skipping: [localhost]
  1303.  
  1304. TASK [security : Disable security only updates on unattended-upgrades] *********
  1305. skipping: [localhost]
  1306.  
  1307. TASK [security : Take security updates during ansible runs] ********************
  1308. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1309. skipping: [localhost] => (item=unattended-upgrade)
  1310.  
  1311. TASK [security : Install security packages] ************************************
  1312. skipping: [localhost] => (item=[])
  1313.  
  1314. TASK [security : Enable automatic start for update service] ********************
  1315. skipping: [localhost]
  1316.  
  1317. TASK [security : Update all system packages] ***********************************
  1318. skipping: [localhost]
  1319.  
  1320. TASK [security : Configure security auto-updates] ******************************
  1321. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1322. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1323.  
  1324. TASK [security : Take security updates during ansible runs] ********************
  1325. skipping: [localhost] => (item=yum check-update --security)
  1326. skipping: [localhost] => (item=yum update --security -y)
  1327.  
  1328. TASK [supervisor : Create application and supervisor service user] *************
  1329. ok: [localhost] => (item=supervisor)
  1330. ok: [localhost] => (item=www-data)
  1331.  
  1332. TASK [supervisor : Create supervisor and service user accessible directories] ***
  1333. ok: [localhost] => (item=/edx/app/supervisor)
  1334. ok: [localhost] => (item=/edx/app/supervisor/venvs/supervisor)
  1335. ok: [localhost] => (item=/edx/app/supervisor/conf.d)
  1336. ok: [localhost] => (item=/edx/app/supervisor/conf.available.d)
  1337.  
  1338. TASK [supervisor : Create supervisor directories] ******************************
  1339. ok: [localhost] => (item=/edx/var/supervisor)
  1340. ok: [localhost] => (item=/edx/var/log/supervisor)
  1341.  
  1342. TASK [supervisor : Install supervisor in its venv] *****************************
  1343. ok: [localhost]
  1344.  
  1345. TASK [supervisor : Install supervisor in its venv] *****************************
  1346. ok: [localhost] => (item=boto=="2.48.0")
  1347. ok: [localhost] => (item=python-simple-hipchat)
  1348.  
  1349. TASK [supervisor : Create supervisor upstart job] ******************************
  1350. skipping: [localhost]
  1351.  
  1352. TASK [supervisor : Create supervisor systemd job] ******************************
  1353. ok: [localhost]
  1354.  
  1355. TASK [supervisor : Write the pre_suprevisor python script] *********************
  1356. skipping: [localhost]
  1357.  
  1358. TASK [supervisor : Create supervisor master config] ****************************
  1359. ok: [localhost]
  1360.  
  1361. TASK [supervisor : Remove a symlink for supervisortctl] ************************
  1362. changed: [localhost]
  1363.  
  1364. TASK [supervisor : Remove symlink for supervisor cfg] **************************
  1365. ok: [localhost] => (item=/edx/app/supervisor/supervisord.conf)
  1366. ok: [localhost] => (item=/edx/app/supervisor/conf.d)
  1367.  
  1368. TASK [supervisor : Create helper script for running supervisor] ****************
  1369. changed: [localhost]
  1370.  
  1371. TASK [supervisor : Are we in a Docker container] *******************************
  1372. changed: [localhost]
  1373.  
  1374. TASK [supervisor : Enable supervisor to start on boot] *************************
  1375. ok: [localhost]
  1376.  
  1377. TASK [supervisor : Start supervisor] *******************************************
  1378. ok: [localhost]
  1379.  
  1380. TASK [supervisor : Wait for web port to be available] **************************
  1381. skipping: [localhost]
  1382.  
  1383. TASK [supervisor : Update supervisor configuration] ****************************
  1384. ok: [localhost]
  1385.  
  1386. TASK [edxapp_common : Install system packages] *********************************
  1387. ok: [localhost] => (item=[u'build-essential', u'gfortran', u'graphviz', u'graphviz-dev', u'liblapack-dev', u'libmysqlclient-dev', u'libxml2-dev', u'libgeos-dev', u'libxslt1-dev', u'gettext', u'libjpeg8-dev', u'libpng12-dev', u'libxmlsec1-dev', u'swig'])
  1388.  
  1389. TASK [nltk : Install unzip] ****************************************************
  1390. ok: [localhost]
  1391.  
  1392. TASK [nltk : create the nltk data directory and subdirectories] ****************
  1393. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
  1394. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
  1395. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
  1396.  
  1397. TASK [nltk : download nltk data] ***********************************************
  1398. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
  1399. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
  1400. ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
  1401.  
  1402. TASK [nltk : unarchive nltk data] **********************************************
  1403. skipping: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
  1404. skipping: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
  1405. skipping: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
  1406.  
  1407. TASK [add_user : create user groups] *******************************************
  1408. skipping: [localhost] => (item=edx-themes)
  1409.  
  1410. TASK [add_user : create application user] **************************************
  1411. skipping: [localhost]
  1412.  
  1413. TASK [add_user : ensure correct ownership of home directory] *******************
  1414. skipping: [localhost]
  1415.  
  1416. TASK [add_user : create dirs for the user] *************************************
  1417.  
  1418. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  1419. skipping: [localhost]
  1420.  
  1421. TASK [git_clone : Validate git protocol] ***************************************
  1422. skipping: [localhost] => (item=(censored due to no_log))
  1423.  
  1424. TASK [git_clone : Install read-only ssh key] ***********************************
  1425. skipping: [localhost] => (item=(censored due to no_log))
  1426.  
  1427. TASK [git_clone : Check that working tree is clean] ****************************
  1428. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  1429.  
  1430. TASK [git_clone : Require a clean working tree] ********************************
  1431. 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})
  1432.  
  1433. TASK [git_clone : Checkout code over ssh] **************************************
  1434. skipping: [localhost] => (item=(censored due to no_log))
  1435.  
  1436. TASK [git_clone : Checkout code over https] ************************************
  1437. skipping: [localhost] => (item=(censored due to no_log))
  1438.  
  1439. TASK [git_clone : Remove read-only ssh key] ************************************
  1440. skipping: [localhost] => (item=(censored due to no_log))
  1441.  
  1442. TASK [git_clone : Run git clean after checking out code] ***********************
  1443. skipping: [localhost] => (item=(censored due to no_log))
  1444.  
  1445. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  1446. skipping: [localhost]
  1447.  
  1448. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  1449. skipping: [localhost] => (item=edxapp)
  1450.  
  1451. TASK [edx_themes : update .bashrc to set umask value] **************************
  1452. skipping: [localhost]
  1453.  
  1454. TASK [edxapp : create application user] ****************************************
  1455. ok: [localhost]
  1456.  
  1457. TASK [edxapp : create edxapp user dirs] ****************************************
  1458. ok: [localhost] => (item={u'path': u'/edx/app/edxapp'})
  1459. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
  1460. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
  1461. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
  1462. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
  1463. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
  1464. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
  1465. ok: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
  1466. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
  1467.  
  1468. TASK [edxapp : write devstack script] ******************************************
  1469. skipping: [localhost]
  1470.  
  1471. TASK [edxapp : create edxapp log dir] ******************************************
  1472. ok: [localhost]
  1473.  
  1474. TASK [edxapp : Ensure the tracking folder exists] ******************************
  1475. ok: [localhost]
  1476.  
  1477. TASK [edxapp : Ensure the tracking.log file exists] ****************************
  1478. changed: [localhost]
  1479.  
  1480. TASK [edxapp : create web-writable edxapp data dirs] ***************************
  1481. changed: [localhost] => (item=/edx/var/edxapp/data)
  1482. ok: [localhost] => (item=/edx/var/edxapp/uploads)
  1483. ok: [localhost] => (item=/edx/var/edxapp/media)
  1484.  
  1485. TASK [edxapp : install system packages on which LMS and CMS rely] **************
  1486. ok: [localhost] => (item=[u's3cmd', u'pkg-config', u'g++', u'apparmor-utils', u'curl', u'ipython', u'nodejs', u'ntp', u'libfreetype6-dev', u'libffi-dev', u'python-dev', u'libsqlite3-dev'])
  1487.  
  1488. TASK [edxapp : set up edxapp .npmrc] *******************************************
  1489. changed: [localhost]
  1490.  
  1491. TASK [edxapp : create log directories for service variants] ********************
  1492. ok: [localhost] => (item=lms)
  1493. ok: [localhost] => (item=cms)
  1494.  
  1495. TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
  1496. ok: [localhost]
  1497.  
  1498. TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
  1499. skipping: [localhost]
  1500.  
  1501. TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
  1502. ok: [localhost]
  1503.  
  1504. TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
  1505. ok: [localhost]
  1506.  
  1507. TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
  1508. skipping: [localhost]
  1509.  
  1510. TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
  1511. ok: [localhost]
  1512.  
  1513. TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
  1514. ok: [localhost]
  1515.  
  1516. TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
  1517. ok: [localhost]
  1518.  
  1519. TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
  1520. ok: [localhost]
  1521.  
  1522. TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
  1523. ok: [localhost]
  1524.  
  1525. TASK [edxapp : code sandbox | start apparmor service] **************************
  1526. ok: [localhost]
  1527.  
  1528. TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
  1529. changed: [localhost]
  1530.  
  1531. TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
  1532. changed: [localhost]
  1533.  
  1534. TASK [edxapp : copy the template to the desired location] **********************
  1535. 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'})
  1536. 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'})
  1537. 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'})
  1538. 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'})
  1539.  
  1540. TASK [edxapp : install read-only ssh key] **************************************
  1541. skipping: [localhost]
  1542.  
  1543. TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
  1544. changed: [localhost]
  1545.  
  1546. TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
  1547. ok: [localhost]
  1548.  
  1549. TASK [edxapp : git clean after checking out edx-platform] **********************
  1550. changed: [localhost]
  1551.  
  1552. TASK [edxapp : checkout Stanford-style theme] **********************************
  1553. skipping: [localhost]
  1554.  
  1555. TASK [simple_theme : assert] ***************************************************
  1556. skipping: [localhost]
  1557.  
  1558. TASK [simple_theme : assert] ***************************************************
  1559. skipping: [localhost]
  1560.  
  1561. TASK [simple_theme : Check whether theme directory already exists] *************
  1562. skipping: [localhost]
  1563.  
  1564. TASK [simple_theme : Download skeleton theme] **********************************
  1565. skipping: [localhost]
  1566.  
  1567. TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
  1568. skipping: [localhost]
  1569.  
  1570. TASK [simple_theme : Create default skeleton (dirs)] ***************************
  1571. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1572. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1573. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1574. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1575. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  1576. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1577. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  1578. 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'bloomopenedx', 'uid': 1000, 'state': u'file', 'gid': 1000, 'mode': u'0664', 'mtime': 1588281401.0218167, 'owner': u'bloomopenedx', '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': 1588281401.0218167})
  1579.  
  1580. TASK [simple_theme : Create default skeleton (files)] **************************
  1581. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1582. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1583. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1584. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1585. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  1586. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  1587. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  1588. 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'bloomopenedx', 'uid': 1000, 'state': u'file', 'gid': 1000, 'mode': u'0664', 'mtime': 1588281401.0218167, 'owner': u'bloomopenedx', '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': 1588281401.0218167})
  1589.  
  1590. TASK [simple_theme : Create directory to hold the theme and styles] ************
  1591. skipping: [localhost] => (item=.)
  1592. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
  1593.  
  1594. TASK [simple_theme : Compile the templates] ************************************
  1595. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
  1596. skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
  1597.  
  1598. TASK [simple_theme : Create directories for static files to be copied] *********
  1599. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1600. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1601. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1602. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1603. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1604. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1605. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1606. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1607. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1608. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  1609. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1610. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1611. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1612. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1613. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1614. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1615. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1616. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1617. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'bloomopenedx', 'uid': 1000, 'state': u'file', 'gid': 1000, 'mode': u'0664', 'mtime': 1588281401.025817, 'owner': u'bloomopenedx', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1618.  
  1619. TASK [simple_theme : Copy static files (adding "static/")] *********************
  1620. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1621. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1622. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1623. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1624. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1625. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1626. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1627. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1628. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1629. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  1630. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1631. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1632. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1633. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  1634. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1635. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1636. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1637. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1638. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  1639.  
  1640. TASK [simple_theme : Create directories for static files to be downloaded] *****
  1641.  
  1642. TASK [simple_theme : Download static files to be included in theme] ************
  1643.  
  1644. TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
  1645. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  1646. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  1647. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  1648.  
  1649. TASK [edxapp : Updating requirement files for git mirror] **********************
  1650. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1651. 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'isreg': True, u'device_type': 0, u'mtime': 1588345068.218732, u'block_size': 4096, u'inode': 2596843, u'isgid': False, u'size': 8266, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'1260086077', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 24, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1588345069.910792, u'md5': u'8e05a7b9821c0c5207b2932e5dea8964', u'isdir': False, u'ctime': 1588345068.2227323, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2049, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'4dbbf3095416e40a5f2a49fcb80e2e8bc76829f5', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1652. 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'isreg': True, u'device_type': 0, u'mtime': 1588345068.410739, u'block_size': 4096, u'inode': 2581753, u'isgid': False, u'size': 692, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'174214027', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 8, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'xusr': False, u'atime': 1588345156.1258419, u'md5': u'9171a4311d1fe40ab9d2b9a57299cccb', u'isdir': False, u'ctime': 1588345068.410739, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2049, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'60d9560b20540ba67b52a70959b4a11ef449b5ac', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1653.  
  1654. TASK [edxapp : Create the virtualenv to install the Python requirements] *******
  1655. ok: [localhost]
  1656.  
  1657. TASK [edxapp : Pin pip to a specific version.] *********************************
  1658. changed: [localhost]
  1659.  
  1660. TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
  1661. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  1662. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  1663.  
  1664. TASK [edxapp : install python requirements] ************************************
  1665. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1666. 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'isreg': True, u'device_type': 0, u'mtime': 1588348497.6165571, u'block_size': 4096, u'inode': 2596814, u'isgid': False, u'size': 8266, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'751357778', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 24, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1588348497.6165571, u'md5': u'8e05a7b9821c0c5207b2932e5dea8964', u'isdir': False, u'ctime': 1588348497.6165571, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2049, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'4dbbf3095416e40a5f2a49fcb80e2e8bc76829f5', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  1667.  
  1668. TASK [edxapp : install python private requirements] ****************************
  1669. skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.1.3'})
  1670. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/oppia/xblock.git@9f6b95b7eb7dbabb96b77198a3202604f96adf65#egg=oppia-xblock'})
  1671. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/OfficeDev/xblock-officemix.git@3f876b5f0267b017812620239533a29c7d562d24#egg=officemix'})
  1672. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/schoolyourself/schoolyourself-xblock.git@5e4d37716e3e72640e832e961f7cc0d38d4ec47b#egg=schoolyourself-xblock'})
  1673. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@2376fde9ebdd83684b78dde77ef96361c3bd1aa0#egg=concept-xblock'})
  1674. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@1fbf19cc21613aead62799469e1593adb037fdd9#egg=audio-xblock'})
  1675. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@d2b551bb8f49a138088e10298576102164145b87#egg=animation-xblock'})
  1676. skipping: [localhost] => (item={u'name': u'ubcpi-xblock==0.6.4'})
  1677. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-vectordraw.git@c57df9d98119fd2ca4cb31b9d16c27333cdc65ca#egg=xblock-vectordraw==0.2.1'})
  1678. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@e933d41bb86a8d50fb878787ca680165a092a6d5#egg=xblock-activetable'})
  1679.  
  1680. TASK [edxapp : install python extra requirements] ******************************
  1681.  
  1682. TASK [edxapp : install CAS attribute module] ***********************************
  1683. skipping: [localhost]
  1684.  
  1685. TASK [edxapp : install sandbox requirements into regular venv] *****************
  1686. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  1687.  
  1688. TASK [edxapp : create nodeenv] *************************************************
  1689. changed: [localhost]
  1690.  
  1691. TASK [edxapp : Set the npm registry] *******************************************
  1692. ok: [localhost]
  1693.  
  1694. TASK [edxapp : Set the npm registry permissions] *******************************
  1695. changed: [localhost]
  1696.  
  1697. TASK [edxapp : install node dependencies] **************************************
  1698. changed: [localhost]
  1699.  
  1700. TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
  1701. changed: [localhost]
  1702.  
  1703. TASK [edxapp : Create the virtualenv to install the Python sandbox requirements] ***
  1704. ok: [localhost]
  1705.  
  1706. TASK [edxapp : Pin pip to a specific version.] *********************************
  1707. changed: [localhost]
  1708.  
  1709. TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  1710. ok: [localhost]
  1711.  
  1712. TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
  1713. changed: [localhost]
  1714.  
  1715. TASK [edxapp : compiling all py files in the edx-platform repo] ****************
  1716. changed: [localhost]
  1717.  
  1718. TASK [edxapp : give other read permissions to the virtualenv] ******************
  1719. ok: [localhost]
  1720.  
  1721. TASK [edxapp : create service wrapper scripts - {{item}}] **********************
  1722. ok: [localhost] => (item=lms.sh)
  1723. ok: [localhost] => (item=cms.sh)
  1724. ok: [localhost] => (item=worker.sh)
  1725.  
  1726. TASK [edxapp : create application and auth config] *****************************
  1727. changed: [localhost] => (item=[u'lms', u'env'])
  1728. changed: [localhost] => (item=[u'lms', u'auth'])
  1729. changed: [localhost] => (item=[u'cms', u'env'])
  1730. changed: [localhost] => (item=[u'cms', u'auth'])
  1731.  
  1732. TASK [edxapp : combined lms auth env for yml] **********************************
  1733. ok: [localhost]
  1734.  
  1735. TASK [edxapp : render lms yml config] ******************************************
  1736. changed: [localhost] => (item=lms)
  1737. ok: [localhost] => (item=cms)
  1738.  
  1739. TASK [edxapp : combined cms auth env for yml] **********************************
  1740. ok: [localhost]
  1741.  
  1742. TASK [edxapp : render studio yml config] ***************************************
  1743. changed: [localhost] => (item=lms)
  1744. ok: [localhost] => (item=cms)
  1745.  
  1746. TASK [edxapp : writing {{ item }} supervisor script] ***************************
  1747. ok: [localhost] => (item=lms)
  1748. ok: [localhost] => (item=cms)
  1749.  
  1750. TASK [edxapp : writing celery supervisor scripts] ******************************
  1751. ok: [localhost] => (item=workers.conf)
  1752.  
  1753. TASK [edxapp : clean out old edxapp.conf] **************************************
  1754. ok: [localhost]
  1755.  
  1756. TASK [edxapp : add gunicorn configuration files] *******************************
  1757. ok: [localhost] => (item=lms)
  1758. ok: [localhost] => (item=cms)
  1759.  
  1760. TASK [edxapp : enable {{ item }} supervisor script] ****************************
  1761. skipping: [localhost] => (item=lms)
  1762. skipping: [localhost] => (item=cms)
  1763.  
  1764. TASK [edxapp : enable celery worker supervisor script] *************************
  1765. ok: [localhost]
  1766.  
  1767. TASK [edxapp : create helper scripts for managing edxapp] **********************
  1768. ok: [localhost] => (item=[u'edxapp-migrate', u'lms'])
  1769. ok: [localhost] => (item=[u'edxapp-migrate', u'cms'])
  1770. ok: [localhost] => (item=[u'edxapp-runserver', u'lms'])
  1771. ok: [localhost] => (item=[u'edxapp-runserver', u'cms'])
  1772. ok: [localhost] => (item=[u'edxapp-shell', u'lms'])
  1773. ok: [localhost] => (item=[u'edxapp-shell', u'cms'])
  1774.  
  1775. TASK [edxapp : create script to compile and update assets] *********************
  1776. ok: [localhost]
  1777.  
  1778. TASK [edxapp : migrate] ********************************************************
  1779. changed: [localhost] => (item=lms)
  1780. changed: [localhost] => (item=cms)
  1781.  
  1782. TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
  1783. skipping: [localhost] => (item=absent)
  1784. skipping: [localhost] => (item=directory)
  1785.  
  1786. TASK [edxapp : gather static assets with paver] ********************************
  1787. skipping: [localhost]
  1788.  
  1789. TASK [edxapp : update supervisor configuration] ********************************
  1790. ok: [localhost]
  1791.  
  1792. TASK [edxapp : ensure edxapp has started] **************************************
  1793. skipping: [localhost] => (item=lms)
  1794. skipping: [localhost] => (item=cms)
  1795.  
  1796. TASK [edxapp : ensure edxapp_workers has started] ******************************
  1797. ok: [localhost]
  1798.  
  1799. TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
  1800. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
  1801. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
  1802. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
  1803. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
  1804.  
  1805. TASK [edxapp : remove read-only ssh key] ***************************************
  1806. skipping: [localhost]
  1807.  
  1808. TASK [edxapp : get instance information] ***************************************
  1809. skipping: [localhost]
  1810.  
  1811. TASK [edxapp : tag instance with edx_platform version] *************************
  1812. skipping: [localhost]
  1813.  
  1814. TASK [edxapp : tag instance with edxapp theme version] *************************
  1815. skipping: [localhost]
  1816.  
  1817. TASK [edxapp : set_fact] *******************************************************
  1818. ok: [localhost]
  1819.  
  1820. TASK [edxapp : restart edxapp] *************************************************
  1821. skipping: [localhost] => (item=lms)
  1822. skipping: [localhost] => (item=cms)
  1823.  
  1824. TASK [edxapp : restart edxapp_workers] *****************************************
  1825. changed: [localhost]
  1826.  
  1827. TASK [edxapp : create service worker users] ************************************
  1828. changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1829. changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1830. skipping: [localhost] => (item={u'username': u'journals_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'[email protected]'})
  1831. changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1832. changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1833. changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  1834.  
  1835. TASK [edxapp : reindex all courses] ********************************************
  1836. skipping: [localhost]
  1837.  
  1838. TASK [edxapp : install cron job to run clearsessions] **************************
  1839. skipping: [localhost]
  1840.  
  1841. TASK [edxapp : install additional cron jobs] ***********************************
  1842.  
  1843. TASK [security : Install security packages] ************************************
  1844. skipping: [localhost] => (item=[])
  1845.  
  1846. TASK [security : Update all system packages] ***********************************
  1847. skipping: [localhost]
  1848.  
  1849. TASK [security : Configure periodic unattended-upgrades] ***********************
  1850. skipping: [localhost]
  1851.  
  1852. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1853. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1854. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1855. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1856.  
  1857. TASK [security : Disable unattended-upgrades] **********************************
  1858. skipping: [localhost]
  1859.  
  1860. TASK [security : Only unattended-upgrade from security repo] *******************
  1861. skipping: [localhost]
  1862.  
  1863. TASK [security : Disable security only updates on unattended-upgrades] *********
  1864. skipping: [localhost]
  1865.  
  1866. TASK [security : Take security updates during ansible runs] ********************
  1867. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1868. skipping: [localhost] => (item=unattended-upgrade)
  1869.  
  1870. TASK [security : Install security packages] ************************************
  1871. skipping: [localhost] => (item=[])
  1872.  
  1873. TASK [security : Enable automatic start for update service] ********************
  1874. skipping: [localhost]
  1875.  
  1876. TASK [security : Update all system packages] ***********************************
  1877. skipping: [localhost]
  1878.  
  1879. TASK [security : Configure security auto-updates] ******************************
  1880. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1881. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1882.  
  1883. TASK [security : Take security updates during ansible runs] ********************
  1884. skipping: [localhost] => (item=yum check-update --security)
  1885. skipping: [localhost] => (item=yum update --security -y)
  1886.  
  1887. TASK [security : Install security packages] ************************************
  1888. skipping: [localhost] => (item=[])
  1889.  
  1890. TASK [security : Update all system packages] ***********************************
  1891. skipping: [localhost]
  1892.  
  1893. TASK [security : Configure periodic unattended-upgrades] ***********************
  1894. skipping: [localhost]
  1895.  
  1896. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  1897. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  1898. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  1899. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  1900.  
  1901. TASK [security : Disable unattended-upgrades] **********************************
  1902. skipping: [localhost]
  1903.  
  1904. TASK [security : Only unattended-upgrade from security repo] *******************
  1905. skipping: [localhost]
  1906.  
  1907. TASK [security : Disable security only updates on unattended-upgrades] *********
  1908. skipping: [localhost]
  1909.  
  1910. TASK [security : Take security updates during ansible runs] ********************
  1911. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  1912. skipping: [localhost] => (item=unattended-upgrade)
  1913.  
  1914. TASK [security : Install security packages] ************************************
  1915. skipping: [localhost] => (item=[])
  1916.  
  1917. TASK [security : Enable automatic start for update service] ********************
  1918. skipping: [localhost]
  1919.  
  1920. TASK [security : Update all system packages] ***********************************
  1921. skipping: [localhost]
  1922.  
  1923. TASK [security : Configure security auto-updates] ******************************
  1924. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  1925. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  1926.  
  1927. TASK [security : Take security updates during ansible runs] ********************
  1928. skipping: [localhost] => (item=yum check-update --security)
  1929. skipping: [localhost] => (item=yum update --security -y)
  1930.  
  1931. TASK [add_user : create user groups] *******************************************
  1932. skipping: [localhost] => (item=edx-themes)
  1933.  
  1934. TASK [add_user : create application user] **************************************
  1935. skipping: [localhost]
  1936.  
  1937. TASK [add_user : ensure correct ownership of home directory] *******************
  1938. skipping: [localhost]
  1939.  
  1940. TASK [add_user : create dirs for the user] *************************************
  1941.  
  1942. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  1943. skipping: [localhost]
  1944.  
  1945. TASK [git_clone : Validate git protocol] ***************************************
  1946. skipping: [localhost] => (item=(censored due to no_log))
  1947.  
  1948. TASK [git_clone : Install read-only ssh key] ***********************************
  1949. skipping: [localhost] => (item=(censored due to no_log))
  1950.  
  1951. TASK [git_clone : Check that working tree is clean] ****************************
  1952. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  1953.  
  1954. TASK [git_clone : Require a clean working tree] ********************************
  1955. 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})
  1956.  
  1957. TASK [git_clone : Checkout code over ssh] **************************************
  1958. skipping: [localhost] => (item=(censored due to no_log))
  1959.  
  1960. TASK [git_clone : Checkout code over https] ************************************
  1961. skipping: [localhost] => (item=(censored due to no_log))
  1962.  
  1963. TASK [git_clone : Remove read-only ssh key] ************************************
  1964. skipping: [localhost] => (item=(censored due to no_log))
  1965.  
  1966. TASK [git_clone : Run git clean after checking out code] ***********************
  1967. skipping: [localhost] => (item=(censored due to no_log))
  1968.  
  1969. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  1970. skipping: [localhost]
  1971.  
  1972. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  1973. skipping: [localhost] => (item=edxapp)
  1974.  
  1975. TASK [edx_themes : update .bashrc to set umask value] **************************
  1976. skipping: [localhost]
  1977.  
  1978. TASK [edxapp : create application user] ****************************************
  1979. ok: [localhost]
  1980.  
  1981. TASK [edxapp : create edxapp user dirs] ****************************************
  1982. ok: [localhost] => (item={u'path': u'/edx/app/edxapp'})
  1983. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
  1984. ok: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
  1985. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
  1986. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
  1987. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
  1988. changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
  1989. ok: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
  1990. ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
  1991.  
  1992. TASK [edxapp : write devstack script] ******************************************
  1993. skipping: [localhost]
  1994.  
  1995. TASK [edxapp : create edxapp log dir] ******************************************
  1996. ok: [localhost]
  1997.  
  1998. TASK [edxapp : Ensure the tracking folder exists] ******************************
  1999. ok: [localhost]
  2000.  
  2001. TASK [edxapp : Ensure the tracking.log file exists] ****************************
  2002. changed: [localhost]
  2003.  
  2004. TASK [edxapp : create web-writable edxapp data dirs] ***************************
  2005. changed: [localhost] => (item=/edx/var/edxapp/data)
  2006. ok: [localhost] => (item=/edx/var/edxapp/uploads)
  2007. ok: [localhost] => (item=/edx/var/edxapp/media)
  2008.  
  2009. TASK [edxapp : install system packages on which LMS and CMS rely] **************
  2010. ok: [localhost] => (item=[u's3cmd', u'pkg-config', u'g++', u'apparmor-utils', u'curl', u'ipython', u'nodejs', u'ntp', u'libfreetype6-dev', u'libffi-dev', u'python-dev', u'libsqlite3-dev'])
  2011.  
  2012. TASK [edxapp : set up edxapp .npmrc] *******************************************
  2013. changed: [localhost]
  2014.  
  2015. TASK [edxapp : create log directories for service variants] ********************
  2016. ok: [localhost] => (item=lms)
  2017. ok: [localhost] => (item=cms)
  2018.  
  2019. TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
  2020. ok: [localhost]
  2021.  
  2022. TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
  2023. skipping: [localhost]
  2024.  
  2025. TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
  2026. ok: [localhost]
  2027.  
  2028. TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
  2029. ok: [localhost]
  2030.  
  2031. TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
  2032. skipping: [localhost]
  2033.  
  2034. TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
  2035. ok: [localhost]
  2036.  
  2037. TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
  2038. ok: [localhost]
  2039.  
  2040. TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
  2041. ok: [localhost]
  2042.  
  2043. TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
  2044. ok: [localhost]
  2045.  
  2046. TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
  2047. ok: [localhost]
  2048.  
  2049. TASK [edxapp : code sandbox | start apparmor service] **************************
  2050. ok: [localhost]
  2051.  
  2052. TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
  2053. changed: [localhost]
  2054.  
  2055. TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
  2056. changed: [localhost]
  2057.  
  2058. TASK [edxapp : copy the template to the desired location] **********************
  2059. 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'})
  2060. 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'})
  2061. 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'})
  2062. 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'})
  2063.  
  2064. TASK [edxapp : install read-only ssh key] **************************************
  2065. skipping: [localhost]
  2066.  
  2067. TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
  2068. changed: [localhost]
  2069.  
  2070. TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
  2071. ok: [localhost]
  2072.  
  2073. TASK [edxapp : git clean after checking out edx-platform] **********************
  2074. changed: [localhost]
  2075.  
  2076. TASK [edxapp : checkout Stanford-style theme] **********************************
  2077. skipping: [localhost]
  2078.  
  2079. TASK [simple_theme : assert] ***************************************************
  2080. skipping: [localhost]
  2081.  
  2082. TASK [simple_theme : assert] ***************************************************
  2083. skipping: [localhost]
  2084.  
  2085. TASK [simple_theme : Check whether theme directory already exists] *************
  2086. skipping: [localhost]
  2087.  
  2088. TASK [simple_theme : Download skeleton theme] **********************************
  2089. skipping: [localhost]
  2090.  
  2091. TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
  2092. skipping: [localhost]
  2093.  
  2094. TASK [simple_theme : Create default skeleton (dirs)] ***************************
  2095. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2096. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2097. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2098. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2099. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  2100. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2101. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  2102. 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'bloomopenedx', 'uid': 1000, 'state': u'file', 'gid': 1000, 'mode': u'0664', 'mtime': 1588281401.0218167, 'owner': u'bloomopenedx', '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': 1588281401.0218167})
  2103.  
  2104. TASK [simple_theme : Create default skeleton (files)] **************************
  2105. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2106. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2107. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2108. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2109. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  2110. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1588281401.0218167})
  2111. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  2112. 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'bloomopenedx', 'uid': 1000, 'state': u'file', 'gid': 1000, 'mode': u'0664', 'mtime': 1588281401.0218167, 'owner': u'bloomopenedx', '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': 1588281401.0218167})
  2113.  
  2114. TASK [simple_theme : Create directory to hold the theme and styles] ************
  2115. skipping: [localhost] => (item=.)
  2116. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
  2117.  
  2118. TASK [simple_theme : Compile the templates] ************************************
  2119. skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
  2120. skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
  2121.  
  2122. TASK [simple_theme : Create directories for static files to be copied] *********
  2123. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2124. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2125. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2126. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2127. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2128. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2129. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2130. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2131. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2132. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  2133. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2134. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2135. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2136. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2137. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2138. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2139. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2140. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2141. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'bloomopenedx', 'uid': 1000, 'state': u'file', 'gid': 1000, 'mode': u'0664', 'mtime': 1588281401.025817, 'owner': u'bloomopenedx', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2142.  
  2143. TASK [simple_theme : Copy static files (adding "static/")] *********************
  2144. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2145. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2146. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2147. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2148. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2149. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2150. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2151. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2152. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2153. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', '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': 1588281401.0218167})
  2154. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2155. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2156. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2157. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.0218167, 'owner': 'bloomopenedx', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.0218167})
  2158. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2159. skipping: [localhost] => (item={'group': 'bloomopenedx', 'uid': 1000, 'state': 'directory', 'gid': 1000, 'mode': '0775', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2160. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2161. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': 'bloomopenedx', 'uid': 1000, 'state': 'file', 'gid': 1000, 'mode': '0664', 'mtime': 1588281401.025817, 'owner': 'bloomopenedx', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2162. skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'bloomopenedx', 'uid': 1000, 'state': u'file', 'gid': 1000, 'mode': u'0664', 'mtime': 1588281401.025817, 'owner': u'bloomopenedx', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1588281401.025817})
  2163.  
  2164. TASK [simple_theme : Create directories for static files to be downloaded] *****
  2165.  
  2166. TASK [simple_theme : Download static files to be included in theme] ************
  2167.  
  2168. TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
  2169. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  2170. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  2171. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  2172.  
  2173. TASK [edxapp : Updating requirement files for git mirror] **********************
  2174. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2175. 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'isreg': True, u'device_type': 0, u'mtime': 1588348497.6165571, u'block_size': 4096, u'inode': 2596814, u'isgid': False, u'size': 8266, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'751357778', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 24, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1588348499.2406147, u'md5': u'8e05a7b9821c0c5207b2932e5dea8964', u'isdir': False, u'ctime': 1588348497.6165571, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2049, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'4dbbf3095416e40a5f2a49fcb80e2e8bc76829f5', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2176. 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'isreg': True, u'device_type': 0, u'mtime': 1588348497.7405615, u'block_size': 4096, u'inode': 2596825, u'isgid': False, u'size': 692, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'18446744072407586953', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 8, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'xusr': False, u'atime': 1588348581.7875478, u'md5': u'9171a4311d1fe40ab9d2b9a57299cccb', u'isdir': False, u'ctime': 1588348497.7405615, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2049, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'60d9560b20540ba67b52a70959b4a11ef449b5ac', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2177.  
  2178. TASK [edxapp : Create the virtualenv to install the Python requirements] *******
  2179. ok: [localhost]
  2180.  
  2181. TASK [edxapp : Pin pip to a specific version.] *********************************
  2182. changed: [localhost]
  2183.  
  2184. TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
  2185. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
  2186. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
  2187.  
  2188. TASK [edxapp : install python requirements] ************************************
  2189. skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2190. 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'isreg': True, u'device_type': 0, u'mtime': 1588348735.804975, u'block_size': 4096, u'inode': 2581656, u'isgid': False, u'size': 8266, u'executable': False, u'charset': u'us-ascii', u'readable': True, u'version': u'18446744072268271461', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'mimetype': u'text/plain', u'blocks': 24, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1588348735.8009748, u'md5': u'8e05a7b9821c0c5207b2932e5dea8964', u'isdir': False, u'ctime': 1588348735.804975, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2049, u'roth': True, u'isfifo': False, u'mode': u'0644', u'checksum': u'4dbbf3095416e40a5f2a49fcb80e2e8bc76829f5', u'rusr': True, u'attributes': [u'extents']}, '_ansible_item_result': True, '_ansible_no_log': False, u'changed': False, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_md5': True, u'get_mime': True, u'get_attributes': True}}})
  2191.  
  2192. TASK [edxapp : install python private requirements] ****************************
  2193. skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.1.3'})
  2194. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/oppia/xblock.git@9f6b95b7eb7dbabb96b77198a3202604f96adf65#egg=oppia-xblock'})
  2195. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/OfficeDev/xblock-officemix.git@3f876b5f0267b017812620239533a29c7d562d24#egg=officemix'})
  2196. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/schoolyourself/schoolyourself-xblock.git@5e4d37716e3e72640e832e961f7cc0d38d4ec47b#egg=schoolyourself-xblock'})
  2197. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@2376fde9ebdd83684b78dde77ef96361c3bd1aa0#egg=concept-xblock'})
  2198. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@1fbf19cc21613aead62799469e1593adb037fdd9#egg=audio-xblock'})
  2199. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@d2b551bb8f49a138088e10298576102164145b87#egg=animation-xblock'})
  2200. skipping: [localhost] => (item={u'name': u'ubcpi-xblock==0.6.4'})
  2201. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-vectordraw.git@c57df9d98119fd2ca4cb31b9d16c27333cdc65ca#egg=xblock-vectordraw==0.2.1'})
  2202. skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@e933d41bb86a8d50fb878787ca680165a092a6d5#egg=xblock-activetable'})
  2203.  
  2204. TASK [edxapp : install python extra requirements] ******************************
  2205.  
  2206. TASK [edxapp : install CAS attribute module] ***********************************
  2207. skipping: [localhost]
  2208.  
  2209. TASK [edxapp : install sandbox requirements into regular venv] *****************
  2210. skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
  2211.  
  2212. TASK [edxapp : create nodeenv] *************************************************
  2213. changed: [localhost]
  2214.  
  2215. TASK [edxapp : Set the npm registry] *******************************************
  2216. ok: [localhost]
  2217.  
  2218. TASK [edxapp : Set the npm registry permissions] *******************************
  2219. changed: [localhost]
  2220.  
  2221. TASK [edxapp : install node dependencies] **************************************
  2222. changed: [localhost]
  2223.  
  2224. TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
  2225. changed: [localhost]
  2226.  
  2227. TASK [edxapp : Create the virtualenv to install the Python sandbox requirements] ***
  2228. ok: [localhost]
  2229.  
  2230. TASK [edxapp : Pin pip to a specific version.] *********************************
  2231. changed: [localhost]
  2232.  
  2233. TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  2234. ok: [localhost]
  2235.  
  2236. TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
  2237. changed: [localhost]
  2238.  
  2239. TASK [edxapp : compiling all py files in the edx-platform repo] ****************
  2240. changed: [localhost]
  2241.  
  2242. TASK [edxapp : give other read permissions to the virtualenv] ******************
  2243. ok: [localhost]
  2244.  
  2245. TASK [edxapp : create service wrapper scripts - {{item}}] **********************
  2246. ok: [localhost] => (item=lms.sh)
  2247. ok: [localhost] => (item=cms.sh)
  2248. ok: [localhost] => (item=worker.sh)
  2249.  
  2250. TASK [edxapp : create application and auth config] *****************************
  2251. ok: [localhost] => (item=[u'lms', u'env'])
  2252. ok: [localhost] => (item=[u'lms', u'auth'])
  2253. ok: [localhost] => (item=[u'cms', u'env'])
  2254. ok: [localhost] => (item=[u'cms', u'auth'])
  2255.  
  2256. TASK [edxapp : combined lms auth env for yml] **********************************
  2257. ok: [localhost]
  2258.  
  2259. TASK [edxapp : render lms yml config] ******************************************
  2260. ok: [localhost] => (item=lms)
  2261. ok: [localhost] => (item=cms)
  2262.  
  2263. TASK [edxapp : combined cms auth env for yml] **********************************
  2264. ok: [localhost]
  2265.  
  2266. TASK [edxapp : render studio yml config] ***************************************
  2267. ok: [localhost] => (item=lms)
  2268. ok: [localhost] => (item=cms)
  2269.  
  2270. TASK [edxapp : writing {{ item }} supervisor script] ***************************
  2271. ok: [localhost] => (item=lms)
  2272. ok: [localhost] => (item=cms)
  2273.  
  2274. TASK [edxapp : writing celery supervisor scripts] ******************************
  2275. ok: [localhost] => (item=workers.conf)
  2276.  
  2277. TASK [edxapp : clean out old edxapp.conf] **************************************
  2278. ok: [localhost]
  2279.  
  2280. TASK [edxapp : add gunicorn configuration files] *******************************
  2281. ok: [localhost] => (item=lms)
  2282. ok: [localhost] => (item=cms)
  2283.  
  2284. TASK [edxapp : enable {{ item }} supervisor script] ****************************
  2285. ok: [localhost] => (item=lms)
  2286. ok: [localhost] => (item=cms)
  2287.  
  2288. TASK [edxapp : enable celery worker supervisor script] *************************
  2289. skipping: [localhost]
  2290.  
  2291. TASK [edxapp : create helper scripts for managing edxapp] **********************
  2292. ok: [localhost] => (item=[u'edxapp-migrate', u'lms'])
  2293. ok: [localhost] => (item=[u'edxapp-migrate', u'cms'])
  2294. ok: [localhost] => (item=[u'edxapp-runserver', u'lms'])
  2295. ok: [localhost] => (item=[u'edxapp-runserver', u'cms'])
  2296. ok: [localhost] => (item=[u'edxapp-shell', u'lms'])
  2297. ok: [localhost] => (item=[u'edxapp-shell', u'cms'])
  2298.  
  2299. TASK [edxapp : create script to compile and update assets] *********************
  2300. ok: [localhost]
  2301.  
  2302. TASK [edxapp : migrate] ********************************************************
  2303. changed: [localhost] => (item=lms)
  2304. changed: [localhost] => (item=cms)
  2305.  
  2306. TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
  2307. changed: [localhost] => (item=absent)
  2308. changed: [localhost] => (item=directory)
  2309.  
  2310. TASK [edxapp : gather static assets with paver] ********************************
  2311. changed: [localhost]
  2312.  
  2313. TASK [edxapp : update supervisor configuration] ********************************
  2314. ok: [localhost]
  2315.  
  2316. TASK [edxapp : ensure edxapp has started] **************************************
  2317. ok: [localhost] => (item=lms)
  2318. ok: [localhost] => (item=cms)
  2319.  
  2320. TASK [edxapp : ensure edxapp_workers has started] ******************************
  2321. skipping: [localhost]
  2322.  
  2323. TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
  2324. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
  2325. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
  2326. ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
  2327. ok: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
  2328.  
  2329. TASK [edxapp : remove read-only ssh key] ***************************************
  2330. skipping: [localhost]
  2331.  
  2332. TASK [edxapp : get instance information] ***************************************
  2333. skipping: [localhost]
  2334.  
  2335. TASK [edxapp : tag instance with edx_platform version] *************************
  2336. skipping: [localhost]
  2337.  
  2338. TASK [edxapp : tag instance with edxapp theme version] *************************
  2339. skipping: [localhost]
  2340.  
  2341. TASK [edxapp : set_fact] *******************************************************
  2342. ok: [localhost]
  2343.  
  2344. TASK [edxapp : restart edxapp] *************************************************
  2345. changed: [localhost] => (item=lms)
  2346. changed: [localhost] => (item=cms)
  2347.  
  2348. TASK [edxapp : restart edxapp_workers] *****************************************
  2349. skipping: [localhost]
  2350.  
  2351. TASK [edxapp : create service worker users] ************************************
  2352. changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2353. changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2354. skipping: [localhost] => (item={u'username': u'journals_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'[email protected]'})
  2355. changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2356. changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2357. changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'[email protected]'})
  2358.  
  2359. TASK [edxapp : reindex all courses] ********************************************
  2360. skipping: [localhost]
  2361.  
  2362. TASK [edxapp : install cron job to run clearsessions] **************************
  2363. skipping: [localhost]
  2364.  
  2365. TASK [edxapp : install additional cron jobs] ***********************************
  2366.  
  2367. TASK [add_user : create user groups] *******************************************
  2368. skipping: [localhost] => (item=edx-themes)
  2369.  
  2370. TASK [add_user : create application user] **************************************
  2371. skipping: [localhost]
  2372.  
  2373. TASK [add_user : ensure correct ownership of home directory] *******************
  2374. skipping: [localhost]
  2375.  
  2376. TASK [add_user : create dirs for the user] *************************************
  2377.  
  2378. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  2379. skipping: [localhost]
  2380.  
  2381. TASK [git_clone : Validate git protocol] ***************************************
  2382. skipping: [localhost] => (item=(censored due to no_log))
  2383.  
  2384. TASK [git_clone : Install read-only ssh key] ***********************************
  2385. skipping: [localhost] => (item=(censored due to no_log))
  2386.  
  2387. TASK [git_clone : Check that working tree is clean] ****************************
  2388. skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
  2389.  
  2390. TASK [git_clone : Require a clean working tree] ********************************
  2391. 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})
  2392.  
  2393. TASK [git_clone : Checkout code over ssh] **************************************
  2394. skipping: [localhost] => (item=(censored due to no_log))
  2395.  
  2396. TASK [git_clone : Checkout code over https] ************************************
  2397. skipping: [localhost] => (item=(censored due to no_log))
  2398.  
  2399. TASK [git_clone : Remove read-only ssh key] ************************************
  2400. skipping: [localhost] => (item=(censored due to no_log))
  2401.  
  2402. TASK [git_clone : Run git clean after checking out code] ***********************
  2403. skipping: [localhost] => (item=(censored due to no_log))
  2404.  
  2405. TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
  2406. skipping: [localhost]
  2407.  
  2408. TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
  2409. skipping: [localhost] => (item=ecommerce)
  2410.  
  2411. TASK [edx_themes : update .bashrc to set umask value] **************************
  2412. skipping: [localhost]
  2413.  
  2414. TASK [security : Install security packages] ************************************
  2415. skipping: [localhost] => (item=[])
  2416.  
  2417. TASK [security : Update all system packages] ***********************************
  2418. skipping: [localhost]
  2419.  
  2420. TASK [security : Configure periodic unattended-upgrades] ***********************
  2421. skipping: [localhost]
  2422.  
  2423. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2424. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2425. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2426. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2427.  
  2428. TASK [security : Disable unattended-upgrades] **********************************
  2429. skipping: [localhost]
  2430.  
  2431. TASK [security : Only unattended-upgrade from security repo] *******************
  2432. skipping: [localhost]
  2433.  
  2434. TASK [security : Disable security only updates on unattended-upgrades] *********
  2435. skipping: [localhost]
  2436.  
  2437. TASK [security : Take security updates during ansible runs] ********************
  2438. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2439. skipping: [localhost] => (item=unattended-upgrade)
  2440.  
  2441. TASK [security : Install security packages] ************************************
  2442. skipping: [localhost] => (item=[])
  2443.  
  2444. TASK [security : Enable automatic start for update service] ********************
  2445. skipping: [localhost]
  2446.  
  2447. TASK [security : Update all system packages] ***********************************
  2448. skipping: [localhost]
  2449.  
  2450. TASK [security : Configure security auto-updates] ******************************
  2451. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2452. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2453.  
  2454. TASK [security : Take security updates during ansible runs] ********************
  2455. skipping: [localhost] => (item=yum check-update --security)
  2456. skipping: [localhost] => (item=yum update --security -y)
  2457.  
  2458. TASK [security : Install security packages] ************************************
  2459. skipping: [localhost] => (item=[])
  2460.  
  2461. TASK [security : Update all system packages] ***********************************
  2462. skipping: [localhost]
  2463.  
  2464. TASK [security : Configure periodic unattended-upgrades] ***********************
  2465. skipping: [localhost]
  2466.  
  2467. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2468. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2469. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2470. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2471.  
  2472. TASK [security : Disable unattended-upgrades] **********************************
  2473. skipping: [localhost]
  2474.  
  2475. TASK [security : Only unattended-upgrade from security repo] *******************
  2476. skipping: [localhost]
  2477.  
  2478. TASK [security : Disable security only updates on unattended-upgrades] *********
  2479. skipping: [localhost]
  2480.  
  2481. TASK [security : Take security updates during ansible runs] ********************
  2482. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2483. skipping: [localhost] => (item=unattended-upgrade)
  2484.  
  2485. TASK [security : Install security packages] ************************************
  2486. skipping: [localhost] => (item=[])
  2487.  
  2488. TASK [security : Enable automatic start for update service] ********************
  2489. skipping: [localhost]
  2490.  
  2491. TASK [security : Update all system packages] ***********************************
  2492. skipping: [localhost]
  2493.  
  2494. TASK [security : Configure security auto-updates] ******************************
  2495. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2496. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2497.  
  2498. TASK [security : Take security updates during ansible runs] ********************
  2499. skipping: [localhost] => (item=yum check-update --security)
  2500. skipping: [localhost] => (item=yum update --security -y)
  2501.  
  2502. TASK [automated : Create automated user] ***************************************
  2503.  
  2504. TASK [automated : Create sudoers file from template] ***************************
  2505.  
  2506. TASK [automated : Create .ssh directory] ***************************************
  2507.  
  2508. TASK [automated : Build authorized_keys file] **********************************
  2509.  
  2510. TASK [automated : Build known_hosts file] **************************************
  2511.  
  2512. TASK [add_user : create user groups] *******************************************
  2513. ok: [localhost] => (item=ecommerce)
  2514.  
  2515. TASK [add_user : create application user] **************************************
  2516. ok: [localhost]
  2517.  
  2518. TASK [add_user : ensure correct ownership of home directory] *******************
  2519. ok: [localhost]
  2520.  
  2521. TASK [add_user : create dirs for the user] *************************************
  2522.  
  2523. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  2524. changed: [localhost]
  2525.  
  2526. TASK [git_clone : Validate git protocol] ***************************************
  2527. skipping: [localhost] => (item=(censored due to no_log))
  2528.  
  2529. TASK [git_clone : Install read-only ssh key] ***********************************
  2530. skipping: [localhost] => (item=(censored due to no_log))
  2531.  
  2532. TASK [git_clone : Check that working tree is clean] ****************************
  2533. changed: [localhost] => (item=/edx/app/ecommerce/ecommerce)
  2534.  
  2535. TASK [git_clone : Require a clean working tree] ********************************
  2536. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-05-01 16:09:47.948938', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-05-01 16:09:47.827351', u'cmd': u'test ! -e "/edx/app/ecommerce/ecommerce" || git -C "/edx/app/ecommerce/ecommerce" status --porcelain --untracked-files=no', 'item': u'/edx/app/ecommerce/ecommerce', u'delta': u'0:00:00.121587', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/ecommerce/ecommerce" || git -C "/edx/app/ecommerce/ecommerce" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  2537.  
  2538. TASK [git_clone : Checkout code over ssh] **************************************
  2539. skipping: [localhost] => (item=(censored due to no_log))
  2540.  
  2541. TASK [git_clone : Checkout code over https] ************************************
  2542. ok: [localhost] => (item=(censored due to no_log))
  2543.  
  2544. TASK [git_clone : Remove read-only ssh key] ************************************
  2545. skipping: [localhost] => (item=(censored due to no_log))
  2546.  
  2547. TASK [git_clone : Run git clean after checking out code] ***********************
  2548. changed: [localhost] => (item=(censored due to no_log))
  2549.  
  2550. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  2551. ok: [localhost] => (item=)
  2552. ok: [localhost] => (item=venvs)
  2553. ok: [localhost] => (item=data)
  2554. ok: [localhost] => (item=staticfiles)
  2555.  
  2556. TASK [edx_service : Create /edx/var/app dir] ***********************************
  2557. ok: [localhost]
  2558.  
  2559. TASK [edx_service : Create /edx/etc dir] ***************************************
  2560. changed: [localhost]
  2561.  
  2562. TASK [edx_service : Create edx_service log dir] ********************************
  2563. ok: [localhost] => (item=/edx/var/log/ecommerce)
  2564.  
  2565. TASK [edx_service : Write out app config file] *********************************
  2566.  [WARNING]: when statements should not include jinja2 templating delimiters
  2567. such as {{ }} or {% %}. Found: {{ edx_django_service_config }}
  2568. changed: [localhost]
  2569.  
  2570. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2571. ok: [localhost] => (item=[u'gettext', u'libffi-dev', u'libmemcached-dev', u'libmysqlclient-dev', u'libssl-dev', u'libmysqlclient-dev', u'libjpeg-dev', u'libssl-dev', u'libffi-dev'])
  2572.  
  2573. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2574.  
  2575. TASK [edx_service : Get instance information] **********************************
  2576. ok: [localhost]
  2577.  
  2578. TASK [edx_service : Tag instance] **********************************************
  2579. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None, u'REPO': u'ecommerce.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None, u'REPO': u'ecommerce.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/ecommerce/ecommerce', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/ecommerce.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'1245bf43a8fcffd296781ea7557acc0b353015c5', u'before': u'1245bf43a8fcffd296781ea7557acc0b353015c5'}])
  2580.  
  2581. TASK [edx_django_service : add gunicorn configuration file] ********************
  2582. ok: [localhost]
  2583.  
  2584. TASK [edx_django_service : install python3] ************************************
  2585. skipping: [localhost] => (item=[])
  2586.  
  2587. TASK [edx_django_service : build virtualenv with python3] **********************
  2588. skipping: [localhost]
  2589.  
  2590. TASK [edx_django_service : build virtualenv with python2.7] ********************
  2591. ok: [localhost]
  2592.  
  2593. TASK [edx_django_service : Pin pip to a specific version.] *********************
  2594. changed: [localhost]
  2595.  
  2596. TASK [edx_django_service : install nodenv] *************************************
  2597. changed: [localhost]
  2598.  
  2599. TASK [edx_django_service : create nodeenv] *************************************
  2600. ok: [localhost]
  2601.  
  2602. TASK [edx_django_service : install production requirements] ********************
  2603. changed: [localhost]
  2604.  
  2605. TASK [edx_django_service : install development requirements] *******************
  2606. skipping: [localhost]
  2607.  
  2608. TASK [edx_django_service : migrate database] ***********************************
  2609. changed: [localhost]
  2610.  
  2611. TASK [edx_django_service : run post-migrate commands] **************************
  2612. changed: [localhost] => (item={u'when': True, u'command': u'./manage.py oscar_populate_countries --initial-only'})
  2613. changed: [localhost] => (item={u'when': True, u'command': u'./manage.py create_or_update_site --site-id=1 --site-domain=localhost:8002 --partner-code=edX --partner-name="Open edX" --lms-url-root=http://127.0.0.1:8000 --client-side-payment-processor=cybersource --payment-processors=cybersource,paypal --client-id=ecommerce-key --client-secret=ecommerce-secret --from-email [email protected] --discovery_api_url=http://localhost:8008/api/v1/ --journals_api_url='})
  2614. changed: [localhost] => (item={u'when': True, u'command': u'./manage.py create_demo_data --partner=edX'})
  2615.  
  2616. TASK [edx_django_service : ensure log files exist for tailing] *****************
  2617. changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stdout.log)
  2618. changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stderr.log)
  2619.  
  2620. TASK [edx_django_service : write out the supervisor wrapper] *******************
  2621. ok: [localhost]
  2622.  
  2623. TASK [edx_django_service : write supervisord config] ***************************
  2624. ok: [localhost]
  2625.  
  2626. TASK [edx_django_service : write devstack script] ******************************
  2627. skipping: [localhost]
  2628.  
  2629. TASK [edx_django_service : setup the app env file] *****************************
  2630. ok: [localhost]
  2631.  
  2632. TASK [edx_django_service : enable supervisor script] ***************************
  2633. ok: [localhost]
  2634.  
  2635. TASK [edx_django_service : update supervisor configuration] ********************
  2636. changed: [localhost]
  2637.  
  2638. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  2639. ok: [localhost] => (item=python)
  2640. ok: [localhost] => (item=pip)
  2641. ok: [localhost] => (item=django-admin.py)
  2642.  
  2643. TASK [edx_django_service : create symlinks from the repo dir] ******************
  2644. ok: [localhost] => (item=manage.py)
  2645.  
  2646. TASK [edx_django_service : compile static assets] ******************************
  2647. changed: [localhost]
  2648.  
  2649. TASK [edx_django_service : restart the application] ****************************
  2650. changed: [localhost]
  2651.  
  2652. TASK [edx_django_service : Copying nginx configs for the service] **************
  2653. ok: [localhost]
  2654.  
  2655. TASK [edx_django_service : Creating nginx config links for the service] ********
  2656. ok: [localhost]
  2657.  
  2658. TASK [security : Install security packages] ************************************
  2659. skipping: [localhost] => (item=[])
  2660.  
  2661. TASK [security : Update all system packages] ***********************************
  2662. skipping: [localhost]
  2663.  
  2664. TASK [security : Configure periodic unattended-upgrades] ***********************
  2665. skipping: [localhost]
  2666.  
  2667. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2668. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2669. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2670. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2671.  
  2672. TASK [security : Disable unattended-upgrades] **********************************
  2673. skipping: [localhost]
  2674.  
  2675. TASK [security : Only unattended-upgrade from security repo] *******************
  2676. skipping: [localhost]
  2677.  
  2678. TASK [security : Disable security only updates on unattended-upgrades] *********
  2679. skipping: [localhost]
  2680.  
  2681. TASK [security : Take security updates during ansible runs] ********************
  2682. skipping: [localhost] => (item=unattended-upgrade)
  2683. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2684.  
  2685. TASK [security : Install security packages] ************************************
  2686. skipping: [localhost] => (item=[])
  2687.  
  2688. TASK [security : Enable automatic start for update service] ********************
  2689. skipping: [localhost]
  2690.  
  2691. TASK [security : Update all system packages] ***********************************
  2692. skipping: [localhost]
  2693.  
  2694. TASK [security : Configure security auto-updates] ******************************
  2695. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2696. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2697.  
  2698. TASK [security : Take security updates during ansible runs] ********************
  2699. skipping: [localhost] => (item=yum check-update --security)
  2700. skipping: [localhost] => (item=yum update --security -y)
  2701.  
  2702. TASK [antivirus : install antivirus system packages] ***************************
  2703. skipping: [localhost] => (item=[])
  2704.  
  2705. TASK [antivirus : create antivirus scanner user] *******************************
  2706. skipping: [localhost]
  2707.  
  2708. TASK [antivirus : create antivirus edx directories] ****************************
  2709. skipping: [localhost] => (item=/edx/app/antivirus)
  2710. skipping: [localhost] => (item=/edx/app/antivirus/data)
  2711. skipping: [localhost] => (item=/edx/var/log/antivirus)
  2712.  
  2713. TASK [antivirus : Ensure the clamav.log file exists] ***************************
  2714. skipping: [localhost]
  2715.  
  2716. TASK [antivirus : install antivirus s3 scanner script] *************************
  2717. skipping: [localhost]
  2718.  
  2719. TASK [antivirus : install antivirus s3 scanner cronjob] ************************
  2720. skipping: [localhost] => (item=None)
  2721.  
  2722. TASK [antivirus : install antivirus server scanner script] *********************
  2723. skipping: [localhost]
  2724.  
  2725. TASK [antivirus : install antivirus server scanner cronjob] ********************
  2726. skipping: [localhost]
  2727.  
  2728. TASK [ecommerce : Create Apple Pay certificates directory] *********************
  2729. ok: [localhost]
  2730.  
  2731. TASK [ecommerce : Write Apple Pay merchant certificates] ***********************
  2732. ok: [localhost]
  2733.  
  2734. TASK [security : Install security packages] ************************************
  2735. skipping: [localhost] => (item=[])
  2736.  
  2737. TASK [security : Update all system packages] ***********************************
  2738. skipping: [localhost]
  2739.  
  2740. TASK [security : Configure periodic unattended-upgrades] ***********************
  2741. skipping: [localhost]
  2742.  
  2743. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2744. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2745. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2746. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2747.  
  2748. TASK [security : Disable unattended-upgrades] **********************************
  2749. skipping: [localhost]
  2750.  
  2751. TASK [security : Only unattended-upgrade from security repo] *******************
  2752. skipping: [localhost]
  2753.  
  2754. TASK [security : Disable security only updates on unattended-upgrades] *********
  2755. skipping: [localhost]
  2756.  
  2757. TASK [security : Take security updates during ansible runs] ********************
  2758. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2759. skipping: [localhost] => (item=unattended-upgrade)
  2760.  
  2761. TASK [security : Install security packages] ************************************
  2762. skipping: [localhost] => (item=[])
  2763.  
  2764. TASK [security : Enable automatic start for update service] ********************
  2765. skipping: [localhost]
  2766.  
  2767. TASK [security : Update all system packages] ***********************************
  2768. skipping: [localhost]
  2769.  
  2770. TASK [security : Configure security auto-updates] ******************************
  2771. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2772. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2773.  
  2774. TASK [security : Take security updates during ansible runs] ********************
  2775. skipping: [localhost] => (item=yum check-update --security)
  2776. skipping: [localhost] => (item=yum update --security -y)
  2777.  
  2778. TASK [security : Install security packages] ************************************
  2779. skipping: [localhost] => (item=[])
  2780.  
  2781. TASK [security : Update all system packages] ***********************************
  2782. skipping: [localhost]
  2783.  
  2784. TASK [security : Configure periodic unattended-upgrades] ***********************
  2785. skipping: [localhost]
  2786.  
  2787. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2788. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2789. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2790. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2791.  
  2792. TASK [security : Disable unattended-upgrades] **********************************
  2793. skipping: [localhost]
  2794.  
  2795. TASK [security : Only unattended-upgrade from security repo] *******************
  2796. skipping: [localhost]
  2797.  
  2798. TASK [security : Disable security only updates on unattended-upgrades] *********
  2799. skipping: [localhost]
  2800.  
  2801. TASK [security : Take security updates during ansible runs] ********************
  2802. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2803. skipping: [localhost] => (item=unattended-upgrade)
  2804.  
  2805. TASK [security : Install security packages] ************************************
  2806. skipping: [localhost] => (item=[])
  2807.  
  2808. TASK [security : Enable automatic start for update service] ********************
  2809. skipping: [localhost]
  2810.  
  2811. TASK [security : Update all system packages] ***********************************
  2812. skipping: [localhost]
  2813.  
  2814. TASK [security : Configure security auto-updates] ******************************
  2815. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2816. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2817.  
  2818. TASK [security : Take security updates during ansible runs] ********************
  2819. skipping: [localhost] => (item=yum check-update --security)
  2820. skipping: [localhost] => (item=yum update --security -y)
  2821.  
  2822. TASK [add_user : create user groups] *******************************************
  2823. ok: [localhost] => (item=ecomworker)
  2824.  
  2825. TASK [add_user : create application user] **************************************
  2826. ok: [localhost]
  2827.  
  2828. TASK [add_user : ensure correct ownership of home directory] *******************
  2829. ok: [localhost]
  2830.  
  2831. TASK [add_user : create dirs for the user] *************************************
  2832.  
  2833. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  2834. changed: [localhost]
  2835.  
  2836. TASK [git_clone : Validate git protocol] ***************************************
  2837. skipping: [localhost] => (item=(censored due to no_log))
  2838.  
  2839. TASK [git_clone : Install read-only ssh key] ***********************************
  2840. skipping: [localhost] => (item=(censored due to no_log))
  2841.  
  2842. TASK [git_clone : Check that working tree is clean] ****************************
  2843. changed: [localhost] => (item=/edx/app/ecomworker/ecomworker)
  2844.  
  2845. TASK [git_clone : Require a clean working tree] ********************************
  2846. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-05-01 16:11:22.895640', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-05-01 16:11:22.886005', u'cmd': u'test ! -e "/edx/app/ecomworker/ecomworker" || git -C "/edx/app/ecomworker/ecomworker" status --porcelain --untracked-files=no', 'item': u'/edx/app/ecomworker/ecomworker', u'delta': u'0:00:00.009635', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/ecomworker/ecomworker" || git -C "/edx/app/ecomworker/ecomworker" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  2847.  
  2848. TASK [git_clone : Checkout code over ssh] **************************************
  2849. skipping: [localhost] => (item=(censored due to no_log))
  2850.  
  2851. TASK [git_clone : Checkout code over https] ************************************
  2852. ok: [localhost] => (item=(censored due to no_log))
  2853.  
  2854. TASK [git_clone : Remove read-only ssh key] ************************************
  2855. skipping: [localhost] => (item=(censored due to no_log))
  2856.  
  2857. TASK [git_clone : Run git clean after checking out code] ***********************
  2858. changed: [localhost] => (item=(censored due to no_log))
  2859.  
  2860. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  2861. ok: [localhost] => (item=)
  2862. ok: [localhost] => (item=venvs)
  2863. ok: [localhost] => (item=data)
  2864. ok: [localhost] => (item=staticfiles)
  2865.  
  2866. TASK [edx_service : Create /edx/var/app dir] ***********************************
  2867. ok: [localhost]
  2868.  
  2869. TASK [edx_service : Create /edx/etc dir] ***************************************
  2870. changed: [localhost]
  2871.  
  2872. TASK [edx_service : Create edx_service log dir] ********************************
  2873. ok: [localhost] => (item=/edx/var/log/ecomworker)
  2874.  
  2875. TASK [edx_service : Write out app config file] *********************************
  2876.  [WARNING]: when statements should not include jinja2 templating delimiters
  2877. such as {{ }} or {% %}. Found: {{ ECOMMERCE_WORKER_SERVICE_CONFIG }}
  2878. changed: [localhost]
  2879.  
  2880. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2881.  
  2882. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  2883.  
  2884. TASK [edx_service : Get instance information] **********************************
  2885. ok: [localhost]
  2886.  
  2887. TASK [edx_service : Tag instance] **********************************************
  2888. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None, u'REPO': u'ecommerce-worker.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None, u'REPO': u'ecommerce-worker.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/ecomworker/ecomworker', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/ecommerce-worker.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'33ee0068d1b6d2ffd4d2ba806f2fc00c57a0ae03', u'before': u'33ee0068d1b6d2ffd4d2ba806f2fc00c57a0ae03'}])
  2889.  
  2890. TASK [ecomworker : install application requirements] ***************************
  2891. ok: [localhost] => (item=production.txt)
  2892. ok: [localhost] => (item=optional.txt)
  2893.  
  2894. TASK [ecomworker : write out the supervisor wrapper] ***************************
  2895. ok: [localhost]
  2896.  
  2897. TASK [ecomworker : write supervisord config] ***********************************
  2898. ok: [localhost]
  2899.  
  2900. TASK [ecomworker : setup the ecommerce_worker env file] ************************
  2901. ok: [localhost]
  2902.  
  2903. TASK [ecomworker : enable supervisor script] ***********************************
  2904. ok: [localhost]
  2905.  
  2906. TASK [ecomworker : update supervisor configuration] ****************************
  2907. changed: [localhost]
  2908.  
  2909. TASK [ecomworker : create symlinks from the venv bin dir] **********************
  2910. ok: [localhost] => (item=python)
  2911. ok: [localhost] => (item=pip)
  2912.  
  2913. TASK [ecomworker : restart the applicaton] *************************************
  2914. changed: [localhost]
  2915.  
  2916. TASK [security : Install security packages] ************************************
  2917. skipping: [localhost] => (item=[])
  2918.  
  2919. TASK [security : Update all system packages] ***********************************
  2920. skipping: [localhost]
  2921.  
  2922. TASK [security : Configure periodic unattended-upgrades] ***********************
  2923. skipping: [localhost]
  2924.  
  2925. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2926. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2927. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2928. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2929.  
  2930. TASK [security : Disable unattended-upgrades] **********************************
  2931. skipping: [localhost]
  2932.  
  2933. TASK [security : Only unattended-upgrade from security repo] *******************
  2934. skipping: [localhost]
  2935.  
  2936. TASK [security : Disable security only updates on unattended-upgrades] *********
  2937. skipping: [localhost]
  2938.  
  2939. TASK [security : Take security updates during ansible runs] ********************
  2940. skipping: [localhost] => (item=unattended-upgrade)
  2941. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2942.  
  2943. TASK [security : Install security packages] ************************************
  2944. skipping: [localhost] => (item=[])
  2945.  
  2946. TASK [security : Enable automatic start for update service] ********************
  2947. skipping: [localhost]
  2948.  
  2949. TASK [security : Update all system packages] ***********************************
  2950. skipping: [localhost]
  2951.  
  2952. TASK [security : Configure security auto-updates] ******************************
  2953. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2954. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2955.  
  2956. TASK [security : Take security updates during ansible runs] ********************
  2957. skipping: [localhost] => (item=yum check-update --security)
  2958. skipping: [localhost] => (item=yum update --security -y)
  2959.  
  2960. TASK [security : Install security packages] ************************************
  2961. skipping: [localhost] => (item=[])
  2962.  
  2963. TASK [security : Update all system packages] ***********************************
  2964. skipping: [localhost]
  2965.  
  2966. TASK [security : Configure periodic unattended-upgrades] ***********************
  2967. skipping: [localhost]
  2968.  
  2969. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  2970. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  2971. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  2972. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  2973.  
  2974. TASK [security : Disable unattended-upgrades] **********************************
  2975. skipping: [localhost]
  2976.  
  2977. TASK [security : Only unattended-upgrade from security repo] *******************
  2978. skipping: [localhost]
  2979.  
  2980. TASK [security : Disable security only updates on unattended-upgrades] *********
  2981. skipping: [localhost]
  2982.  
  2983. TASK [security : Take security updates during ansible runs] ********************
  2984. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  2985. skipping: [localhost] => (item=unattended-upgrade)
  2986.  
  2987. TASK [security : Install security packages] ************************************
  2988. skipping: [localhost] => (item=[])
  2989.  
  2990. TASK [security : Enable automatic start for update service] ********************
  2991. skipping: [localhost]
  2992.  
  2993. TASK [security : Update all system packages] ***********************************
  2994. skipping: [localhost]
  2995.  
  2996. TASK [security : Configure security auto-updates] ******************************
  2997. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  2998. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  2999.  
  3000. TASK [security : Take security updates during ansible runs] ********************
  3001. skipping: [localhost] => (item=yum check-update --security)
  3002. skipping: [localhost] => (item=yum update --security -y)
  3003.  
  3004. TASK [automated : Create automated user] ***************************************
  3005. ok: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  3006.  
  3007. TASK [automated : Create sudoers file from template] ***************************
  3008. ok: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  3009.  
  3010. TASK [automated : Create .ssh directory] ***************************************
  3011. ok: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  3012.  
  3013. TASK [automated : Build authorized_keys file] **********************************
  3014. ok: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  3015.  
  3016. TASK [automated : Build known_hosts file] **************************************
  3017. changed: [localhost] => (item={'key': u'automated_user', 'value': {u'sudo_commands': [{u'sudo_user': u'analytics_api', u'command': u'/edx/app/analytics_api/venvs/analytics_api/python /edx/app/analytics_api/analytics_api/manage.py showmigrations'}], u'authorized_keys': [u'SSH authorized key']}})
  3018.  
  3019. TASK [add_user : create user groups] *******************************************
  3020. ok: [localhost] => (item=analytics_api)
  3021.  
  3022. TASK [add_user : create application user] **************************************
  3023. ok: [localhost]
  3024.  
  3025. TASK [add_user : ensure correct ownership of home directory] *******************
  3026. ok: [localhost]
  3027.  
  3028. TASK [add_user : create dirs for the user] *************************************
  3029.  
  3030. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  3031. changed: [localhost]
  3032.  
  3033. TASK [git_clone : Validate git protocol] ***************************************
  3034. skipping: [localhost] => (item=(censored due to no_log))
  3035.  
  3036. TASK [git_clone : Install read-only ssh key] ***********************************
  3037. skipping: [localhost] => (item=(censored due to no_log))
  3038.  
  3039. TASK [git_clone : Check that working tree is clean] ****************************
  3040. changed: [localhost] => (item=/edx/app/analytics_api/analytics_api)
  3041.  
  3042. TASK [git_clone : Require a clean working tree] ********************************
  3043. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-05-01 16:11:37.630229', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-05-01 16:11:37.621056', u'cmd': u'test ! -e "/edx/app/analytics_api/analytics_api" || git -C "/edx/app/analytics_api/analytics_api" status --porcelain --untracked-files=no', 'item': u'/edx/app/analytics_api/analytics_api', u'delta': u'0:00:00.009173', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/analytics_api/analytics_api" || git -C "/edx/app/analytics_api/analytics_api" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  3044.  
  3045. TASK [git_clone : Checkout code over ssh] **************************************
  3046. skipping: [localhost] => (item=(censored due to no_log))
  3047.  
  3048. TASK [git_clone : Checkout code over https] ************************************
  3049. ok: [localhost] => (item=(censored due to no_log))
  3050.  
  3051. TASK [git_clone : Remove read-only ssh key] ************************************
  3052. skipping: [localhost] => (item=(censored due to no_log))
  3053.  
  3054. TASK [git_clone : Run git clean after checking out code] ***********************
  3055. changed: [localhost] => (item=(censored due to no_log))
  3056.  
  3057. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  3058. ok: [localhost] => (item=)
  3059. ok: [localhost] => (item=venvs)
  3060. ok: [localhost] => (item=data)
  3061. ok: [localhost] => (item=staticfiles)
  3062.  
  3063. TASK [edx_service : Create /edx/var/app dir] ***********************************
  3064. ok: [localhost]
  3065.  
  3066. TASK [edx_service : Create /edx/etc dir] ***************************************
  3067. changed: [localhost]
  3068.  
  3069. TASK [edx_service : Create edx_service log dir] ********************************
  3070. ok: [localhost] => (item=/edx/var/log/analytics_api)
  3071.  
  3072. TASK [edx_service : Write out app config file] *********************************
  3073.  [WARNING]: when statements should not include jinja2 templating delimiters
  3074. such as {{ }} or {% %}. Found: {{ edx_django_service_config }}
  3075. changed: [localhost]
  3076.  
  3077. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3078. ok: [localhost] => (item=[u'gettext', u'libffi-dev', u'libmemcached-dev', u'libmysqlclient-dev', u'libssl-dev', u'libmysqlclient-dev'])
  3079.  
  3080. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3081.  
  3082. TASK [edx_service : Get instance information] **********************************
  3083. ok: [localhost]
  3084.  
  3085. TASK [edx_service : Tag instance] **********************************************
  3086. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None, u'REPO': u'edx-analytics-data-api.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None, u'REPO': u'edx-analytics-data-api.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/analytics_api/analytics_api', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/edx-analytics-data-api.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'e2e55b22c054672111b3233c1c32c3b0907ae582', u'before': u'e2e55b22c054672111b3233c1c32c3b0907ae582'}])
  3087.  
  3088. TASK [edx_django_service : add gunicorn configuration file] ********************
  3089. ok: [localhost]
  3090.  
  3091. TASK [edx_django_service : install python3] ************************************
  3092. skipping: [localhost] => (item=[])
  3093.  
  3094. TASK [edx_django_service : build virtualenv with python3] **********************
  3095. skipping: [localhost]
  3096.  
  3097. TASK [edx_django_service : build virtualenv with python2.7] ********************
  3098. ok: [localhost]
  3099.  
  3100. TASK [edx_django_service : Pin pip to a specific version.] *********************
  3101. changed: [localhost]
  3102.  
  3103. TASK [edx_django_service : install nodenv] *************************************
  3104. changed: [localhost]
  3105.  
  3106. TASK [edx_django_service : create nodeenv] *************************************
  3107. ok: [localhost]
  3108.  
  3109. TASK [edx_django_service : install production requirements] ********************
  3110. changed: [localhost]
  3111.  
  3112. TASK [edx_django_service : install development requirements] *******************
  3113. skipping: [localhost]
  3114.  
  3115. TASK [edx_django_service : migrate database] ***********************************
  3116. changed: [localhost]
  3117.  
  3118. TASK [edx_django_service : run post-migrate commands] **************************
  3119.  
  3120. TASK [edx_django_service : ensure log files exist for tailing] *****************
  3121. changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stdout.log)
  3122. changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stderr.log)
  3123.  
  3124. TASK [edx_django_service : write out the supervisor wrapper] *******************
  3125. ok: [localhost]
  3126.  
  3127. TASK [edx_django_service : write supervisord config] ***************************
  3128. ok: [localhost]
  3129.  
  3130. TASK [edx_django_service : write devstack script] ******************************
  3131. skipping: [localhost]
  3132.  
  3133. TASK [edx_django_service : setup the app env file] *****************************
  3134. ok: [localhost]
  3135.  
  3136. TASK [edx_django_service : enable supervisor script] ***************************
  3137. ok: [localhost]
  3138.  
  3139. TASK [edx_django_service : update supervisor configuration] ********************
  3140. changed: [localhost]
  3141.  
  3142. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  3143. ok: [localhost] => (item=python)
  3144. ok: [localhost] => (item=pip)
  3145. ok: [localhost] => (item=django-admin.py)
  3146.  
  3147. TASK [edx_django_service : create symlinks from the repo dir] ******************
  3148. ok: [localhost] => (item=manage.py)
  3149.  
  3150. TASK [edx_django_service : compile static assets] ******************************
  3151. changed: [localhost]
  3152.  
  3153. TASK [edx_django_service : restart the application] ****************************
  3154. changed: [localhost]
  3155.  
  3156. TASK [edx_django_service : Copying nginx configs for the service] **************
  3157. ok: [localhost]
  3158.  
  3159. TASK [edx_django_service : Creating nginx config links for the service] ********
  3160. ok: [localhost]
  3161.  
  3162. TASK [analytics_api : create api users] ****************************************
  3163. changed: [localhost] => (item={'key': u'dummy-api-user', 'value': u'changeme'})
  3164.  
  3165. TASK [security : Install security packages] ************************************
  3166. skipping: [localhost] => (item=[])
  3167.  
  3168. TASK [security : Update all system packages] ***********************************
  3169. skipping: [localhost]
  3170.  
  3171. TASK [security : Configure periodic unattended-upgrades] ***********************
  3172. skipping: [localhost]
  3173.  
  3174. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3175. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3176. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3177. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3178.  
  3179. TASK [security : Disable unattended-upgrades] **********************************
  3180. skipping: [localhost]
  3181.  
  3182. TASK [security : Only unattended-upgrade from security repo] *******************
  3183. skipping: [localhost]
  3184.  
  3185. TASK [security : Disable security only updates on unattended-upgrades] *********
  3186. skipping: [localhost]
  3187.  
  3188. TASK [security : Take security updates during ansible runs] ********************
  3189. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3190. skipping: [localhost] => (item=unattended-upgrade)
  3191.  
  3192. TASK [security : Install security packages] ************************************
  3193. skipping: [localhost] => (item=[])
  3194.  
  3195. TASK [security : Enable automatic start for update service] ********************
  3196. skipping: [localhost]
  3197.  
  3198. TASK [security : Update all system packages] ***********************************
  3199. skipping: [localhost]
  3200.  
  3201. TASK [security : Configure security auto-updates] ******************************
  3202. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3203. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3204.  
  3205. TASK [security : Take security updates during ansible runs] ********************
  3206. skipping: [localhost] => (item=yum check-update --security)
  3207. skipping: [localhost] => (item=yum update --security -y)
  3208.  
  3209. TASK [security : Install security packages] ************************************
  3210. skipping: [localhost] => (item=[])
  3211.  
  3212. TASK [security : Update all system packages] ***********************************
  3213. skipping: [localhost]
  3214.  
  3215. TASK [security : Configure periodic unattended-upgrades] ***********************
  3216. skipping: [localhost]
  3217.  
  3218. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3219. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3220. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3221. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3222.  
  3223. TASK [security : Disable unattended-upgrades] **********************************
  3224. skipping: [localhost]
  3225.  
  3226. TASK [security : Only unattended-upgrade from security repo] *******************
  3227. skipping: [localhost]
  3228.  
  3229. TASK [security : Disable security only updates on unattended-upgrades] *********
  3230. skipping: [localhost]
  3231.  
  3232. TASK [security : Take security updates during ansible runs] ********************
  3233. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3234. skipping: [localhost] => (item=unattended-upgrade)
  3235.  
  3236. TASK [security : Install security packages] ************************************
  3237. skipping: [localhost] => (item=[])
  3238.  
  3239. TASK [security : Enable automatic start for update service] ********************
  3240. skipping: [localhost]
  3241.  
  3242. TASK [security : Update all system packages] ***********************************
  3243. skipping: [localhost]
  3244.  
  3245. TASK [security : Configure security auto-updates] ******************************
  3246. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3247. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3248.  
  3249. TASK [security : Take security updates during ansible runs] ********************
  3250. skipping: [localhost] => (item=yum check-update --security)
  3251. skipping: [localhost] => (item=yum update --security -y)
  3252.  
  3253. TASK [add_user : create user groups] *******************************************
  3254. ok: [localhost] => (item=insights)
  3255.  
  3256. TASK [add_user : create application user] **************************************
  3257. ok: [localhost]
  3258.  
  3259. TASK [add_user : ensure correct ownership of home directory] *******************
  3260. ok: [localhost]
  3261.  
  3262. TASK [add_user : create dirs for the user] *************************************
  3263.  
  3264. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  3265. changed: [localhost]
  3266.  
  3267. TASK [git_clone : Validate git protocol] ***************************************
  3268. skipping: [localhost] => (item=(censored due to no_log))
  3269.  
  3270. TASK [git_clone : Install read-only ssh key] ***********************************
  3271. skipping: [localhost] => (item=(censored due to no_log))
  3272.  
  3273. TASK [git_clone : Check that working tree is clean] ****************************
  3274. changed: [localhost] => (item=/edx/app/insights/edx_analytics_dashboard)
  3275.  
  3276. TASK [git_clone : Require a clean working tree] ********************************
  3277. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-05-01 16:12:00.374093', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-05-01 16:12:00.364265', u'cmd': u'test ! -e "/edx/app/insights/edx_analytics_dashboard" || git -C "/edx/app/insights/edx_analytics_dashboard" status --porcelain --untracked-files=no', 'item': u'/edx/app/insights/edx_analytics_dashboard', u'delta': u'0:00:00.009828', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/insights/edx_analytics_dashboard" || git -C "/edx/app/insights/edx_analytics_dashboard" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  3278.  
  3279. TASK [git_clone : Checkout code over ssh] **************************************
  3280. skipping: [localhost] => (item=(censored due to no_log))
  3281.  
  3282. TASK [git_clone : Checkout code over https] ************************************
  3283. ok: [localhost] => (item=(censored due to no_log))
  3284.  
  3285. TASK [git_clone : Remove read-only ssh key] ************************************
  3286. skipping: [localhost] => (item=(censored due to no_log))
  3287.  
  3288. TASK [git_clone : Run git clean after checking out code] ***********************
  3289. changed: [localhost] => (item=(censored due to no_log))
  3290.  
  3291. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  3292. ok: [localhost] => (item=)
  3293. ok: [localhost] => (item=venvs)
  3294. ok: [localhost] => (item=data)
  3295. ok: [localhost] => (item=staticfiles)
  3296.  
  3297. TASK [edx_service : Create /edx/var/app dir] ***********************************
  3298. ok: [localhost]
  3299.  
  3300. TASK [edx_service : Create /edx/etc dir] ***************************************
  3301. changed: [localhost]
  3302.  
  3303. TASK [edx_service : Create edx_service log dir] ********************************
  3304. ok: [localhost] => (item=/edx/var/log/insights)
  3305.  
  3306. TASK [edx_service : Write out app config file] *********************************
  3307.  [WARNING]: when statements should not include jinja2 templating delimiters
  3308. such as {{ }} or {% %}. Found: {{ INSIGHTS_CONFIG }}
  3309. changed: [localhost]
  3310.  
  3311. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3312. ok: [localhost] => (item=[u'libmysqlclient-dev', u'build-essential', u'gettext', u'openjdk-8-jdk'])
  3313.  
  3314. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3315.  
  3316. TASK [edx_service : Get instance information] **********************************
  3317. ok: [localhost]
  3318.  
  3319. TASK [edx_service : Tag instance] **********************************************
  3320. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None, u'REPO': u'edx-analytics-dashboard.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None, u'REPO': u'edx-analytics-dashboard.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/insights/edx_analytics_dashboard', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/edx-analytics-dashboard.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'db26118b5e92aff582e18ec47335403df048bba0', u'before': u'db26118b5e92aff582e18ec47335403df048bba0'}])
  3321.  
  3322. TASK [insights : setup the insights env file] **********************************
  3323. ok: [localhost]
  3324.  
  3325. TASK [insights : install application requirements] *****************************
  3326. ok: [localhost] => (item=production.txt)
  3327. ok: [localhost] => (item=optional.txt)
  3328.  
  3329. TASK [insights : create nodeenv] ***********************************************
  3330. changed: [localhost]
  3331.  
  3332. TASK [insights : install node dependencies] ************************************
  3333. changed: [localhost]
  3334.  
  3335. TASK [insights : migrate] ******************************************************
  3336. changed: [localhost]
  3337.  
  3338. TASK [insights : run webpack] **************************************************
  3339. changed: [localhost]
  3340.  
  3341. TASK [insights : run collectstatic] ********************************************
  3342. changed: [localhost] => (item=collectstatic --noinput)
  3343.  
  3344. TASK [insights : write out the supervisior wrapper] ****************************
  3345. ok: [localhost]
  3346.  
  3347. TASK [insights : write supervisord config] *************************************
  3348. ok: [localhost]
  3349.  
  3350. TASK [insights : enable supervisor script] *************************************
  3351. ok: [localhost]
  3352.  
  3353. TASK [insights : update supervisor configuration] ******************************
  3354. changed: [localhost]
  3355.  
  3356. TASK [insights : create symlinks from the venv bin dir] ************************
  3357. ok: [localhost] => (item=python)
  3358. ok: [localhost] => (item=pip)
  3359. ok: [localhost] => (item=django-admin.py)
  3360.  
  3361. TASK [insights : create manage.py symlink] *************************************
  3362. ok: [localhost]
  3363.  
  3364. TASK [insights : restart insights] *********************************************
  3365. changed: [localhost]
  3366.  
  3367. TASK [security : Install security packages] ************************************
  3368. skipping: [localhost] => (item=[])
  3369.  
  3370. TASK [security : Update all system packages] ***********************************
  3371. skipping: [localhost]
  3372.  
  3373. TASK [security : Configure periodic unattended-upgrades] ***********************
  3374. skipping: [localhost]
  3375.  
  3376. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3377. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3378. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3379. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3380.  
  3381. TASK [security : Disable unattended-upgrades] **********************************
  3382. skipping: [localhost]
  3383.  
  3384. TASK [security : Only unattended-upgrade from security repo] *******************
  3385. skipping: [localhost]
  3386.  
  3387. TASK [security : Disable security only updates on unattended-upgrades] *********
  3388. skipping: [localhost]
  3389.  
  3390. TASK [security : Take security updates during ansible runs] ********************
  3391. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3392. skipping: [localhost] => (item=unattended-upgrade)
  3393.  
  3394. TASK [security : Install security packages] ************************************
  3395. skipping: [localhost] => (item=[])
  3396.  
  3397. TASK [security : Enable automatic start for update service] ********************
  3398. skipping: [localhost]
  3399.  
  3400. TASK [security : Update all system packages] ***********************************
  3401. skipping: [localhost]
  3402.  
  3403. TASK [security : Configure security auto-updates] ******************************
  3404. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3405. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3406.  
  3407. TASK [security : Take security updates during ansible runs] ********************
  3408. skipping: [localhost] => (item=yum check-update --security)
  3409. skipping: [localhost] => (item=yum update --security -y)
  3410.  
  3411. TASK [demo : create demo app and data dirs] ************************************
  3412. ok: [localhost]
  3413.  
  3414. TASK [demo : check out the demo course] ****************************************
  3415. ok: [localhost]
  3416.  
  3417. TASK [demo : import demo course] ***********************************************
  3418. skipping: [localhost]
  3419.  
  3420. TASK [demo : build staff and test user list] ***********************************
  3421. ok: [localhost]
  3422.  
  3423. TASK [demo : build staff and test user list] ***********************************
  3424. skipping: [localhost]
  3425.  
  3426. TASK [demo : build staff, admin, and test user list] ***************************
  3427. ok: [localhost]
  3428.  
  3429. TASK [demo : create some test users] *******************************************
  3430. skipping: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3431. skipping: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3432. skipping: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3433. skipping: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'[email protected]'})
  3434.  
  3435. TASK [demo : enroll test users in the demo course] *****************************
  3436. skipping: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3437. skipping: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3438. skipping: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3439. skipping: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'[email protected]'})
  3440.  
  3441. TASK [demo : add test users to the certificate whitelist] **********************
  3442. skipping: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3443. skipping: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3444. skipping: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'[email protected]'})
  3445.  
  3446. TASK [demo : seed the forums for the demo course] ******************************
  3447. skipping: [localhost]
  3448.  
  3449. TASK [oauth_client_setup : create OAuth2 Clients] ******************************
  3450. changed: [localhost] => (item={u'username': u'ecommerce_worker', u'url_root': u'http://localhost:8002', u'name': u'ecommerce', u'logout_uri': u'http://localhost:8002/logout/', u'secret': u'ecommerce-secret', u'id': u'ecommerce-key'})
  3451. changed: [localhost] => (item={u'username': u'insights_worker', u'url_root': u'http://127.0.0.1:8110', u'name': u'insights', u'logout_uri': u'http://example.com/accounts/logout/', u'secret': u'secret', u'id': u'YOUR_OAUTH2_KEY'})
  3452. skipping: [localhost] => (item={u'username': u'credentials_worker', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
  3453. changed: [localhost] => (item={u'username': u'discovery_worker', u'url_root': u'http://localhost:18381', u'name': u'discovery', u'logout_uri': u'http://localhost:18381/logout/', u'secret': u'discovery-secret', u'id': u'discovery-key'})
  3454. skipping: [localhost] => (item={u'username': u'journals_worker', u'url_root': u'http://localhost:18606', u'name': u'None', u'logout_uri': u'http://localhost:18606/logout/', u'secret': u'journals-secret', u'id': u'journals-key'})
  3455. 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'})
  3456.  
  3457. TASK [oraclejdk : Install debian needed pkgs] **********************************
  3458. ok: [localhost] => (item=[u'curl'])
  3459.  
  3460. TASK [oraclejdk : Download Oracle Java] ****************************************
  3461. ok: [localhost]
  3462.  
  3463. TASK [oraclejdk : Create jvm dir] **********************************************
  3464. ok: [localhost]
  3465.  
  3466. TASK [oraclejdk : Untar Oracle Java] *******************************************
  3467. ok: [localhost]
  3468.  
  3469. TASK [oraclejdk : Create symlink expected by elasticsearch] ********************
  3470. ok: [localhost]
  3471.  
  3472. TASK [oraclejdk : Update alternatives java] ************************************
  3473. ok: [localhost] => (item=java)
  3474. ok: [localhost] => (item=javac)
  3475. ok: [localhost] => (item=javaws)
  3476. ok: [localhost] => (item=jarsigner)
  3477.  
  3478. TASK [oraclejdk : Add JAVA_HOME for Oracle Java] *******************************
  3479. ok: [localhost]
  3480.  
  3481. TASK [security : Install security packages] ************************************
  3482. skipping: [localhost] => (item=[])
  3483.  
  3484. TASK [security : Update all system packages] ***********************************
  3485. skipping: [localhost]
  3486.  
  3487. TASK [security : Configure periodic unattended-upgrades] ***********************
  3488. skipping: [localhost]
  3489.  
  3490. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3491. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3492. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3493. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3494.  
  3495. TASK [security : Disable unattended-upgrades] **********************************
  3496. skipping: [localhost]
  3497.  
  3498. TASK [security : Only unattended-upgrade from security repo] *******************
  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] => (item=[])
  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 [elasticsearch : Install Elasticsearch repo key] **************************
  3526. ok: [localhost]
  3527.  
  3528. TASK [elasticsearch : Add Elasticsearch Repo] **********************************
  3529. ok: [localhost]
  3530.  
  3531. TASK [elasticsearch : install elasticsearch] ***********************************
  3532. ok: [localhost]
  3533.  
  3534. TASK [elasticsearch : create directories] **************************************
  3535. ok: [localhost] => (item=/edx/var/elasticsearch)
  3536. ok: [localhost] => (item=/edx/var/log/elasticsearch)
  3537. ok: [localhost] => (item=/edx/etc/elasticsearch)
  3538.  
  3539. TASK [elasticsearch : update elasticsearch defaults] ***************************
  3540. ok: [localhost]
  3541.  
  3542. TASK [elasticsearch : drop the elasticsearch config] ***************************
  3543. ok: [localhost]
  3544.  
  3545. TASK [elasticsearch : drop the elasticsearch logging config] *******************
  3546. ok: [localhost]
  3547.  
  3548. TASK [elasticsearch : Ensure elasticsearch is enabled and started] *************
  3549. ok: [localhost]
  3550.  
  3551. TASK [elasticsearch : Restart elastic when there has been an upgrade] **********
  3552. skipping: [localhost]
  3553.  
  3554. TASK [security : Install security packages] ************************************
  3555. skipping: [localhost] => (item=[])
  3556.  
  3557. TASK [security : Update all system packages] ***********************************
  3558. skipping: [localhost]
  3559.  
  3560. TASK [security : Configure periodic unattended-upgrades] ***********************
  3561. skipping: [localhost]
  3562.  
  3563. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3564. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3565. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3566. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3567.  
  3568. TASK [security : Disable unattended-upgrades] **********************************
  3569. skipping: [localhost]
  3570.  
  3571. TASK [security : Only unattended-upgrade from security repo] *******************
  3572. skipping: [localhost]
  3573.  
  3574. TASK [security : Disable security only updates on unattended-upgrades] *********
  3575. skipping: [localhost]
  3576.  
  3577. TASK [security : Take security updates during ansible runs] ********************
  3578. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3579. skipping: [localhost] => (item=unattended-upgrade)
  3580.  
  3581. TASK [security : Install security packages] ************************************
  3582. skipping: [localhost] => (item=[])
  3583.  
  3584. TASK [security : Enable automatic start for update service] ********************
  3585. skipping: [localhost]
  3586.  
  3587. TASK [security : Update all system packages] ***********************************
  3588. skipping: [localhost]
  3589.  
  3590. TASK [security : Configure security auto-updates] ******************************
  3591. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3592. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3593.  
  3594. TASK [security : Take security updates during ansible runs] ********************
  3595. skipping: [localhost] => (item=yum check-update --security)
  3596. skipping: [localhost] => (item=yum update --security -y)
  3597.  
  3598. TASK [security : Install security packages] ************************************
  3599. skipping: [localhost] => (item=[])
  3600.  
  3601. TASK [security : Update all system packages] ***********************************
  3602. skipping: [localhost]
  3603.  
  3604. TASK [security : Configure periodic unattended-upgrades] ***********************
  3605. skipping: [localhost]
  3606.  
  3607. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3608. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3609. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3610. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3611.  
  3612. TASK [security : Disable unattended-upgrades] **********************************
  3613. skipping: [localhost]
  3614.  
  3615. TASK [security : Only unattended-upgrade from security repo] *******************
  3616. skipping: [localhost]
  3617.  
  3618. TASK [security : Disable security only updates on unattended-upgrades] *********
  3619. skipping: [localhost]
  3620.  
  3621. TASK [security : Take security updates during ansible runs] ********************
  3622. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3623. skipping: [localhost] => (item=unattended-upgrade)
  3624.  
  3625. TASK [security : Install security packages] ************************************
  3626. skipping: [localhost] => (item=[])
  3627.  
  3628. TASK [security : Enable automatic start for update service] ********************
  3629. skipping: [localhost]
  3630.  
  3631. TASK [security : Update all system packages] ***********************************
  3632. skipping: [localhost]
  3633.  
  3634. TASK [security : Configure security auto-updates] ******************************
  3635. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3636. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3637.  
  3638. TASK [security : Take security updates during ansible runs] ********************
  3639. skipping: [localhost] => (item=yum check-update --security)
  3640. skipping: [localhost] => (item=yum update --security -y)
  3641.  
  3642. TASK [rbenv : fail] ************************************************************
  3643. skipping: [localhost]
  3644.  
  3645. TASK [rbenv : fail] ************************************************************
  3646. skipping: [localhost]
  3647.  
  3648. TASK [rbenv : fail] ************************************************************
  3649. skipping: [localhost]
  3650.  
  3651. TASK [rbenv : create rbenv user forum] *****************************************
  3652. ok: [localhost]
  3653.  
  3654. TASK [rbenv : create rbenv dir if it does not exist] ***************************
  3655. ok: [localhost]
  3656.  
  3657. TASK [rbenv : install build depends] *******************************************
  3658. ok: [localhost] => (item=curl)
  3659. ok: [localhost] => (item=build-essential)
  3660. ok: [localhost] => (item=libcurl4-openssl-dev)
  3661. ok: [localhost] => (item=libreadline-dev)
  3662. ok: [localhost] => (item=libssl-dev)
  3663. ok: [localhost] => (item=libxml2-dev)
  3664. ok: [localhost] => (item=libxslt1-dev)
  3665. ok: [localhost] => (item=zlib1g-dev)
  3666.  
  3667. TASK [rbenv : update rbenv repo] ***********************************************
  3668. ok: [localhost]
  3669.  
  3670. TASK [rbenv : ensure ruby_env exists] ******************************************
  3671. ok: [localhost]
  3672.  
  3673. TASK [rbenv : check ruby-build installed] **************************************
  3674. changed: [localhost]
  3675.  
  3676. TASK [rbenv : if ruby-build exists, which versions we can install] *************
  3677. changed: [localhost]
  3678.  
  3679. TASK [rbenv : create temporary directory] **************************************
  3680. changed: [localhost]
  3681.  
  3682. TASK [rbenv : clone ruby-build repo] *******************************************
  3683. changed: [localhost]
  3684.  
  3685. TASK [rbenv : install ruby-build] **********************************************
  3686. changed: [localhost]
  3687.  
  3688. TASK [rbenv : remove temporary directory] **************************************
  3689. changed: [localhost]
  3690.  
  3691. TASK [rbenv : check ruby 2.4.1 installed] **************************************
  3692. changed: [localhost]
  3693.  
  3694. TASK [rbenv : install ruby 2.4.1] **********************************************
  3695. skipping: [localhost]
  3696.  
  3697. TASK [rbenv : set global ruby 2.4.1] *******************************************
  3698. changed: [localhost]
  3699.  
  3700. TASK [rbenv : update rubygems] *************************************************
  3701. changed: [localhost]
  3702.  
  3703. TASK [rbenv : install bundler] *************************************************
  3704. changed: [localhost]
  3705.  
  3706. TASK [rbenv : remove rbenv version of rake] ************************************
  3707. ok: [localhost]
  3708.  
  3709. TASK [rbenv : install rake gem] ************************************************
  3710. changed: [localhost]
  3711.  
  3712. TASK [rbenv : rehash] **********************************************************
  3713. changed: [localhost]
  3714.  
  3715. TASK [forum : create application user] *****************************************
  3716. ok: [localhost]
  3717.  
  3718. TASK [forum : set forum app dir permissions] ***********************************
  3719. ok: [localhost]
  3720.  
  3721. TASK [forum : setup the forum env for stage/prod] ******************************
  3722. changed: [localhost] => (item={u'LISTEN_HOST': u'0.0.0.0', u'NEW_RELIC_APP_NAME': u'default_env-default_deployment-forum', u'DATA_DIR': u'/edx/var/forum', u'LISTEN_PORT': u'4567', u'MONGOID_USE_SSL': False, u'MONGOHQ_URL': u'mongodb://cs_comments_service:61FNXcHOBo6ca5JPdlXIWQLm70b1HhYWpqx@localhost:27017/cs_comments_service', u'NEW_RELIC_LICENSE_KEY': u'', u'PATH': u'/edx/app/forum/cs_comments_service/bin:/edx/app/forum/.rbenv/bin:/edx/app/forum/.rbenv/shims:/edx/app/forum/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', u'RACK_ENV': u'development', u'NEW_RELIC_ENABLE': False, u'SINATRA_ENV': u'development', u'SEARCH_SERVER': u'http://localhost:9200', u'WORKER_PROCESSES': u'4', u'API_KEY': u'k5VgVn6yvROGQB4caDNF9kg6K7AJgqLObfr', u'HOME': u'/edx/app/forum', u'GEM_PATH': u'/edx/app/forum/.gem', u'RBENV_ROOT': u'/edx/app/forum/.rbenv', u'GEM_HOME': u'/edx/app/forum/.gem'})
  3723.  
  3724. TASK [forum : setup the forum env for devstack] ********************************
  3725. skipping: [localhost] => (item={u'LISTEN_HOST': u'0.0.0.0', u'NEW_RELIC_APP_NAME': u'default_env-default_deployment-forum', u'DATA_DIR': u'/edx/var/forum', u'LISTEN_PORT': u'4567', u'MONGOID_USE_SSL': False, u'MONGOHQ_URL': u'mongodb://cs_comments_service:[email protected]:27017/cs_comments_service', u'NEW_RELIC_LICENSE_KEY': u'', u'PATH': u'/edx/app/forum/cs_comments_service/bin:/edx/app/forum/.rbenv/bin:/edx/app/forum/.rbenv/shims:/edx/app/forum/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', u'RACK_ENV': u'development', u'NEW_RELIC_ENABLE': False, u'SINATRA_ENV': u'development', u'SEARCH_SERVER': u'http://edx.devstack.elasticsearch:9200/', u'WORKER_PROCESSES': u'4', u'API_KEY': u'k5VgVn6yvROGQB4caDNF9kg6K7AJgqLObfr', u'HOME': u'/edx/app/forum', u'GEM_PATH': u'/edx/app/forum/.gem', u'RBENV_ROOT': u'/edx/app/forum/.rbenv', u'GEM_HOME': u'/edx/app/forum/.gem'})
  3726.  
  3727. TASK [forum : create /edx/var/forum] *******************************************
  3728. ok: [localhost]
  3729.  
  3730. TASK [forum : create the supervisor config] ************************************
  3731. ok: [localhost]
  3732.  
  3733. TASK [forum : enable the supervisor config] ************************************
  3734. ok: [localhost]
  3735.  
  3736. TASK [forum : create the supervisor wrapper] ***********************************
  3737. ok: [localhost]
  3738.  
  3739. TASK [forum : git checkout forum repo into /edx/app/forum/cs_comments_service] ***
  3740. ok: [localhost]
  3741.  
  3742. TASK [forum : install comments service bundle] *********************************
  3743. changed: [localhost]
  3744.  
  3745. TASK [forum : initialize elasticsearch] ****************************************
  3746. changed: [localhost]
  3747.  
  3748. TASK [forum : rebuild elasticsearch indexes] ***********************************
  3749. skipping: [localhost]
  3750.  
  3751. TASK [forum : update supervisor configuration] *********************************
  3752. ok: [localhost]
  3753.  
  3754. TASK [forum : ensure forum is started] *****************************************
  3755. ok: [localhost]
  3756.  
  3757. TASK [forum : test that the required service are listening] ********************
  3758. ok: [localhost] => (item={u'host': u'localhost', u'port': u'9200', u'service': u'elasticsearch'})
  3759.  
  3760. TASK [forum : test that mongo replica set members are listing] *****************
  3761. ok: [localhost] => (item=localhost)
  3762.  
  3763. TASK [forum : get instance information] ****************************************
  3764. skipping: [localhost]
  3765.  
  3766. TASK [forum : tag instance] ****************************************************
  3767. skipping: [localhost]
  3768.  
  3769. TASK [forum : set_fact] ********************************************************
  3770. ok: [localhost]
  3771.  
  3772. TASK [security : Install security packages] ************************************
  3773. skipping: [localhost] => (item=[])
  3774.  
  3775. TASK [security : Update all system packages] ***********************************
  3776. skipping: [localhost]
  3777.  
  3778. TASK [security : Configure periodic unattended-upgrades] ***********************
  3779. skipping: [localhost]
  3780.  
  3781. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3782. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3783. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3784. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3785.  
  3786. TASK [security : Disable unattended-upgrades] **********************************
  3787. skipping: [localhost]
  3788.  
  3789. TASK [security : Only unattended-upgrade from security repo] *******************
  3790. skipping: [localhost]
  3791.  
  3792. TASK [security : Disable security only updates on unattended-upgrades] *********
  3793. skipping: [localhost]
  3794.  
  3795. TASK [security : Take security updates during ansible runs] ********************
  3796. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3797. skipping: [localhost] => (item=unattended-upgrade)
  3798.  
  3799. TASK [security : Install security packages] ************************************
  3800. skipping: [localhost] => (item=[])
  3801.  
  3802. TASK [security : Enable automatic start for update service] ********************
  3803. skipping: [localhost]
  3804.  
  3805. TASK [security : Update all system packages] ***********************************
  3806. skipping: [localhost]
  3807.  
  3808. TASK [security : Configure security auto-updates] ******************************
  3809. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3810. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3811.  
  3812. TASK [security : Take security updates during ansible runs] ********************
  3813. skipping: [localhost] => (item=yum check-update --security)
  3814. skipping: [localhost] => (item=yum update --security -y)
  3815.  
  3816. TASK [security : Install security packages] ************************************
  3817. skipping: [localhost] => (item=[])
  3818.  
  3819. TASK [security : Update all system packages] ***********************************
  3820. skipping: [localhost]
  3821.  
  3822. TASK [security : Configure periodic unattended-upgrades] ***********************
  3823. skipping: [localhost]
  3824.  
  3825. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  3826. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  3827. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  3828. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  3829.  
  3830. TASK [security : Disable unattended-upgrades] **********************************
  3831. skipping: [localhost]
  3832.  
  3833. TASK [security : Only unattended-upgrade from security repo] *******************
  3834. skipping: [localhost]
  3835.  
  3836. TASK [security : Disable security only updates on unattended-upgrades] *********
  3837. skipping: [localhost]
  3838.  
  3839. TASK [security : Take security updates during ansible runs] ********************
  3840. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  3841. skipping: [localhost] => (item=unattended-upgrade)
  3842.  
  3843. TASK [security : Install security packages] ************************************
  3844. skipping: [localhost] => (item=[])
  3845.  
  3846. TASK [security : Enable automatic start for update service] ********************
  3847. skipping: [localhost]
  3848.  
  3849. TASK [security : Update all system packages] ***********************************
  3850. skipping: [localhost]
  3851.  
  3852. TASK [security : Configure security auto-updates] ******************************
  3853. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  3854. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  3855.  
  3856. TASK [security : Take security updates during ansible runs] ********************
  3857. skipping: [localhost] => (item=yum check-update --security)
  3858. skipping: [localhost] => (item=yum update --security -y)
  3859.  
  3860. TASK [automated : Create automated user] ***************************************
  3861.  
  3862. TASK [automated : Create sudoers file from template] ***************************
  3863.  
  3864. TASK [automated : Create .ssh directory] ***************************************
  3865.  
  3866. TASK [automated : Build authorized_keys file] **********************************
  3867.  
  3868. TASK [automated : Build known_hosts file] **************************************
  3869.  
  3870. TASK [add_user : create user groups] *******************************************
  3871. ok: [localhost] => (item=discovery)
  3872.  
  3873. TASK [add_user : create application user] **************************************
  3874. ok: [localhost]
  3875.  
  3876. TASK [add_user : ensure correct ownership of home directory] *******************
  3877. ok: [localhost]
  3878.  
  3879. TASK [add_user : create dirs for the user] *************************************
  3880.  
  3881. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  3882. changed: [localhost]
  3883.  
  3884. TASK [git_clone : Validate git protocol] ***************************************
  3885. skipping: [localhost] => (item=(censored due to no_log))
  3886.  
  3887. TASK [git_clone : Install read-only ssh key] ***********************************
  3888. skipping: [localhost] => (item=(censored due to no_log))
  3889.  
  3890. TASK [git_clone : Check that working tree is clean] ****************************
  3891. changed: [localhost] => (item=/edx/app/discovery/discovery)
  3892.  
  3893. TASK [git_clone : Require a clean working tree] ********************************
  3894. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-05-01 16:17:26.724505', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-05-01 16:17:26.695549', u'cmd': u'test ! -e "/edx/app/discovery/discovery" || git -C "/edx/app/discovery/discovery" status --porcelain --untracked-files=no', 'item': u'/edx/app/discovery/discovery', u'delta': u'0:00:00.028956', u'invocation': {u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/discovery/discovery" || git -C "/edx/app/discovery/discovery" status --porcelain --untracked-files=no', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  3895.  
  3896. TASK [git_clone : Checkout code over ssh] **************************************
  3897. skipping: [localhost] => (item=(censored due to no_log))
  3898.  
  3899. TASK [git_clone : Checkout code over https] ************************************
  3900. ok: [localhost] => (item=(censored due to no_log))
  3901.  
  3902. TASK [git_clone : Remove read-only ssh key] ************************************
  3903. skipping: [localhost] => (item=(censored due to no_log))
  3904.  
  3905. TASK [git_clone : Run git clean after checking out code] ***********************
  3906. changed: [localhost] => (item=(censored due to no_log))
  3907.  
  3908. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  3909. ok: [localhost] => (item=)
  3910. ok: [localhost] => (item=venvs)
  3911. ok: [localhost] => (item=data)
  3912. ok: [localhost] => (item=staticfiles)
  3913.  
  3914. TASK [edx_service : Create /edx/var/app dir] ***********************************
  3915. ok: [localhost]
  3916.  
  3917. TASK [edx_service : Create /edx/etc dir] ***************************************
  3918. changed: [localhost]
  3919.  
  3920. TASK [edx_service : Create edx_service log dir] ********************************
  3921. ok: [localhost] => (item=/edx/var/log/discovery)
  3922.  
  3923. TASK [edx_service : Write out app config file] *********************************
  3924.  [WARNING]: when statements should not include jinja2 templating delimiters
  3925. such as {{ }} or {% %}. Found: {{ edx_django_service_config }}
  3926. changed: [localhost]
  3927.  
  3928. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3929. ok: [localhost] => (item=[u'gettext', u'libffi-dev', u'libmemcached-dev', u'libmysqlclient-dev', u'libssl-dev', u'libxml2-dev', u'libxslt-dev', u'libjpeg-dev'])
  3930.  
  3931. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  3932.  
  3933. TASK [edx_service : Get instance information] **********************************
  3934. ok: [localhost]
  3935.  
  3936. TASK [edx_service : Tag instance] **********************************************
  3937. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None, u'REPO': u'course-discovery.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': False, '_ansible_no_log': True, '_ansible_item_result': True, u'remote_url_changed': False, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None, u'REPO': u'course-discovery.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/discovery/discovery', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/course-discovery.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'ee399881148daa1cfd1e13a4dff826332d937f94', u'before': u'ee399881148daa1cfd1e13a4dff826332d937f94'}])
  3938.  
  3939. TASK [edx_django_service : add gunicorn configuration file] ********************
  3940. ok: [localhost]
  3941.  
  3942. TASK [edx_django_service : install python3] ************************************
  3943. ok: [localhost] => (item=[u'python3-pip', u'python3-dev'])
  3944.  
  3945. TASK [edx_django_service : build virtualenv with python3] **********************
  3946. ok: [localhost]
  3947.  
  3948. TASK [edx_django_service : build virtualenv with python2.7] ********************
  3949. skipping: [localhost]
  3950.  
  3951. TASK [edx_django_service : Pin pip to a specific version.] *********************
  3952. changed: [localhost]
  3953.  
  3954. TASK [edx_django_service : install nodenv] *************************************
  3955. changed: [localhost]
  3956.  
  3957. TASK [edx_django_service : create nodeenv] *************************************
  3958. ok: [localhost]
  3959.  
  3960. TASK [edx_django_service : install production requirements] ********************
  3961. changed: [localhost]
  3962.  
  3963. TASK [edx_django_service : install development requirements] *******************
  3964. skipping: [localhost]
  3965.  
  3966. TASK [edx_django_service : migrate database] ***********************************
  3967. changed: [localhost]
  3968.  
  3969. TASK [edx_django_service : run post-migrate commands] **************************
  3970.  
  3971. TASK [edx_django_service : ensure log files exist for tailing] *****************
  3972. changed: [localhost] => (item=/edx/var/log/supervisor/discovery-stdout.log)
  3973. changed: [localhost] => (item=/edx/var/log/supervisor/discovery-stderr.log)
  3974.  
  3975. TASK [edx_django_service : write out the supervisor wrapper] *******************
  3976. changed: [localhost]
  3977.  
  3978. TASK [edx_django_service : write supervisord config] ***************************
  3979. changed: [localhost]
  3980.  
  3981. TASK [edx_django_service : write devstack script] ******************************
  3982. skipping: [localhost]
  3983.  
  3984. TASK [edx_django_service : setup the app env file] *****************************
  3985. changed: [localhost]
  3986.  
  3987. TASK [edx_django_service : enable supervisor script] ***************************
  3988. changed: [localhost]
  3989.  
  3990. TASK [edx_django_service : update supervisor configuration] ********************
  3991. changed: [localhost]
  3992.  
  3993. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  3994. changed: [localhost] => (item=python)
  3995. changed: [localhost] => (item=pip)
  3996. changed: [localhost] => (item=django-admin.py)
  3997.  
  3998. TASK [edx_django_service : create symlinks from the repo dir] ******************
  3999. changed: [localhost] => (item=manage.py)
  4000.  
  4001. TASK [edx_django_service : compile static assets] ******************************
  4002. changed: [localhost]
  4003.  
  4004. TASK [edx_django_service : restart the application] ****************************
  4005. changed: [localhost]
  4006.  
  4007. TASK [edx_django_service : Copying nginx configs for the service] **************
  4008. changed: [localhost]
  4009.  
  4010. TASK [edx_django_service : Creating nginx config links for the service] ********
  4011. changed: [localhost]
  4012.  
  4013. TASK [security : Install security packages] ************************************
  4014. skipping: [localhost] => (item=[])
  4015.  
  4016. TASK [security : Update all system packages] ***********************************
  4017. skipping: [localhost]
  4018.  
  4019. TASK [security : Configure periodic unattended-upgrades] ***********************
  4020. skipping: [localhost]
  4021.  
  4022. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4023. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4024. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4025. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4026.  
  4027. TASK [security : Disable unattended-upgrades] **********************************
  4028. skipping: [localhost]
  4029.  
  4030. TASK [security : Only unattended-upgrade from security repo] *******************
  4031. skipping: [localhost]
  4032.  
  4033. TASK [security : Disable security only updates on unattended-upgrades] *********
  4034. skipping: [localhost]
  4035.  
  4036. TASK [security : Take security updates during ansible runs] ********************
  4037. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4038. skipping: [localhost] => (item=unattended-upgrade)
  4039.  
  4040. TASK [security : Install security packages] ************************************
  4041. skipping: [localhost] => (item=[])
  4042.  
  4043. TASK [security : Enable automatic start for update service] ********************
  4044. skipping: [localhost]
  4045.  
  4046. TASK [security : Update all system packages] ***********************************
  4047. skipping: [localhost]
  4048.  
  4049. TASK [security : Configure security auto-updates] ******************************
  4050. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4051. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4052.  
  4053. TASK [security : Take security updates during ansible runs] ********************
  4054. skipping: [localhost] => (item=yum update --security -y)
  4055. skipping: [localhost] => (item=yum check-update --security)
  4056.  
  4057. TASK [docker-tools : add docker group] *****************************************
  4058. skipping: [localhost]
  4059.  
  4060. TASK [docker-tools : add users to docker group] ********************************
  4061.  
  4062. TASK [docker-tools : install package dependencies] *****************************
  4063. skipping: [localhost]
  4064.  
  4065. TASK [docker-tools : add docker apt key] ***************************************
  4066. skipping: [localhost]
  4067.  
  4068. TASK [docker-tools : add docker repo] ******************************************
  4069. skipping: [localhost] => (item=deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable)
  4070. skipping: [localhost] => (item=deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial edge)
  4071.  
  4072. TASK [docker-tools : install docker-engine] ************************************
  4073. skipping: [localhost]
  4074.  
  4075. TASK [docker-tools : Are we in a Docker container] *****************************
  4076. skipping: [localhost]
  4077.  
  4078. TASK [docker-tools : start docker service] *************************************
  4079. skipping: [localhost]
  4080.  
  4081. TASK [docker-tools : install docker-compose] ***********************************
  4082. skipping: [localhost]
  4083.  
  4084. TASK [security : Install security packages] ************************************
  4085. skipping: [localhost] => (item=[])
  4086.  
  4087. TASK [security : Update all system packages] ***********************************
  4088. skipping: [localhost]
  4089.  
  4090. TASK [security : Configure periodic unattended-upgrades] ***********************
  4091. skipping: [localhost]
  4092.  
  4093. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4094. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4095. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4096. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4097.  
  4098. TASK [security : Disable unattended-upgrades] **********************************
  4099. skipping: [localhost]
  4100.  
  4101. TASK [security : Only unattended-upgrade from security repo] *******************
  4102. skipping: [localhost]
  4103.  
  4104. TASK [security : Disable security only updates on unattended-upgrades] *********
  4105. skipping: [localhost]
  4106.  
  4107. TASK [security : Take security updates during ansible runs] ********************
  4108. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4109. skipping: [localhost] => (item=unattended-upgrade)
  4110.  
  4111. TASK [security : Install security packages] ************************************
  4112. skipping: [localhost] => (item=[])
  4113.  
  4114. TASK [security : Enable automatic start for update service] ********************
  4115. skipping: [localhost]
  4116.  
  4117. TASK [security : Update all system packages] ***********************************
  4118. skipping: [localhost]
  4119.  
  4120. TASK [security : Configure security auto-updates] ******************************
  4121. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4122. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4123.  
  4124. TASK [security : Take security updates during ansible runs] ********************
  4125. skipping: [localhost] => (item=yum check-update --security)
  4126. skipping: [localhost] => (item=yum update --security -y)
  4127.  
  4128. TASK [security : Install security packages] ************************************
  4129. skipping: [localhost] => (item=[])
  4130.  
  4131. TASK [security : Update all system packages] ***********************************
  4132. skipping: [localhost]
  4133.  
  4134. TASK [security : Configure periodic unattended-upgrades] ***********************
  4135. skipping: [localhost]
  4136.  
  4137. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4138. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4139. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4140. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4141.  
  4142. TASK [security : Disable unattended-upgrades] **********************************
  4143. skipping: [localhost]
  4144.  
  4145. TASK [security : Only unattended-upgrade from security repo] *******************
  4146. skipping: [localhost]
  4147.  
  4148. TASK [security : Disable security only updates on unattended-upgrades] *********
  4149. skipping: [localhost]
  4150.  
  4151. TASK [security : Take security updates during ansible runs] ********************
  4152. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4153. skipping: [localhost] => (item=unattended-upgrade)
  4154.  
  4155. TASK [security : Install security packages] ************************************
  4156. skipping: [localhost] => (item=[])
  4157.  
  4158. TASK [security : Enable automatic start for update service] ********************
  4159. skipping: [localhost]
  4160.  
  4161. TASK [security : Update all system packages] ***********************************
  4162. skipping: [localhost]
  4163.  
  4164. TASK [security : Configure security auto-updates] ******************************
  4165. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4166. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4167.  
  4168. TASK [security : Take security updates during ansible runs] ********************
  4169. skipping: [localhost] => (item=yum check-update --security)
  4170. skipping: [localhost] => (item=yum update --security -y)
  4171.  
  4172. TASK [automated : Create automated user] ***************************************
  4173.  
  4174. TASK [automated : Create sudoers file from template] ***************************
  4175.  
  4176. TASK [automated : Create .ssh directory] ***************************************
  4177.  
  4178. TASK [automated : Build authorized_keys file] **********************************
  4179.  
  4180. TASK [automated : Build known_hosts file] **************************************
  4181.  
  4182. TASK [add_user : create user groups] *******************************************
  4183. skipping: [localhost] => (item=None)
  4184.  
  4185. TASK [add_user : create application user] **************************************
  4186. skipping: [localhost]
  4187.  
  4188. TASK [add_user : ensure correct ownership of home directory] *******************
  4189. skipping: [localhost]
  4190.  
  4191. TASK [add_user : create dirs for the user] *************************************
  4192.  
  4193. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  4194. skipping: [localhost]
  4195.  
  4196. TASK [git_clone : Validate git protocol] ***************************************
  4197. skipping: [localhost] => (item=(censored due to no_log))
  4198.  
  4199. TASK [git_clone : Install read-only ssh key] ***********************************
  4200. skipping: [localhost] => (item=(censored due to no_log))
  4201.  
  4202. TASK [git_clone : Check that working tree is clean] ****************************
  4203. skipping: [localhost] => (item=None)
  4204.  
  4205. TASK [git_clone : Require a clean working tree] ********************************
  4206. skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'None', 'changed': False})
  4207.  
  4208. TASK [git_clone : Checkout code over ssh] **************************************
  4209. skipping: [localhost] => (item=(censored due to no_log))
  4210.  
  4211. TASK [git_clone : Checkout code over https] ************************************
  4212. skipping: [localhost] => (item=(censored due to no_log))
  4213.  
  4214. TASK [git_clone : Remove read-only ssh key] ************************************
  4215. skipping: [localhost] => (item=(censored due to no_log))
  4216.  
  4217. TASK [git_clone : Run git clean after checking out code] ***********************
  4218. skipping: [localhost] => (item=(censored due to no_log))
  4219.  
  4220. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  4221. skipping: [localhost] => (item=)
  4222. skipping: [localhost] => (item=data)
  4223. skipping: [localhost] => (item=venvs)
  4224. skipping: [localhost] => (item=staticfiles)
  4225.  
  4226. TASK [edx_service : Create /edx/var/app dir] ***********************************
  4227. skipping: [localhost]
  4228.  
  4229. TASK [edx_service : Create /edx/etc dir] ***************************************
  4230. skipping: [localhost]
  4231.  
  4232. TASK [edx_service : Create edx_service log dir] ********************************
  4233. skipping: [localhost] => (item=/edx/var/log/None)
  4234.  
  4235. TASK [edx_service : Write out app config file] *********************************
  4236. skipping: [localhost]
  4237.  
  4238. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  4239. skipping: [localhost] => (item=[])
  4240.  
  4241. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  4242.  
  4243. TASK [edx_service : Get instance information] **********************************
  4244. skipping: [localhost]
  4245.  
  4246. TASK [edx_service : Tag instance] **********************************************
  4247. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'None', u'SSH_KEY': None, u'REPO': u'journals.git', u'VERSION': u'master', u'PATH': u'edx'}, {'skipped': True, '_ansible_no_log': True, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'None', u'SSH_KEY': None, u'REPO': u'journals.git', u'VERSION': u'master', u'PATH': u'edx'}, 'changed': False}])
  4248.  
  4249. TASK [edx_django_service : add gunicorn configuration file] ********************
  4250. skipping: [localhost]
  4251.  
  4252. TASK [edx_django_service : install python3] ************************************
  4253. skipping: [localhost] => (item=[])
  4254.  
  4255. TASK [edx_django_service : build virtualenv with python3] **********************
  4256. skipping: [localhost]
  4257.  
  4258. TASK [edx_django_service : build virtualenv with python2.7] ********************
  4259. skipping: [localhost]
  4260.  
  4261. TASK [edx_django_service : Pin pip to a specific version.] *********************
  4262. skipping: [localhost]
  4263.  
  4264. TASK [edx_django_service : install nodenv] *************************************
  4265. skipping: [localhost]
  4266.  
  4267. TASK [edx_django_service : create nodeenv] *************************************
  4268. skipping: [localhost]
  4269.  
  4270. TASK [edx_django_service : install production requirements] ********************
  4271. skipping: [localhost]
  4272.  
  4273. TASK [edx_django_service : install development requirements] *******************
  4274. skipping: [localhost]
  4275.  
  4276. TASK [edx_django_service : migrate database] ***********************************
  4277. skipping: [localhost]
  4278.  
  4279. TASK [edx_django_service : run post-migrate commands] **************************
  4280. skipping: [localhost] => (item={u'when': False, u'command': u'./manage.py create_site --sitename "DemoSite" --hostname "journals-localhost" --port "80" --lms-url-root "https://lms.bloomnf.org" --lms-public-url-root-override "https://lms.bloomnf.org" --discovery-api-url "https://discovery-lms.bloomnf.org/api/v1/" --ecommerce-api-url "http://localhost:8002/api/v2/" --discovery-partner-id "edX" --ecommerce-partner-id "edX" --currency-codes USD --client-secret "journals-secret" --client-id "journals-key" --discovery-journal-api-url "https://discovery-lms.bloomnf.org/journal/api/v1/" --ecommerce-journal-api-url "http://localhost:8002/journals/api/v1" --ecommerce-public-url-root "http://localhost:8002"\n'})
  4281. skipping: [localhost] => (item={u'when': False, u'command': u'./manage.py create_org --key "edX" --sitename "DemoSite"'})
  4282. skipping: [localhost] => (item={u'become_user': u'None', u'environment': {u'JOURNALS_CFG': u'/edx/etc/None.yml'}, u'when': False, u'command': u'/edx/bin/python.journals /edx/bin/manage.journals publish_journals --create "Demo Journal" --org "edX" --price "100.00"\n'})
  4283.  
  4284. TASK [edx_django_service : ensure log files exist for tailing] *****************
  4285. skipping: [localhost] => (item=/edx/var/log/supervisor/None-stdout.log)
  4286. skipping: [localhost] => (item=/edx/var/log/supervisor/None-stderr.log)
  4287.  
  4288. TASK [edx_django_service : write out the supervisor wrapper] *******************
  4289. skipping: [localhost]
  4290.  
  4291. TASK [edx_django_service : write supervisord config] ***************************
  4292. skipping: [localhost]
  4293.  
  4294. TASK [edx_django_service : write devstack script] ******************************
  4295. skipping: [localhost]
  4296.  
  4297. TASK [edx_django_service : setup the app env file] *****************************
  4298. skipping: [localhost]
  4299.  
  4300. TASK [edx_django_service : enable supervisor script] ***************************
  4301. skipping: [localhost]
  4302.  
  4303. TASK [edx_django_service : update supervisor configuration] ********************
  4304. skipping: [localhost]
  4305.  
  4306. TASK [edx_django_service : create symlinks from the venv bin dir] **************
  4307. skipping: [localhost] => (item=python)
  4308. skipping: [localhost] => (item=pip)
  4309. skipping: [localhost] => (item=django-admin.py)
  4310.  
  4311. TASK [edx_django_service : create symlinks from the repo dir] ******************
  4312. skipping: [localhost] => (item=manage.py)
  4313.  
  4314. TASK [edx_django_service : compile static assets] ******************************
  4315. skipping: [localhost]
  4316.  
  4317. TASK [edx_django_service : restart the application] ****************************
  4318. skipping: [localhost]
  4319.  
  4320. TASK [edx_django_service : Copying nginx configs for the service] **************
  4321. skipping: [localhost]
  4322.  
  4323. TASK [edx_django_service : Creating nginx config links for the service] ********
  4324. skipping: [localhost]
  4325.  
  4326. TASK [journals : Create LMS catalog integration] *******************************
  4327. skipping: [localhost]
  4328.  
  4329. TASK [journals : create web-writable journal data dirs] ************************
  4330. skipping: [localhost] => (item=/edx/var/None/media)
  4331.  
  4332. TASK [journals : build elasticsearch5 image] ***********************************
  4333. skipping: [localhost]
  4334.  
  4335. TASK [journals : create elasticsearch5 docker container] ***********************
  4336. skipping: [localhost]
  4337.  
  4338. TASK [journals : wait for elasticsearch container to start] ********************
  4339. skipping: [localhost]
  4340.  
  4341. TASK [journals : update journal elasticsearch index] ***************************
  4342. skipping: [localhost]
  4343.  
  4344. TASK [security : Install security packages] ************************************
  4345. skipping: [localhost] => (item=[])
  4346.  
  4347. TASK [security : Update all system packages] ***********************************
  4348. skipping: [localhost]
  4349.  
  4350. TASK [security : Configure periodic unattended-upgrades] ***********************
  4351. skipping: [localhost]
  4352.  
  4353. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4354. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4355. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4356. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4357.  
  4358. TASK [security : Disable unattended-upgrades] **********************************
  4359. skipping: [localhost]
  4360.  
  4361. TASK [security : Only unattended-upgrade from security repo] *******************
  4362. skipping: [localhost]
  4363.  
  4364. TASK [security : Disable security only updates on unattended-upgrades] *********
  4365. skipping: [localhost]
  4366.  
  4367. TASK [security : Take security updates during ansible runs] ********************
  4368. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4369. skipping: [localhost] => (item=unattended-upgrade)
  4370.  
  4371. TASK [security : Install security packages] ************************************
  4372. skipping: [localhost] => (item=[])
  4373.  
  4374. TASK [security : Enable automatic start for update service] ********************
  4375. skipping: [localhost]
  4376.  
  4377. TASK [security : Update all system packages] ***********************************
  4378. skipping: [localhost]
  4379.  
  4380. TASK [security : Configure security auto-updates] ******************************
  4381. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4382. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4383.  
  4384. TASK [security : Take security updates during ansible runs] ********************
  4385. skipping: [localhost] => (item=yum check-update --security)
  4386. skipping: [localhost] => (item=yum update --security -y)
  4387.  
  4388. TASK [security : Install security packages] ************************************
  4389. skipping: [localhost] => (item=[])
  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 : Disable security only updates on unattended-upgrades] *********
  4409. skipping: [localhost]
  4410.  
  4411. TASK [security : Take security updates during ansible runs] ********************
  4412. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4413. skipping: [localhost] => (item=unattended-upgrade)
  4414.  
  4415. TASK [security : Install security packages] ************************************
  4416. skipping: [localhost] => (item=[])
  4417.  
  4418. TASK [security : Enable automatic start for update service] ********************
  4419. skipping: [localhost]
  4420.  
  4421. TASK [security : Update all system packages] ***********************************
  4422. skipping: [localhost]
  4423.  
  4424. TASK [security : Configure security auto-updates] ******************************
  4425. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4426. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4427.  
  4428. TASK [security : Take security updates during ansible runs] ********************
  4429. skipping: [localhost] => (item=yum check-update --security)
  4430. skipping: [localhost] => (item=yum update --security -y)
  4431.  
  4432. TASK [notifier : Install notifier specific system packages] ********************
  4433. ok: [localhost] => (item=[u'apparmor-utils', u'build-essential', u'curl', u'g++', u'gcc', u'ipython', u'pkg-config', u'rsyslog', u'libmysqlclient-dev', u'libffi-dev', u'libssl-dev'])
  4434.  
  4435. TASK [notifier : Create notifier user notifier] ********************************
  4436. changed: [localhost]
  4437.  
  4438. TASK [notifier : Create notifier app dir] **************************************
  4439. changed: [localhost]
  4440.  
  4441. TASK [notifier : Setup the notifier env] ***************************************
  4442. changed: [localhost]
  4443.  
  4444. TASK [notifier : Drop a bash_profile] ******************************************
  4445. changed: [localhost]
  4446.  
  4447. TASK [notifier : Ensure .bashrc exists] ****************************************
  4448. changed: [localhost]
  4449.  
  4450. TASK [notifier : Add source of notifier_env to .bashrc] ************************
  4451. changed: [localhost]
  4452.  
  4453. TASK [notifier : Add source venv to .bashrc] ***********************************
  4454. changed: [localhost]
  4455.  
  4456. TASK [notifier : Create desired directories] ***********************************
  4457. changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/db', u'group': u'www-data', u'mode': u'2775'})
  4458. changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/bin', u'group': u'notifier', u'mode': u'2775'})
  4459. changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/.ssh', u'group': u'notifier', u'mode': u'2700'})
  4460. changed: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log/notifier', u'group': u'syslog', u'mode': u'0664'})
  4461.  
  4462. TASK [notifier : Copy the boto file] *******************************************
  4463. changed: [localhost]
  4464.  
  4465. TASK [notifier : Write supervisord wrapper for celery workers and scheduler] ***
  4466. changed: [localhost] => (item={u'dest': u'/edx/app/notifier/notifier-scheduler-supervisor.sh', u'src': u'notifier-scheduler-supervisor.sh.j2'})
  4467.  
  4468. TASK [notifier : Write supervisord config for celery workers and scheduler] ****
  4469. 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'})
  4470. 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'})
  4471.  
  4472. TASK [notifier : Enable supervisord config for celery workers] *****************
  4473. changed: [localhost]
  4474.  
  4475. TASK [notifier : Enable supervisord config for scheduler] **********************
  4476. changed: [localhost]
  4477.  
  4478. TASK [notifier : Checkout code] ************************************************
  4479. changed: [localhost]
  4480.  
  4481. TASK [notifier : Create ssh script for git (not authenticated)] ****************
  4482. changed: [localhost]
  4483.  
  4484. TASK [notifier : Create ssh script for git (authenticated)] ********************
  4485. skipping: [localhost]
  4486.  
  4487. TASK [notifier : Install read-only ssh key] ************************************
  4488. skipping: [localhost]
  4489.  
  4490. TASK [notifier : Checkout theme] ***********************************************
  4491. skipping: [localhost]
  4492.  
  4493. TASK [notifier : Write notifier local settings] ********************************
  4494. changed: [localhost]
  4495.  
  4496. TASK [notifier : Install application requirements] *****************************
  4497. changed: [localhost]
  4498.  
  4499. TASK [notifier : Fix permissions on notifer db file] ***************************
  4500. changed: [localhost]
  4501.  
  4502. TASK [notifier : Migrate the notifier db] **************************************
  4503. changed: [localhost]
  4504.  
  4505. TASK [notifier : restart notifier-scheduler] ***********************************
  4506. changed: [localhost]
  4507.  
  4508. TASK [notifier : restart notifier-celery-workers] ******************************
  4509. changed: [localhost]
  4510.  
  4511. TASK [security : Install security packages] ************************************
  4512. skipping: [localhost] => (item=[])
  4513.  
  4514. TASK [security : Update all system packages] ***********************************
  4515. skipping: [localhost]
  4516.  
  4517. TASK [security : Configure periodic unattended-upgrades] ***********************
  4518. skipping: [localhost]
  4519.  
  4520. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4521. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4522. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4523. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4524.  
  4525. TASK [security : Disable unattended-upgrades] **********************************
  4526. skipping: [localhost]
  4527.  
  4528. TASK [security : Only unattended-upgrade from security repo] *******************
  4529. skipping: [localhost]
  4530.  
  4531. TASK [security : Disable security only updates on unattended-upgrades] *********
  4532. skipping: [localhost]
  4533.  
  4534. TASK [security : Take security updates during ansible runs] ********************
  4535. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4536. skipping: [localhost] => (item=unattended-upgrade)
  4537.  
  4538. TASK [security : Install security packages] ************************************
  4539. skipping: [localhost] => (item=[])
  4540.  
  4541. TASK [security : Enable automatic start for update service] ********************
  4542. skipping: [localhost]
  4543.  
  4544. TASK [security : Update all system packages] ***********************************
  4545. skipping: [localhost]
  4546.  
  4547. TASK [security : Configure security auto-updates] ******************************
  4548. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4549. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4550.  
  4551. TASK [security : Take security updates during ansible runs] ********************
  4552. skipping: [localhost] => (item=yum check-update --security)
  4553. skipping: [localhost] => (item=yum update --security -y)
  4554.  
  4555. TASK [security : Install security packages] ************************************
  4556. skipping: [localhost] => (item=[])
  4557.  
  4558. TASK [security : Update all system packages] ***********************************
  4559. skipping: [localhost]
  4560.  
  4561. TASK [security : Configure periodic unattended-upgrades] ***********************
  4562. skipping: [localhost]
  4563.  
  4564. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4565. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4566. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4567. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4568.  
  4569. TASK [security : Disable unattended-upgrades] **********************************
  4570. skipping: [localhost]
  4571.  
  4572. TASK [security : Only unattended-upgrade from security repo] *******************
  4573. skipping: [localhost]
  4574.  
  4575. TASK [security : Disable security only updates on unattended-upgrades] *********
  4576. skipping: [localhost]
  4577.  
  4578. TASK [security : Take security updates during ansible runs] ********************
  4579. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4580. skipping: [localhost] => (item=unattended-upgrade)
  4581.  
  4582. TASK [security : Install security packages] ************************************
  4583. skipping: [localhost] => (item=[])
  4584.  
  4585. TASK [security : Enable automatic start for update service] ********************
  4586. skipping: [localhost]
  4587.  
  4588. TASK [security : Update all system packages] ***********************************
  4589. skipping: [localhost]
  4590.  
  4591. TASK [security : Configure security auto-updates] ******************************
  4592. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4593. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4594.  
  4595. TASK [security : Take security updates during ansible runs] ********************
  4596. skipping: [localhost] => (item=yum check-update --security)
  4597. skipping: [localhost] => (item=yum update --security -y)
  4598.  
  4599. TASK [add_user : create user groups] *******************************************
  4600. changed: [localhost] => (item=xqueue)
  4601.  
  4602. TASK [add_user : create application user] **************************************
  4603. changed: [localhost]
  4604.  
  4605. TASK [add_user : ensure correct ownership of home directory] *******************
  4606. ok: [localhost]
  4607.  
  4608. TASK [add_user : create dirs for the user] *************************************
  4609.  
  4610. TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
  4611. changed: [localhost]
  4612.  
  4613. TASK [git_clone : Validate git protocol] ***************************************
  4614. skipping: [localhost] => (item=(censored due to no_log))
  4615.  
  4616. TASK [git_clone : Install read-only ssh key] ***********************************
  4617. skipping: [localhost] => (item=(censored due to no_log))
  4618.  
  4619. TASK [git_clone : Check that working tree is clean] ****************************
  4620. changed: [localhost] => (item=/edx/app/xqueue/xqueue)
  4621.  
  4622. TASK [git_clone : Require a clean working tree] ********************************
  4623. skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'end': u'2020-05-01 16:28:34.848619', '_ansible_no_log': False, u'stdout': u'', '_ansible_item_result': True, u'rc': 0, u'start': u'2020-05-01 16:28:34.845942', 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'delta': u'0:00:00.002677', u'invocation': {u'module_args': {u'creates': None, 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'warn': True, u'chdir': None}}, 'stdout_lines': [], u'stderr': u''})
  4624.  
  4625. TASK [git_clone : Checkout code over ssh] **************************************
  4626. skipping: [localhost] => (item=(censored due to no_log))
  4627.  
  4628. TASK [git_clone : Checkout code over https] ************************************
  4629. changed: [localhost] => (item=(censored due to no_log))
  4630.  
  4631. TASK [git_clone : Remove read-only ssh key] ************************************
  4632. skipping: [localhost] => (item=(censored due to no_log))
  4633.  
  4634. TASK [git_clone : Run git clean after checking out code] ***********************
  4635. changed: [localhost] => (item=(censored due to no_log))
  4636.  
  4637. TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
  4638. ok: [localhost] => (item=)
  4639. changed: [localhost] => (item=venvs)
  4640. changed: [localhost] => (item=data)
  4641. changed: [localhost] => (item=staticfiles)
  4642.  
  4643. TASK [edx_service : Create /edx/var/app dir] ***********************************
  4644. changed: [localhost]
  4645.  
  4646. TASK [edx_service : Create /edx/etc dir] ***************************************
  4647. changed: [localhost]
  4648.  
  4649. TASK [edx_service : Create edx_service log dir] ********************************
  4650. changed: [localhost] => (item=/edx/var/log/xqueue)
  4651.  
  4652. TASK [edx_service : Write out app config file] *********************************
  4653.  [WARNING]: when statements should not include jinja2 templating delimiters
  4654. such as {{ }} or {% %}. Found: {{ XQUEUE_CONFIG }}
  4655. changed: [localhost]
  4656.  
  4657. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  4658. ok: [localhost] => (item=[u'build-essential', u's3cmd', u'libmysqlclient-dev', u'ntp', u'python-mysqldb'])
  4659.  
  4660. TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
  4661.  
  4662. TASK [edx_service : Get instance information] **********************************
  4663. ok: [localhost]
  4664.  
  4665. TASK [edx_service : Tag instance] **********************************************
  4666. skipping: [localhost] => (item=[{u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/xqueue/xqueue', u'SSH_KEY': None, u'REPO': u'xqueue.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, {'_ansible_parsed': True, u'changed': True, '_ansible_no_log': True, '_ansible_item_result': True, 'item': {u'DOMAIN': u'github.com', u'PROTOCOL': u'https', u'DESTINATION': u'/edx/app/xqueue/xqueue', u'SSH_KEY': None, u'REPO': u'xqueue.git', u'VERSION': u'open-release/ironwood.master', u'PATH': u'edx'}, u'invocation': {u'module_args': {u'executable': None, u'force': False, u'refspec': None, u'reference': None, u'dest': u'/edx/app/xqueue/xqueue', u'verify_commit': False, u'clone': True, u'umask': None, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/xqueue.git', u'track_submodules': False, u'depth': 1, u'version': u'open-release/ironwood.master', u'bare': False, u'recursive': True, u'remote': u'origin', u'key_file': None, u'accept_hostkey': False}}, u'after': u'e1c364d26cd458f30967a21fee7dcc30d6110d01', u'before': None}])
  4667.  
  4668. TASK [xqueue : write devstack script] ******************************************
  4669. skipping: [localhost]
  4670.  
  4671. TASK [xqueue : Writing supervisor scripts - xqueue, xqueue consumer] ***********
  4672. changed: [localhost] => (item=xqueue)
  4673. changed: [localhost] => (item=xqueue_consumer)
  4674.  
  4675. TASK [xqueue : Enabling supervisor scripts - xqueue, xqueue consumer] **********
  4676. changed: [localhost] => (item=xqueue)
  4677. changed: [localhost] => (item=xqueue_consumer)
  4678.  
  4679. TASK [xqueue : add gunicorn configuration file] ********************************
  4680. changed: [localhost]
  4681.  
  4682. TASK [xqueue : setup the app env file] *****************************************
  4683. changed: [localhost]
  4684.  
  4685. TASK [xqueue : Install python requirements] ************************************
  4686. changed: [localhost]
  4687.  
  4688. TASK [xqueue : Install python openstack requirements] **************************
  4689. skipping: [localhost]
  4690.  
  4691. TASK [xqueue : Migrate] ********************************************************
  4692. changed: [localhost]
  4693.  
  4694. TASK [xqueue : Create users] ***************************************************
  4695. changed: [localhost]
  4696.  
  4697. TASK [xqueue : Update supervisor configuration] ********************************
  4698. changed: [localhost]
  4699.  
  4700. TASK [xqueue : Ensure xqueue, consumer is running] *****************************
  4701. ok: [localhost] => (item=xqueue)
  4702. ok: [localhost] => (item=xqueue_consumer)
  4703.  
  4704. TASK [xqueue : Create a symlink for venv commands] *****************************
  4705. changed: [localhost] => (item=python)
  4706. changed: [localhost] => (item=pip)
  4707.  
  4708. TASK [xqueue : Create symlinks for repo commands] ******************************
  4709. changed: [localhost] => (item=manage.py)
  4710.  
  4711. TASK [xqueue : Restart xqueue] *************************************************
  4712. changed: [localhost] => (item=xqueue)
  4713. changed: [localhost] => (item=xqueue_consumer)
  4714.  
  4715. TASK [security : Install security packages] ************************************
  4716. skipping: [localhost] => (item=[])
  4717.  
  4718. TASK [security : Update all system packages] ***********************************
  4719. skipping: [localhost]
  4720.  
  4721. TASK [security : Configure periodic unattended-upgrades] ***********************
  4722. skipping: [localhost]
  4723.  
  4724. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4725. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4726. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4727. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4728.  
  4729. TASK [security : Disable unattended-upgrades] **********************************
  4730. skipping: [localhost]
  4731.  
  4732. TASK [security : Only unattended-upgrade from security repo] *******************
  4733. skipping: [localhost]
  4734.  
  4735. TASK [security : Disable security only updates on unattended-upgrades] *********
  4736. skipping: [localhost]
  4737.  
  4738. TASK [security : Take security updates during ansible runs] ********************
  4739. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4740. skipping: [localhost] => (item=unattended-upgrade)
  4741.  
  4742. TASK [security : Install security packages] ************************************
  4743. skipping: [localhost] => (item=[])
  4744.  
  4745. TASK [security : Enable automatic start for update service] ********************
  4746. skipping: [localhost]
  4747.  
  4748. TASK [security : Update all system packages] ***********************************
  4749. skipping: [localhost]
  4750.  
  4751. TASK [security : Configure security auto-updates] ******************************
  4752. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4753. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4754.  
  4755. TASK [security : Take security updates during ansible runs] ********************
  4756. skipping: [localhost] => (item=yum check-update --security)
  4757. skipping: [localhost] => (item=yum update --security -y)
  4758.  
  4759. TASK [security : Install security packages] ************************************
  4760. skipping: [localhost] => (item=[])
  4761.  
  4762. TASK [security : Update all system packages] ***********************************
  4763. skipping: [localhost]
  4764.  
  4765. TASK [security : Configure periodic unattended-upgrades] ***********************
  4766. skipping: [localhost]
  4767.  
  4768. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4769. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4770. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4771. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4772.  
  4773. TASK [security : Disable unattended-upgrades] **********************************
  4774. skipping: [localhost]
  4775.  
  4776. TASK [security : Only unattended-upgrade from security repo] *******************
  4777. skipping: [localhost]
  4778.  
  4779. TASK [security : Disable security only updates on unattended-upgrades] *********
  4780. skipping: [localhost]
  4781.  
  4782. TASK [security : Take security updates during ansible runs] ********************
  4783. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4784. skipping: [localhost] => (item=unattended-upgrade)
  4785.  
  4786. TASK [security : Install security packages] ************************************
  4787. skipping: [localhost] => (item=[])
  4788.  
  4789. TASK [security : Enable automatic start for update service] ********************
  4790. skipping: [localhost]
  4791.  
  4792. TASK [security : Update all system packages] ***********************************
  4793. skipping: [localhost]
  4794.  
  4795. TASK [security : Configure security auto-updates] ******************************
  4796. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4797. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4798.  
  4799. TASK [security : Take security updates during ansible runs] ********************
  4800. skipping: [localhost] => (item=yum check-update --security)
  4801. skipping: [localhost] => (item=yum update --security -y)
  4802.  
  4803. TASK [certs : Create application user] *****************************************
  4804. changed: [localhost]
  4805.  
  4806. TASK [certs : Create certs app dirs] *******************************************
  4807. changed: [localhost] => (item=/edx/app/certs)
  4808. changed: [localhost] => (item=/edx/app/certs/.ssh)
  4809. changed: [localhost] => (item=/edx/app/certs/venvs)
  4810. changed: [localhost] => (item=/edx/var/certs)
  4811.  
  4812. TASK [certs : Create certs web root] *******************************************
  4813. changed: [localhost]
  4814.  
  4815. TASK [certs : Create certs gpg dir] ********************************************
  4816. changed: [localhost]
  4817.  
  4818. TASK [certs : Copy the private gpg signing key] ********************************
  4819. changed: [localhost]
  4820.  
  4821. TASK [certs : Copy the pgp trust export] ***************************************
  4822. changed: [localhost]
  4823.  
  4824. TASK [certs : Load the gpg key] ************************************************
  4825. changed: [localhost]
  4826.  
  4827. TASK [certs : Import the trust export] *****************************************
  4828. changed: [localhost]
  4829.  
  4830. TASK [certs : Create certificate application config and auth file] *************
  4831. changed: [localhost] => (item={u'dest': u'env.json', u'src': u'certs.env.json.j2'})
  4832. changed: [localhost] => (item={u'dest': u'auth.json', u'src': u'certs.auth.json.j2'})
  4833.  
  4834. TASK [certs : Copy the boto file] **********************************************
  4835. changed: [localhost]
  4836.  
  4837. TASK [certs : Writing supervisor script for certificates] **********************
  4838. changed: [localhost]
  4839.  
  4840. TASK [certs : Enable supervisor script for certificates] ***********************
  4841. changed: [localhost]
  4842.  
  4843. TASK [certs : Create ssh script for git] ***************************************
  4844. changed: [localhost]
  4845.  
  4846. TASK [certs : Install read-only ssh key for the certs repo] ********************
  4847. skipping: [localhost]
  4848.  
  4849. TASK [certs : Checkout certificates repo into /edx/app/certs/certificates] *****
  4850. skipping: [localhost]
  4851.  
  4852. TASK [certs : Checkout certificates repo into /edx/app/certs/certificates] *****
  4853. changed: [localhost]
  4854.  
  4855. TASK [certs : Remove read-only ssh key for the certs repo] *********************
  4856. skipping: [localhost]
  4857.  
  4858. TASK [certs : Install python requirements] *************************************
  4859. changed: [localhost]
  4860.  
  4861. TASK [certs : Update supervisor configuration] *********************************
  4862. changed: [localhost]
  4863.  
  4864. TASK [certs : Ensure certs has started] ****************************************
  4865. ok: [localhost]
  4866.  
  4867. TASK [certs : Create a symlink for venv python] ********************************
  4868. changed: [localhost] => (item=python)
  4869. changed: [localhost] => (item=pip)
  4870.  
  4871. TASK [certs : Get instance information] ****************************************
  4872. skipping: [localhost]
  4873.  
  4874. TASK [certs : Tag instance] ****************************************************
  4875. skipping: [localhost]
  4876.  
  4877. TASK [certs : Restart certs] ***************************************************
  4878. changed: [localhost]
  4879.  
  4880. TASK [edx_ansible : Create application user] ***********************************
  4881. ok: [localhost]
  4882.  
  4883. TASK [edx_ansible : Create edx_ansible app and venv dir] ***********************
  4884. ok: [localhost] => (item=/edx/app/edx_ansible)
  4885. ok: [localhost] => (item=/edx/var/edx_ansible)
  4886. ok: [localhost] => (item=/edx/app/edx_ansible/venvs)
  4887.  
  4888. TASK [edx_ansible : Install a bunch of system packages on which edx_ansible relies] ***
  4889. ok: [localhost] => (item=[u'python-pip', u'python-apt', u'libmysqlclient-dev', u'git-core', u'build-essential', u'python-dev', u'libxml2-dev', u'libxslt1-dev', u'curl', u'python-yaml', u'python-mysqldb'])
  4890.  
  4891. TASK [edx_ansible : Git checkout edx_ansible repo into edx_ansible_code_dir] ***
  4892. changed: [localhost]
  4893.  
  4894. TASK [edx_ansible : Install edx_ansible venv requirements] *********************
  4895. changed: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
  4896. ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
  4897.  
  4898. TASK [edx_ansible : Create update script] **************************************
  4899. changed: [localhost]
  4900.  
  4901. TASK [edx_ansible : Create symlinks for update script] *************************
  4902. ok: [localhost]
  4903.  
  4904. TASK [edx_ansible : Create utility scripts] ************************************
  4905. ok: [localhost] => (item={u'dest': u'show-repo-heads', u'src': u'show-repo-heads.j2'})
  4906. ok: [localhost] => (item={u'dest': u'pre-box', u'src': u'pre-box.j2'})
  4907.  
  4908. TASK [edx_ansible : Create symlinks for utility scripts] ***********************
  4909. ok: [localhost] => (item=show-repo-heads)
  4910.  
  4911. TASK [edx_ansible : Create a symlink for ansible-playbook] *********************
  4912. ok: [localhost]
  4913.  
  4914. TASK [edx_ansible : Create a symlink for the playbooks dir] ********************
  4915. ok: [localhost]
  4916.  
  4917. TASK [security : Install security packages] ************************************
  4918. skipping: [localhost] => (item=[])
  4919.  
  4920. TASK [security : Update all system packages] ***********************************
  4921. skipping: [localhost]
  4922.  
  4923. TASK [security : Configure periodic unattended-upgrades] ***********************
  4924. skipping: [localhost]
  4925.  
  4926. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4927. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4928. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4929. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4930.  
  4931. TASK [security : Disable unattended-upgrades] **********************************
  4932. skipping: [localhost]
  4933.  
  4934. TASK [security : Only unattended-upgrade from security repo] *******************
  4935. skipping: [localhost]
  4936.  
  4937. TASK [security : Disable security only updates on unattended-upgrades] *********
  4938. skipping: [localhost]
  4939.  
  4940. TASK [security : Take security updates during ansible runs] ********************
  4941. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  4942. skipping: [localhost] => (item=unattended-upgrade)
  4943.  
  4944. TASK [security : Install security packages] ************************************
  4945. skipping: [localhost] => (item=[])
  4946.  
  4947. TASK [security : Enable automatic start for update service] ********************
  4948. skipping: [localhost]
  4949.  
  4950. TASK [security : Update all system packages] ***********************************
  4951. skipping: [localhost]
  4952.  
  4953. TASK [security : Configure security auto-updates] ******************************
  4954. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  4955. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  4956.  
  4957. TASK [security : Take security updates during ansible runs] ********************
  4958. skipping: [localhost] => (item=yum check-update --security)
  4959. skipping: [localhost] => (item=yum update --security -y)
  4960.  
  4961. TASK [datadog : Install debian needed pkgs] ************************************
  4962. skipping: [localhost] => (item=[])
  4963.  
  4964. TASK [datadog : Add apt key for datadog] ***************************************
  4965. skipping: [localhost]
  4966.  
  4967. TASK [datadog : Install apt repository for datadog] ****************************
  4968. skipping: [localhost]
  4969.  
  4970. TASK [datadog : Install datadog agent] *****************************************
  4971. skipping: [localhost]
  4972.  
  4973. TASK [datadog : Bootstrap config] **********************************************
  4974. skipping: [localhost]
  4975.  
  4976. TASK [datadog : Update api-key] ************************************************
  4977. skipping: [localhost]
  4978.  
  4979. TASK [datadog : Ensure started and enabled] ************************************
  4980. skipping: [localhost]
  4981.  
  4982. TASK [security : Install security packages] ************************************
  4983. skipping: [localhost] => (item=[])
  4984.  
  4985. TASK [security : Update all system packages] ***********************************
  4986. skipping: [localhost]
  4987.  
  4988. TASK [security : Configure periodic unattended-upgrades] ***********************
  4989. skipping: [localhost]
  4990.  
  4991. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  4992. skipping: [localhost] => (item=systemctl disable apt-daily.service)
  4993. skipping: [localhost] => (item=systemctl disable apt-daily.timer)
  4994. skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
  4995.  
  4996. TASK [security : Disable unattended-upgrades] **********************************
  4997. skipping: [localhost]
  4998.  
  4999. TASK [security : Only unattended-upgrade from security repo] *******************
  5000. skipping: [localhost]
  5001.  
  5002. TASK [security : Disable security only updates on unattended-upgrades] *********
  5003. skipping: [localhost]
  5004.  
  5005. TASK [security : Take security updates during ansible runs] ********************
  5006. skipping: [localhost] => (item=unattended-upgrade --dry-run)
  5007. skipping: [localhost] => (item=unattended-upgrade)
  5008.  
  5009. TASK [security : Install security packages] ************************************
  5010. skipping: [localhost] => (item=[])
  5011.  
  5012. TASK [security : Enable automatic start for update service] ********************
  5013. skipping: [localhost]
  5014.  
  5015. TASK [security : Update all system packages] ***********************************
  5016. skipping: [localhost]
  5017.  
  5018. TASK [security : Configure security auto-updates] ******************************
  5019. skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  5020. skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  5021.  
  5022. TASK [security : Take security updates during ansible runs] ********************
  5023. skipping: [localhost] => (item=yum check-update --security)
  5024. skipping: [localhost] => (item=yum update --security -y)
  5025.  
  5026. TASK [splunkforwarder : Install splunkforwarder specific system packages] ******
  5027. skipping: [localhost] => (item=[])
  5028.  
  5029. TASK [splunkforwarder : Download the splunk deb] *******************************
  5030. skipping: [localhost]
  5031.  
  5032. TASK [splunkforwarder : Install splunk forwarder deb] **************************
  5033. skipping: [localhost]
  5034.  
  5035. TASK [splunkforwarder : Download the splunk rpm] *******************************
  5036. skipping: [localhost]
  5037.  
  5038. TASK [splunkforwarder : Install splunk forwarder rpm] **************************
  5039. skipping: [localhost]
  5040.  
  5041. TASK [splunkforwarder : Create splunk user] ************************************
  5042. skipping: [localhost]
  5043.  
  5044. TASK [splunkforwarder : Start splunk manually] *********************************
  5045. skipping: [localhost]
  5046.  
  5047. TASK [splunkforwarder : Stop splunk manually] **********************************
  5048. skipping: [localhost]
  5049.  
  5050. TASK [splunkforwarder : Create boot script] ************************************
  5051. skipping: [localhost]
  5052.  
  5053. TASK [splunkforwarder : Ensure splunk forder permissions] **********************
  5054. skipping: [localhost]
  5055.  
  5056. TASK [splunkforwarder : Update admin pasword] **********************************
  5057. skipping: [localhost]
  5058.  
  5059. TASK [splunkforwarder : Add chkconfig to init script] **************************
  5060. skipping: [localhost]
  5061.  
  5062. TASK [splunkforwarder : Make sure necessary dirs exist] ************************
  5063. skipping: [localhost] => (item=/opt/splunkforwarder//etc/auth/edxcerts)
  5064. skipping: [localhost] => (item=/opt/splunkforwarder/etc/system/local)
  5065.  
  5066. TASK [splunkforwarder : Write SSL certs to disk] *******************************
  5067. skipping: [localhost] => (item={u'default': True, u'target_group': u'default_output_server', u'server': u'localhost:9997'})
  5068.  
  5069. TASK [splunkforwarder : Write root CA to disk] *********************************
  5070. skipping: [localhost] => (item={u'default': True, u'target_group': u'default_output_server', u'server': u'localhost:9997'})
  5071.  
  5072. TASK [splunkforwarder : Create inputs and outputs configuration] ***************
  5073. skipping: [localhost] => (item=inputs)
  5074. skipping: [localhost] => (item=outputs)
  5075.  
  5076. TASK [postfix_queue : install postfix] *****************************************
  5077. skipping: [localhost]
  5078.  
  5079. TASK [postfix_queue : Backup original postfix main.cf] *************************
  5080. skipping: [localhost]
  5081.  
  5082. TASK [postfix_queue : Configure postfix] ***************************************
  5083. skipping: [localhost] => (item=smtp_sasl_auth_enable = yes)
  5084. skipping: [localhost] => (item=smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd)
  5085. skipping: [localhost] => (item=smtp_sasl_mechanism_filter = )
  5086. skipping: [localhost] => (item=smtp_sasl_security_options = )
  5087. skipping: [localhost] => (item=relayhost = :587)
  5088. skipping: [localhost] => (item=smtp_tls_security_level = encrypt)
  5089. skipping: [localhost] => (item=smtp_tls_mandatory_ciphers = high)
  5090. skipping: [localhost] => (item=sender_canonical_maps = hash:/etc/postfix/sender_canonical_maps)
  5091. skipping: [localhost] => (item=header_checks = regexp:/etc/postfix/header_checks)
  5092.  
  5093. TASK [postfix_queue : Explain postfix authentication] **************************
  5094. skipping: [localhost]
  5095.  
  5096. TASK [postfix_queue : Set permissions of password file] ************************
  5097. skipping: [localhost]
  5098.  
  5099. TASK [postfix_queue : Configure postfix authentication] ************************
  5100. skipping: [localhost]
  5101.  
  5102. TASK [postfix_queue : Hash postfix SASL password] ******************************
  5103. skipping: [localhost]
  5104.  
  5105. TASK [postfix_queue : Configure postfix sender canonical maps] *****************
  5106. skipping: [localhost]
  5107.  
  5108. TASK [postfix_queue : Hash postfix sender canonical maps file] *****************
  5109. skipping: [localhost]
  5110.  
  5111. TASK [postfix_queue : Configure postfix header checks] *************************
  5112. skipping: [localhost]
  5113.  
  5114. TASK [postfix_queue : Restart Postfix] *****************************************
  5115. skipping: [localhost]
  5116.  
  5117. TASK [datadog-uninstall : Remove apt key for datadog] **************************
  5118. ok: [localhost]
  5119.  
  5120. TASK [datadog-uninstall : Uninstall apt repository for datadog] ****************
  5121. ok: [localhost]
  5122.  
  5123. TASK [datadog-uninstall : Uninstall datadog agent] *****************************
  5124. ok: [localhost]
  5125.  
  5126. RUNNING HANDLER [nginx : reload nginx] *****************************************
  5127. changed: [localhost]
  5128.  
  5129. RUNNING HANDLER [forum : restart the forum service] ****************************
  5130. changed: [localhost]
  5131.  
  5132. PLAY RECAP *********************************************************************
  5133. localhost                  : ok=557  changed=228  unreachable=0    failed=0  
  5134.  
  5135. Installation finished at 2020-05-01 16:30:56
Advertisement
Add Comment
Please, Sign In to add comment