· 6 years ago · May 02, 2020, 03:00 AM
1Capturing output to logs/install-20200501-155220.log
2Installation started at 2020-05-01 15:52:20
3Installing release 'open-release/ironwood.master'
4Reading package lists...
5Building dependency tree...
6Reading state information...
7python-software-properties is already the newest version (0.96.20.9).
8The following package was automatically installed and is no longer required:
9 grub-pc-bin
10Use 'sudo apt autoremove' to remove it.
110 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
12gpg: keyring `/tmp/tmp5ekezmzv/secring.gpg' created
13gpg: keyring `/tmp/tmp5ekezmzv/pubring.gpg' created
14gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
15gpg: /tmp/tmp5ekezmzv/trustdb.gpg: trustdb created
16gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
17gpg: Total number processed: 1
18gpg: imported: 1 (RSA: 1)
19OK
20Hit:1 http://azure.archive.ubuntu.com/ubuntu xenial InRelease
21Get:2 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
22Get:3 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
23Ign:4 http://packages.elastic.co/elasticsearch/1.5/debian stable InRelease
24Ign:5 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
25Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
26Hit:7 http://packages.elastic.co/elasticsearch/1.5/debian stable Release
27Get:8 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release [3,462 B]
28Get:9 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg [801 B]
29Hit:10 http://ppa.edx.org xenial InRelease
30Hit:11 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease
31Hit:12 http://nginx.org/packages/ubuntu xenial InRelease
32Hit:13 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
33Ign:9 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg
34Hit:15 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2/multiverse amd64 Packages
35Hit:16 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
36Hit:17 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
37Hit:18 https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu xenial InRelease
38Fetched 329 kB in 1s (318 kB/s)
39Reading package lists...
40W: http://packages.elastic.co/elasticsearch/1.5/debian/dists/stable/Release.gpg: Signature by key 46095ACC8548582C1A2699A9D27D666CD88E42B4 uses weak digest algorithm (SHA1)
41W: 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
42W: The repository 'http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release' is not signed.
43Reading package lists...
44Building dependency tree...
45Reading state information...
46Calculating upgrade...
47The following package was automatically installed and is no longer required:
48 grub-pc-bin
49Use 'sudo apt autoremove' to remove it.
50The following packages have been kept back:
51 elasticsearch git git-man rabbitmq-server
52The following packages will be upgraded:
53 mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell
54 mongodb-org-tools
555 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
56Need to get 51.8 MB of archives.
57After this operation, 127 kB of additional disk space will be used.
58WARNING: The following packages cannot be authenticated!
59 mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools
60 mongodb-org
61E: There were unauthenticated packages and -y was used without --allow-unauthenticated
62Reading package lists...
63Building dependency tree...
64Reading state information...
65build-essential is already the newest version (12.1ubuntu2).
66g++ is already the newest version (4:5.3.1-1ubuntu1).
67gcc is already the newest version (4:5.3.1-1ubuntu1).
68libxmlsec1-dev is already the newest version (1.2.20-2ubuntu4).
69swig is already the newest version (3.0.8-0ubuntu3).
70curl is already the newest version (7.47.0-1ubuntu2.14).
71libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2.4).
72libmysqlclient-dev is already the newest version (5.7.29-0ubuntu0.16.04.1).
73libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.7).
74libxslt1-dev is already the newest version (1.1.28-2.1ubuntu0.3).
75python-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.8).
76python-dev is already the newest version (2.7.12-1~16.04).
77software-properties-common is already the newest version (0.96.20.9).
78python-pip is already the newest version (8.1.1-2ubuntu0.4).
79git-core is already the newest version (1:2.14.2-1~ppa0~ubuntu16.04.1).
80The following package was automatically installed and is no longer required:
81 grub-pc-bin
82Use 'sudo apt autoremove' to remove it.
830 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
84Cache entry deserialization failed, entry ignored
85Requirement already up-to-date: pip==9.0.3 in /usr/local/lib/python2.7/dist-packages
86You are using pip version 9.0.3, however version 20.1 is available.
87You should consider upgrading via the 'pip install --upgrade pip' command.
88Cache entry deserialization failed, entry ignored
89Cache entry deserialization failed, entry ignored
90Requirement already up-to-date: setuptools==39.0.1 in /usr/local/lib/python2.7/dist-packages
91You are using pip version 9.0.3, however version 20.1 is available.
92You should consider upgrading via the 'pip install --upgrade pip' command.
93Requirement already up-to-date: virtualenv==15.2.0 in /usr/local/lib/python2.7/dist-packages
94You are using pip version 9.0.3, however version 20.1 is available.
95You should consider upgrading via the 'pip install --upgrade pip' command.
96fatal: destination path 'configuration' already exists and is not an empty directory.
97Already on 'open-release/ironwood.master'
98Your branch is up-to-date with 'origin/open-release/ironwood.master'.
99From https://github.com/edx/configuration
100 da97706..f0a58d2 master -> origin/master
101Already up-to-date.
102Requirement already satisfied: ansible==2.3.1.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 7))
103Requirement already satisfied: asn1crypto==0.24.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 8))
104Requirement already satisfied: awscli==1.15.19 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 9))
105Requirement already satisfied: bcrypt==3.1.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 10))
106Requirement already satisfied: boto3==1.7.14 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 11))
107Requirement already satisfied: boto==2.48.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 12))
108Requirement already satisfied: botocore==1.10.19 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 13))
109Requirement already satisfied: certifi==2018.4.16 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 14))
110Requirement already satisfied: cffi==1.11.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 15))
111Requirement already satisfied: chardet==3.0.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 16))
112Requirement already satisfied: colorama==0.3.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 17))
113Requirement already satisfied: cryptography==2.2.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 18))
114Requirement already satisfied: datadog==0.8.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 19))
115Requirement already satisfied: decorator==4.3.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 20))
116Requirement already satisfied: docopt==0.6.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 21))
117Requirement already satisfied: docutils==0.14 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 22))
118Requirement already satisfied: ecdsa==0.13 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 23))
119Requirement already satisfied: enum34==1.1.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 24))
120Requirement already satisfied: futures==3.2.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 25))
121Requirement already satisfied: idna==2.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 26))
122Requirement already satisfied: ipaddress==1.0.22 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 27))
123Requirement already satisfied: jinja2==2.8 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 28))
124Requirement already satisfied: jmespath==0.9.3 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 29))
125Requirement already satisfied: markupsafe==1.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 30))
126Requirement already satisfied: mysql-python==1.2.5 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 31))
127Requirement already satisfied: networkx==1.11 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 32))
128Requirement already satisfied: paramiko==2.4.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 33))
129Requirement already satisfied: pathlib2==2.3.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 34))
130Requirement already satisfied: prettytable==0.7.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 35))
131Requirement already satisfied: pyasn1==0.4.3 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 36))
132Requirement already satisfied: pycparser==2.18 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 37))
133Requirement already satisfied: pycrypto==2.6.1 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 38))
134Requirement already satisfied: pymongo==3.2.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 39))
135Requirement already satisfied: pynacl==1.2.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 40))
136Requirement already satisfied: python-dateutil==2.7.3 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 41))
137Requirement already satisfied: python-simple-hipchat==0.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 42))
138Requirement already satisfied: pyyaml==3.12 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 43))
139Requirement already satisfied: requests==2.18.4 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 44))
140Requirement already satisfied: rsa==3.4.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 45))
141Requirement already satisfied: s3transfer==0.1.13 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 46))
142Requirement already satisfied: scandir==1.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 47))
143Requirement already satisfied: simplejson==3.16.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 48))
144Requirement already satisfied: six==1.11.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 49))
145Requirement already satisfied: urllib3==1.22 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 50))
146Requirement already satisfied: wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 51))
147Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==2.3.1.0->-r requirements.txt (line 7))
148You are using pip version 9.0.3, however version 20.1 is available.
149You 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
1523, 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
1553, 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
1583, 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
1613, found a duplicate dict key (MONGOHQ_URL). Using last defined value only.
162
163PLAY [Bootstrap instance(s)] ***************************************************
164
165TASK [python : Update apt-get] *************************************************
166changed: [localhost]
167
168TASK [python : Install packages] ***********************************************
169changed: [localhost] => (item=python-minimal)
170
171PLAY [Configure instance(s)] ***************************************************
172
173TASK [Gathering Facts] *********************************************************
174ok: [localhost]
175
176TASK [swapfile : Write swapfile] ***********************************************
177ok: [localhost]
178
179TASK [swapfile : Set swapfile permissions] *************************************
180ok: [localhost]
181
182TASK [swapfile : Create swapfile] **********************************************
183skipping: [localhost]
184
185TASK [swapfile : Enable swapfile] **********************************************
186skipping: [localhost]
187
188TASK [swapfile : Add swapfile to /etc/fstab] ***********************************
189ok: [localhost]
190
191TASK [swapfile : Configure vm.swappiness] **************************************
192skipping: [localhost]
193
194TASK [swapfile : Configure vm.vfs_cache_pressure] ******************************
195skipping: [localhost]
196
197TASK [server_utils : Check for expired edx key] ********************************
198skipping: [localhost]
199
200TASK [server_utils : remove expired edx key] ***********************************
201skipping: [localhost]
202
203TASK [server_utils : Install ubuntu system packages] ***************************
204skipping: [localhost] => (item=[])
205
206TASK [user : debug] ************************************************************
207skipping: [localhost]
208
209TASK [user : Create the edxadmin group] ****************************************
210skipping: [localhost]
211
212TASK [user : Ensure sudoers.d is read] *****************************************
213skipping: [localhost]
214
215TASK [user : Grant full sudo access to the edxadmin group] *********************
216skipping: [localhost]
217
218TASK [user : Create the users] *************************************************
219
220TASK [user : Assign admin role to admin users] *********************************
221
222TASK [user : Check the ssh key(s) for user(s) over github] *********************
223
224TASK [user : Print warning if github user(s) missing ssh key] ******************
225
226TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
227
228TASK [user : Get github key(s) and update the authorized_keys file] ************
229
230TASK [user : Create bashrc file for normal users] ******************************
231
232TASK [user : Create .profile for all users] ************************************
233
234TASK [user : Modify shell for restricted users] ********************************
235
236TASK [user : Create bashrc file for restricted users] **************************
237
238TASK [user : Create sudoers file from template] ********************************
239skipping: [localhost]
240
241TASK [user : Change home directory ownership to root for restricted users] *****
242
243TASK [user : Create ~/bin directory] *******************************************
244
245TASK [user : Create allowed command links] *************************************
246
247TASK [security : Install security packages] ************************************
248skipping: [localhost] => (item=[])
249
250TASK [security : Update all system packages] ***********************************
251skipping: [localhost]
252
253TASK [security : Configure periodic unattended-upgrades] ***********************
254skipping: [localhost]
255
256TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
257skipping: [localhost] => (item=systemctl disable apt-daily.service)
258skipping: [localhost] => (item=systemctl disable apt-daily.timer)
259skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
260
261TASK [security : Disable unattended-upgrades] **********************************
262skipping: [localhost]
263
264TASK [security : Only unattended-upgrade from security repo] *******************
265skipping: [localhost]
266
267TASK [security : Disable security only updates on unattended-upgrades] *********
268skipping: [localhost]
269
270TASK [security : Take security updates during ansible runs] ********************
271skipping: [localhost] => (item=unattended-upgrade --dry-run)
272skipping: [localhost] => (item=unattended-upgrade)
273
274TASK [security : Install security packages] ************************************
275skipping: [localhost] => (item=[])
276
277TASK [security : Enable automatic start for update service] ********************
278skipping: [localhost]
279
280TASK [security : Update all system packages] ***********************************
281skipping: [localhost]
282
283TASK [security : Configure security auto-updates] ******************************
284skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
285skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
286
287TASK [security : Take security updates during ansible runs] ********************
288skipping: [localhost] => (item=yum check-update --security)
289skipping: [localhost] => (item=yum update --security -y)
290
291TASK [common : Check Configuration Sources] ************************************
292
293TASK [common : stat] ***********************************************************
294skipping: [localhost]
295
296TASK [common : Update CA Certificates] *****************************************
297skipping: [localhost]
298
299TASK [common : stat] ***********************************************************
300skipping: [localhost]
301
302TASK [common : Update CA Trust] ************************************************
303skipping: [localhost]
304
305TASK [common : Add common_users] ***********************************************
306skipping: [localhost] => (item=syslog)
307skipping: [localhost] => (item=www-data)
308
309TASK [common : check if instance is vagrant] ***********************************
310skipping: [localhost]
311
312TASK [common : Add git apt repository] *****************************************
313skipping: [localhost]
314
315TASK [common : Add edX PPA apt key] ********************************************
316skipping: [localhost]
317
318TASK [common : Update expired apt keys] ****************************************
319skipping: [localhost]
320
321TASK [common : Add custom edX PPA] *********************************************
322skipping: [localhost]
323
324TASK [common : Install role-independent useful system packages] ****************
325skipping: [localhost] => (item=[])
326
327TASK [common : Install role-independent useful system packages from custom PPA] ***
328skipping: [localhost] => (item=[])
329
330TASK [common : Install role-independent useful system packages] ****************
331skipping: [localhost] => (item=[])
332
333TASK [common : Create common directories] **************************************
334skipping: [localhost] => (item={u'path': u'/edx/var'})
335skipping: [localhost] => (item={u'path': u'/edx/app'})
336skipping: [localhost] => (item={u'path': u'/edx/bin'})
337skipping: [localhost] => (item={u'path': u'/edx/etc'})
338skipping: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
339skipping: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
340skipping: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
341
342TASK [common : upload sudo config for key forwarding as root] ******************
343skipping: [localhost]
344
345TASK [common : pip install virtualenv] *****************************************
346skipping: [localhost] => (item=pip==9.0.3)
347skipping: [localhost] => (item=setuptools==39.0.1)
348skipping: [localhost] => (item=virtualenv==15.2.0)
349skipping: [localhost] => (item=virtualenvwrapper==4.8.2)
350
351TASK [common : update /etc/hosts] **********************************************
352skipping: [localhost]
353
354TASK [common : update /etc/hostname] *******************************************
355skipping: [localhost]
356
357TASK [common : run hostname] ***************************************************
358skipping: [localhost]
359
360TASK [common : Copy the templates to their respestive destination] *************
361skipping: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
362skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
363skipping: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
364skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
365
366TASK [common : restart rsyslogd] ***********************************************
367skipping: [localhost]
368
369TASK [common : Add ntp alert script] *******************************************
370skipping: [localhost]
371
372TASK [common : Remove MOTD update checker] *************************************
373skipping: [localhost]
374
375TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
376skipping: [localhost]
377
378TASK [common : install logrotate configuration] ********************************
379skipping: [localhost]
380
381TASK [vhost : Create all service directories] **********************************
382skipping: [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'}})
383skipping: [localhost] => (item={'key': u'data', 'value': {u'owner': u'root', u'path': u'/edx/var/aws', u'group': u'root', u'mode': u'0700'}})
384skipping: [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
386TASK [vhost : Add script for syncing logs on exit] *****************************
387skipping: [localhost]
388
389TASK [vhost : Force logrotate on supervisor stop] ******************************
390skipping: [localhost]
391
392TASK [vhost : Add systemd service for syncing logs on exit] ********************
393skipping: [localhost]
394
395TASK [vhost : Enable systemd service for syncing logs on exit] *****************
396skipping: [localhost]
397
398TASK [vhost : Update /etc/dhcp/dhclient.conf] **********************************
399skipping: [localhost]
400
401TASK [vhost : Rerun dhclient to apply template] ********************************
402skipping: [localhost]
403
404TASK [vhost : Copy the MOTD template in place] *********************************
405skipping: [localhost]
406
407TASK [vhost : Add motd.tail support for 16.04] *********************************
408skipping: [localhost]
409
410TASK [vhost : Update sshd logging to VERBOSE] **********************************
411skipping: [localhost]
412
413TASK [vhost : Update sshd logging to VERBOSE] **********************************
414skipping: [localhost]
415
416TASK [vhost : Restart ssh] *****************************************************
417skipping: [localhost]
418
419TASK [vhost : Restart ssh] *****************************************************
420skipping: [localhost]
421
422TASK [aws : Gather ec2 facts for use in other roles] ***************************
423skipping: [localhost]
424
425TASK [aws : Set the MTU to 1500 temporarily] ***********************************
426skipping: [localhost]
427
428TASK [aws : Set the MTU to 1500 permanently] ***********************************
429skipping: [localhost]
430
431TASK [aws : Install system packages] *******************************************
432skipping: [localhost] => (item=[])
433
434TASK [aws : Copy the Python requirements file] *********************************
435skipping: [localhost]
436
437TASK [aws : Install aws python packages] ***************************************
438skipping: [localhost]
439
440TASK [aws : Copy the boto global config file] **********************************
441skipping: [localhost]
442
443TASK [aws : Create s3 log sync script] *****************************************
444skipping: [localhost]
445
446TASK [aws : Create symlink for s3 log sync script] *****************************
447skipping: [localhost]
448
449TASK [aws : Check if files exist so the next task doesn't fail] ****************
450skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
451skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
452skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
453skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
454
455TASK [aws : Update the ssh motd on Ubuntu] *************************************
456skipping: [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})
457skipping: [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})
458skipping: [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})
459skipping: [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
461TASK [server_utils : Check for expired edx key] ********************************
462changed: [localhost]
463
464TASK [server_utils : remove expired edx key] ***********************************
465skipping: [localhost]
466
467TASK [server_utils : Install ubuntu system packages] ***************************
468ok: [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
470TASK [user : debug] ************************************************************
471ok: [localhost] => {
472 "user_info": []
473}
474
475TASK [user : Create the edxadmin group] ****************************************
476ok: [localhost]
477
478TASK [user : Ensure sudoers.d is read] *****************************************
479ok: [localhost]
480
481TASK [user : Grant full sudo access to the edxadmin group] *********************
482ok: [localhost]
483
484TASK [user : Create the users] *************************************************
485
486TASK [user : Assign admin role to admin users] *********************************
487
488TASK [user : Check the ssh key(s) for user(s) over github] *********************
489
490TASK [user : Print warning if github user(s) missing ssh key] ******************
491
492TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
493
494TASK [user : Get github key(s) and update the authorized_keys file] ************
495
496TASK [user : Create bashrc file for normal users] ******************************
497
498TASK [user : Create .profile for all users] ************************************
499
500TASK [user : Modify shell for restricted users] ********************************
501
502TASK [user : Create bashrc file for restricted users] **************************
503
504TASK [user : Create sudoers file from template] ********************************
505ok: [localhost]
506
507TASK [user : Change home directory ownership to root for restricted users] *****
508
509TASK [user : Create ~/bin directory] *******************************************
510
511TASK [user : Create allowed command links] *************************************
512
513TASK [security : Install security packages] ************************************
514skipping: [localhost] => (item=[])
515
516TASK [security : Update all system packages] ***********************************
517skipping: [localhost]
518
519TASK [security : Configure periodic unattended-upgrades] ***********************
520skipping: [localhost]
521
522TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
523skipping: [localhost] => (item=systemctl disable apt-daily.service)
524skipping: [localhost] => (item=systemctl disable apt-daily.timer)
525skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
526
527TASK [security : Disable unattended-upgrades] **********************************
528skipping: [localhost]
529
530TASK [security : Only unattended-upgrade from security repo] *******************
531skipping: [localhost]
532
533TASK [security : Disable security only updates on unattended-upgrades] *********
534skipping: [localhost]
535
536TASK [security : Take security updates during ansible runs] ********************
537skipping: [localhost] => (item=unattended-upgrade --dry-run)
538skipping: [localhost] => (item=unattended-upgrade)
539
540TASK [security : Install security packages] ************************************
541skipping: [localhost] => (item=[])
542
543TASK [security : Enable automatic start for update service] ********************
544skipping: [localhost]
545
546TASK [security : Update all system packages] ***********************************
547skipping: [localhost]
548
549TASK [security : Configure security auto-updates] ******************************
550skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
551skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
552
553TASK [security : Take security updates during ansible runs] ********************
554skipping: [localhost] => (item=yum check-update --security)
555skipping: [localhost] => (item=yum update --security -y)
556
557TASK [common : Check Configuration Sources] ************************************
558
559TASK [common : stat] ***********************************************************
560ok: [localhost]
561
562TASK [common : Update CA Certificates] *****************************************
563changed: [localhost]
564
565TASK [common : stat] ***********************************************************
566ok: [localhost]
567
568TASK [common : Update CA Trust] ************************************************
569skipping: [localhost]
570
571TASK [common : Add common_users] ***********************************************
572ok: [localhost] => (item=www-data)
573ok: [localhost] => (item=syslog)
574
575TASK [common : check if instance is vagrant] ***********************************
576ok: [localhost]
577
578TASK [common : Add git apt repository] *****************************************
579ok: [localhost]
580
581TASK [common : Add edX PPA apt key] ********************************************
582ok: [localhost]
583
584TASK [common : Update expired apt keys] ****************************************
585changed: [localhost]
586
587TASK [common : Add custom edX PPA] *********************************************
588ok: [localhost]
589
590TASK [common : Install role-independent useful system packages] ****************
591ok: [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
593TASK [common : Install role-independent useful system packages from custom PPA] ***
594skipping: [localhost] => (item=[])
595
596TASK [common : Install role-independent useful system packages] ****************
597skipping: [localhost] => (item=[])
598
599TASK [common : Create common directories] **************************************
600ok: [localhost] => (item={u'path': u'/edx/var'})
601ok: [localhost] => (item={u'path': u'/edx/app'})
602ok: [localhost] => (item={u'path': u'/edx/bin'})
603ok: [localhost] => (item={u'path': u'/edx/etc'})
604ok: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
605ok: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
606ok: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
607
608TASK [common : upload sudo config for key forwarding as root] ******************
609ok: [localhost]
610
611TASK [common : pip install virtualenv] *****************************************
612ok: [localhost] => (item=pip==9.0.3)
613ok: [localhost] => (item=setuptools==39.0.1)
614ok: [localhost] => (item=virtualenv==15.2.0)
615ok: [localhost] => (item=virtualenvwrapper==4.8.2)
616
617TASK [common : update /etc/hosts] **********************************************
618skipping: [localhost]
619
620TASK [common : update /etc/hostname] *******************************************
621skipping: [localhost]
622
623TASK [common : run hostname] ***************************************************
624skipping: [localhost]
625
626TASK [common : Copy the templates to their respestive destination] *************
627ok: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
628ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
629ok: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
630ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
631
632TASK [common : restart rsyslogd] ***********************************************
633skipping: [localhost]
634
635TASK [common : Add ntp alert script] *******************************************
636ok: [localhost]
637
638TASK [common : Remove MOTD update checker] *************************************
639ok: [localhost]
640
641TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
642ok: [localhost]
643
644TASK [common : install logrotate configuration] ********************************
645ok: [localhost]
646
647TASK [nginx : Create Diffie-Hellman parameters to prevent weak key exchange] ***
648ok: [localhost]
649
650TASK [nginx : Restrict permissions of DH parameters file] **********************
651ok: [localhost]
652
653TASK [nginx : Create nginx app and data dirs] **********************************
654ok: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx', u'group': u'www-data'})
655ok: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/sites-available', u'group': u'www-data'})
656ok: [localhost] => (item={u'owner': u'root', u'path': u'/etc/nginx/sites-enabled', u'group': u'www-data'})
657ok: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/conf.d', u'group': u'www-data'})
658ok: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx', u'group': u'root'})
659changed: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/log/nginx', u'group': u'root'})
660ok: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx/server-static', u'group': u'root'})
661
662TASK [nginx : Install needed packages] *****************************************
663ok: [localhost] => (item=[u'python-passlib'])
664
665TASK [nginx : Add apt key] *****************************************************
666ok: [localhost]
667
668TASK [nginx : Add nginx repository] ********************************************
669ok: [localhost]
670
671TASK [nginx : Remove old nginx packages] ***************************************
672ok: [localhost]
673
674TASK [nginx : Install the nginx package] ***************************************
675ok: [localhost]
676
677TASK [nginx : Remove the default site] *****************************************
678ok: [localhost]
679
680TASK [nginx : Define server configuration file and common nginx configuration] ***
681ok: [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'})
682ok: [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
684TASK [nginx : Create robot rules] **********************************************
685skipping: [localhost]
686
687TASK [nginx : Creating link for common nginx configuration] ********************
688ok: [localhost] => (item=maps)
689
690TASK [nginx : Copying nginx configs for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
691ok: [localhost] => (item=certs)
692ok: [localhost] => (item=cms)
693ok: [localhost] => (item=lms)
694ok: [localhost] => (item=forum)
695ok: [localhost] => (item=xqueue)
696
697TASK [nginx : Creating nginx config links for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
698ok: [localhost] => (item=certs)
699ok: [localhost] => (item=cms)
700ok: [localhost] => (item=lms)
701ok: [localhost] => (item=forum)
702ok: [localhost] => (item=xqueue)
703
704TASK [nginx : Copying nginx extra configs] *************************************
705
706TASK [nginx : Creating links for nginx extra configs] **************************
707
708TASK [nginx : Copying custom nginx config] *************************************
709
710TASK [nginx : Copying nginx redirect configs for {}] ***************************
711
712TASK [nginx : Creating nginx redirect links for {}] ****************************
713
714TASK [nginx : Create NGINX server templates] ***********************************
715ok: [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:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'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;'})
716ok: [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:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'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
718TASK [nginx : Copy static files] ***********************************************
719
720TASK [nginx : Write out htpasswd file] *****************************************
721 [WARNING]: when statements should not include jinja2 templating delimiters
722such as {{ }} or {% %}. Found: {{ CERTS_ENABLE_BASIC_AUTH|bool or
723ECOMMERCE_ENABLE_BASIC_AUTH|bool or EDXAPP_CMS_ENABLE_BASIC_AUTH|bool or
724EDXAPP_LMS_ENABLE_BASIC_AUTH|bool or
725EDXAPP_LMS_PREVIEW_ENABLE_BASIC_AUTH|bool or KIBANA_ENABLE_BASIC_AUTH|bool or
726XQUEUE_ENABLE_BASIC_AUTH|bool or XSERVER_ENABLE_BASIC_AUTH|bool }}
727skipping: [localhost] => (item={u'state': u'present', u'password': u'9Ymps0Q1V5RXngAJTIohfjj2y1S4bBkgCbJ', u'name': u'NuwWpfZwbhVrBZ3WpUsG6gVJOSXtArrU4E2'})
728
729TASK [nginx : Create nginx log file location (just in case)] *******************
730changed: [localhost]
731
732TASK [nginx : stat] ************************************************************
733ok: [localhost -> localhost]
734
735TASK [nginx : stat] ************************************************************
736ok: [localhost -> localhost]
737
738TASK [nginx : copy ssl cert] ***************************************************
739skipping: [localhost]
740
741TASK [nginx : copy ssl key] ****************************************************
742skipping: [localhost]
743
744TASK [nginx : Removing default nginx config and restart (enabled)] *************
745ok: [localhost]
746
747TASK [nginx : Set up nginx access log rotation] ********************************
748ok: [localhost]
749
750TASK [nginx : Set up nginx error log rotation] *********************************
751ok: [localhost]
752
753RUNNING HANDLER [nginx : restart nginx] ****************************************
754changed: [localhost]
755
756TASK [nginx : make sure nginx has started] *************************************
757ok: [localhost]
758
759TASK [security : Install security packages] ************************************
760skipping: [localhost] => (item=[])
761
762TASK [security : Update all system packages] ***********************************
763skipping: [localhost]
764
765TASK [security : Configure periodic unattended-upgrades] ***********************
766skipping: [localhost]
767
768TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
769skipping: [localhost] => (item=systemctl disable apt-daily.service)
770skipping: [localhost] => (item=systemctl disable apt-daily.timer)
771skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
772
773TASK [security : Disable unattended-upgrades] **********************************
774skipping: [localhost]
775
776TASK [security : Only unattended-upgrade from security repo] *******************
777skipping: [localhost]
778
779TASK [security : Disable security only updates on unattended-upgrades] *********
780skipping: [localhost]
781
782TASK [security : Take security updates during ansible runs] ********************
783skipping: [localhost] => (item=unattended-upgrade --dry-run)
784skipping: [localhost] => (item=unattended-upgrade)
785
786TASK [security : Install security packages] ************************************
787skipping: [localhost] => (item=[])
788
789TASK [security : Enable automatic start for update service] ********************
790skipping: [localhost]
791
792TASK [security : Update all system packages] ***********************************
793skipping: [localhost]
794
795TASK [security : Configure security auto-updates] ******************************
796skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
797skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
798
799TASK [security : Take security updates during ansible runs] ********************
800skipping: [localhost] => (item=yum check-update --security)
801skipping: [localhost] => (item=yum update --security -y)
802
803TASK [security : Install security packages] ************************************
804skipping: [localhost] => (item=[])
805
806TASK [security : Update all system packages] ***********************************
807skipping: [localhost]
808
809TASK [security : Configure periodic unattended-upgrades] ***********************
810skipping: [localhost]
811
812TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
813skipping: [localhost] => (item=systemctl disable apt-daily.service)
814skipping: [localhost] => (item=systemctl disable apt-daily.timer)
815skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
816
817TASK [security : Disable unattended-upgrades] **********************************
818skipping: [localhost]
819
820TASK [security : Only unattended-upgrade from security repo] *******************
821skipping: [localhost]
822
823TASK [security : Disable security only updates on unattended-upgrades] *********
824skipping: [localhost]
825
826TASK [security : Take security updates during ansible runs] ********************
827skipping: [localhost] => (item=unattended-upgrade --dry-run)
828skipping: [localhost] => (item=unattended-upgrade)
829
830TASK [security : Install security packages] ************************************
831skipping: [localhost] => (item=[])
832
833TASK [security : Enable automatic start for update service] ********************
834skipping: [localhost]
835
836TASK [security : Update all system packages] ***********************************
837skipping: [localhost]
838
839TASK [security : Configure security auto-updates] ******************************
840skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
841skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
842
843TASK [security : Take security updates during ansible runs] ********************
844skipping: [localhost] => (item=yum check-update --security)
845skipping: [localhost] => (item=yum update --security -y)
846
847TASK [mysql : Look for mysql 5.6] **********************************************
848fatal: [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
851TASK [mysql : Important message] ***********************************************
852skipping: [localhost]
853
854TASK [mysql : pause] ***********************************************************
855skipping: [localhost]
856
857TASK [mysql : Stop mysql service] **********************************************
858skipping: [localhost]
859
860TASK [mysql : Remove experimental apt repository] ******************************
861skipping: [localhost]
862
863TASK [mysql : Remove experimental version of mysql] ****************************
864skipping: [localhost] => (item=[])
865
866TASK [mysql : Install mysql-5.6 and dependencies] ******************************
867ok: [localhost] => (item=[u'mysql-server-5.6', u'python-mysqldb'])
868
869TASK [mysql : Set default character sets and collations] ***********************
870ok: [localhost]
871
872TASK [mysql : restart mysql] ***************************************************
873changed: [localhost]
874
875TASK [mysql : Ensure Anonymous user(s) does not exist] *************************
876ok: [localhost] => (item=localhost)
877ok: [localhost] => (item=ubuntuforopenedx)
878
879TASK [edxlocal : Install packages needed for single server] ********************
880ok: [localhost] => (item=[u'postfix', u'libjpeg-dev'])
881
882TASK [edxlocal : create databases] *********************************************
883ok: [localhost] => (item=ecommerce)
884ok: [localhost] => (item=dashboard)
885ok: [localhost] => (item=xqueue)
886ok: [localhost] => (item=edxapp)
887ok: [localhost] => (item=edxapp_csmh)
888skipping: [localhost] => (item=)
889ok: [localhost] => (item=analytics-api)
890ok: [localhost] => (item=reports)
891skipping: [localhost] => (item=)
892ok: [localhost] => (item=discovery)
893skipping: [localhost] => (item=)
894skipping: [localhost] => (item=)
895
896TASK [edxlocal : create database users] ****************************************
897changed: [localhost] => (item={u'db': u'ecommerce', u'user': u'ecomm001', u'pass': u'urHF4AbuNssEqHLu632X0D6JmiEQ0cjdf7r'})
898changed: [localhost] => (item={u'db': u'dashboard', u'user': u'rosencrantz', u'pass': u'h1SeSFuEhX1BfNNSC7GNDJeGZo8h46rDim9'})
899changed: [localhost] => (item={u'db': u'xqueue', u'user': u'xqueue001', u'pass': u'8nsq5A70Yrd46yeIAngQgERvFxgZ1G9OZf1'})
900changed: [localhost] => (item={u'db': u'edxapp', u'user': u'edxapp001', u'pass': u'valSKhvoknvDTVmkvoiPt3h2phbHTowMXnO'})
901changed: [localhost] => (item={u'db': u'edxapp_csmh', u'user': u'edxapp_cmsh001', u'pass': u'GSldhkdYtBBxQonvtECSQ3mT6OsP3v62Mco'})
902skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'fh9Hq8RUEEVdpFJ0ygPKuhsAPUwZ4olo7zY'})
903skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'8eqBGXQAZdAN1RFm7Rt4SXtsKV6xMKcPY3Q'})
904skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'PhmjdqRGRMiZICtdfNW30G8inKbYI1bGSFM'})
905changed: [localhost] => (item={u'db': u'discovery', u'user': u'discov001', u'pass': u'l8RTCAjnbwjkAgVVSzopcigtuXAbSnU9493'})
906skipping: [localhost] => (item={u'db': u'', u'user': u'journ001', u'pass': u'password'})
907skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u''})
908
909TASK [edxlocal : setup the migration db user] **********************************
910changed: [localhost] => (item=ecommerce)
911ok: [localhost] => (item=dashboard)
912ok: [localhost] => (item=xqueue)
913ok: [localhost] => (item=edxapp)
914ok: [localhost] => (item=edxapp_csmh)
915skipping: [localhost] => (item=)
916ok: [localhost] => (item=analytics-api)
917ok: [localhost] => (item=reports)
918skipping: [localhost] => (item=)
919ok: [localhost] => (item=discovery)
920skipping: [localhost] => (item=)
921skipping: [localhost] => (item=)
922
923TASK [edxlocal : create api user for the analytics api] ************************
924ok: [localhost]
925
926TASK [edxlocal : create read-only reports user for the analytics-api] **********
927ok: [localhost]
928
929TASK [edxlocal : create a database for the hive metastore] *********************
930skipping: [localhost]
931
932TASK [edxlocal : setup the edx-notes-api db user] ******************************
933skipping: [localhost]
934
935TASK [edxlocal : setup the read-only db user] **********************************
936changed: [localhost]
937
938TASK [edxlocal : setup the admin db user] **************************************
939changed: [localhost]
940
941TASK [memcache : Install memcached] ********************************************
942ok: [localhost]
943
944TASK [security : Install security packages] ************************************
945skipping: [localhost] => (item=[])
946
947TASK [security : Update all system packages] ***********************************
948skipping: [localhost]
949
950TASK [security : Configure periodic unattended-upgrades] ***********************
951skipping: [localhost]
952
953TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
954skipping: [localhost] => (item=systemctl disable apt-daily.service)
955skipping: [localhost] => (item=systemctl disable apt-daily.timer)
956skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
957
958TASK [security : Disable unattended-upgrades] **********************************
959skipping: [localhost]
960
961TASK [security : Only unattended-upgrade from security repo] *******************
962skipping: [localhost]
963
964TASK [security : Disable security only updates on unattended-upgrades] *********
965skipping: [localhost]
966
967TASK [security : Take security updates during ansible runs] ********************
968skipping: [localhost] => (item=unattended-upgrade --dry-run)
969skipping: [localhost] => (item=unattended-upgrade)
970
971TASK [security : Install security packages] ************************************
972skipping: [localhost] => (item=[])
973
974TASK [security : Enable automatic start for update service] ********************
975skipping: [localhost]
976
977TASK [security : Update all system packages] ***********************************
978skipping: [localhost]
979
980TASK [security : Configure security auto-updates] ******************************
981skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
982skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
983
984TASK [security : Take security updates during ansible runs] ********************
985skipping: [localhost] => (item=yum check-update --security)
986skipping: [localhost] => (item=yum update --security -y)
987
988TASK [mount_ebs : Unmount disk if fstype is wrong] *****************************
989
990TASK [mount_ebs : Check that we don't want to unmount disks to change fstype when UNMOUNT_DISKS is false] ***
991skipping: [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'})
992skipping: [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'})
993skipping: [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
995TASK [mount_ebs : Create filesystem] *******************************************
996
997TASK [mount_ebs : Unmount disks mounted to the wrong place] ********************
998skipping: [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'})
999skipping: [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'})
1000skipping: [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
1002TASK [mount_ebs : Check that we don't want to unmount disks to change mountpoint when UNMOUNT_DISKS is false] ***
1003skipping: [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'})
1004skipping: [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'})
1005skipping: [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
1007TASK [mount_ebs : Mount disks] *************************************************
1008
1009TASK [mongo_3_2 : Add disable transparent huge pages systemd service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
1010ok: [localhost]
1011
1012TASK [mongo_3_2 : Enable/start disable transparent huge pages service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
1013changed: [localhost]
1014
1015TASK [mongo_3_2 : install python pymongo for mongo_user ansible module] ********
1016ok: [localhost]
1017
1018TASK [mongo_3_2 : add the mongodb signing key] *********************************
1019ok: [localhost]
1020
1021TASK [mongo_3_2 : add the mongodb repo to the sources list] ********************
1022ok: [localhost]
1023
1024TASK [mongo_3_2 : install mongo server and recommends] *************************
1025ok: [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
1027TASK [mongo_3_2 : create mongo dirs] *******************************************
1028ok: [localhost] => (item=/edx/var/mongo)
1029ok: [localhost] => (item=/edx/var/mongo/mongodb)
1030ok: [localhost] => (item=/edx/var/log/mongo)
1031ok: [localhost] => (item=/edx/var/mongo/mongodb/journal)
1032
1033TASK [mongo_3_2 : add serverStatus logging script] *****************************
1034changed: [localhost]
1035
1036TASK [mongo_3_2 : add serverStatus logging script to cron] *********************
1037ok: [localhost]
1038
1039TASK [mongo_3_2 : determine if there is a replica set already] *****************
1040 [WARNING]: Module did not set no_log for password
1041ok: [localhost]
1042
1043TASK [mongo_3_2 : Try checking the replica set with no user/pass in case this is a new box] ***
1044skipping: [localhost]
1045
1046TASK [mongo_3_2 : set facts that default to not initializing a replica set] ****
1047ok: [localhost]
1048
1049TASK [mongo_3_2 : track if you have a replica set] *****************************
1050ok: [localhost]
1051
1052TASK [mongo_3_2 : warn about unconfigured replica sets] ************************
1053ok: [localhost] => {
1054 "msg": "You do not appear to have a Replica Set configured, deploying one for you"
1055}
1056
1057TASK [mongo_3_2 : copy mongodb key file] ***************************************
1058ok: [localhost]
1059
1060TASK [mongo_3_2 : copy configuration template] *********************************
1061changed: [localhost]
1062
1063TASK [mongo_3_2 : install logrotate configuration] *****************************
1064ok: [localhost]
1065
1066TASK [mongo_3_2 : restart mongo service if we changed our configuration] *******
1067changed: [localhost]
1068
1069TASK [mongo_3_2 : wait for mongo server to start] ******************************
1070ok: [localhost]
1071
1072TASK [mongo_3_2 : create super user] *******************************************
1073changed: [localhost]
1074
1075TASK [mongo_3_2 : Unset our skip initializing replica set fact so that mongod.conf gets a replica set] ***
1076ok: [localhost]
1077
1078TASK [mongo_3_2 : re-copy configuration template with replica set enabled] *****
1079changed: [localhost]
1080
1081TASK [mongo_3_2 : restart mongo service] ***************************************
1082changed: [localhost]
1083
1084TASK [mongo_3_2 : wait for mongo server to start] ******************************
1085ok: [localhost]
1086
1087TASK [mongo_3_2 : configure replica set] ***************************************
1088changed: [localhost]
1089
1090TASK [mongo_3_2 : Wait for the replica set to update and (if needed) elect a primary] ***
1091ok: [localhost]
1092
1093TASK [mongo_3_2 : create mongodb users in a replica set] ***********************
1094changed: [localhost] => (item={u'password': u'61FNXcHOBo6ca5JPdlXIWQLm70b1HhYWpqx', u'user': u'cs_comments_service', u'roles': u'readWrite', u'database': u'cs_comments_service'})
1095changed: [localhost] => (item={u'password': u'tFsfDwp04wgbNfS3BQZIpLTJpmA6Lh6bFXD', u'user': u'edxapp', u'roles': u'readWrite', u'database': u'edxapp'})
1096
1097TASK [mongo_3_2 : ensure mongo starts at boot time] ****************************
1098ok: [localhost]
1099
1100TASK [security : Install security packages] ************************************
1101skipping: [localhost] => (item=[])
1102
1103TASK [security : Update all system packages] ***********************************
1104skipping: [localhost]
1105
1106TASK [security : Configure periodic unattended-upgrades] ***********************
1107skipping: [localhost]
1108
1109TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
1110skipping: [localhost] => (item=systemctl disable apt-daily.service)
1111skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
1112skipping: [localhost] => (item=systemctl disable apt-daily.timer)
1113
1114TASK [security : Disable unattended-upgrades] **********************************
1115skipping: [localhost]
1116
1117TASK [security : Only unattended-upgrade from security repo] *******************
1118skipping: [localhost]
1119
1120TASK [security : Disable security only updates on unattended-upgrades] *********
1121skipping: [localhost]
1122
1123TASK [security : Take security updates during ansible runs] ********************
1124skipping: [localhost] => (item=unattended-upgrade --dry-run)
1125skipping: [localhost] => (item=unattended-upgrade)
1126
1127TASK [security : Install security packages] ************************************
1128skipping: [localhost] => (item=[])
1129
1130TASK [security : Enable automatic start for update service] ********************
1131skipping: [localhost]
1132
1133TASK [security : Update all system packages] ***********************************
1134skipping: [localhost]
1135
1136TASK [security : Configure security auto-updates] ******************************
1137skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
1138skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
1139
1140TASK [security : Take security updates during ansible runs] ********************
1141skipping: [localhost] => (item=yum check-update --security)
1142skipping: [localhost] => (item=yum update --security -y)
1143
1144TASK [rabbitmq : install packages needed by rabbit] ****************************
1145ok: [localhost] => (item=[u'apt-transport-https'])
1146
1147TASK [rabbitmq : trust rabbit's packagecloud repository] ***********************
1148ok: [localhost]
1149
1150TASK [rabbitmq : add rabbit's packagecloud repository] *************************
1151ok: [localhost]
1152
1153TASK [rabbitmq : Check if rabbit is installed] *********************************
1154changed: [localhost]
1155
1156TASK [rabbitmq : Warn if wrong rabbit version is installed] ********************
1157skipping: [localhost]
1158
1159TASK [rabbitmq : Install rabbit package] ***************************************
1160skipping: [localhost]
1161
1162TASK [rabbitmq : Stop rabbit cluster] ******************************************
1163changed: [localhost]
1164
1165TASK [rabbitmq : Send sigterm to any running rabbitmq processes] ***************
1166changed: [localhost]
1167
1168TASK [rabbitmq : Create rabbitmq edx directories] ******************************
1169ok: [localhost] => (item=/edx/app/rabbitmq)
1170ok: [localhost] => (item=/edx/var/log/rabbitmq)
1171
1172TASK [rabbitmq : Add queue monitoring script] **********************************
1173ok: [localhost]
1174
1175TASK [rabbitmq : Add RabbitMQ memory usage script] *****************************
1176ok: [localhost]
1177
1178TASK [rabbitmq : Set up a cron job to run queue script] ************************
1179ok: [localhost]
1180
1181TASK [rabbitmq : Set up a cron job to run the script] **************************
1182ok: [localhost]
1183
1184TASK [rabbitmq : install logrotate configuration] ******************************
1185ok: [localhost]
1186
1187TASK [rabbitmq : Create cookie directory] **************************************
1188ok: [localhost]
1189
1190TASK [rabbitmq : Add rabbitmq erlang cookie] ***********************************
1191ok: [localhost]
1192
1193TASK [rabbitmq : Create rabbitmq config directory] *****************************
1194ok: [localhost]
1195
1196TASK [rabbitmq : Add rabbitmq environment configuration] ***********************
1197ok: [localhost]
1198
1199TASK [rabbitmq : Add rabbitmq cluster configuration] ***************************
1200ok: [localhost]
1201
1202TASK [rabbitmq : Install plugins] **********************************************
1203ok: [localhost] => (item=rabbitmq_management)
1204
1205TASK [rabbitmq : Remove mnesia configuration] **********************************
1206skipping: [localhost]
1207
1208TASK [rabbitmq : Start rabbit nodes] *******************************************
1209changed: [localhost]
1210
1211TASK [rabbitmq : Wait for rabbit to start] *************************************
1212ok: [localhost]
1213
1214TASK [rabbitmq : Remove guest user] ********************************************
1215ok: [localhost]
1216
1217TASK [rabbitmq : Add vhosts] ***************************************************
1218ok: [localhost] => (item=/)
1219
1220TASK [rabbitmq : set_fact] *****************************************************
1221ok: [localhost] => (item=/)
1222
1223TASK [rabbitmq : Add admin users] **********************************************
1224ok: [localhost] => (item={u'password': u'E4heDgztgATakKm1BFHaRHVqvionuWWz3Uo', u'name': u'admin'})
1225ok: [localhost] => (item={u'password': u'OEFJFaRe0GbSxTuBLlff4bUV74sclgjkppH', u'name': u'edx'})
1226ok: [localhost] => (item={u'password': u'1L0xDr9VyIQzpp94ZjYDoQ7uYAWhb7qZg9c', u'name': u'celery'})
1227
1228TASK [rabbitmq : Make queues mirrored] *****************************************
1229skipping: [localhost] => (item=/)
1230
1231TASK [rabbitmq : Install admin tools] ******************************************
1232ok: [localhost]
1233
1234TASK [rabbitmq : Ensure rabbitmqadmin attributes] ******************************
1235ok: [localhost]
1236
1237TASK [rabbitmq : Set cluster name] *********************************************
1238changed: [localhost]
1239
1240TASK [security : Install security packages] ************************************
1241skipping: [localhost] => (item=[])
1242
1243TASK [security : Update all system packages] ***********************************
1244skipping: [localhost]
1245
1246TASK [security : Configure periodic unattended-upgrades] ***********************
1247skipping: [localhost]
1248
1249TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
1250skipping: [localhost] => (item=systemctl disable apt-daily.service)
1251skipping: [localhost] => (item=systemctl disable apt-daily.timer)
1252skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
1253
1254TASK [security : Disable unattended-upgrades] **********************************
1255skipping: [localhost]
1256
1257TASK [security : Only unattended-upgrade from security repo] *******************
1258skipping: [localhost]
1259
1260TASK [security : Disable security only updates on unattended-upgrades] *********
1261skipping: [localhost]
1262
1263TASK [security : Take security updates during ansible runs] ********************
1264skipping: [localhost] => (item=unattended-upgrade --dry-run)
1265skipping: [localhost] => (item=unattended-upgrade)
1266
1267TASK [security : Install security packages] ************************************
1268skipping: [localhost] => (item=[])
1269
1270TASK [security : Enable automatic start for update service] ********************
1271skipping: [localhost]
1272
1273TASK [security : Update all system packages] ***********************************
1274skipping: [localhost]
1275
1276TASK [security : Configure security auto-updates] ******************************
1277skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
1278skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
1279
1280TASK [security : Take security updates during ansible runs] ********************
1281skipping: [localhost] => (item=yum check-update --security)
1282skipping: [localhost] => (item=yum update --security -y)
1283
1284TASK [security : Install security packages] ************************************
1285skipping: [localhost] => (item=[])
1286
1287TASK [security : Update all system packages] ***********************************
1288skipping: [localhost]
1289
1290TASK [security : Configure periodic unattended-upgrades] ***********************
1291skipping: [localhost]
1292
1293TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
1294skipping: [localhost] => (item=systemctl disable apt-daily.service)
1295skipping: [localhost] => (item=systemctl disable apt-daily.timer)
1296skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
1297
1298TASK [security : Disable unattended-upgrades] **********************************
1299skipping: [localhost]
1300
1301TASK [security : Only unattended-upgrade from security repo] *******************
1302skipping: [localhost]
1303
1304TASK [security : Disable security only updates on unattended-upgrades] *********
1305skipping: [localhost]
1306
1307TASK [security : Take security updates during ansible runs] ********************
1308skipping: [localhost] => (item=unattended-upgrade --dry-run)
1309skipping: [localhost] => (item=unattended-upgrade)
1310
1311TASK [security : Install security packages] ************************************
1312skipping: [localhost] => (item=[])
1313
1314TASK [security : Enable automatic start for update service] ********************
1315skipping: [localhost]
1316
1317TASK [security : Update all system packages] ***********************************
1318skipping: [localhost]
1319
1320TASK [security : Configure security auto-updates] ******************************
1321skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
1322skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
1323
1324TASK [security : Take security updates during ansible runs] ********************
1325skipping: [localhost] => (item=yum check-update --security)
1326skipping: [localhost] => (item=yum update --security -y)
1327
1328TASK [supervisor : Create application and supervisor service user] *************
1329ok: [localhost] => (item=supervisor)
1330ok: [localhost] => (item=www-data)
1331
1332TASK [supervisor : Create supervisor and service user accessible directories] ***
1333ok: [localhost] => (item=/edx/app/supervisor)
1334ok: [localhost] => (item=/edx/app/supervisor/venvs/supervisor)
1335ok: [localhost] => (item=/edx/app/supervisor/conf.d)
1336ok: [localhost] => (item=/edx/app/supervisor/conf.available.d)
1337
1338TASK [supervisor : Create supervisor directories] ******************************
1339ok: [localhost] => (item=/edx/var/supervisor)
1340ok: [localhost] => (item=/edx/var/log/supervisor)
1341
1342TASK [supervisor : Install supervisor in its venv] *****************************
1343ok: [localhost]
1344
1345TASK [supervisor : Install supervisor in its venv] *****************************
1346ok: [localhost] => (item=boto=="2.48.0")
1347ok: [localhost] => (item=python-simple-hipchat)
1348
1349TASK [supervisor : Create supervisor upstart job] ******************************
1350skipping: [localhost]
1351
1352TASK [supervisor : Create supervisor systemd job] ******************************
1353ok: [localhost]
1354
1355TASK [supervisor : Write the pre_suprevisor python script] *********************
1356skipping: [localhost]
1357
1358TASK [supervisor : Create supervisor master config] ****************************
1359ok: [localhost]
1360
1361TASK [supervisor : Remove a symlink for supervisortctl] ************************
1362changed: [localhost]
1363
1364TASK [supervisor : Remove symlink for supervisor cfg] **************************
1365ok: [localhost] => (item=/edx/app/supervisor/supervisord.conf)
1366ok: [localhost] => (item=/edx/app/supervisor/conf.d)
1367
1368TASK [supervisor : Create helper script for running supervisor] ****************
1369changed: [localhost]
1370
1371TASK [supervisor : Are we in a Docker container] *******************************
1372changed: [localhost]
1373
1374TASK [supervisor : Enable supervisor to start on boot] *************************
1375ok: [localhost]
1376
1377TASK [supervisor : Start supervisor] *******************************************
1378ok: [localhost]
1379
1380TASK [supervisor : Wait for web port to be available] **************************
1381skipping: [localhost]
1382
1383TASK [supervisor : Update supervisor configuration] ****************************
1384ok: [localhost]
1385
1386TASK [edxapp_common : Install system packages] *********************************
1387ok: [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
1389TASK [nltk : Install unzip] ****************************************************
1390ok: [localhost]
1391
1392TASK [nltk : create the nltk data directory and subdirectories] ****************
1393ok: [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'})
1394ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
1395ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
1396
1397TASK [nltk : download nltk data] ***********************************************
1398ok: [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'})
1399ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
1400ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
1401
1402TASK [nltk : unarchive nltk data] **********************************************
1403skipping: [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'})
1404skipping: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
1405skipping: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
1406
1407TASK [add_user : create user groups] *******************************************
1408skipping: [localhost] => (item=edx-themes)
1409
1410TASK [add_user : create application user] **************************************
1411skipping: [localhost]
1412
1413TASK [add_user : ensure correct ownership of home directory] *******************
1414skipping: [localhost]
1415
1416TASK [add_user : create dirs for the user] *************************************
1417
1418TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
1419skipping: [localhost]
1420
1421TASK [git_clone : Validate git protocol] ***************************************
1422skipping: [localhost] => (item=(censored due to no_log))
1423
1424TASK [git_clone : Install read-only ssh key] ***********************************
1425skipping: [localhost] => (item=(censored due to no_log))
1426
1427TASK [git_clone : Check that working tree is clean] ****************************
1428skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
1429
1430TASK [git_clone : Require a clean working tree] ********************************
1431skipping: [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
1433TASK [git_clone : Checkout code over ssh] **************************************
1434skipping: [localhost] => (item=(censored due to no_log))
1435
1436TASK [git_clone : Checkout code over https] ************************************
1437skipping: [localhost] => (item=(censored due to no_log))
1438
1439TASK [git_clone : Remove read-only ssh key] ************************************
1440skipping: [localhost] => (item=(censored due to no_log))
1441
1442TASK [git_clone : Run git clean after checking out code] ***********************
1443skipping: [localhost] => (item=(censored due to no_log))
1444
1445TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
1446skipping: [localhost]
1447
1448TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
1449skipping: [localhost] => (item=edxapp)
1450
1451TASK [edx_themes : update .bashrc to set umask value] **************************
1452skipping: [localhost]
1453
1454TASK [edxapp : create application user] ****************************************
1455ok: [localhost]
1456
1457TASK [edxapp : create edxapp user dirs] ****************************************
1458ok: [localhost] => (item={u'path': u'/edx/app/edxapp'})
1459ok: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
1460ok: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
1461ok: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
1462ok: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
1463ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
1464changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
1465ok: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
1466ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
1467
1468TASK [edxapp : write devstack script] ******************************************
1469skipping: [localhost]
1470
1471TASK [edxapp : create edxapp log dir] ******************************************
1472ok: [localhost]
1473
1474TASK [edxapp : Ensure the tracking folder exists] ******************************
1475ok: [localhost]
1476
1477TASK [edxapp : Ensure the tracking.log file exists] ****************************
1478changed: [localhost]
1479
1480TASK [edxapp : create web-writable edxapp data dirs] ***************************
1481changed: [localhost] => (item=/edx/var/edxapp/data)
1482ok: [localhost] => (item=/edx/var/edxapp/uploads)
1483ok: [localhost] => (item=/edx/var/edxapp/media)
1484
1485TASK [edxapp : install system packages on which LMS and CMS rely] **************
1486ok: [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
1488TASK [edxapp : set up edxapp .npmrc] *******************************************
1489changed: [localhost]
1490
1491TASK [edxapp : create log directories for service variants] ********************
1492ok: [localhost] => (item=lms)
1493ok: [localhost] => (item=cms)
1494
1495TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
1496ok: [localhost]
1497
1498TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
1499skipping: [localhost]
1500
1501TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
1502ok: [localhost]
1503
1504TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
1505ok: [localhost]
1506
1507TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
1508skipping: [localhost]
1509
1510TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
1511ok: [localhost]
1512
1513TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
1514ok: [localhost]
1515
1516TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
1517ok: [localhost]
1518
1519TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
1520ok: [localhost]
1521
1522TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
1523ok: [localhost]
1524
1525TASK [edxapp : code sandbox | start apparmor service] **************************
1526ok: [localhost]
1527
1528TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
1529changed: [localhost]
1530
1531TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
1532changed: [localhost]
1533
1534TASK [edxapp : copy the template to the desired location] **********************
1535ok: [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'})
1536ok: [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'})
1537ok: [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'})
1538ok: [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
1540TASK [edxapp : install read-only ssh key] **************************************
1541skipping: [localhost]
1542
1543TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
1544changed: [localhost]
1545
1546TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
1547ok: [localhost]
1548
1549TASK [edxapp : git clean after checking out edx-platform] **********************
1550changed: [localhost]
1551
1552TASK [edxapp : checkout Stanford-style theme] **********************************
1553skipping: [localhost]
1554
1555TASK [simple_theme : assert] ***************************************************
1556skipping: [localhost]
1557
1558TASK [simple_theme : assert] ***************************************************
1559skipping: [localhost]
1560
1561TASK [simple_theme : Check whether theme directory already exists] *************
1562skipping: [localhost]
1563
1564TASK [simple_theme : Download skeleton theme] **********************************
1565skipping: [localhost]
1566
1567TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
1568skipping: [localhost]
1569
1570TASK [simple_theme : Create default skeleton (dirs)] ***************************
1571skipping: [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})
1572skipping: [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})
1573skipping: [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})
1574skipping: [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})
1575skipping: [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})
1576skipping: [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})
1577skipping: [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})
1578skipping: [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
1580TASK [simple_theme : Create default skeleton (files)] **************************
1581skipping: [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})
1582skipping: [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})
1583skipping: [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})
1584skipping: [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})
1585skipping: [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})
1586skipping: [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})
1587skipping: [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})
1588skipping: [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
1590TASK [simple_theme : Create directory to hold the theme and styles] ************
1591skipping: [localhost] => (item=.)
1592skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
1593
1594TASK [simple_theme : Compile the templates] ************************************
1595skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
1596skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
1597
1598TASK [simple_theme : Create directories for static files to be copied] *********
1599skipping: [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})
1600skipping: [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})
1601skipping: [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})
1602skipping: [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})
1603skipping: [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})
1604skipping: [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})
1605skipping: [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})
1606skipping: [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})
1607skipping: [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})
1608skipping: [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})
1609skipping: [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})
1610skipping: [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})
1611skipping: [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})
1612skipping: [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})
1613skipping: [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})
1614skipping: [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})
1615skipping: [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})
1616skipping: [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})
1617skipping: [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
1619TASK [simple_theme : Copy static files (adding "static/")] *********************
1620skipping: [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})
1621skipping: [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})
1622skipping: [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})
1623skipping: [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})
1624skipping: [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})
1625skipping: [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})
1626skipping: [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})
1627skipping: [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})
1628skipping: [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})
1629skipping: [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})
1630skipping: [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})
1631skipping: [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})
1632skipping: [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})
1633skipping: [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})
1634skipping: [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})
1635skipping: [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})
1636skipping: [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})
1637skipping: [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})
1638skipping: [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
1640TASK [simple_theme : Create directories for static files to be downloaded] *****
1641
1642TASK [simple_theme : Download static files to be included in theme] ************
1643
1644TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
1645ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
1646ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
1647ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
1648
1649TASK [edxapp : Updating requirement files for git mirror] **********************
1650skipping: [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}}})
1651changed: [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}}})
1652changed: [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
1654TASK [edxapp : Create the virtualenv to install the Python requirements] *******
1655ok: [localhost]
1656
1657TASK [edxapp : Pin pip to a specific version.] *********************************
1658changed: [localhost]
1659
1660TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
1661ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
1662ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
1663
1664TASK [edxapp : install python requirements] ************************************
1665skipping: [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}}})
1666changed: [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
1668TASK [edxapp : install python private requirements] ****************************
1669skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.1.3'})
1670skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/oppia/xblock.git@9f6b95b7eb7dbabb96b77198a3202604f96adf65#egg=oppia-xblock'})
1671skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/OfficeDev/xblock-officemix.git@3f876b5f0267b017812620239533a29c7d562d24#egg=officemix'})
1672skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/schoolyourself/schoolyourself-xblock.git@5e4d37716e3e72640e832e961f7cc0d38d4ec47b#egg=schoolyourself-xblock'})
1673skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@2376fde9ebdd83684b78dde77ef96361c3bd1aa0#egg=concept-xblock'})
1674skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@1fbf19cc21613aead62799469e1593adb037fdd9#egg=audio-xblock'})
1675skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@d2b551bb8f49a138088e10298576102164145b87#egg=animation-xblock'})
1676skipping: [localhost] => (item={u'name': u'ubcpi-xblock==0.6.4'})
1677skipping: [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'})
1678skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@e933d41bb86a8d50fb878787ca680165a092a6d5#egg=xblock-activetable'})
1679
1680TASK [edxapp : install python extra requirements] ******************************
1681
1682TASK [edxapp : install CAS attribute module] ***********************************
1683skipping: [localhost]
1684
1685TASK [edxapp : install sandbox requirements into regular venv] *****************
1686skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
1687
1688TASK [edxapp : create nodeenv] *************************************************
1689changed: [localhost]
1690
1691TASK [edxapp : Set the npm registry] *******************************************
1692ok: [localhost]
1693
1694TASK [edxapp : Set the npm registry permissions] *******************************
1695changed: [localhost]
1696
1697TASK [edxapp : install node dependencies] **************************************
1698changed: [localhost]
1699
1700TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
1701changed: [localhost]
1702
1703TASK [edxapp : Create the virtualenv to install the Python sandbox requirements] ***
1704ok: [localhost]
1705
1706TASK [edxapp : Pin pip to a specific version.] *********************************
1707changed: [localhost]
1708
1709TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
1710ok: [localhost]
1711
1712TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
1713changed: [localhost]
1714
1715TASK [edxapp : compiling all py files in the edx-platform repo] ****************
1716changed: [localhost]
1717
1718TASK [edxapp : give other read permissions to the virtualenv] ******************
1719ok: [localhost]
1720
1721TASK [edxapp : create service wrapper scripts - {{item}}] **********************
1722ok: [localhost] => (item=lms.sh)
1723ok: [localhost] => (item=cms.sh)
1724ok: [localhost] => (item=worker.sh)
1725
1726TASK [edxapp : create application and auth config] *****************************
1727changed: [localhost] => (item=[u'lms', u'env'])
1728changed: [localhost] => (item=[u'lms', u'auth'])
1729changed: [localhost] => (item=[u'cms', u'env'])
1730changed: [localhost] => (item=[u'cms', u'auth'])
1731
1732TASK [edxapp : combined lms auth env for yml] **********************************
1733ok: [localhost]
1734
1735TASK [edxapp : render lms yml config] ******************************************
1736changed: [localhost] => (item=lms)
1737ok: [localhost] => (item=cms)
1738
1739TASK [edxapp : combined cms auth env for yml] **********************************
1740ok: [localhost]
1741
1742TASK [edxapp : render studio yml config] ***************************************
1743changed: [localhost] => (item=lms)
1744ok: [localhost] => (item=cms)
1745
1746TASK [edxapp : writing {{ item }} supervisor script] ***************************
1747ok: [localhost] => (item=lms)
1748ok: [localhost] => (item=cms)
1749
1750TASK [edxapp : writing celery supervisor scripts] ******************************
1751ok: [localhost] => (item=workers.conf)
1752
1753TASK [edxapp : clean out old edxapp.conf] **************************************
1754ok: [localhost]
1755
1756TASK [edxapp : add gunicorn configuration files] *******************************
1757ok: [localhost] => (item=lms)
1758ok: [localhost] => (item=cms)
1759
1760TASK [edxapp : enable {{ item }} supervisor script] ****************************
1761skipping: [localhost] => (item=lms)
1762skipping: [localhost] => (item=cms)
1763
1764TASK [edxapp : enable celery worker supervisor script] *************************
1765ok: [localhost]
1766
1767TASK [edxapp : create helper scripts for managing edxapp] **********************
1768ok: [localhost] => (item=[u'edxapp-migrate', u'lms'])
1769ok: [localhost] => (item=[u'edxapp-migrate', u'cms'])
1770ok: [localhost] => (item=[u'edxapp-runserver', u'lms'])
1771ok: [localhost] => (item=[u'edxapp-runserver', u'cms'])
1772ok: [localhost] => (item=[u'edxapp-shell', u'lms'])
1773ok: [localhost] => (item=[u'edxapp-shell', u'cms'])
1774
1775TASK [edxapp : create script to compile and update assets] *********************
1776ok: [localhost]
1777
1778TASK [edxapp : migrate] ********************************************************
1779changed: [localhost] => (item=lms)
1780changed: [localhost] => (item=cms)
1781
1782TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
1783skipping: [localhost] => (item=absent)
1784skipping: [localhost] => (item=directory)
1785
1786TASK [edxapp : gather static assets with paver] ********************************
1787skipping: [localhost]
1788
1789TASK [edxapp : update supervisor configuration] ********************************
1790ok: [localhost]
1791
1792TASK [edxapp : ensure edxapp has started] **************************************
1793skipping: [localhost] => (item=lms)
1794skipping: [localhost] => (item=cms)
1795
1796TASK [edxapp : ensure edxapp_workers has started] ******************************
1797ok: [localhost]
1798
1799TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
1800ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
1801ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
1802ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
1803ok: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
1804
1805TASK [edxapp : remove read-only ssh key] ***************************************
1806skipping: [localhost]
1807
1808TASK [edxapp : get instance information] ***************************************
1809skipping: [localhost]
1810
1811TASK [edxapp : tag instance with edx_platform version] *************************
1812skipping: [localhost]
1813
1814TASK [edxapp : tag instance with edxapp theme version] *************************
1815skipping: [localhost]
1816
1817TASK [edxapp : set_fact] *******************************************************
1818ok: [localhost]
1819
1820TASK [edxapp : restart edxapp] *************************************************
1821skipping: [localhost] => (item=lms)
1822skipping: [localhost] => (item=cms)
1823
1824TASK [edxapp : restart edxapp_workers] *****************************************
1825changed: [localhost]
1826
1827TASK [edxapp : create service worker users] ************************************
1828changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'enterprise_worker@example.com'})
1829changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'veda_service_user@example.com'})
1830skipping: [localhost] => (item={u'username': u'journals_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'journals_worker@example.com'})
1831changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'discovery_worker@example.com'})
1832changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'insights_worker@example.com'})
1833changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'credentials_worker@example.com'})
1834
1835TASK [edxapp : reindex all courses] ********************************************
1836skipping: [localhost]
1837
1838TASK [edxapp : install cron job to run clearsessions] **************************
1839skipping: [localhost]
1840
1841TASK [edxapp : install additional cron jobs] ***********************************
1842
1843TASK [security : Install security packages] ************************************
1844skipping: [localhost] => (item=[])
1845
1846TASK [security : Update all system packages] ***********************************
1847skipping: [localhost]
1848
1849TASK [security : Configure periodic unattended-upgrades] ***********************
1850skipping: [localhost]
1851
1852TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
1853skipping: [localhost] => (item=systemctl disable apt-daily.service)
1854skipping: [localhost] => (item=systemctl disable apt-daily.timer)
1855skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
1856
1857TASK [security : Disable unattended-upgrades] **********************************
1858skipping: [localhost]
1859
1860TASK [security : Only unattended-upgrade from security repo] *******************
1861skipping: [localhost]
1862
1863TASK [security : Disable security only updates on unattended-upgrades] *********
1864skipping: [localhost]
1865
1866TASK [security : Take security updates during ansible runs] ********************
1867skipping: [localhost] => (item=unattended-upgrade --dry-run)
1868skipping: [localhost] => (item=unattended-upgrade)
1869
1870TASK [security : Install security packages] ************************************
1871skipping: [localhost] => (item=[])
1872
1873TASK [security : Enable automatic start for update service] ********************
1874skipping: [localhost]
1875
1876TASK [security : Update all system packages] ***********************************
1877skipping: [localhost]
1878
1879TASK [security : Configure security auto-updates] ******************************
1880skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
1881skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
1882
1883TASK [security : Take security updates during ansible runs] ********************
1884skipping: [localhost] => (item=yum check-update --security)
1885skipping: [localhost] => (item=yum update --security -y)
1886
1887TASK [security : Install security packages] ************************************
1888skipping: [localhost] => (item=[])
1889
1890TASK [security : Update all system packages] ***********************************
1891skipping: [localhost]
1892
1893TASK [security : Configure periodic unattended-upgrades] ***********************
1894skipping: [localhost]
1895
1896TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
1897skipping: [localhost] => (item=systemctl disable apt-daily.service)
1898skipping: [localhost] => (item=systemctl disable apt-daily.timer)
1899skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
1900
1901TASK [security : Disable unattended-upgrades] **********************************
1902skipping: [localhost]
1903
1904TASK [security : Only unattended-upgrade from security repo] *******************
1905skipping: [localhost]
1906
1907TASK [security : Disable security only updates on unattended-upgrades] *********
1908skipping: [localhost]
1909
1910TASK [security : Take security updates during ansible runs] ********************
1911skipping: [localhost] => (item=unattended-upgrade --dry-run)
1912skipping: [localhost] => (item=unattended-upgrade)
1913
1914TASK [security : Install security packages] ************************************
1915skipping: [localhost] => (item=[])
1916
1917TASK [security : Enable automatic start for update service] ********************
1918skipping: [localhost]
1919
1920TASK [security : Update all system packages] ***********************************
1921skipping: [localhost]
1922
1923TASK [security : Configure security auto-updates] ******************************
1924skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
1925skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
1926
1927TASK [security : Take security updates during ansible runs] ********************
1928skipping: [localhost] => (item=yum check-update --security)
1929skipping: [localhost] => (item=yum update --security -y)
1930
1931TASK [add_user : create user groups] *******************************************
1932skipping: [localhost] => (item=edx-themes)
1933
1934TASK [add_user : create application user] **************************************
1935skipping: [localhost]
1936
1937TASK [add_user : ensure correct ownership of home directory] *******************
1938skipping: [localhost]
1939
1940TASK [add_user : create dirs for the user] *************************************
1941
1942TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
1943skipping: [localhost]
1944
1945TASK [git_clone : Validate git protocol] ***************************************
1946skipping: [localhost] => (item=(censored due to no_log))
1947
1948TASK [git_clone : Install read-only ssh key] ***********************************
1949skipping: [localhost] => (item=(censored due to no_log))
1950
1951TASK [git_clone : Check that working tree is clean] ****************************
1952skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
1953
1954TASK [git_clone : Require a clean working tree] ********************************
1955skipping: [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
1957TASK [git_clone : Checkout code over ssh] **************************************
1958skipping: [localhost] => (item=(censored due to no_log))
1959
1960TASK [git_clone : Checkout code over https] ************************************
1961skipping: [localhost] => (item=(censored due to no_log))
1962
1963TASK [git_clone : Remove read-only ssh key] ************************************
1964skipping: [localhost] => (item=(censored due to no_log))
1965
1966TASK [git_clone : Run git clean after checking out code] ***********************
1967skipping: [localhost] => (item=(censored due to no_log))
1968
1969TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
1970skipping: [localhost]
1971
1972TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
1973skipping: [localhost] => (item=edxapp)
1974
1975TASK [edx_themes : update .bashrc to set umask value] **************************
1976skipping: [localhost]
1977
1978TASK [edxapp : create application user] ****************************************
1979ok: [localhost]
1980
1981TASK [edxapp : create edxapp user dirs] ****************************************
1982ok: [localhost] => (item={u'path': u'/edx/app/edxapp'})
1983ok: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
1984ok: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
1985ok: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
1986ok: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
1987ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
1988changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
1989ok: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
1990ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
1991
1992TASK [edxapp : write devstack script] ******************************************
1993skipping: [localhost]
1994
1995TASK [edxapp : create edxapp log dir] ******************************************
1996ok: [localhost]
1997
1998TASK [edxapp : Ensure the tracking folder exists] ******************************
1999ok: [localhost]
2000
2001TASK [edxapp : Ensure the tracking.log file exists] ****************************
2002changed: [localhost]
2003
2004TASK [edxapp : create web-writable edxapp data dirs] ***************************
2005changed: [localhost] => (item=/edx/var/edxapp/data)
2006ok: [localhost] => (item=/edx/var/edxapp/uploads)
2007ok: [localhost] => (item=/edx/var/edxapp/media)
2008
2009TASK [edxapp : install system packages on which LMS and CMS rely] **************
2010ok: [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
2012TASK [edxapp : set up edxapp .npmrc] *******************************************
2013changed: [localhost]
2014
2015TASK [edxapp : create log directories for service variants] ********************
2016ok: [localhost] => (item=lms)
2017ok: [localhost] => (item=cms)
2018
2019TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
2020ok: [localhost]
2021
2022TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
2023skipping: [localhost]
2024
2025TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
2026ok: [localhost]
2027
2028TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
2029ok: [localhost]
2030
2031TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
2032skipping: [localhost]
2033
2034TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
2035ok: [localhost]
2036
2037TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
2038ok: [localhost]
2039
2040TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
2041ok: [localhost]
2042
2043TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
2044ok: [localhost]
2045
2046TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
2047ok: [localhost]
2048
2049TASK [edxapp : code sandbox | start apparmor service] **************************
2050ok: [localhost]
2051
2052TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
2053changed: [localhost]
2054
2055TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
2056changed: [localhost]
2057
2058TASK [edxapp : copy the template to the desired location] **********************
2059ok: [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'})
2060ok: [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'})
2061ok: [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'})
2062ok: [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
2064TASK [edxapp : install read-only ssh key] **************************************
2065skipping: [localhost]
2066
2067TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
2068changed: [localhost]
2069
2070TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
2071ok: [localhost]
2072
2073TASK [edxapp : git clean after checking out edx-platform] **********************
2074changed: [localhost]
2075
2076TASK [edxapp : checkout Stanford-style theme] **********************************
2077skipping: [localhost]
2078
2079TASK [simple_theme : assert] ***************************************************
2080skipping: [localhost]
2081
2082TASK [simple_theme : assert] ***************************************************
2083skipping: [localhost]
2084
2085TASK [simple_theme : Check whether theme directory already exists] *************
2086skipping: [localhost]
2087
2088TASK [simple_theme : Download skeleton theme] **********************************
2089skipping: [localhost]
2090
2091TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
2092skipping: [localhost]
2093
2094TASK [simple_theme : Create default skeleton (dirs)] ***************************
2095skipping: [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})
2096skipping: [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})
2097skipping: [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})
2098skipping: [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})
2099skipping: [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})
2100skipping: [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})
2101skipping: [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})
2102skipping: [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
2104TASK [simple_theme : Create default skeleton (files)] **************************
2105skipping: [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})
2106skipping: [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})
2107skipping: [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})
2108skipping: [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})
2109skipping: [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})
2110skipping: [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})
2111skipping: [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})
2112skipping: [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
2114TASK [simple_theme : Create directory to hold the theme and styles] ************
2115skipping: [localhost] => (item=.)
2116skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
2117
2118TASK [simple_theme : Compile the templates] ************************************
2119skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
2120skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
2121
2122TASK [simple_theme : Create directories for static files to be copied] *********
2123skipping: [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})
2124skipping: [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})
2125skipping: [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})
2126skipping: [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})
2127skipping: [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})
2128skipping: [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})
2129skipping: [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})
2130skipping: [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})
2131skipping: [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})
2132skipping: [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})
2133skipping: [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})
2134skipping: [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})
2135skipping: [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})
2136skipping: [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})
2137skipping: [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})
2138skipping: [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})
2139skipping: [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})
2140skipping: [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})
2141skipping: [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
2143TASK [simple_theme : Copy static files (adding "static/")] *********************
2144skipping: [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})
2145skipping: [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})
2146skipping: [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})
2147skipping: [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})
2148skipping: [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})
2149skipping: [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})
2150skipping: [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})
2151skipping: [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})
2152skipping: [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})
2153skipping: [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})
2154skipping: [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})
2155skipping: [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})
2156skipping: [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})
2157skipping: [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})
2158skipping: [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})
2159skipping: [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})
2160skipping: [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})
2161skipping: [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})
2162skipping: [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
2164TASK [simple_theme : Create directories for static files to be downloaded] *****
2165
2166TASK [simple_theme : Download static files to be included in theme] ************
2167
2168TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
2169ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
2170ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
2171ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
2172
2173TASK [edxapp : Updating requirement files for git mirror] **********************
2174skipping: [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}}})
2175changed: [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}}})
2176changed: [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
2178TASK [edxapp : Create the virtualenv to install the Python requirements] *******
2179ok: [localhost]
2180
2181TASK [edxapp : Pin pip to a specific version.] *********************************
2182changed: [localhost]
2183
2184TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
2185ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
2186ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
2187
2188TASK [edxapp : install python requirements] ************************************
2189skipping: [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}}})
2190changed: [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
2192TASK [edxapp : install python private requirements] ****************************
2193skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.1.3'})
2194skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/oppia/xblock.git@9f6b95b7eb7dbabb96b77198a3202604f96adf65#egg=oppia-xblock'})
2195skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/OfficeDev/xblock-officemix.git@3f876b5f0267b017812620239533a29c7d562d24#egg=officemix'})
2196skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/schoolyourself/schoolyourself-xblock.git@5e4d37716e3e72640e832e961f7cc0d38d4ec47b#egg=schoolyourself-xblock'})
2197skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@2376fde9ebdd83684b78dde77ef96361c3bd1aa0#egg=concept-xblock'})
2198skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@1fbf19cc21613aead62799469e1593adb037fdd9#egg=audio-xblock'})
2199skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@d2b551bb8f49a138088e10298576102164145b87#egg=animation-xblock'})
2200skipping: [localhost] => (item={u'name': u'ubcpi-xblock==0.6.4'})
2201skipping: [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'})
2202skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@e933d41bb86a8d50fb878787ca680165a092a6d5#egg=xblock-activetable'})
2203
2204TASK [edxapp : install python extra requirements] ******************************
2205
2206TASK [edxapp : install CAS attribute module] ***********************************
2207skipping: [localhost]
2208
2209TASK [edxapp : install sandbox requirements into regular venv] *****************
2210skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
2211
2212TASK [edxapp : create nodeenv] *************************************************
2213changed: [localhost]
2214
2215TASK [edxapp : Set the npm registry] *******************************************
2216ok: [localhost]
2217
2218TASK [edxapp : Set the npm registry permissions] *******************************
2219changed: [localhost]
2220
2221TASK [edxapp : install node dependencies] **************************************
2222changed: [localhost]
2223
2224TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
2225changed: [localhost]
2226
2227TASK [edxapp : Create the virtualenv to install the Python sandbox requirements] ***
2228ok: [localhost]
2229
2230TASK [edxapp : Pin pip to a specific version.] *********************************
2231changed: [localhost]
2232
2233TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
2234ok: [localhost]
2235
2236TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
2237changed: [localhost]
2238
2239TASK [edxapp : compiling all py files in the edx-platform repo] ****************
2240changed: [localhost]
2241
2242TASK [edxapp : give other read permissions to the virtualenv] ******************
2243ok: [localhost]
2244
2245TASK [edxapp : create service wrapper scripts - {{item}}] **********************
2246ok: [localhost] => (item=lms.sh)
2247ok: [localhost] => (item=cms.sh)
2248ok: [localhost] => (item=worker.sh)
2249
2250TASK [edxapp : create application and auth config] *****************************
2251ok: [localhost] => (item=[u'lms', u'env'])
2252ok: [localhost] => (item=[u'lms', u'auth'])
2253ok: [localhost] => (item=[u'cms', u'env'])
2254ok: [localhost] => (item=[u'cms', u'auth'])
2255
2256TASK [edxapp : combined lms auth env for yml] **********************************
2257ok: [localhost]
2258
2259TASK [edxapp : render lms yml config] ******************************************
2260ok: [localhost] => (item=lms)
2261ok: [localhost] => (item=cms)
2262
2263TASK [edxapp : combined cms auth env for yml] **********************************
2264ok: [localhost]
2265
2266TASK [edxapp : render studio yml config] ***************************************
2267ok: [localhost] => (item=lms)
2268ok: [localhost] => (item=cms)
2269
2270TASK [edxapp : writing {{ item }} supervisor script] ***************************
2271ok: [localhost] => (item=lms)
2272ok: [localhost] => (item=cms)
2273
2274TASK [edxapp : writing celery supervisor scripts] ******************************
2275ok: [localhost] => (item=workers.conf)
2276
2277TASK [edxapp : clean out old edxapp.conf] **************************************
2278ok: [localhost]
2279
2280TASK [edxapp : add gunicorn configuration files] *******************************
2281ok: [localhost] => (item=lms)
2282ok: [localhost] => (item=cms)
2283
2284TASK [edxapp : enable {{ item }} supervisor script] ****************************
2285ok: [localhost] => (item=lms)
2286ok: [localhost] => (item=cms)
2287
2288TASK [edxapp : enable celery worker supervisor script] *************************
2289skipping: [localhost]
2290
2291TASK [edxapp : create helper scripts for managing edxapp] **********************
2292ok: [localhost] => (item=[u'edxapp-migrate', u'lms'])
2293ok: [localhost] => (item=[u'edxapp-migrate', u'cms'])
2294ok: [localhost] => (item=[u'edxapp-runserver', u'lms'])
2295ok: [localhost] => (item=[u'edxapp-runserver', u'cms'])
2296ok: [localhost] => (item=[u'edxapp-shell', u'lms'])
2297ok: [localhost] => (item=[u'edxapp-shell', u'cms'])
2298
2299TASK [edxapp : create script to compile and update assets] *********************
2300ok: [localhost]
2301
2302TASK [edxapp : migrate] ********************************************************
2303changed: [localhost] => (item=lms)
2304changed: [localhost] => (item=cms)
2305
2306TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
2307changed: [localhost] => (item=absent)
2308changed: [localhost] => (item=directory)
2309
2310TASK [edxapp : gather static assets with paver] ********************************
2311changed: [localhost]
2312
2313TASK [edxapp : update supervisor configuration] ********************************
2314ok: [localhost]
2315
2316TASK [edxapp : ensure edxapp has started] **************************************
2317ok: [localhost] => (item=lms)
2318ok: [localhost] => (item=cms)
2319
2320TASK [edxapp : ensure edxapp_workers has started] ******************************
2321skipping: [localhost]
2322
2323TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
2324ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
2325ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
2326ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
2327ok: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
2328
2329TASK [edxapp : remove read-only ssh key] ***************************************
2330skipping: [localhost]
2331
2332TASK [edxapp : get instance information] ***************************************
2333skipping: [localhost]
2334
2335TASK [edxapp : tag instance with edx_platform version] *************************
2336skipping: [localhost]
2337
2338TASK [edxapp : tag instance with edxapp theme version] *************************
2339skipping: [localhost]
2340
2341TASK [edxapp : set_fact] *******************************************************
2342ok: [localhost]
2343
2344TASK [edxapp : restart edxapp] *************************************************
2345changed: [localhost] => (item=lms)
2346changed: [localhost] => (item=cms)
2347
2348TASK [edxapp : restart edxapp_workers] *****************************************
2349skipping: [localhost]
2350
2351TASK [edxapp : create service worker users] ************************************
2352changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'enterprise_worker@example.com'})
2353changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'veda_service_user@example.com'})
2354skipping: [localhost] => (item={u'username': u'journals_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'journals_worker@example.com'})
2355changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'discovery_worker@example.com'})
2356changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'insights_worker@example.com'})
2357changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'credentials_worker@example.com'})
2358
2359TASK [edxapp : reindex all courses] ********************************************
2360skipping: [localhost]
2361
2362TASK [edxapp : install cron job to run clearsessions] **************************
2363skipping: [localhost]
2364
2365TASK [edxapp : install additional cron jobs] ***********************************
2366
2367TASK [add_user : create user groups] *******************************************
2368skipping: [localhost] => (item=edx-themes)
2369
2370TASK [add_user : create application user] **************************************
2371skipping: [localhost]
2372
2373TASK [add_user : ensure correct ownership of home directory] *******************
2374skipping: [localhost]
2375
2376TASK [add_user : create dirs for the user] *************************************
2377
2378TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
2379skipping: [localhost]
2380
2381TASK [git_clone : Validate git protocol] ***************************************
2382skipping: [localhost] => (item=(censored due to no_log))
2383
2384TASK [git_clone : Install read-only ssh key] ***********************************
2385skipping: [localhost] => (item=(censored due to no_log))
2386
2387TASK [git_clone : Check that working tree is clean] ****************************
2388skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
2389
2390TASK [git_clone : Require a clean working tree] ********************************
2391skipping: [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
2393TASK [git_clone : Checkout code over ssh] **************************************
2394skipping: [localhost] => (item=(censored due to no_log))
2395
2396TASK [git_clone : Checkout code over https] ************************************
2397skipping: [localhost] => (item=(censored due to no_log))
2398
2399TASK [git_clone : Remove read-only ssh key] ************************************
2400skipping: [localhost] => (item=(censored due to no_log))
2401
2402TASK [git_clone : Run git clean after checking out code] ***********************
2403skipping: [localhost] => (item=(censored due to no_log))
2404
2405TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
2406skipping: [localhost]
2407
2408TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
2409skipping: [localhost] => (item=ecommerce)
2410
2411TASK [edx_themes : update .bashrc to set umask value] **************************
2412skipping: [localhost]
2413
2414TASK [security : Install security packages] ************************************
2415skipping: [localhost] => (item=[])
2416
2417TASK [security : Update all system packages] ***********************************
2418skipping: [localhost]
2419
2420TASK [security : Configure periodic unattended-upgrades] ***********************
2421skipping: [localhost]
2422
2423TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
2424skipping: [localhost] => (item=systemctl disable apt-daily.service)
2425skipping: [localhost] => (item=systemctl disable apt-daily.timer)
2426skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
2427
2428TASK [security : Disable unattended-upgrades] **********************************
2429skipping: [localhost]
2430
2431TASK [security : Only unattended-upgrade from security repo] *******************
2432skipping: [localhost]
2433
2434TASK [security : Disable security only updates on unattended-upgrades] *********
2435skipping: [localhost]
2436
2437TASK [security : Take security updates during ansible runs] ********************
2438skipping: [localhost] => (item=unattended-upgrade --dry-run)
2439skipping: [localhost] => (item=unattended-upgrade)
2440
2441TASK [security : Install security packages] ************************************
2442skipping: [localhost] => (item=[])
2443
2444TASK [security : Enable automatic start for update service] ********************
2445skipping: [localhost]
2446
2447TASK [security : Update all system packages] ***********************************
2448skipping: [localhost]
2449
2450TASK [security : Configure security auto-updates] ******************************
2451skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
2452skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
2453
2454TASK [security : Take security updates during ansible runs] ********************
2455skipping: [localhost] => (item=yum check-update --security)
2456skipping: [localhost] => (item=yum update --security -y)
2457
2458TASK [security : Install security packages] ************************************
2459skipping: [localhost] => (item=[])
2460
2461TASK [security : Update all system packages] ***********************************
2462skipping: [localhost]
2463
2464TASK [security : Configure periodic unattended-upgrades] ***********************
2465skipping: [localhost]
2466
2467TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
2468skipping: [localhost] => (item=systemctl disable apt-daily.service)
2469skipping: [localhost] => (item=systemctl disable apt-daily.timer)
2470skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
2471
2472TASK [security : Disable unattended-upgrades] **********************************
2473skipping: [localhost]
2474
2475TASK [security : Only unattended-upgrade from security repo] *******************
2476skipping: [localhost]
2477
2478TASK [security : Disable security only updates on unattended-upgrades] *********
2479skipping: [localhost]
2480
2481TASK [security : Take security updates during ansible runs] ********************
2482skipping: [localhost] => (item=unattended-upgrade --dry-run)
2483skipping: [localhost] => (item=unattended-upgrade)
2484
2485TASK [security : Install security packages] ************************************
2486skipping: [localhost] => (item=[])
2487
2488TASK [security : Enable automatic start for update service] ********************
2489skipping: [localhost]
2490
2491TASK [security : Update all system packages] ***********************************
2492skipping: [localhost]
2493
2494TASK [security : Configure security auto-updates] ******************************
2495skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
2496skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
2497
2498TASK [security : Take security updates during ansible runs] ********************
2499skipping: [localhost] => (item=yum check-update --security)
2500skipping: [localhost] => (item=yum update --security -y)
2501
2502TASK [automated : Create automated user] ***************************************
2503
2504TASK [automated : Create sudoers file from template] ***************************
2505
2506TASK [automated : Create .ssh directory] ***************************************
2507
2508TASK [automated : Build authorized_keys file] **********************************
2509
2510TASK [automated : Build known_hosts file] **************************************
2511
2512TASK [add_user : create user groups] *******************************************
2513ok: [localhost] => (item=ecommerce)
2514
2515TASK [add_user : create application user] **************************************
2516ok: [localhost]
2517
2518TASK [add_user : ensure correct ownership of home directory] *******************
2519ok: [localhost]
2520
2521TASK [add_user : create dirs for the user] *************************************
2522
2523TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
2524changed: [localhost]
2525
2526TASK [git_clone : Validate git protocol] ***************************************
2527skipping: [localhost] => (item=(censored due to no_log))
2528
2529TASK [git_clone : Install read-only ssh key] ***********************************
2530skipping: [localhost] => (item=(censored due to no_log))
2531
2532TASK [git_clone : Check that working tree is clean] ****************************
2533changed: [localhost] => (item=/edx/app/ecommerce/ecommerce)
2534
2535TASK [git_clone : Require a clean working tree] ********************************
2536skipping: [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
2538TASK [git_clone : Checkout code over ssh] **************************************
2539skipping: [localhost] => (item=(censored due to no_log))
2540
2541TASK [git_clone : Checkout code over https] ************************************
2542ok: [localhost] => (item=(censored due to no_log))
2543
2544TASK [git_clone : Remove read-only ssh key] ************************************
2545skipping: [localhost] => (item=(censored due to no_log))
2546
2547TASK [git_clone : Run git clean after checking out code] ***********************
2548changed: [localhost] => (item=(censored due to no_log))
2549
2550TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
2551ok: [localhost] => (item=)
2552ok: [localhost] => (item=venvs)
2553ok: [localhost] => (item=data)
2554ok: [localhost] => (item=staticfiles)
2555
2556TASK [edx_service : Create /edx/var/app dir] ***********************************
2557ok: [localhost]
2558
2559TASK [edx_service : Create /edx/etc dir] ***************************************
2560changed: [localhost]
2561
2562TASK [edx_service : Create edx_service log dir] ********************************
2563ok: [localhost] => (item=/edx/var/log/ecommerce)
2564
2565TASK [edx_service : Write out app config file] *********************************
2566 [WARNING]: when statements should not include jinja2 templating delimiters
2567such as {{ }} or {% %}. Found: {{ edx_django_service_config }}
2568changed: [localhost]
2569
2570TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
2571ok: [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
2573TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
2574
2575TASK [edx_service : Get instance information] **********************************
2576ok: [localhost]
2577
2578TASK [edx_service : Tag instance] **********************************************
2579skipping: [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
2581TASK [edx_django_service : add gunicorn configuration file] ********************
2582ok: [localhost]
2583
2584TASK [edx_django_service : install python3] ************************************
2585skipping: [localhost] => (item=[])
2586
2587TASK [edx_django_service : build virtualenv with python3] **********************
2588skipping: [localhost]
2589
2590TASK [edx_django_service : build virtualenv with python2.7] ********************
2591ok: [localhost]
2592
2593TASK [edx_django_service : Pin pip to a specific version.] *********************
2594changed: [localhost]
2595
2596TASK [edx_django_service : install nodenv] *************************************
2597changed: [localhost]
2598
2599TASK [edx_django_service : create nodeenv] *************************************
2600ok: [localhost]
2601
2602TASK [edx_django_service : install production requirements] ********************
2603changed: [localhost]
2604
2605TASK [edx_django_service : install development requirements] *******************
2606skipping: [localhost]
2607
2608TASK [edx_django_service : migrate database] ***********************************
2609changed: [localhost]
2610
2611TASK [edx_django_service : run post-migrate commands] **************************
2612changed: [localhost] => (item={u'when': True, u'command': u'./manage.py oscar_populate_countries --initial-only'})
2613changed: [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 staff@example.com --discovery_api_url=http://localhost:8008/api/v1/ --journals_api_url='})
2614changed: [localhost] => (item={u'when': True, u'command': u'./manage.py create_demo_data --partner=edX'})
2615
2616TASK [edx_django_service : ensure log files exist for tailing] *****************
2617changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stdout.log)
2618changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stderr.log)
2619
2620TASK [edx_django_service : write out the supervisor wrapper] *******************
2621ok: [localhost]
2622
2623TASK [edx_django_service : write supervisord config] ***************************
2624ok: [localhost]
2625
2626TASK [edx_django_service : write devstack script] ******************************
2627skipping: [localhost]
2628
2629TASK [edx_django_service : setup the app env file] *****************************
2630ok: [localhost]
2631
2632TASK [edx_django_service : enable supervisor script] ***************************
2633ok: [localhost]
2634
2635TASK [edx_django_service : update supervisor configuration] ********************
2636changed: [localhost]
2637
2638TASK [edx_django_service : create symlinks from the venv bin dir] **************
2639ok: [localhost] => (item=python)
2640ok: [localhost] => (item=pip)
2641ok: [localhost] => (item=django-admin.py)
2642
2643TASK [edx_django_service : create symlinks from the repo dir] ******************
2644ok: [localhost] => (item=manage.py)
2645
2646TASK [edx_django_service : compile static assets] ******************************
2647changed: [localhost]
2648
2649TASK [edx_django_service : restart the application] ****************************
2650changed: [localhost]
2651
2652TASK [edx_django_service : Copying nginx configs for the service] **************
2653ok: [localhost]
2654
2655TASK [edx_django_service : Creating nginx config links for the service] ********
2656ok: [localhost]
2657
2658TASK [security : Install security packages] ************************************
2659skipping: [localhost] => (item=[])
2660
2661TASK [security : Update all system packages] ***********************************
2662skipping: [localhost]
2663
2664TASK [security : Configure periodic unattended-upgrades] ***********************
2665skipping: [localhost]
2666
2667TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
2668skipping: [localhost] => (item=systemctl disable apt-daily.service)
2669skipping: [localhost] => (item=systemctl disable apt-daily.timer)
2670skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
2671
2672TASK [security : Disable unattended-upgrades] **********************************
2673skipping: [localhost]
2674
2675TASK [security : Only unattended-upgrade from security repo] *******************
2676skipping: [localhost]
2677
2678TASK [security : Disable security only updates on unattended-upgrades] *********
2679skipping: [localhost]
2680
2681TASK [security : Take security updates during ansible runs] ********************
2682skipping: [localhost] => (item=unattended-upgrade)
2683skipping: [localhost] => (item=unattended-upgrade --dry-run)
2684
2685TASK [security : Install security packages] ************************************
2686skipping: [localhost] => (item=[])
2687
2688TASK [security : Enable automatic start for update service] ********************
2689skipping: [localhost]
2690
2691TASK [security : Update all system packages] ***********************************
2692skipping: [localhost]
2693
2694TASK [security : Configure security auto-updates] ******************************
2695skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
2696skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
2697
2698TASK [security : Take security updates during ansible runs] ********************
2699skipping: [localhost] => (item=yum check-update --security)
2700skipping: [localhost] => (item=yum update --security -y)
2701
2702TASK [antivirus : install antivirus system packages] ***************************
2703skipping: [localhost] => (item=[])
2704
2705TASK [antivirus : create antivirus scanner user] *******************************
2706skipping: [localhost]
2707
2708TASK [antivirus : create antivirus edx directories] ****************************
2709skipping: [localhost] => (item=/edx/app/antivirus)
2710skipping: [localhost] => (item=/edx/app/antivirus/data)
2711skipping: [localhost] => (item=/edx/var/log/antivirus)
2712
2713TASK [antivirus : Ensure the clamav.log file exists] ***************************
2714skipping: [localhost]
2715
2716TASK [antivirus : install antivirus s3 scanner script] *************************
2717skipping: [localhost]
2718
2719TASK [antivirus : install antivirus s3 scanner cronjob] ************************
2720skipping: [localhost] => (item=None)
2721
2722TASK [antivirus : install antivirus server scanner script] *********************
2723skipping: [localhost]
2724
2725TASK [antivirus : install antivirus server scanner cronjob] ********************
2726skipping: [localhost]
2727
2728TASK [ecommerce : Create Apple Pay certificates directory] *********************
2729ok: [localhost]
2730
2731TASK [ecommerce : Write Apple Pay merchant certificates] ***********************
2732ok: [localhost]
2733
2734TASK [security : Install security packages] ************************************
2735skipping: [localhost] => (item=[])
2736
2737TASK [security : Update all system packages] ***********************************
2738skipping: [localhost]
2739
2740TASK [security : Configure periodic unattended-upgrades] ***********************
2741skipping: [localhost]
2742
2743TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
2744skipping: [localhost] => (item=systemctl disable apt-daily.service)
2745skipping: [localhost] => (item=systemctl disable apt-daily.timer)
2746skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
2747
2748TASK [security : Disable unattended-upgrades] **********************************
2749skipping: [localhost]
2750
2751TASK [security : Only unattended-upgrade from security repo] *******************
2752skipping: [localhost]
2753
2754TASK [security : Disable security only updates on unattended-upgrades] *********
2755skipping: [localhost]
2756
2757TASK [security : Take security updates during ansible runs] ********************
2758skipping: [localhost] => (item=unattended-upgrade --dry-run)
2759skipping: [localhost] => (item=unattended-upgrade)
2760
2761TASK [security : Install security packages] ************************************
2762skipping: [localhost] => (item=[])
2763
2764TASK [security : Enable automatic start for update service] ********************
2765skipping: [localhost]
2766
2767TASK [security : Update all system packages] ***********************************
2768skipping: [localhost]
2769
2770TASK [security : Configure security auto-updates] ******************************
2771skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
2772skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
2773
2774TASK [security : Take security updates during ansible runs] ********************
2775skipping: [localhost] => (item=yum check-update --security)
2776skipping: [localhost] => (item=yum update --security -y)
2777
2778TASK [security : Install security packages] ************************************
2779skipping: [localhost] => (item=[])
2780
2781TASK [security : Update all system packages] ***********************************
2782skipping: [localhost]
2783
2784TASK [security : Configure periodic unattended-upgrades] ***********************
2785skipping: [localhost]
2786
2787TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
2788skipping: [localhost] => (item=systemctl disable apt-daily.service)
2789skipping: [localhost] => (item=systemctl disable apt-daily.timer)
2790skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
2791
2792TASK [security : Disable unattended-upgrades] **********************************
2793skipping: [localhost]
2794
2795TASK [security : Only unattended-upgrade from security repo] *******************
2796skipping: [localhost]
2797
2798TASK [security : Disable security only updates on unattended-upgrades] *********
2799skipping: [localhost]
2800
2801TASK [security : Take security updates during ansible runs] ********************
2802skipping: [localhost] => (item=unattended-upgrade --dry-run)
2803skipping: [localhost] => (item=unattended-upgrade)
2804
2805TASK [security : Install security packages] ************************************
2806skipping: [localhost] => (item=[])
2807
2808TASK [security : Enable automatic start for update service] ********************
2809skipping: [localhost]
2810
2811TASK [security : Update all system packages] ***********************************
2812skipping: [localhost]
2813
2814TASK [security : Configure security auto-updates] ******************************
2815skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
2816skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
2817
2818TASK [security : Take security updates during ansible runs] ********************
2819skipping: [localhost] => (item=yum check-update --security)
2820skipping: [localhost] => (item=yum update --security -y)
2821
2822TASK [add_user : create user groups] *******************************************
2823ok: [localhost] => (item=ecomworker)
2824
2825TASK [add_user : create application user] **************************************
2826ok: [localhost]
2827
2828TASK [add_user : ensure correct ownership of home directory] *******************
2829ok: [localhost]
2830
2831TASK [add_user : create dirs for the user] *************************************
2832
2833TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
2834changed: [localhost]
2835
2836TASK [git_clone : Validate git protocol] ***************************************
2837skipping: [localhost] => (item=(censored due to no_log))
2838
2839TASK [git_clone : Install read-only ssh key] ***********************************
2840skipping: [localhost] => (item=(censored due to no_log))
2841
2842TASK [git_clone : Check that working tree is clean] ****************************
2843changed: [localhost] => (item=/edx/app/ecomworker/ecomworker)
2844
2845TASK [git_clone : Require a clean working tree] ********************************
2846skipping: [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
2848TASK [git_clone : Checkout code over ssh] **************************************
2849skipping: [localhost] => (item=(censored due to no_log))
2850
2851TASK [git_clone : Checkout code over https] ************************************
2852ok: [localhost] => (item=(censored due to no_log))
2853
2854TASK [git_clone : Remove read-only ssh key] ************************************
2855skipping: [localhost] => (item=(censored due to no_log))
2856
2857TASK [git_clone : Run git clean after checking out code] ***********************
2858changed: [localhost] => (item=(censored due to no_log))
2859
2860TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
2861ok: [localhost] => (item=)
2862ok: [localhost] => (item=venvs)
2863ok: [localhost] => (item=data)
2864ok: [localhost] => (item=staticfiles)
2865
2866TASK [edx_service : Create /edx/var/app dir] ***********************************
2867ok: [localhost]
2868
2869TASK [edx_service : Create /edx/etc dir] ***************************************
2870changed: [localhost]
2871
2872TASK [edx_service : Create edx_service log dir] ********************************
2873ok: [localhost] => (item=/edx/var/log/ecomworker)
2874
2875TASK [edx_service : Write out app config file] *********************************
2876 [WARNING]: when statements should not include jinja2 templating delimiters
2877such as {{ }} or {% %}. Found: {{ ECOMMERCE_WORKER_SERVICE_CONFIG }}
2878changed: [localhost]
2879
2880TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
2881
2882TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
2883
2884TASK [edx_service : Get instance information] **********************************
2885ok: [localhost]
2886
2887TASK [edx_service : Tag instance] **********************************************
2888skipping: [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
2890TASK [ecomworker : install application requirements] ***************************
2891ok: [localhost] => (item=production.txt)
2892ok: [localhost] => (item=optional.txt)
2893
2894TASK [ecomworker : write out the supervisor wrapper] ***************************
2895ok: [localhost]
2896
2897TASK [ecomworker : write supervisord config] ***********************************
2898ok: [localhost]
2899
2900TASK [ecomworker : setup the ecommerce_worker env file] ************************
2901ok: [localhost]
2902
2903TASK [ecomworker : enable supervisor script] ***********************************
2904ok: [localhost]
2905
2906TASK [ecomworker : update supervisor configuration] ****************************
2907changed: [localhost]
2908
2909TASK [ecomworker : create symlinks from the venv bin dir] **********************
2910ok: [localhost] => (item=python)
2911ok: [localhost] => (item=pip)
2912
2913TASK [ecomworker : restart the applicaton] *************************************
2914changed: [localhost]
2915
2916TASK [security : Install security packages] ************************************
2917skipping: [localhost] => (item=[])
2918
2919TASK [security : Update all system packages] ***********************************
2920skipping: [localhost]
2921
2922TASK [security : Configure periodic unattended-upgrades] ***********************
2923skipping: [localhost]
2924
2925TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
2926skipping: [localhost] => (item=systemctl disable apt-daily.service)
2927skipping: [localhost] => (item=systemctl disable apt-daily.timer)
2928skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
2929
2930TASK [security : Disable unattended-upgrades] **********************************
2931skipping: [localhost]
2932
2933TASK [security : Only unattended-upgrade from security repo] *******************
2934skipping: [localhost]
2935
2936TASK [security : Disable security only updates on unattended-upgrades] *********
2937skipping: [localhost]
2938
2939TASK [security : Take security updates during ansible runs] ********************
2940skipping: [localhost] => (item=unattended-upgrade)
2941skipping: [localhost] => (item=unattended-upgrade --dry-run)
2942
2943TASK [security : Install security packages] ************************************
2944skipping: [localhost] => (item=[])
2945
2946TASK [security : Enable automatic start for update service] ********************
2947skipping: [localhost]
2948
2949TASK [security : Update all system packages] ***********************************
2950skipping: [localhost]
2951
2952TASK [security : Configure security auto-updates] ******************************
2953skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
2954skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
2955
2956TASK [security : Take security updates during ansible runs] ********************
2957skipping: [localhost] => (item=yum check-update --security)
2958skipping: [localhost] => (item=yum update --security -y)
2959
2960TASK [security : Install security packages] ************************************
2961skipping: [localhost] => (item=[])
2962
2963TASK [security : Update all system packages] ***********************************
2964skipping: [localhost]
2965
2966TASK [security : Configure periodic unattended-upgrades] ***********************
2967skipping: [localhost]
2968
2969TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
2970skipping: [localhost] => (item=systemctl disable apt-daily.service)
2971skipping: [localhost] => (item=systemctl disable apt-daily.timer)
2972skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
2973
2974TASK [security : Disable unattended-upgrades] **********************************
2975skipping: [localhost]
2976
2977TASK [security : Only unattended-upgrade from security repo] *******************
2978skipping: [localhost]
2979
2980TASK [security : Disable security only updates on unattended-upgrades] *********
2981skipping: [localhost]
2982
2983TASK [security : Take security updates during ansible runs] ********************
2984skipping: [localhost] => (item=unattended-upgrade --dry-run)
2985skipping: [localhost] => (item=unattended-upgrade)
2986
2987TASK [security : Install security packages] ************************************
2988skipping: [localhost] => (item=[])
2989
2990TASK [security : Enable automatic start for update service] ********************
2991skipping: [localhost]
2992
2993TASK [security : Update all system packages] ***********************************
2994skipping: [localhost]
2995
2996TASK [security : Configure security auto-updates] ******************************
2997skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
2998skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
2999
3000TASK [security : Take security updates during ansible runs] ********************
3001skipping: [localhost] => (item=yum check-update --security)
3002skipping: [localhost] => (item=yum update --security -y)
3003
3004TASK [automated : Create automated user] ***************************************
3005ok: [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
3007TASK [automated : Create sudoers file from template] ***************************
3008ok: [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
3010TASK [automated : Create .ssh directory] ***************************************
3011ok: [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
3013TASK [automated : Build authorized_keys file] **********************************
3014ok: [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
3016TASK [automated : Build known_hosts file] **************************************
3017changed: [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
3019TASK [add_user : create user groups] *******************************************
3020ok: [localhost] => (item=analytics_api)
3021
3022TASK [add_user : create application user] **************************************
3023ok: [localhost]
3024
3025TASK [add_user : ensure correct ownership of home directory] *******************
3026ok: [localhost]
3027
3028TASK [add_user : create dirs for the user] *************************************
3029
3030TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
3031changed: [localhost]
3032
3033TASK [git_clone : Validate git protocol] ***************************************
3034skipping: [localhost] => (item=(censored due to no_log))
3035
3036TASK [git_clone : Install read-only ssh key] ***********************************
3037skipping: [localhost] => (item=(censored due to no_log))
3038
3039TASK [git_clone : Check that working tree is clean] ****************************
3040changed: [localhost] => (item=/edx/app/analytics_api/analytics_api)
3041
3042TASK [git_clone : Require a clean working tree] ********************************
3043skipping: [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
3045TASK [git_clone : Checkout code over ssh] **************************************
3046skipping: [localhost] => (item=(censored due to no_log))
3047
3048TASK [git_clone : Checkout code over https] ************************************
3049ok: [localhost] => (item=(censored due to no_log))
3050
3051TASK [git_clone : Remove read-only ssh key] ************************************
3052skipping: [localhost] => (item=(censored due to no_log))
3053
3054TASK [git_clone : Run git clean after checking out code] ***********************
3055changed: [localhost] => (item=(censored due to no_log))
3056
3057TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
3058ok: [localhost] => (item=)
3059ok: [localhost] => (item=venvs)
3060ok: [localhost] => (item=data)
3061ok: [localhost] => (item=staticfiles)
3062
3063TASK [edx_service : Create /edx/var/app dir] ***********************************
3064ok: [localhost]
3065
3066TASK [edx_service : Create /edx/etc dir] ***************************************
3067changed: [localhost]
3068
3069TASK [edx_service : Create edx_service log dir] ********************************
3070ok: [localhost] => (item=/edx/var/log/analytics_api)
3071
3072TASK [edx_service : Write out app config file] *********************************
3073 [WARNING]: when statements should not include jinja2 templating delimiters
3074such as {{ }} or {% %}. Found: {{ edx_django_service_config }}
3075changed: [localhost]
3076
3077TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
3078ok: [localhost] => (item=[u'gettext', u'libffi-dev', u'libmemcached-dev', u'libmysqlclient-dev', u'libssl-dev', u'libmysqlclient-dev'])
3079
3080TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
3081
3082TASK [edx_service : Get instance information] **********************************
3083ok: [localhost]
3084
3085TASK [edx_service : Tag instance] **********************************************
3086skipping: [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
3088TASK [edx_django_service : add gunicorn configuration file] ********************
3089ok: [localhost]
3090
3091TASK [edx_django_service : install python3] ************************************
3092skipping: [localhost] => (item=[])
3093
3094TASK [edx_django_service : build virtualenv with python3] **********************
3095skipping: [localhost]
3096
3097TASK [edx_django_service : build virtualenv with python2.7] ********************
3098ok: [localhost]
3099
3100TASK [edx_django_service : Pin pip to a specific version.] *********************
3101changed: [localhost]
3102
3103TASK [edx_django_service : install nodenv] *************************************
3104changed: [localhost]
3105
3106TASK [edx_django_service : create nodeenv] *************************************
3107ok: [localhost]
3108
3109TASK [edx_django_service : install production requirements] ********************
3110changed: [localhost]
3111
3112TASK [edx_django_service : install development requirements] *******************
3113skipping: [localhost]
3114
3115TASK [edx_django_service : migrate database] ***********************************
3116changed: [localhost]
3117
3118TASK [edx_django_service : run post-migrate commands] **************************
3119
3120TASK [edx_django_service : ensure log files exist for tailing] *****************
3121changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stdout.log)
3122changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stderr.log)
3123
3124TASK [edx_django_service : write out the supervisor wrapper] *******************
3125ok: [localhost]
3126
3127TASK [edx_django_service : write supervisord config] ***************************
3128ok: [localhost]
3129
3130TASK [edx_django_service : write devstack script] ******************************
3131skipping: [localhost]
3132
3133TASK [edx_django_service : setup the app env file] *****************************
3134ok: [localhost]
3135
3136TASK [edx_django_service : enable supervisor script] ***************************
3137ok: [localhost]
3138
3139TASK [edx_django_service : update supervisor configuration] ********************
3140changed: [localhost]
3141
3142TASK [edx_django_service : create symlinks from the venv bin dir] **************
3143ok: [localhost] => (item=python)
3144ok: [localhost] => (item=pip)
3145ok: [localhost] => (item=django-admin.py)
3146
3147TASK [edx_django_service : create symlinks from the repo dir] ******************
3148ok: [localhost] => (item=manage.py)
3149
3150TASK [edx_django_service : compile static assets] ******************************
3151changed: [localhost]
3152
3153TASK [edx_django_service : restart the application] ****************************
3154changed: [localhost]
3155
3156TASK [edx_django_service : Copying nginx configs for the service] **************
3157ok: [localhost]
3158
3159TASK [edx_django_service : Creating nginx config links for the service] ********
3160ok: [localhost]
3161
3162TASK [analytics_api : create api users] ****************************************
3163changed: [localhost] => (item={'key': u'dummy-api-user', 'value': u'changeme'})
3164
3165TASK [security : Install security packages] ************************************
3166skipping: [localhost] => (item=[])
3167
3168TASK [security : Update all system packages] ***********************************
3169skipping: [localhost]
3170
3171TASK [security : Configure periodic unattended-upgrades] ***********************
3172skipping: [localhost]
3173
3174TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
3175skipping: [localhost] => (item=systemctl disable apt-daily.service)
3176skipping: [localhost] => (item=systemctl disable apt-daily.timer)
3177skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
3178
3179TASK [security : Disable unattended-upgrades] **********************************
3180skipping: [localhost]
3181
3182TASK [security : Only unattended-upgrade from security repo] *******************
3183skipping: [localhost]
3184
3185TASK [security : Disable security only updates on unattended-upgrades] *********
3186skipping: [localhost]
3187
3188TASK [security : Take security updates during ansible runs] ********************
3189skipping: [localhost] => (item=unattended-upgrade --dry-run)
3190skipping: [localhost] => (item=unattended-upgrade)
3191
3192TASK [security : Install security packages] ************************************
3193skipping: [localhost] => (item=[])
3194
3195TASK [security : Enable automatic start for update service] ********************
3196skipping: [localhost]
3197
3198TASK [security : Update all system packages] ***********************************
3199skipping: [localhost]
3200
3201TASK [security : Configure security auto-updates] ******************************
3202skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
3203skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
3204
3205TASK [security : Take security updates during ansible runs] ********************
3206skipping: [localhost] => (item=yum check-update --security)
3207skipping: [localhost] => (item=yum update --security -y)
3208
3209TASK [security : Install security packages] ************************************
3210skipping: [localhost] => (item=[])
3211
3212TASK [security : Update all system packages] ***********************************
3213skipping: [localhost]
3214
3215TASK [security : Configure periodic unattended-upgrades] ***********************
3216skipping: [localhost]
3217
3218TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
3219skipping: [localhost] => (item=systemctl disable apt-daily.timer)
3220skipping: [localhost] => (item=systemctl disable apt-daily.service)
3221skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
3222
3223TASK [security : Disable unattended-upgrades] **********************************
3224skipping: [localhost]
3225
3226TASK [security : Only unattended-upgrade from security repo] *******************
3227skipping: [localhost]
3228
3229TASK [security : Disable security only updates on unattended-upgrades] *********
3230skipping: [localhost]
3231
3232TASK [security : Take security updates during ansible runs] ********************
3233skipping: [localhost] => (item=unattended-upgrade --dry-run)
3234skipping: [localhost] => (item=unattended-upgrade)
3235
3236TASK [security : Install security packages] ************************************
3237skipping: [localhost] => (item=[])
3238
3239TASK [security : Enable automatic start for update service] ********************
3240skipping: [localhost]
3241
3242TASK [security : Update all system packages] ***********************************
3243skipping: [localhost]
3244
3245TASK [security : Configure security auto-updates] ******************************
3246skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
3247skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
3248
3249TASK [security : Take security updates during ansible runs] ********************
3250skipping: [localhost] => (item=yum check-update --security)
3251skipping: [localhost] => (item=yum update --security -y)
3252
3253TASK [add_user : create user groups] *******************************************
3254ok: [localhost] => (item=insights)
3255
3256TASK [add_user : create application user] **************************************
3257ok: [localhost]
3258
3259TASK [add_user : ensure correct ownership of home directory] *******************
3260ok: [localhost]
3261
3262TASK [add_user : create dirs for the user] *************************************
3263
3264TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
3265changed: [localhost]
3266
3267TASK [git_clone : Validate git protocol] ***************************************
3268skipping: [localhost] => (item=(censored due to no_log))
3269
3270TASK [git_clone : Install read-only ssh key] ***********************************
3271skipping: [localhost] => (item=(censored due to no_log))
3272
3273TASK [git_clone : Check that working tree is clean] ****************************
3274changed: [localhost] => (item=/edx/app/insights/edx_analytics_dashboard)
3275
3276TASK [git_clone : Require a clean working tree] ********************************
3277skipping: [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
3279TASK [git_clone : Checkout code over ssh] **************************************
3280skipping: [localhost] => (item=(censored due to no_log))
3281
3282TASK [git_clone : Checkout code over https] ************************************
3283ok: [localhost] => (item=(censored due to no_log))
3284
3285TASK [git_clone : Remove read-only ssh key] ************************************
3286skipping: [localhost] => (item=(censored due to no_log))
3287
3288TASK [git_clone : Run git clean after checking out code] ***********************
3289changed: [localhost] => (item=(censored due to no_log))
3290
3291TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
3292ok: [localhost] => (item=)
3293ok: [localhost] => (item=venvs)
3294ok: [localhost] => (item=data)
3295ok: [localhost] => (item=staticfiles)
3296
3297TASK [edx_service : Create /edx/var/app dir] ***********************************
3298ok: [localhost]
3299
3300TASK [edx_service : Create /edx/etc dir] ***************************************
3301changed: [localhost]
3302
3303TASK [edx_service : Create edx_service log dir] ********************************
3304ok: [localhost] => (item=/edx/var/log/insights)
3305
3306TASK [edx_service : Write out app config file] *********************************
3307 [WARNING]: when statements should not include jinja2 templating delimiters
3308such as {{ }} or {% %}. Found: {{ INSIGHTS_CONFIG }}
3309changed: [localhost]
3310
3311TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
3312ok: [localhost] => (item=[u'libmysqlclient-dev', u'build-essential', u'gettext', u'openjdk-8-jdk'])
3313
3314TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
3315
3316TASK [edx_service : Get instance information] **********************************
3317ok: [localhost]
3318
3319TASK [edx_service : Tag instance] **********************************************
3320skipping: [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
3322TASK [insights : setup the insights env file] **********************************
3323ok: [localhost]
3324
3325TASK [insights : install application requirements] *****************************
3326ok: [localhost] => (item=production.txt)
3327ok: [localhost] => (item=optional.txt)
3328
3329TASK [insights : create nodeenv] ***********************************************
3330changed: [localhost]
3331
3332TASK [insights : install node dependencies] ************************************
3333changed: [localhost]
3334
3335TASK [insights : migrate] ******************************************************
3336changed: [localhost]
3337
3338TASK [insights : run webpack] **************************************************
3339changed: [localhost]
3340
3341TASK [insights : run collectstatic] ********************************************
3342changed: [localhost] => (item=collectstatic --noinput)
3343
3344TASK [insights : write out the supervisior wrapper] ****************************
3345ok: [localhost]
3346
3347TASK [insights : write supervisord config] *************************************
3348ok: [localhost]
3349
3350TASK [insights : enable supervisor script] *************************************
3351ok: [localhost]
3352
3353TASK [insights : update supervisor configuration] ******************************
3354changed: [localhost]
3355
3356TASK [insights : create symlinks from the venv bin dir] ************************
3357ok: [localhost] => (item=python)
3358ok: [localhost] => (item=pip)
3359ok: [localhost] => (item=django-admin.py)
3360
3361TASK [insights : create manage.py symlink] *************************************
3362ok: [localhost]
3363
3364TASK [insights : restart insights] *********************************************
3365changed: [localhost]
3366
3367TASK [security : Install security packages] ************************************
3368skipping: [localhost] => (item=[])
3369
3370TASK [security : Update all system packages] ***********************************
3371skipping: [localhost]
3372
3373TASK [security : Configure periodic unattended-upgrades] ***********************
3374skipping: [localhost]
3375
3376TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
3377skipping: [localhost] => (item=systemctl disable apt-daily.service)
3378skipping: [localhost] => (item=systemctl disable apt-daily.timer)
3379skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
3380
3381TASK [security : Disable unattended-upgrades] **********************************
3382skipping: [localhost]
3383
3384TASK [security : Only unattended-upgrade from security repo] *******************
3385skipping: [localhost]
3386
3387TASK [security : Disable security only updates on unattended-upgrades] *********
3388skipping: [localhost]
3389
3390TASK [security : Take security updates during ansible runs] ********************
3391skipping: [localhost] => (item=unattended-upgrade --dry-run)
3392skipping: [localhost] => (item=unattended-upgrade)
3393
3394TASK [security : Install security packages] ************************************
3395skipping: [localhost] => (item=[])
3396
3397TASK [security : Enable automatic start for update service] ********************
3398skipping: [localhost]
3399
3400TASK [security : Update all system packages] ***********************************
3401skipping: [localhost]
3402
3403TASK [security : Configure security auto-updates] ******************************
3404skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
3405skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
3406
3407TASK [security : Take security updates during ansible runs] ********************
3408skipping: [localhost] => (item=yum check-update --security)
3409skipping: [localhost] => (item=yum update --security -y)
3410
3411TASK [demo : create demo app and data dirs] ************************************
3412ok: [localhost]
3413
3414TASK [demo : check out the demo course] ****************************************
3415ok: [localhost]
3416
3417TASK [demo : import demo course] ***********************************************
3418skipping: [localhost]
3419
3420TASK [demo : build staff and test user list] ***********************************
3421ok: [localhost]
3422
3423TASK [demo : build staff and test user list] ***********************************
3424skipping: [localhost]
3425
3426TASK [demo : build staff, admin, and test user list] ***************************
3427ok: [localhost]
3428
3429TASK [demo : create some test users] *******************************************
3430skipping: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'honor@example.com'})
3431skipping: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'audit@example.com'})
3432skipping: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'verified@example.com'})
3433skipping: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'staff@example.com'})
3434
3435TASK [demo : enroll test users in the demo course] *****************************
3436skipping: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'honor@example.com'})
3437skipping: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'audit@example.com'})
3438skipping: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'verified@example.com'})
3439skipping: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'staff@example.com'})
3440
3441TASK [demo : add test users to the certificate whitelist] **********************
3442skipping: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'honor@example.com'})
3443skipping: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'audit@example.com'})
3444skipping: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'verified@example.com'})
3445
3446TASK [demo : seed the forums for the demo course] ******************************
3447skipping: [localhost]
3448
3449TASK [oauth_client_setup : create OAuth2 Clients] ******************************
3450changed: [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'})
3451changed: [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'})
3452skipping: [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'})
3453changed: [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'})
3454skipping: [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'})
3455skipping: [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
3457TASK [oraclejdk : Install debian needed pkgs] **********************************
3458ok: [localhost] => (item=[u'curl'])
3459
3460TASK [oraclejdk : Download Oracle Java] ****************************************
3461ok: [localhost]
3462
3463TASK [oraclejdk : Create jvm dir] **********************************************
3464ok: [localhost]
3465
3466TASK [oraclejdk : Untar Oracle Java] *******************************************
3467ok: [localhost]
3468
3469TASK [oraclejdk : Create symlink expected by elasticsearch] ********************
3470ok: [localhost]
3471
3472TASK [oraclejdk : Update alternatives java] ************************************
3473ok: [localhost] => (item=java)
3474ok: [localhost] => (item=javac)
3475ok: [localhost] => (item=javaws)
3476ok: [localhost] => (item=jarsigner)
3477
3478TASK [oraclejdk : Add JAVA_HOME for Oracle Java] *******************************
3479ok: [localhost]
3480
3481TASK [security : Install security packages] ************************************
3482skipping: [localhost] => (item=[])
3483
3484TASK [security : Update all system packages] ***********************************
3485skipping: [localhost]
3486
3487TASK [security : Configure periodic unattended-upgrades] ***********************
3488skipping: [localhost]
3489
3490TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
3491skipping: [localhost] => (item=systemctl disable apt-daily.service)
3492skipping: [localhost] => (item=systemctl disable apt-daily.timer)
3493skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
3494
3495TASK [security : Disable unattended-upgrades] **********************************
3496skipping: [localhost]
3497
3498TASK [security : Only unattended-upgrade from security repo] *******************
3499skipping: [localhost]
3500
3501TASK [security : Disable security only updates on unattended-upgrades] *********
3502skipping: [localhost]
3503
3504TASK [security : Take security updates during ansible runs] ********************
3505skipping: [localhost] => (item=unattended-upgrade --dry-run)
3506skipping: [localhost] => (item=unattended-upgrade)
3507
3508TASK [security : Install security packages] ************************************
3509skipping: [localhost] => (item=[])
3510
3511TASK [security : Enable automatic start for update service] ********************
3512skipping: [localhost]
3513
3514TASK [security : Update all system packages] ***********************************
3515skipping: [localhost]
3516
3517TASK [security : Configure security auto-updates] ******************************
3518skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
3519skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
3520
3521TASK [security : Take security updates during ansible runs] ********************
3522skipping: [localhost] => (item=yum check-update --security)
3523skipping: [localhost] => (item=yum update --security -y)
3524
3525TASK [elasticsearch : Install Elasticsearch repo key] **************************
3526ok: [localhost]
3527
3528TASK [elasticsearch : Add Elasticsearch Repo] **********************************
3529ok: [localhost]
3530
3531TASK [elasticsearch : install elasticsearch] ***********************************
3532ok: [localhost]
3533
3534TASK [elasticsearch : create directories] **************************************
3535ok: [localhost] => (item=/edx/var/elasticsearch)
3536ok: [localhost] => (item=/edx/var/log/elasticsearch)
3537ok: [localhost] => (item=/edx/etc/elasticsearch)
3538
3539TASK [elasticsearch : update elasticsearch defaults] ***************************
3540ok: [localhost]
3541
3542TASK [elasticsearch : drop the elasticsearch config] ***************************
3543ok: [localhost]
3544
3545TASK [elasticsearch : drop the elasticsearch logging config] *******************
3546ok: [localhost]
3547
3548TASK [elasticsearch : Ensure elasticsearch is enabled and started] *************
3549ok: [localhost]
3550
3551TASK [elasticsearch : Restart elastic when there has been an upgrade] **********
3552skipping: [localhost]
3553
3554TASK [security : Install security packages] ************************************
3555skipping: [localhost] => (item=[])
3556
3557TASK [security : Update all system packages] ***********************************
3558skipping: [localhost]
3559
3560TASK [security : Configure periodic unattended-upgrades] ***********************
3561skipping: [localhost]
3562
3563TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
3564skipping: [localhost] => (item=systemctl disable apt-daily.service)
3565skipping: [localhost] => (item=systemctl disable apt-daily.timer)
3566skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
3567
3568TASK [security : Disable unattended-upgrades] **********************************
3569skipping: [localhost]
3570
3571TASK [security : Only unattended-upgrade from security repo] *******************
3572skipping: [localhost]
3573
3574TASK [security : Disable security only updates on unattended-upgrades] *********
3575skipping: [localhost]
3576
3577TASK [security : Take security updates during ansible runs] ********************
3578skipping: [localhost] => (item=unattended-upgrade --dry-run)
3579skipping: [localhost] => (item=unattended-upgrade)
3580
3581TASK [security : Install security packages] ************************************
3582skipping: [localhost] => (item=[])
3583
3584TASK [security : Enable automatic start for update service] ********************
3585skipping: [localhost]
3586
3587TASK [security : Update all system packages] ***********************************
3588skipping: [localhost]
3589
3590TASK [security : Configure security auto-updates] ******************************
3591skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
3592skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
3593
3594TASK [security : Take security updates during ansible runs] ********************
3595skipping: [localhost] => (item=yum check-update --security)
3596skipping: [localhost] => (item=yum update --security -y)
3597
3598TASK [security : Install security packages] ************************************
3599skipping: [localhost] => (item=[])
3600
3601TASK [security : Update all system packages] ***********************************
3602skipping: [localhost]
3603
3604TASK [security : Configure periodic unattended-upgrades] ***********************
3605skipping: [localhost]
3606
3607TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
3608skipping: [localhost] => (item=systemctl disable apt-daily.service)
3609skipping: [localhost] => (item=systemctl disable apt-daily.timer)
3610skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
3611
3612TASK [security : Disable unattended-upgrades] **********************************
3613skipping: [localhost]
3614
3615TASK [security : Only unattended-upgrade from security repo] *******************
3616skipping: [localhost]
3617
3618TASK [security : Disable security only updates on unattended-upgrades] *********
3619skipping: [localhost]
3620
3621TASK [security : Take security updates during ansible runs] ********************
3622skipping: [localhost] => (item=unattended-upgrade --dry-run)
3623skipping: [localhost] => (item=unattended-upgrade)
3624
3625TASK [security : Install security packages] ************************************
3626skipping: [localhost] => (item=[])
3627
3628TASK [security : Enable automatic start for update service] ********************
3629skipping: [localhost]
3630
3631TASK [security : Update all system packages] ***********************************
3632skipping: [localhost]
3633
3634TASK [security : Configure security auto-updates] ******************************
3635skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
3636skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
3637
3638TASK [security : Take security updates during ansible runs] ********************
3639skipping: [localhost] => (item=yum check-update --security)
3640skipping: [localhost] => (item=yum update --security -y)
3641
3642TASK [rbenv : fail] ************************************************************
3643skipping: [localhost]
3644
3645TASK [rbenv : fail] ************************************************************
3646skipping: [localhost]
3647
3648TASK [rbenv : fail] ************************************************************
3649skipping: [localhost]
3650
3651TASK [rbenv : create rbenv user forum] *****************************************
3652ok: [localhost]
3653
3654TASK [rbenv : create rbenv dir if it does not exist] ***************************
3655ok: [localhost]
3656
3657TASK [rbenv : install build depends] *******************************************
3658ok: [localhost] => (item=curl)
3659ok: [localhost] => (item=build-essential)
3660ok: [localhost] => (item=libcurl4-openssl-dev)
3661ok: [localhost] => (item=libreadline-dev)
3662ok: [localhost] => (item=libssl-dev)
3663ok: [localhost] => (item=libxml2-dev)
3664ok: [localhost] => (item=libxslt1-dev)
3665ok: [localhost] => (item=zlib1g-dev)
3666
3667TASK [rbenv : update rbenv repo] ***********************************************
3668ok: [localhost]
3669
3670TASK [rbenv : ensure ruby_env exists] ******************************************
3671ok: [localhost]
3672
3673TASK [rbenv : check ruby-build installed] **************************************
3674changed: [localhost]
3675
3676TASK [rbenv : if ruby-build exists, which versions we can install] *************
3677changed: [localhost]
3678
3679TASK [rbenv : create temporary directory] **************************************
3680changed: [localhost]
3681
3682TASK [rbenv : clone ruby-build repo] *******************************************
3683changed: [localhost]
3684
3685TASK [rbenv : install ruby-build] **********************************************
3686changed: [localhost]
3687
3688TASK [rbenv : remove temporary directory] **************************************
3689changed: [localhost]
3690
3691TASK [rbenv : check ruby 2.4.1 installed] **************************************
3692changed: [localhost]
3693
3694TASK [rbenv : install ruby 2.4.1] **********************************************
3695skipping: [localhost]
3696
3697TASK [rbenv : set global ruby 2.4.1] *******************************************
3698changed: [localhost]
3699
3700TASK [rbenv : update rubygems] *************************************************
3701changed: [localhost]
3702
3703TASK [rbenv : install bundler] *************************************************
3704changed: [localhost]
3705
3706TASK [rbenv : remove rbenv version of rake] ************************************
3707ok: [localhost]
3708
3709TASK [rbenv : install rake gem] ************************************************
3710changed: [localhost]
3711
3712TASK [rbenv : rehash] **********************************************************
3713changed: [localhost]
3714
3715TASK [forum : create application user] *****************************************
3716ok: [localhost]
3717
3718TASK [forum : set forum app dir permissions] ***********************************
3719ok: [localhost]
3720
3721TASK [forum : setup the forum env for stage/prod] ******************************
3722changed: [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
3724TASK [forum : setup the forum env for devstack] ********************************
3725skipping: [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:password@edx.devstack.mongo: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
3727TASK [forum : create /edx/var/forum] *******************************************
3728ok: [localhost]
3729
3730TASK [forum : create the supervisor config] ************************************
3731ok: [localhost]
3732
3733TASK [forum : enable the supervisor config] ************************************
3734ok: [localhost]
3735
3736TASK [forum : create the supervisor wrapper] ***********************************
3737ok: [localhost]
3738
3739TASK [forum : git checkout forum repo into /edx/app/forum/cs_comments_service] ***
3740ok: [localhost]
3741
3742TASK [forum : install comments service bundle] *********************************
3743changed: [localhost]
3744
3745TASK [forum : initialize elasticsearch] ****************************************
3746changed: [localhost]
3747
3748TASK [forum : rebuild elasticsearch indexes] ***********************************
3749skipping: [localhost]
3750
3751TASK [forum : update supervisor configuration] *********************************
3752ok: [localhost]
3753
3754TASK [forum : ensure forum is started] *****************************************
3755ok: [localhost]
3756
3757TASK [forum : test that the required service are listening] ********************
3758ok: [localhost] => (item={u'host': u'localhost', u'port': u'9200', u'service': u'elasticsearch'})
3759
3760TASK [forum : test that mongo replica set members are listing] *****************
3761ok: [localhost] => (item=localhost)
3762
3763TASK [forum : get instance information] ****************************************
3764skipping: [localhost]
3765
3766TASK [forum : tag instance] ****************************************************
3767skipping: [localhost]
3768
3769TASK [forum : set_fact] ********************************************************
3770ok: [localhost]
3771
3772TASK [security : Install security packages] ************************************
3773skipping: [localhost] => (item=[])
3774
3775TASK [security : Update all system packages] ***********************************
3776skipping: [localhost]
3777
3778TASK [security : Configure periodic unattended-upgrades] ***********************
3779skipping: [localhost]
3780
3781TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
3782skipping: [localhost] => (item=systemctl disable apt-daily.service)
3783skipping: [localhost] => (item=systemctl disable apt-daily.timer)
3784skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
3785
3786TASK [security : Disable unattended-upgrades] **********************************
3787skipping: [localhost]
3788
3789TASK [security : Only unattended-upgrade from security repo] *******************
3790skipping: [localhost]
3791
3792TASK [security : Disable security only updates on unattended-upgrades] *********
3793skipping: [localhost]
3794
3795TASK [security : Take security updates during ansible runs] ********************
3796skipping: [localhost] => (item=unattended-upgrade --dry-run)
3797skipping: [localhost] => (item=unattended-upgrade)
3798
3799TASK [security : Install security packages] ************************************
3800skipping: [localhost] => (item=[])
3801
3802TASK [security : Enable automatic start for update service] ********************
3803skipping: [localhost]
3804
3805TASK [security : Update all system packages] ***********************************
3806skipping: [localhost]
3807
3808TASK [security : Configure security auto-updates] ******************************
3809skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
3810skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
3811
3812TASK [security : Take security updates during ansible runs] ********************
3813skipping: [localhost] => (item=yum check-update --security)
3814skipping: [localhost] => (item=yum update --security -y)
3815
3816TASK [security : Install security packages] ************************************
3817skipping: [localhost] => (item=[])
3818
3819TASK [security : Update all system packages] ***********************************
3820skipping: [localhost]
3821
3822TASK [security : Configure periodic unattended-upgrades] ***********************
3823skipping: [localhost]
3824
3825TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
3826skipping: [localhost] => (item=systemctl disable apt-daily.service)
3827skipping: [localhost] => (item=systemctl disable apt-daily.timer)
3828skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
3829
3830TASK [security : Disable unattended-upgrades] **********************************
3831skipping: [localhost]
3832
3833TASK [security : Only unattended-upgrade from security repo] *******************
3834skipping: [localhost]
3835
3836TASK [security : Disable security only updates on unattended-upgrades] *********
3837skipping: [localhost]
3838
3839TASK [security : Take security updates during ansible runs] ********************
3840skipping: [localhost] => (item=unattended-upgrade --dry-run)
3841skipping: [localhost] => (item=unattended-upgrade)
3842
3843TASK [security : Install security packages] ************************************
3844skipping: [localhost] => (item=[])
3845
3846TASK [security : Enable automatic start for update service] ********************
3847skipping: [localhost]
3848
3849TASK [security : Update all system packages] ***********************************
3850skipping: [localhost]
3851
3852TASK [security : Configure security auto-updates] ******************************
3853skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
3854skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
3855
3856TASK [security : Take security updates during ansible runs] ********************
3857skipping: [localhost] => (item=yum check-update --security)
3858skipping: [localhost] => (item=yum update --security -y)
3859
3860TASK [automated : Create automated user] ***************************************
3861
3862TASK [automated : Create sudoers file from template] ***************************
3863
3864TASK [automated : Create .ssh directory] ***************************************
3865
3866TASK [automated : Build authorized_keys file] **********************************
3867
3868TASK [automated : Build known_hosts file] **************************************
3869
3870TASK [add_user : create user groups] *******************************************
3871ok: [localhost] => (item=discovery)
3872
3873TASK [add_user : create application user] **************************************
3874ok: [localhost]
3875
3876TASK [add_user : ensure correct ownership of home directory] *******************
3877ok: [localhost]
3878
3879TASK [add_user : create dirs for the user] *************************************
3880
3881TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
3882changed: [localhost]
3883
3884TASK [git_clone : Validate git protocol] ***************************************
3885skipping: [localhost] => (item=(censored due to no_log))
3886
3887TASK [git_clone : Install read-only ssh key] ***********************************
3888skipping: [localhost] => (item=(censored due to no_log))
3889
3890TASK [git_clone : Check that working tree is clean] ****************************
3891changed: [localhost] => (item=/edx/app/discovery/discovery)
3892
3893TASK [git_clone : Require a clean working tree] ********************************
3894skipping: [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
3896TASK [git_clone : Checkout code over ssh] **************************************
3897skipping: [localhost] => (item=(censored due to no_log))
3898
3899TASK [git_clone : Checkout code over https] ************************************
3900ok: [localhost] => (item=(censored due to no_log))
3901
3902TASK [git_clone : Remove read-only ssh key] ************************************
3903skipping: [localhost] => (item=(censored due to no_log))
3904
3905TASK [git_clone : Run git clean after checking out code] ***********************
3906changed: [localhost] => (item=(censored due to no_log))
3907
3908TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
3909ok: [localhost] => (item=)
3910ok: [localhost] => (item=venvs)
3911ok: [localhost] => (item=data)
3912ok: [localhost] => (item=staticfiles)
3913
3914TASK [edx_service : Create /edx/var/app dir] ***********************************
3915ok: [localhost]
3916
3917TASK [edx_service : Create /edx/etc dir] ***************************************
3918changed: [localhost]
3919
3920TASK [edx_service : Create edx_service log dir] ********************************
3921ok: [localhost] => (item=/edx/var/log/discovery)
3922
3923TASK [edx_service : Write out app config file] *********************************
3924 [WARNING]: when statements should not include jinja2 templating delimiters
3925such as {{ }} or {% %}. Found: {{ edx_django_service_config }}
3926changed: [localhost]
3927
3928TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
3929ok: [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
3931TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
3932
3933TASK [edx_service : Get instance information] **********************************
3934ok: [localhost]
3935
3936TASK [edx_service : Tag instance] **********************************************
3937skipping: [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
3939TASK [edx_django_service : add gunicorn configuration file] ********************
3940ok: [localhost]
3941
3942TASK [edx_django_service : install python3] ************************************
3943ok: [localhost] => (item=[u'python3-pip', u'python3-dev'])
3944
3945TASK [edx_django_service : build virtualenv with python3] **********************
3946ok: [localhost]
3947
3948TASK [edx_django_service : build virtualenv with python2.7] ********************
3949skipping: [localhost]
3950
3951TASK [edx_django_service : Pin pip to a specific version.] *********************
3952changed: [localhost]
3953
3954TASK [edx_django_service : install nodenv] *************************************
3955changed: [localhost]
3956
3957TASK [edx_django_service : create nodeenv] *************************************
3958ok: [localhost]
3959
3960TASK [edx_django_service : install production requirements] ********************
3961changed: [localhost]
3962
3963TASK [edx_django_service : install development requirements] *******************
3964skipping: [localhost]
3965
3966TASK [edx_django_service : migrate database] ***********************************
3967changed: [localhost]
3968
3969TASK [edx_django_service : run post-migrate commands] **************************
3970
3971TASK [edx_django_service : ensure log files exist for tailing] *****************
3972changed: [localhost] => (item=/edx/var/log/supervisor/discovery-stdout.log)
3973changed: [localhost] => (item=/edx/var/log/supervisor/discovery-stderr.log)
3974
3975TASK [edx_django_service : write out the supervisor wrapper] *******************
3976changed: [localhost]
3977
3978TASK [edx_django_service : write supervisord config] ***************************
3979changed: [localhost]
3980
3981TASK [edx_django_service : write devstack script] ******************************
3982skipping: [localhost]
3983
3984TASK [edx_django_service : setup the app env file] *****************************
3985changed: [localhost]
3986
3987TASK [edx_django_service : enable supervisor script] ***************************
3988changed: [localhost]
3989
3990TASK [edx_django_service : update supervisor configuration] ********************
3991changed: [localhost]
3992
3993TASK [edx_django_service : create symlinks from the venv bin dir] **************
3994changed: [localhost] => (item=python)
3995changed: [localhost] => (item=pip)
3996changed: [localhost] => (item=django-admin.py)
3997
3998TASK [edx_django_service : create symlinks from the repo dir] ******************
3999changed: [localhost] => (item=manage.py)
4000
4001TASK [edx_django_service : compile static assets] ******************************
4002changed: [localhost]
4003
4004TASK [edx_django_service : restart the application] ****************************
4005changed: [localhost]
4006
4007TASK [edx_django_service : Copying nginx configs for the service] **************
4008changed: [localhost]
4009
4010TASK [edx_django_service : Creating nginx config links for the service] ********
4011changed: [localhost]
4012
4013TASK [security : Install security packages] ************************************
4014skipping: [localhost] => (item=[])
4015
4016TASK [security : Update all system packages] ***********************************
4017skipping: [localhost]
4018
4019TASK [security : Configure periodic unattended-upgrades] ***********************
4020skipping: [localhost]
4021
4022TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4023skipping: [localhost] => (item=systemctl disable apt-daily.service)
4024skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4025skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4026
4027TASK [security : Disable unattended-upgrades] **********************************
4028skipping: [localhost]
4029
4030TASK [security : Only unattended-upgrade from security repo] *******************
4031skipping: [localhost]
4032
4033TASK [security : Disable security only updates on unattended-upgrades] *********
4034skipping: [localhost]
4035
4036TASK [security : Take security updates during ansible runs] ********************
4037skipping: [localhost] => (item=unattended-upgrade --dry-run)
4038skipping: [localhost] => (item=unattended-upgrade)
4039
4040TASK [security : Install security packages] ************************************
4041skipping: [localhost] => (item=[])
4042
4043TASK [security : Enable automatic start for update service] ********************
4044skipping: [localhost]
4045
4046TASK [security : Update all system packages] ***********************************
4047skipping: [localhost]
4048
4049TASK [security : Configure security auto-updates] ******************************
4050skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4051skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4052
4053TASK [security : Take security updates during ansible runs] ********************
4054skipping: [localhost] => (item=yum update --security -y)
4055skipping: [localhost] => (item=yum check-update --security)
4056
4057TASK [docker-tools : add docker group] *****************************************
4058skipping: [localhost]
4059
4060TASK [docker-tools : add users to docker group] ********************************
4061
4062TASK [docker-tools : install package dependencies] *****************************
4063skipping: [localhost]
4064
4065TASK [docker-tools : add docker apt key] ***************************************
4066skipping: [localhost]
4067
4068TASK [docker-tools : add docker repo] ******************************************
4069skipping: [localhost] => (item=deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable)
4070skipping: [localhost] => (item=deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial edge)
4071
4072TASK [docker-tools : install docker-engine] ************************************
4073skipping: [localhost]
4074
4075TASK [docker-tools : Are we in a Docker container] *****************************
4076skipping: [localhost]
4077
4078TASK [docker-tools : start docker service] *************************************
4079skipping: [localhost]
4080
4081TASK [docker-tools : install docker-compose] ***********************************
4082skipping: [localhost]
4083
4084TASK [security : Install security packages] ************************************
4085skipping: [localhost] => (item=[])
4086
4087TASK [security : Update all system packages] ***********************************
4088skipping: [localhost]
4089
4090TASK [security : Configure periodic unattended-upgrades] ***********************
4091skipping: [localhost]
4092
4093TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4094skipping: [localhost] => (item=systemctl disable apt-daily.service)
4095skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4096skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4097
4098TASK [security : Disable unattended-upgrades] **********************************
4099skipping: [localhost]
4100
4101TASK [security : Only unattended-upgrade from security repo] *******************
4102skipping: [localhost]
4103
4104TASK [security : Disable security only updates on unattended-upgrades] *********
4105skipping: [localhost]
4106
4107TASK [security : Take security updates during ansible runs] ********************
4108skipping: [localhost] => (item=unattended-upgrade --dry-run)
4109skipping: [localhost] => (item=unattended-upgrade)
4110
4111TASK [security : Install security packages] ************************************
4112skipping: [localhost] => (item=[])
4113
4114TASK [security : Enable automatic start for update service] ********************
4115skipping: [localhost]
4116
4117TASK [security : Update all system packages] ***********************************
4118skipping: [localhost]
4119
4120TASK [security : Configure security auto-updates] ******************************
4121skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4122skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4123
4124TASK [security : Take security updates during ansible runs] ********************
4125skipping: [localhost] => (item=yum check-update --security)
4126skipping: [localhost] => (item=yum update --security -y)
4127
4128TASK [security : Install security packages] ************************************
4129skipping: [localhost] => (item=[])
4130
4131TASK [security : Update all system packages] ***********************************
4132skipping: [localhost]
4133
4134TASK [security : Configure periodic unattended-upgrades] ***********************
4135skipping: [localhost]
4136
4137TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4138skipping: [localhost] => (item=systemctl disable apt-daily.service)
4139skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4140skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4141
4142TASK [security : Disable unattended-upgrades] **********************************
4143skipping: [localhost]
4144
4145TASK [security : Only unattended-upgrade from security repo] *******************
4146skipping: [localhost]
4147
4148TASK [security : Disable security only updates on unattended-upgrades] *********
4149skipping: [localhost]
4150
4151TASK [security : Take security updates during ansible runs] ********************
4152skipping: [localhost] => (item=unattended-upgrade --dry-run)
4153skipping: [localhost] => (item=unattended-upgrade)
4154
4155TASK [security : Install security packages] ************************************
4156skipping: [localhost] => (item=[])
4157
4158TASK [security : Enable automatic start for update service] ********************
4159skipping: [localhost]
4160
4161TASK [security : Update all system packages] ***********************************
4162skipping: [localhost]
4163
4164TASK [security : Configure security auto-updates] ******************************
4165skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4166skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4167
4168TASK [security : Take security updates during ansible runs] ********************
4169skipping: [localhost] => (item=yum check-update --security)
4170skipping: [localhost] => (item=yum update --security -y)
4171
4172TASK [automated : Create automated user] ***************************************
4173
4174TASK [automated : Create sudoers file from template] ***************************
4175
4176TASK [automated : Create .ssh directory] ***************************************
4177
4178TASK [automated : Build authorized_keys file] **********************************
4179
4180TASK [automated : Build known_hosts file] **************************************
4181
4182TASK [add_user : create user groups] *******************************************
4183skipping: [localhost] => (item=None)
4184
4185TASK [add_user : create application user] **************************************
4186skipping: [localhost]
4187
4188TASK [add_user : ensure correct ownership of home directory] *******************
4189skipping: [localhost]
4190
4191TASK [add_user : create dirs for the user] *************************************
4192
4193TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
4194skipping: [localhost]
4195
4196TASK [git_clone : Validate git protocol] ***************************************
4197skipping: [localhost] => (item=(censored due to no_log))
4198
4199TASK [git_clone : Install read-only ssh key] ***********************************
4200skipping: [localhost] => (item=(censored due to no_log))
4201
4202TASK [git_clone : Check that working tree is clean] ****************************
4203skipping: [localhost] => (item=None)
4204
4205TASK [git_clone : Require a clean working tree] ********************************
4206skipping: [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
4208TASK [git_clone : Checkout code over ssh] **************************************
4209skipping: [localhost] => (item=(censored due to no_log))
4210
4211TASK [git_clone : Checkout code over https] ************************************
4212skipping: [localhost] => (item=(censored due to no_log))
4213
4214TASK [git_clone : Remove read-only ssh key] ************************************
4215skipping: [localhost] => (item=(censored due to no_log))
4216
4217TASK [git_clone : Run git clean after checking out code] ***********************
4218skipping: [localhost] => (item=(censored due to no_log))
4219
4220TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
4221skipping: [localhost] => (item=)
4222skipping: [localhost] => (item=data)
4223skipping: [localhost] => (item=venvs)
4224skipping: [localhost] => (item=staticfiles)
4225
4226TASK [edx_service : Create /edx/var/app dir] ***********************************
4227skipping: [localhost]
4228
4229TASK [edx_service : Create /edx/etc dir] ***************************************
4230skipping: [localhost]
4231
4232TASK [edx_service : Create edx_service log dir] ********************************
4233skipping: [localhost] => (item=/edx/var/log/None)
4234
4235TASK [edx_service : Write out app config file] *********************************
4236skipping: [localhost]
4237
4238TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
4239skipping: [localhost] => (item=[])
4240
4241TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
4242
4243TASK [edx_service : Get instance information] **********************************
4244skipping: [localhost]
4245
4246TASK [edx_service : Tag instance] **********************************************
4247skipping: [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
4249TASK [edx_django_service : add gunicorn configuration file] ********************
4250skipping: [localhost]
4251
4252TASK [edx_django_service : install python3] ************************************
4253skipping: [localhost] => (item=[])
4254
4255TASK [edx_django_service : build virtualenv with python3] **********************
4256skipping: [localhost]
4257
4258TASK [edx_django_service : build virtualenv with python2.7] ********************
4259skipping: [localhost]
4260
4261TASK [edx_django_service : Pin pip to a specific version.] *********************
4262skipping: [localhost]
4263
4264TASK [edx_django_service : install nodenv] *************************************
4265skipping: [localhost]
4266
4267TASK [edx_django_service : create nodeenv] *************************************
4268skipping: [localhost]
4269
4270TASK [edx_django_service : install production requirements] ********************
4271skipping: [localhost]
4272
4273TASK [edx_django_service : install development requirements] *******************
4274skipping: [localhost]
4275
4276TASK [edx_django_service : migrate database] ***********************************
4277skipping: [localhost]
4278
4279TASK [edx_django_service : run post-migrate commands] **************************
4280skipping: [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'})
4281skipping: [localhost] => (item={u'when': False, u'command': u'./manage.py create_org --key "edX" --sitename "DemoSite"'})
4282skipping: [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
4284TASK [edx_django_service : ensure log files exist for tailing] *****************
4285skipping: [localhost] => (item=/edx/var/log/supervisor/None-stdout.log)
4286skipping: [localhost] => (item=/edx/var/log/supervisor/None-stderr.log)
4287
4288TASK [edx_django_service : write out the supervisor wrapper] *******************
4289skipping: [localhost]
4290
4291TASK [edx_django_service : write supervisord config] ***************************
4292skipping: [localhost]
4293
4294TASK [edx_django_service : write devstack script] ******************************
4295skipping: [localhost]
4296
4297TASK [edx_django_service : setup the app env file] *****************************
4298skipping: [localhost]
4299
4300TASK [edx_django_service : enable supervisor script] ***************************
4301skipping: [localhost]
4302
4303TASK [edx_django_service : update supervisor configuration] ********************
4304skipping: [localhost]
4305
4306TASK [edx_django_service : create symlinks from the venv bin dir] **************
4307skipping: [localhost] => (item=python)
4308skipping: [localhost] => (item=pip)
4309skipping: [localhost] => (item=django-admin.py)
4310
4311TASK [edx_django_service : create symlinks from the repo dir] ******************
4312skipping: [localhost] => (item=manage.py)
4313
4314TASK [edx_django_service : compile static assets] ******************************
4315skipping: [localhost]
4316
4317TASK [edx_django_service : restart the application] ****************************
4318skipping: [localhost]
4319
4320TASK [edx_django_service : Copying nginx configs for the service] **************
4321skipping: [localhost]
4322
4323TASK [edx_django_service : Creating nginx config links for the service] ********
4324skipping: [localhost]
4325
4326TASK [journals : Create LMS catalog integration] *******************************
4327skipping: [localhost]
4328
4329TASK [journals : create web-writable journal data dirs] ************************
4330skipping: [localhost] => (item=/edx/var/None/media)
4331
4332TASK [journals : build elasticsearch5 image] ***********************************
4333skipping: [localhost]
4334
4335TASK [journals : create elasticsearch5 docker container] ***********************
4336skipping: [localhost]
4337
4338TASK [journals : wait for elasticsearch container to start] ********************
4339skipping: [localhost]
4340
4341TASK [journals : update journal elasticsearch index] ***************************
4342skipping: [localhost]
4343
4344TASK [security : Install security packages] ************************************
4345skipping: [localhost] => (item=[])
4346
4347TASK [security : Update all system packages] ***********************************
4348skipping: [localhost]
4349
4350TASK [security : Configure periodic unattended-upgrades] ***********************
4351skipping: [localhost]
4352
4353TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4354skipping: [localhost] => (item=systemctl disable apt-daily.service)
4355skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4356skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4357
4358TASK [security : Disable unattended-upgrades] **********************************
4359skipping: [localhost]
4360
4361TASK [security : Only unattended-upgrade from security repo] *******************
4362skipping: [localhost]
4363
4364TASK [security : Disable security only updates on unattended-upgrades] *********
4365skipping: [localhost]
4366
4367TASK [security : Take security updates during ansible runs] ********************
4368skipping: [localhost] => (item=unattended-upgrade --dry-run)
4369skipping: [localhost] => (item=unattended-upgrade)
4370
4371TASK [security : Install security packages] ************************************
4372skipping: [localhost] => (item=[])
4373
4374TASK [security : Enable automatic start for update service] ********************
4375skipping: [localhost]
4376
4377TASK [security : Update all system packages] ***********************************
4378skipping: [localhost]
4379
4380TASK [security : Configure security auto-updates] ******************************
4381skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4382skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4383
4384TASK [security : Take security updates during ansible runs] ********************
4385skipping: [localhost] => (item=yum check-update --security)
4386skipping: [localhost] => (item=yum update --security -y)
4387
4388TASK [security : Install security packages] ************************************
4389skipping: [localhost] => (item=[])
4390
4391TASK [security : Update all system packages] ***********************************
4392skipping: [localhost]
4393
4394TASK [security : Configure periodic unattended-upgrades] ***********************
4395skipping: [localhost]
4396
4397TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4398skipping: [localhost] => (item=systemctl disable apt-daily.service)
4399skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4400skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4401
4402TASK [security : Disable unattended-upgrades] **********************************
4403skipping: [localhost]
4404
4405TASK [security : Only unattended-upgrade from security repo] *******************
4406skipping: [localhost]
4407
4408TASK [security : Disable security only updates on unattended-upgrades] *********
4409skipping: [localhost]
4410
4411TASK [security : Take security updates during ansible runs] ********************
4412skipping: [localhost] => (item=unattended-upgrade --dry-run)
4413skipping: [localhost] => (item=unattended-upgrade)
4414
4415TASK [security : Install security packages] ************************************
4416skipping: [localhost] => (item=[])
4417
4418TASK [security : Enable automatic start for update service] ********************
4419skipping: [localhost]
4420
4421TASK [security : Update all system packages] ***********************************
4422skipping: [localhost]
4423
4424TASK [security : Configure security auto-updates] ******************************
4425skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4426skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4427
4428TASK [security : Take security updates during ansible runs] ********************
4429skipping: [localhost] => (item=yum check-update --security)
4430skipping: [localhost] => (item=yum update --security -y)
4431
4432TASK [notifier : Install notifier specific system packages] ********************
4433ok: [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
4435TASK [notifier : Create notifier user notifier] ********************************
4436changed: [localhost]
4437
4438TASK [notifier : Create notifier app dir] **************************************
4439changed: [localhost]
4440
4441TASK [notifier : Setup the notifier env] ***************************************
4442changed: [localhost]
4443
4444TASK [notifier : Drop a bash_profile] ******************************************
4445changed: [localhost]
4446
4447TASK [notifier : Ensure .bashrc exists] ****************************************
4448changed: [localhost]
4449
4450TASK [notifier : Add source of notifier_env to .bashrc] ************************
4451changed: [localhost]
4452
4453TASK [notifier : Add source venv to .bashrc] ***********************************
4454changed: [localhost]
4455
4456TASK [notifier : Create desired directories] ***********************************
4457changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/db', u'group': u'www-data', u'mode': u'2775'})
4458changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/bin', u'group': u'notifier', u'mode': u'2775'})
4459changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/.ssh', u'group': u'notifier', u'mode': u'2700'})
4460changed: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log/notifier', u'group': u'syslog', u'mode': u'0664'})
4461
4462TASK [notifier : Copy the boto file] *******************************************
4463changed: [localhost]
4464
4465TASK [notifier : Write supervisord wrapper for celery workers and scheduler] ***
4466changed: [localhost] => (item={u'dest': u'/edx/app/notifier/notifier-scheduler-supervisor.sh', u'src': u'notifier-scheduler-supervisor.sh.j2'})
4467
4468TASK [notifier : Write supervisord config for celery workers and scheduler] ****
4469changed: [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'})
4470changed: [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
4472TASK [notifier : Enable supervisord config for celery workers] *****************
4473changed: [localhost]
4474
4475TASK [notifier : Enable supervisord config for scheduler] **********************
4476changed: [localhost]
4477
4478TASK [notifier : Checkout code] ************************************************
4479changed: [localhost]
4480
4481TASK [notifier : Create ssh script for git (not authenticated)] ****************
4482changed: [localhost]
4483
4484TASK [notifier : Create ssh script for git (authenticated)] ********************
4485skipping: [localhost]
4486
4487TASK [notifier : Install read-only ssh key] ************************************
4488skipping: [localhost]
4489
4490TASK [notifier : Checkout theme] ***********************************************
4491skipping: [localhost]
4492
4493TASK [notifier : Write notifier local settings] ********************************
4494changed: [localhost]
4495
4496TASK [notifier : Install application requirements] *****************************
4497changed: [localhost]
4498
4499TASK [notifier : Fix permissions on notifer db file] ***************************
4500changed: [localhost]
4501
4502TASK [notifier : Migrate the notifier db] **************************************
4503changed: [localhost]
4504
4505TASK [notifier : restart notifier-scheduler] ***********************************
4506changed: [localhost]
4507
4508TASK [notifier : restart notifier-celery-workers] ******************************
4509changed: [localhost]
4510
4511TASK [security : Install security packages] ************************************
4512skipping: [localhost] => (item=[])
4513
4514TASK [security : Update all system packages] ***********************************
4515skipping: [localhost]
4516
4517TASK [security : Configure periodic unattended-upgrades] ***********************
4518skipping: [localhost]
4519
4520TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4521skipping: [localhost] => (item=systemctl disable apt-daily.service)
4522skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4523skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4524
4525TASK [security : Disable unattended-upgrades] **********************************
4526skipping: [localhost]
4527
4528TASK [security : Only unattended-upgrade from security repo] *******************
4529skipping: [localhost]
4530
4531TASK [security : Disable security only updates on unattended-upgrades] *********
4532skipping: [localhost]
4533
4534TASK [security : Take security updates during ansible runs] ********************
4535skipping: [localhost] => (item=unattended-upgrade --dry-run)
4536skipping: [localhost] => (item=unattended-upgrade)
4537
4538TASK [security : Install security packages] ************************************
4539skipping: [localhost] => (item=[])
4540
4541TASK [security : Enable automatic start for update service] ********************
4542skipping: [localhost]
4543
4544TASK [security : Update all system packages] ***********************************
4545skipping: [localhost]
4546
4547TASK [security : Configure security auto-updates] ******************************
4548skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4549skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4550
4551TASK [security : Take security updates during ansible runs] ********************
4552skipping: [localhost] => (item=yum check-update --security)
4553skipping: [localhost] => (item=yum update --security -y)
4554
4555TASK [security : Install security packages] ************************************
4556skipping: [localhost] => (item=[])
4557
4558TASK [security : Update all system packages] ***********************************
4559skipping: [localhost]
4560
4561TASK [security : Configure periodic unattended-upgrades] ***********************
4562skipping: [localhost]
4563
4564TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4565skipping: [localhost] => (item=systemctl disable apt-daily.service)
4566skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4567skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4568
4569TASK [security : Disable unattended-upgrades] **********************************
4570skipping: [localhost]
4571
4572TASK [security : Only unattended-upgrade from security repo] *******************
4573skipping: [localhost]
4574
4575TASK [security : Disable security only updates on unattended-upgrades] *********
4576skipping: [localhost]
4577
4578TASK [security : Take security updates during ansible runs] ********************
4579skipping: [localhost] => (item=unattended-upgrade --dry-run)
4580skipping: [localhost] => (item=unattended-upgrade)
4581
4582TASK [security : Install security packages] ************************************
4583skipping: [localhost] => (item=[])
4584
4585TASK [security : Enable automatic start for update service] ********************
4586skipping: [localhost]
4587
4588TASK [security : Update all system packages] ***********************************
4589skipping: [localhost]
4590
4591TASK [security : Configure security auto-updates] ******************************
4592skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4593skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4594
4595TASK [security : Take security updates during ansible runs] ********************
4596skipping: [localhost] => (item=yum check-update --security)
4597skipping: [localhost] => (item=yum update --security -y)
4598
4599TASK [add_user : create user groups] *******************************************
4600changed: [localhost] => (item=xqueue)
4601
4602TASK [add_user : create application user] **************************************
4603changed: [localhost]
4604
4605TASK [add_user : ensure correct ownership of home directory] *******************
4606ok: [localhost]
4607
4608TASK [add_user : create dirs for the user] *************************************
4609
4610TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
4611changed: [localhost]
4612
4613TASK [git_clone : Validate git protocol] ***************************************
4614skipping: [localhost] => (item=(censored due to no_log))
4615
4616TASK [git_clone : Install read-only ssh key] ***********************************
4617skipping: [localhost] => (item=(censored due to no_log))
4618
4619TASK [git_clone : Check that working tree is clean] ****************************
4620changed: [localhost] => (item=/edx/app/xqueue/xqueue)
4621
4622TASK [git_clone : Require a clean working tree] ********************************
4623skipping: [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
4625TASK [git_clone : Checkout code over ssh] **************************************
4626skipping: [localhost] => (item=(censored due to no_log))
4627
4628TASK [git_clone : Checkout code over https] ************************************
4629changed: [localhost] => (item=(censored due to no_log))
4630
4631TASK [git_clone : Remove read-only ssh key] ************************************
4632skipping: [localhost] => (item=(censored due to no_log))
4633
4634TASK [git_clone : Run git clean after checking out code] ***********************
4635changed: [localhost] => (item=(censored due to no_log))
4636
4637TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
4638ok: [localhost] => (item=)
4639changed: [localhost] => (item=venvs)
4640changed: [localhost] => (item=data)
4641changed: [localhost] => (item=staticfiles)
4642
4643TASK [edx_service : Create /edx/var/app dir] ***********************************
4644changed: [localhost]
4645
4646TASK [edx_service : Create /edx/etc dir] ***************************************
4647changed: [localhost]
4648
4649TASK [edx_service : Create edx_service log dir] ********************************
4650changed: [localhost] => (item=/edx/var/log/xqueue)
4651
4652TASK [edx_service : Write out app config file] *********************************
4653 [WARNING]: when statements should not include jinja2 templating delimiters
4654such as {{ }} or {% %}. Found: {{ XQUEUE_CONFIG }}
4655changed: [localhost]
4656
4657TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
4658ok: [localhost] => (item=[u'build-essential', u's3cmd', u'libmysqlclient-dev', u'ntp', u'python-mysqldb'])
4659
4660TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
4661
4662TASK [edx_service : Get instance information] **********************************
4663ok: [localhost]
4664
4665TASK [edx_service : Tag instance] **********************************************
4666skipping: [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
4668TASK [xqueue : write devstack script] ******************************************
4669skipping: [localhost]
4670
4671TASK [xqueue : Writing supervisor scripts - xqueue, xqueue consumer] ***********
4672changed: [localhost] => (item=xqueue)
4673changed: [localhost] => (item=xqueue_consumer)
4674
4675TASK [xqueue : Enabling supervisor scripts - xqueue, xqueue consumer] **********
4676changed: [localhost] => (item=xqueue)
4677changed: [localhost] => (item=xqueue_consumer)
4678
4679TASK [xqueue : add gunicorn configuration file] ********************************
4680changed: [localhost]
4681
4682TASK [xqueue : setup the app env file] *****************************************
4683changed: [localhost]
4684
4685TASK [xqueue : Install python requirements] ************************************
4686changed: [localhost]
4687
4688TASK [xqueue : Install python openstack requirements] **************************
4689skipping: [localhost]
4690
4691TASK [xqueue : Migrate] ********************************************************
4692changed: [localhost]
4693
4694TASK [xqueue : Create users] ***************************************************
4695changed: [localhost]
4696
4697TASK [xqueue : Update supervisor configuration] ********************************
4698changed: [localhost]
4699
4700TASK [xqueue : Ensure xqueue, consumer is running] *****************************
4701ok: [localhost] => (item=xqueue)
4702ok: [localhost] => (item=xqueue_consumer)
4703
4704TASK [xqueue : Create a symlink for venv commands] *****************************
4705changed: [localhost] => (item=python)
4706changed: [localhost] => (item=pip)
4707
4708TASK [xqueue : Create symlinks for repo commands] ******************************
4709changed: [localhost] => (item=manage.py)
4710
4711TASK [xqueue : Restart xqueue] *************************************************
4712changed: [localhost] => (item=xqueue)
4713changed: [localhost] => (item=xqueue_consumer)
4714
4715TASK [security : Install security packages] ************************************
4716skipping: [localhost] => (item=[])
4717
4718TASK [security : Update all system packages] ***********************************
4719skipping: [localhost]
4720
4721TASK [security : Configure periodic unattended-upgrades] ***********************
4722skipping: [localhost]
4723
4724TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4725skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4726skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4727skipping: [localhost] => (item=systemctl disable apt-daily.service)
4728
4729TASK [security : Disable unattended-upgrades] **********************************
4730skipping: [localhost]
4731
4732TASK [security : Only unattended-upgrade from security repo] *******************
4733skipping: [localhost]
4734
4735TASK [security : Disable security only updates on unattended-upgrades] *********
4736skipping: [localhost]
4737
4738TASK [security : Take security updates during ansible runs] ********************
4739skipping: [localhost] => (item=unattended-upgrade --dry-run)
4740skipping: [localhost] => (item=unattended-upgrade)
4741
4742TASK [security : Install security packages] ************************************
4743skipping: [localhost] => (item=[])
4744
4745TASK [security : Enable automatic start for update service] ********************
4746skipping: [localhost]
4747
4748TASK [security : Update all system packages] ***********************************
4749skipping: [localhost]
4750
4751TASK [security : Configure security auto-updates] ******************************
4752skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4753skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4754
4755TASK [security : Take security updates during ansible runs] ********************
4756skipping: [localhost] => (item=yum check-update --security)
4757skipping: [localhost] => (item=yum update --security -y)
4758
4759TASK [security : Install security packages] ************************************
4760skipping: [localhost] => (item=[])
4761
4762TASK [security : Update all system packages] ***********************************
4763skipping: [localhost]
4764
4765TASK [security : Configure periodic unattended-upgrades] ***********************
4766skipping: [localhost]
4767
4768TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4769skipping: [localhost] => (item=systemctl disable apt-daily.service)
4770skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4771skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4772
4773TASK [security : Disable unattended-upgrades] **********************************
4774skipping: [localhost]
4775
4776TASK [security : Only unattended-upgrade from security repo] *******************
4777skipping: [localhost]
4778
4779TASK [security : Disable security only updates on unattended-upgrades] *********
4780skipping: [localhost]
4781
4782TASK [security : Take security updates during ansible runs] ********************
4783skipping: [localhost] => (item=unattended-upgrade --dry-run)
4784skipping: [localhost] => (item=unattended-upgrade)
4785
4786TASK [security : Install security packages] ************************************
4787skipping: [localhost] => (item=[])
4788
4789TASK [security : Enable automatic start for update service] ********************
4790skipping: [localhost]
4791
4792TASK [security : Update all system packages] ***********************************
4793skipping: [localhost]
4794
4795TASK [security : Configure security auto-updates] ******************************
4796skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4797skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4798
4799TASK [security : Take security updates during ansible runs] ********************
4800skipping: [localhost] => (item=yum check-update --security)
4801skipping: [localhost] => (item=yum update --security -y)
4802
4803TASK [certs : Create application user] *****************************************
4804changed: [localhost]
4805
4806TASK [certs : Create certs app dirs] *******************************************
4807changed: [localhost] => (item=/edx/app/certs)
4808changed: [localhost] => (item=/edx/app/certs/.ssh)
4809changed: [localhost] => (item=/edx/app/certs/venvs)
4810changed: [localhost] => (item=/edx/var/certs)
4811
4812TASK [certs : Create certs web root] *******************************************
4813changed: [localhost]
4814
4815TASK [certs : Create certs gpg dir] ********************************************
4816changed: [localhost]
4817
4818TASK [certs : Copy the private gpg signing key] ********************************
4819changed: [localhost]
4820
4821TASK [certs : Copy the pgp trust export] ***************************************
4822changed: [localhost]
4823
4824TASK [certs : Load the gpg key] ************************************************
4825changed: [localhost]
4826
4827TASK [certs : Import the trust export] *****************************************
4828changed: [localhost]
4829
4830TASK [certs : Create certificate application config and auth file] *************
4831changed: [localhost] => (item={u'dest': u'env.json', u'src': u'certs.env.json.j2'})
4832changed: [localhost] => (item={u'dest': u'auth.json', u'src': u'certs.auth.json.j2'})
4833
4834TASK [certs : Copy the boto file] **********************************************
4835changed: [localhost]
4836
4837TASK [certs : Writing supervisor script for certificates] **********************
4838changed: [localhost]
4839
4840TASK [certs : Enable supervisor script for certificates] ***********************
4841changed: [localhost]
4842
4843TASK [certs : Create ssh script for git] ***************************************
4844changed: [localhost]
4845
4846TASK [certs : Install read-only ssh key for the certs repo] ********************
4847skipping: [localhost]
4848
4849TASK [certs : Checkout certificates repo into /edx/app/certs/certificates] *****
4850skipping: [localhost]
4851
4852TASK [certs : Checkout certificates repo into /edx/app/certs/certificates] *****
4853changed: [localhost]
4854
4855TASK [certs : Remove read-only ssh key for the certs repo] *********************
4856skipping: [localhost]
4857
4858TASK [certs : Install python requirements] *************************************
4859changed: [localhost]
4860
4861TASK [certs : Update supervisor configuration] *********************************
4862changed: [localhost]
4863
4864TASK [certs : Ensure certs has started] ****************************************
4865ok: [localhost]
4866
4867TASK [certs : Create a symlink for venv python] ********************************
4868changed: [localhost] => (item=python)
4869changed: [localhost] => (item=pip)
4870
4871TASK [certs : Get instance information] ****************************************
4872skipping: [localhost]
4873
4874TASK [certs : Tag instance] ****************************************************
4875skipping: [localhost]
4876
4877TASK [certs : Restart certs] ***************************************************
4878changed: [localhost]
4879
4880TASK [edx_ansible : Create application user] ***********************************
4881ok: [localhost]
4882
4883TASK [edx_ansible : Create edx_ansible app and venv dir] ***********************
4884ok: [localhost] => (item=/edx/app/edx_ansible)
4885ok: [localhost] => (item=/edx/var/edx_ansible)
4886ok: [localhost] => (item=/edx/app/edx_ansible/venvs)
4887
4888TASK [edx_ansible : Install a bunch of system packages on which edx_ansible relies] ***
4889ok: [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
4891TASK [edx_ansible : Git checkout edx_ansible repo into edx_ansible_code_dir] ***
4892changed: [localhost]
4893
4894TASK [edx_ansible : Install edx_ansible venv requirements] *********************
4895changed: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
4896ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
4897
4898TASK [edx_ansible : Create update script] **************************************
4899changed: [localhost]
4900
4901TASK [edx_ansible : Create symlinks for update script] *************************
4902ok: [localhost]
4903
4904TASK [edx_ansible : Create utility scripts] ************************************
4905ok: [localhost] => (item={u'dest': u'show-repo-heads', u'src': u'show-repo-heads.j2'})
4906ok: [localhost] => (item={u'dest': u'pre-box', u'src': u'pre-box.j2'})
4907
4908TASK [edx_ansible : Create symlinks for utility scripts] ***********************
4909ok: [localhost] => (item=show-repo-heads)
4910
4911TASK [edx_ansible : Create a symlink for ansible-playbook] *********************
4912ok: [localhost]
4913
4914TASK [edx_ansible : Create a symlink for the playbooks dir] ********************
4915ok: [localhost]
4916
4917TASK [security : Install security packages] ************************************
4918skipping: [localhost] => (item=[])
4919
4920TASK [security : Update all system packages] ***********************************
4921skipping: [localhost]
4922
4923TASK [security : Configure periodic unattended-upgrades] ***********************
4924skipping: [localhost]
4925
4926TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4927skipping: [localhost] => (item=systemctl disable apt-daily.service)
4928skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4929skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4930
4931TASK [security : Disable unattended-upgrades] **********************************
4932skipping: [localhost]
4933
4934TASK [security : Only unattended-upgrade from security repo] *******************
4935skipping: [localhost]
4936
4937TASK [security : Disable security only updates on unattended-upgrades] *********
4938skipping: [localhost]
4939
4940TASK [security : Take security updates during ansible runs] ********************
4941skipping: [localhost] => (item=unattended-upgrade --dry-run)
4942skipping: [localhost] => (item=unattended-upgrade)
4943
4944TASK [security : Install security packages] ************************************
4945skipping: [localhost] => (item=[])
4946
4947TASK [security : Enable automatic start for update service] ********************
4948skipping: [localhost]
4949
4950TASK [security : Update all system packages] ***********************************
4951skipping: [localhost]
4952
4953TASK [security : Configure security auto-updates] ******************************
4954skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
4955skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
4956
4957TASK [security : Take security updates during ansible runs] ********************
4958skipping: [localhost] => (item=yum check-update --security)
4959skipping: [localhost] => (item=yum update --security -y)
4960
4961TASK [datadog : Install debian needed pkgs] ************************************
4962skipping: [localhost] => (item=[])
4963
4964TASK [datadog : Add apt key for datadog] ***************************************
4965skipping: [localhost]
4966
4967TASK [datadog : Install apt repository for datadog] ****************************
4968skipping: [localhost]
4969
4970TASK [datadog : Install datadog agent] *****************************************
4971skipping: [localhost]
4972
4973TASK [datadog : Bootstrap config] **********************************************
4974skipping: [localhost]
4975
4976TASK [datadog : Update api-key] ************************************************
4977skipping: [localhost]
4978
4979TASK [datadog : Ensure started and enabled] ************************************
4980skipping: [localhost]
4981
4982TASK [security : Install security packages] ************************************
4983skipping: [localhost] => (item=[])
4984
4985TASK [security : Update all system packages] ***********************************
4986skipping: [localhost]
4987
4988TASK [security : Configure periodic unattended-upgrades] ***********************
4989skipping: [localhost]
4990
4991TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
4992skipping: [localhost] => (item=systemctl disable apt-daily.service)
4993skipping: [localhost] => (item=systemctl disable apt-daily.timer)
4994skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
4995
4996TASK [security : Disable unattended-upgrades] **********************************
4997skipping: [localhost]
4998
4999TASK [security : Only unattended-upgrade from security repo] *******************
5000skipping: [localhost]
5001
5002TASK [security : Disable security only updates on unattended-upgrades] *********
5003skipping: [localhost]
5004
5005TASK [security : Take security updates during ansible runs] ********************
5006skipping: [localhost] => (item=unattended-upgrade --dry-run)
5007skipping: [localhost] => (item=unattended-upgrade)
5008
5009TASK [security : Install security packages] ************************************
5010skipping: [localhost] => (item=[])
5011
5012TASK [security : Enable automatic start for update service] ********************
5013skipping: [localhost]
5014
5015TASK [security : Update all system packages] ***********************************
5016skipping: [localhost]
5017
5018TASK [security : Configure security auto-updates] ******************************
5019skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
5020skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
5021
5022TASK [security : Take security updates during ansible runs] ********************
5023skipping: [localhost] => (item=yum check-update --security)
5024skipping: [localhost] => (item=yum update --security -y)
5025
5026TASK [splunkforwarder : Install splunkforwarder specific system packages] ******
5027skipping: [localhost] => (item=[])
5028
5029TASK [splunkforwarder : Download the splunk deb] *******************************
5030skipping: [localhost]
5031
5032TASK [splunkforwarder : Install splunk forwarder deb] **************************
5033skipping: [localhost]
5034
5035TASK [splunkforwarder : Download the splunk rpm] *******************************
5036skipping: [localhost]
5037
5038TASK [splunkforwarder : Install splunk forwarder rpm] **************************
5039skipping: [localhost]
5040
5041TASK [splunkforwarder : Create splunk user] ************************************
5042skipping: [localhost]
5043
5044TASK [splunkforwarder : Start splunk manually] *********************************
5045skipping: [localhost]
5046
5047TASK [splunkforwarder : Stop splunk manually] **********************************
5048skipping: [localhost]
5049
5050TASK [splunkforwarder : Create boot script] ************************************
5051skipping: [localhost]
5052
5053TASK [splunkforwarder : Ensure splunk forder permissions] **********************
5054skipping: [localhost]
5055
5056TASK [splunkforwarder : Update admin pasword] **********************************
5057skipping: [localhost]
5058
5059TASK [splunkforwarder : Add chkconfig to init script] **************************
5060skipping: [localhost]
5061
5062TASK [splunkforwarder : Make sure necessary dirs exist] ************************
5063skipping: [localhost] => (item=/opt/splunkforwarder//etc/auth/edxcerts)
5064skipping: [localhost] => (item=/opt/splunkforwarder/etc/system/local)
5065
5066TASK [splunkforwarder : Write SSL certs to disk] *******************************
5067skipping: [localhost] => (item={u'default': True, u'target_group': u'default_output_server', u'server': u'localhost:9997'})
5068
5069TASK [splunkforwarder : Write root CA to disk] *********************************
5070skipping: [localhost] => (item={u'default': True, u'target_group': u'default_output_server', u'server': u'localhost:9997'})
5071
5072TASK [splunkforwarder : Create inputs and outputs configuration] ***************
5073skipping: [localhost] => (item=inputs)
5074skipping: [localhost] => (item=outputs)
5075
5076TASK [postfix_queue : install postfix] *****************************************
5077skipping: [localhost]
5078
5079TASK [postfix_queue : Backup original postfix main.cf] *************************
5080skipping: [localhost]
5081
5082TASK [postfix_queue : Configure postfix] ***************************************
5083skipping: [localhost] => (item=smtp_sasl_auth_enable = yes)
5084skipping: [localhost] => (item=smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd)
5085skipping: [localhost] => (item=smtp_sasl_mechanism_filter = )
5086skipping: [localhost] => (item=smtp_sasl_security_options = )
5087skipping: [localhost] => (item=relayhost = :587)
5088skipping: [localhost] => (item=smtp_tls_security_level = encrypt)
5089skipping: [localhost] => (item=smtp_tls_mandatory_ciphers = high)
5090skipping: [localhost] => (item=sender_canonical_maps = hash:/etc/postfix/sender_canonical_maps)
5091skipping: [localhost] => (item=header_checks = regexp:/etc/postfix/header_checks)
5092
5093TASK [postfix_queue : Explain postfix authentication] **************************
5094skipping: [localhost]
5095
5096TASK [postfix_queue : Set permissions of password file] ************************
5097skipping: [localhost]
5098
5099TASK [postfix_queue : Configure postfix authentication] ************************
5100skipping: [localhost]
5101
5102TASK [postfix_queue : Hash postfix SASL password] ******************************
5103skipping: [localhost]
5104
5105TASK [postfix_queue : Configure postfix sender canonical maps] *****************
5106skipping: [localhost]
5107
5108TASK [postfix_queue : Hash postfix sender canonical maps file] *****************
5109skipping: [localhost]
5110
5111TASK [postfix_queue : Configure postfix header checks] *************************
5112skipping: [localhost]
5113
5114TASK [postfix_queue : Restart Postfix] *****************************************
5115skipping: [localhost]
5116
5117TASK [datadog-uninstall : Remove apt key for datadog] **************************
5118ok: [localhost]
5119
5120TASK [datadog-uninstall : Uninstall apt repository for datadog] ****************
5121ok: [localhost]
5122
5123TASK [datadog-uninstall : Uninstall datadog agent] *****************************
5124ok: [localhost]
5125
5126RUNNING HANDLER [nginx : reload nginx] *****************************************
5127changed: [localhost]
5128
5129RUNNING HANDLER [forum : restart the forum service] ****************************
5130changed: [localhost]
5131
5132PLAY RECAP *********************************************************************
5133localhost : ok=557 changed=228 unreachable=0 failed=0
5134
5135Installation finished at 2020-05-01 16:30:56