Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Capturing output to logs/install-20200123-101913.log
- Installation started at 2020-01-23 10:19:13
- Installing release 'master'
- Reading package lists...
- Building dependency tree...
- Reading state information...
- The following additional packages will be installed:
- python-pycurl
- Suggested packages:
- libcurl4-gnutls-dev python-pycurl-dbg python-pycurl-doc
- The following NEW packages will be installed:
- python-pycurl python-software-properties
- 0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
- Need to get 63.8 kB of archives.
- After this operation, 299 kB of additional disk space will be used.
- Get:1 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-pycurl amd64 7.43.0-1ubuntu1 [43.3 kB]
- Get:2 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-software-properties all 0.96.20.9 [20.5 kB]
- Fetched 63.8 kB in 0s (857 kB/s)
- Selecting previously unselected package python-pycurl.
- (Reading database ...
- (Reading database ... 5%
- (Reading database ... 10%
- (Reading database ... 15%
- (Reading database ... 20%
- (Reading database ... 25%
- (Reading database ... 30%
- (Reading database ... 35%
- (Reading database ... 40%
- (Reading database ... 45%
- (Reading database ... 50%
- (Reading database ... 55%
- (Reading database ... 60%
- (Reading database ... 65%
- (Reading database ... 70%
- (Reading database ... 75%
- (Reading database ... 80%
- (Reading database ... 85%
- (Reading database ... 90%
- (Reading database ... 95%
- (Reading database ... 100%
- (Reading database ... 60921 files and directories currently installed.)
- Preparing to unpack .../python-pycurl_7.43.0-1ubuntu1_amd64.deb ...
- Unpacking python-pycurl (7.43.0-1ubuntu1) ...
- Selecting previously unselected package python-software-properties.
- Preparing to unpack .../python-software-properties_0.96.20.9_all.deb ...
- Unpacking python-software-properties (0.96.20.9) ...
- Setting up python-pycurl (7.43.0-1ubuntu1) ...
- Setting up python-software-properties (0.96.20.9) ...
- gpg: keyring `/tmp/tmp4t8vumcd/secring.gpg' created
- gpg: keyring `/tmp/tmp4t8vumcd/pubring.gpg' created
- gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
- gpg: /tmp/tmp4t8vumcd/trustdb.gpg: trustdb created
- gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
- gpg: Total number processed: 1
- gpg: imported: 1 (RSA: 1)
- OK
- Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
- Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
- Hit:3 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
- Hit:4 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
- Get:5 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease [17.5 kB]
- Hit:6 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
- Hit:7 http://ppa.edx.org xenial InRelease
- Get:8 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages [87.6 kB]
- Get:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main Translation-en [14.6 kB]
- Fetched 120 kB in 0s (249 kB/s)
- Reading package lists...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Calculating upgrade...
- The following packages have been kept back:
- cpp-5 g++-5 gcc-5 gcc-5-base gcc-6-base git git-man libasan2 libatomic1
- libcc1-0 libcilkrts5 libgcc-5-dev libgcc1 libgomp1 libitm1 liblsan0 libmpx0
- libquadmath0 libstdc++-5-dev libstdc++6 libtsan0 libubsan0 linux-aws
- linux-headers-aws linux-image-aws
- 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- build-essential is already the newest version (12.1ubuntu2).
- g++ is already the newest version (4:5.3.1-1ubuntu1).
- g++ set to manually installed.
- gcc is already the newest version (4:5.3.1-1ubuntu1).
- gcc set to manually installed.
- curl is already the newest version (7.47.0-1ubuntu2.14).
- libmysqlclient-dev is already the newest version (5.7.28-0ubuntu0.16.04.2).
- libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.6).
- libxslt1-dev is already the newest version (1.1.28-2.1ubuntu0.3).
- python-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.8).
- python-dev is already the newest version (2.7.12-1~16.04).
- software-properties-common is already the newest version (0.96.20.9).
- python-pip is already the newest version (8.1.1-2ubuntu0.4).
- git-core is already the newest version (1:2.14.2-1~ppa0~ubuntu16.04.1).
- The following additional packages will be installed:
- libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dev libgnutlsxx28
- libgpg-error-dev libidn11-dev libnspr4 libnspr4-dev libnss3 libnss3-dev
- libnss3-nssdb libp11-kit-dev libpng12-dev libtasn1-6-dev libtasn1-doc
- libxmlsec1-gcrypt libxmlsec1-gnutls libxmlsec1-nss nettle-dev pkg-config
- swig3.0
- Suggested packages:
- libgcrypt20-doc gmp-doc libgmp10-doc libmpfr-dev gnutls-doc gnutls-bin
- guile-gnutls swig-doc swig-examples swig3.0-examples swig3.0-doc
- The following NEW packages will be installed:
- libfreetype6-dev libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dev
- libgnutlsxx28 libgpg-error-dev libidn11-dev libnspr4 libnspr4-dev libnss3
- libnss3-dev libnss3-nssdb libp11-kit-dev libpng12-dev libtasn1-6-dev
- libtasn1-doc libxmlsec1-dev libxmlsec1-gcrypt libxmlsec1-gnutls
- libxmlsec1-nss nettle-dev pkg-config swig swig3.0
- 0 upgraded, 25 newly installed, 0 to remove and 25 not upgraded.
- Need to get 7,915 kB of archives.
- After this operation, 34.9 MB of additional disk space will be used.
- Get:1 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpng12-dev amd64 1.2.54-1ubuntu1.1 [183 kB]
- Get:2 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfreetype6-dev amd64 2.6.1-0.1ubuntu2.4 [956 kB]
- Get:3 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgpg-error-dev amd64 1.21-2ubuntu1 [68.2 kB]
- Get:4 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgcrypt20-dev amd64 1.6.5-2ubuntu0.6 [380 kB]
- Get:5 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgmpxx4ldbl amd64 2:6.1.0+dfsg-2 [8,948 B]
- Get:6 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgmp-dev amd64 2:6.1.0+dfsg-2 [314 kB]
- Get:7 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgnutlsxx28 amd64 3.4.10-4ubuntu1.6 [13.7 kB]
- Get:8 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nettle-dev amd64 3.2-1ubuntu0.16.04.1 [939 kB]
- Get:9 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtasn1-6-dev amd64 4.7-3ubuntu0.16.04.3 [85.9 kB]
- Get:10 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libp11-kit-dev amd64 0.23.2-5~ubuntu16.04.1 [56.5 kB]
- Get:11 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 pkg-config amd64 0.29.1-0ubuntu1 [45.0 kB]
- Get:12 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libidn11-dev amd64 1.32-3ubuntu1.2 [518 kB]
- Get:13 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgnutls-dev amd64 3.4.10-4ubuntu1.6 [551 kB]
- Get:14 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnspr4 amd64 2:4.13.1-0ubuntu0.16.04.1 [112 kB]
- Get:15 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnspr4-dev amd64 2:4.13.1-0ubuntu0.16.04.1 [213 kB]
- Get:16 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3-nssdb all 2:3.28.4-0ubuntu0.16.04.10 [10.6 kB]
- Get:17 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3 amd64 2:3.28.4-0ubuntu0.16.04.10 [1,148 kB]
- Get:18 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnss3-dev amd64 2:3.28.4-0ubuntu0.16.04.10 [230 kB]
- Get:19 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-gcrypt amd64 1.2.20-2ubuntu4 [41.4 kB]
- Get:20 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-gnutls amd64 1.2.20-2ubuntu4 [32.1 kB]
- Get:21 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-nss amd64 1.2.20-2ubuntu4 [59.3 kB]
- Get:22 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxmlsec1-dev amd64 1.2.20-2ubuntu4 [650 kB]
- Get:23 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 swig3.0 amd64 3.0.8-0ubuntu3 [995 kB]
- Get:24 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 swig amd64 3.0.8-0ubuntu3 [6,278 B]
- Get:25 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtasn1-doc all 4.7-3ubuntu0.16.04.3 [299 kB]
- Fetched 7,915 kB in 0s (13.2 MB/s)
- Selecting previously unselected package libpng12-dev:amd64.
- (Reading database ...
- (Reading database ... 5%
- (Reading database ... 10%
- (Reading database ... 15%
- (Reading database ... 20%
- (Reading database ... 25%
- (Reading database ... 30%
- (Reading database ... 35%
- (Reading database ... 40%
- (Reading database ... 45%
- (Reading database ... 50%
- (Reading database ... 55%
- (Reading database ... 60%
- (Reading database ... 65%
- (Reading database ... 70%
- (Reading database ... 75%
- (Reading database ... 80%
- (Reading database ... 85%
- (Reading database ... 90%
- (Reading database ... 95%
- (Reading database ... 100%
- (Reading database ... 60945 files and directories currently installed.)
- Preparing to unpack .../libpng12-dev_1.2.54-1ubuntu1.1_amd64.deb ...
- Unpacking libpng12-dev:amd64 (1.2.54-1ubuntu1.1) ...
- Selecting previously unselected package libfreetype6-dev:amd64.
- Preparing to unpack .../libfreetype6-dev_2.6.1-0.1ubuntu2.4_amd64.deb ...
- Unpacking libfreetype6-dev:amd64 (2.6.1-0.1ubuntu2.4) ...
- Selecting previously unselected package libgpg-error-dev.
- Preparing to unpack .../libgpg-error-dev_1.21-2ubuntu1_amd64.deb ...
- Unpacking libgpg-error-dev (1.21-2ubuntu1) ...
- Selecting previously unselected package libgcrypt20-dev.
- Preparing to unpack .../libgcrypt20-dev_1.6.5-2ubuntu0.6_amd64.deb ...
- Unpacking libgcrypt20-dev (1.6.5-2ubuntu0.6) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.1.0+dfsg-2_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.1.0+dfsg-2) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.1.0+dfsg-2_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.1.0+dfsg-2) ...
- Selecting previously unselected package libgnutlsxx28:amd64.
- Preparing to unpack .../libgnutlsxx28_3.4.10-4ubuntu1.6_amd64.deb ...
- Unpacking libgnutlsxx28:amd64 (3.4.10-4ubuntu1.6) ...
- Selecting previously unselected package nettle-dev.
- Preparing to unpack .../nettle-dev_3.2-1ubuntu0.16.04.1_amd64.deb ...
- Unpacking nettle-dev (3.2-1ubuntu0.16.04.1) ...
- Selecting previously unselected package libtasn1-6-dev:amd64.
- Preparing to unpack .../libtasn1-6-dev_4.7-3ubuntu0.16.04.3_amd64.deb ...
- Unpacking libtasn1-6-dev:amd64 (4.7-3ubuntu0.16.04.3) ...
- Selecting previously unselected package libp11-kit-dev:amd64.
- Preparing to unpack .../libp11-kit-dev_0.23.2-5~ubuntu16.04.1_amd64.deb ...
- Unpacking libp11-kit-dev:amd64 (0.23.2-5~ubuntu16.04.1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
- Unpacking pkg-config (0.29.1-0ubuntu1) ...
- Selecting previously unselected package libidn11-dev.
- Preparing to unpack .../libidn11-dev_1.32-3ubuntu1.2_amd64.deb ...
- Unpacking libidn11-dev (1.32-3ubuntu1.2) ...
- Selecting previously unselected package libgnutls-dev:amd64.
- Preparing to unpack .../libgnutls-dev_3.4.10-4ubuntu1.6_amd64.deb ...
- Unpacking libgnutls-dev:amd64 (3.4.10-4ubuntu1.6) ...
- Selecting previously unselected package libnspr4:amd64.
- Preparing to unpack .../libnspr4_2%3a4.13.1-0ubuntu0.16.04.1_amd64.deb ...
- Unpacking libnspr4:amd64 (2:4.13.1-0ubuntu0.16.04.1) ...
- Selecting previously unselected package libnspr4-dev.
- Preparing to unpack .../libnspr4-dev_2%3a4.13.1-0ubuntu0.16.04.1_amd64.deb ...
- Unpacking libnspr4-dev (2:4.13.1-0ubuntu0.16.04.1) ...
- Selecting previously unselected package libnss3-nssdb.
- Preparing to unpack .../libnss3-nssdb_2%3a3.28.4-0ubuntu0.16.04.10_all.deb ...
- Unpacking libnss3-nssdb (2:3.28.4-0ubuntu0.16.04.10) ...
- Selecting previously unselected package libnss3:amd64.
- Preparing to unpack .../libnss3_2%3a3.28.4-0ubuntu0.16.04.10_amd64.deb ...
- Unpacking libnss3:amd64 (2:3.28.4-0ubuntu0.16.04.10) ...
- Selecting previously unselected package libnss3-dev:amd64.
- Preparing to unpack .../libnss3-dev_2%3a3.28.4-0ubuntu0.16.04.10_amd64.deb ...
- Unpacking libnss3-dev:amd64 (2:3.28.4-0ubuntu0.16.04.10) ...
- Selecting previously unselected package libxmlsec1-gcrypt.
- Preparing to unpack .../libxmlsec1-gcrypt_1.2.20-2ubuntu4_amd64.deb ...
- Unpacking libxmlsec1-gcrypt (1.2.20-2ubuntu4) ...
- Selecting previously unselected package libxmlsec1-gnutls.
- Preparing to unpack .../libxmlsec1-gnutls_1.2.20-2ubuntu4_amd64.deb ...
- Unpacking libxmlsec1-gnutls (1.2.20-2ubuntu4) ...
- Selecting previously unselected package libxmlsec1-nss.
- Preparing to unpack .../libxmlsec1-nss_1.2.20-2ubuntu4_amd64.deb ...
- Unpacking libxmlsec1-nss (1.2.20-2ubuntu4) ...
- Selecting previously unselected package libxmlsec1-dev.
- Preparing to unpack .../libxmlsec1-dev_1.2.20-2ubuntu4_amd64.deb ...
- Unpacking libxmlsec1-dev (1.2.20-2ubuntu4) ...
- Selecting previously unselected package swig3.0.
- Preparing to unpack .../swig3.0_3.0.8-0ubuntu3_amd64.deb ...
- Unpacking swig3.0 (3.0.8-0ubuntu3) ...
- Selecting previously unselected package swig.
- Preparing to unpack .../swig_3.0.8-0ubuntu3_amd64.deb ...
- Unpacking swig (3.0.8-0ubuntu3) ...
- Selecting previously unselected package libtasn1-doc.
- Preparing to unpack .../libtasn1-doc_4.7-3ubuntu0.16.04.3_all.deb ...
- Unpacking libtasn1-doc (4.7-3ubuntu0.16.04.3) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for install-info (6.1.0.dfsg.1-5) ...
- Processing triggers for libc-bin (2.23-0ubuntu11) ...
- Setting up libpng12-dev:amd64 (1.2.54-1ubuntu1.1) ...
- Setting up libfreetype6-dev:amd64 (2.6.1-0.1ubuntu2.4) ...
- Setting up libgpg-error-dev (1.21-2ubuntu1) ...
- Setting up libgcrypt20-dev (1.6.5-2ubuntu0.6) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.1.0+dfsg-2) ...
- Setting up libgmp-dev:amd64 (2:6.1.0+dfsg-2) ...
- Setting up libgnutlsxx28:amd64 (3.4.10-4ubuntu1.6) ...
- Setting up nettle-dev (3.2-1ubuntu0.16.04.1) ...
- Setting up libtasn1-6-dev:amd64 (4.7-3ubuntu0.16.04.3) ...
- Setting up libp11-kit-dev:amd64 (0.23.2-5~ubuntu16.04.1) ...
- Setting up pkg-config (0.29.1-0ubuntu1) ...
- Setting up libidn11-dev (1.32-3ubuntu1.2) ...
- Setting up libgnutls-dev:amd64 (3.4.10-4ubuntu1.6) ...
- Setting up libnspr4:amd64 (2:4.13.1-0ubuntu0.16.04.1) ...
- Setting up libnspr4-dev (2:4.13.1-0ubuntu0.16.04.1) ...
- Setting up libxmlsec1-gcrypt (1.2.20-2ubuntu4) ...
- Setting up libxmlsec1-gnutls (1.2.20-2ubuntu4) ...
- Setting up swig3.0 (3.0.8-0ubuntu3) ...
- Setting up swig (3.0.8-0ubuntu3) ...
- Setting up libtasn1-doc (4.7-3ubuntu0.16.04.3) ...
- Setting up libnss3-nssdb (2:3.28.4-0ubuntu0.16.04.10) ...
- Setting up libnss3:amd64 (2:3.28.4-0ubuntu0.16.04.10) ...
- Setting up libnss3-dev:amd64 (2:3.28.4-0ubuntu0.16.04.10) ...
- Setting up libxmlsec1-nss (1.2.20-2ubuntu4) ...
- Setting up libxmlsec1-dev (1.2.20-2ubuntu4) ...
- Processing triggers for libc-bin (2.23-0ubuntu11) ...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- The following packages will be REMOVED:
- python-yaml
- 0 upgraded, 0 newly installed, 1 to remove and 25 not upgraded.
- After this operation, 453 kB disk space will be freed.
- (Reading database ...
- (Reading database ... 5%
- (Reading database ... 10%
- (Reading database ... 15%
- (Reading database ... 20%
- (Reading database ... 25%
- (Reading database ... 30%
- (Reading database ... 35%
- (Reading database ... 40%
- (Reading database ... 45%
- (Reading database ... 50%
- (Reading database ... 55%
- (Reading database ... 60%
- (Reading database ... 65%
- (Reading database ... 70%
- (Reading database ... 75%
- (Reading database ... 80%
- (Reading database ... 85%
- (Reading database ... 90%
- (Reading database ... 95%
- (Reading database ... 100%
- (Reading database ... 62889 files and directories currently installed.)
- Removing python-yaml (3.11-3build1) ...
- DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
- Requirement already up-to-date: pip==19.3.1 in /usr/local/lib/python2.7/dist-packages (19.3.1)
- WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
- You should consider upgrading via the 'pip install --upgrade pip' command.
- DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
- Requirement already up-to-date: setuptools==39.0.1 in /usr/local/lib/python2.7/dist-packages (39.0.1)
- WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
- You should consider upgrading via the 'pip install --upgrade pip' command.
- DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
- Requirement already up-to-date: virtualenv==15.2.0 in /usr/local/lib/python2.7/dist-packages (15.2.0)
- WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
- You should consider upgrading via the 'pip install --upgrade pip' command.
- Cloning into 'configuration'...
- Already on 'master'
- Your branch is up-to-date with 'origin/master'.
- Already up-to-date.
- DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
- Processing /root/.cache/pip/wheels/f8/c0/47/9a2339b2189f35308c60a1d1cdde08fb7ceb79cc7fbfdb2d59/ansible-2.7.12-cp27-none-any.whl
- Collecting awscli==1.15.19
- Using cached https://files.pythonhosted.org/packages/e7/c5/1b74f1c91a4cdd9a70300a6c8c8d0eb654fd3c2187f372ec994830e47b87/awscli-1.15.19-py2.py3-none-any.whl
- Collecting bcrypt==3.1.7
- Using cached https://files.pythonhosted.org/packages/ad/36/9a0227d048e98409f012570f7bef8a8c2373b9c9c5dfbf82963cbae05ede/bcrypt-3.1.7-cp27-cp27mu-manylinux1_x86_64.whl
- Collecting boto3==1.7.14
- Using cached https://files.pythonhosted.org/packages/f8/ed/8160213941beab9bf5c352d29111e2e0cd0e580a52e902bf3bef8559fa86/boto3-1.7.14-py2.py3-none-any.whl
- Collecting boto==2.48.0
- Using cached https://files.pythonhosted.org/packages/bd/b7/a88a67002b1185ed9a8e8a6ef15266728c2361fcb4f1d02ea331e4c7741d/boto-2.48.0-py2.py3-none-any.whl
- Collecting botocore==1.10.19
- Using cached https://files.pythonhosted.org/packages/34/05/1ffe77f2b8fb03a9223f3d0743cd38cded9491b074c65f3bb664ed4b7ac6/botocore-1.10.19-py2.py3-none-any.whl
- Collecting certifi==2019.11.28
- Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl
- Collecting cffi==1.13.2
- Using cached https://files.pythonhosted.org/packages/93/5d/c4f950891251e478929036ca07b22f0b10324460c1d0a4434c584481db51/cffi-1.13.2-cp27-cp27mu-manylinux1_x86_64.whl
- Collecting chardet==3.0.4
- Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
- Collecting colorama==0.3.7
- Using cached https://files.pythonhosted.org/packages/b7/8e/ddb32ddaabd431813e180ca224e844bab8ad42fbb47ee07553f0ec44cd86/colorama-0.3.7-py2.py3-none-any.whl
- Collecting cryptography==2.8
- Using cached https://files.pythonhosted.org/packages/c8/52/ad7f2cbe3b6e9340526dc401b38bb67c06160449446e15b0bf5f947fa168/cryptography-2.8-cp27-cp27mu-manylinux2010_x86_64.whl
- Processing /root/.cache/pip/wheels/88/9d/ed/6693983ca01635176593731b8a3bcfa6bdb9d4ac58c2a20377/datadog-0.8.0-cp27-none-any.whl
- Collecting decorator==4.4.1
- Using cached https://files.pythonhosted.org/packages/8f/b7/f329cfdc75f3d28d12c65980e4469e2fa373f1953f5df6e370e84ea2e875/decorator-4.4.1-py2.py3-none-any.whl
- Processing /root/.cache/pip/wheels/9b/04/dd/7daf4150b6d9b12949298737de9431a324d4b797ffd63f526e/docopt-0.6.2-py2.py3-none-any.whl
- Collecting docutils==0.15.2
- Using cached https://files.pythonhosted.org/packages/3a/dc/bf2b15d1fa15a6f7a9e77a61b74ecbbae7258558fcda8ffc9a6638a6b327/docutils-0.15.2-py2-none-any.whl
- Collecting ecdsa==0.13.3
- Using cached https://files.pythonhosted.org/packages/a6/81/2b170b460c84fdc8700cf08aa077ac6a9ff41f4ad3f05d0b3a64ba9f8f2e/ecdsa-0.13.3-py2.py3-none-any.whl
- Collecting enum34==1.1.6
- Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
- Collecting futures==3.3.0
- Using cached https://files.pythonhosted.org/packages/d8/a6/f46ae3f1da0cd4361c344888f59ec2f5785e69c872e175a748ef6071cdb5/futures-3.3.0-py2-none-any.whl
- Collecting idna==2.7
- Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
- Collecting ipaddress==1.0.23
- Using cached https://files.pythonhosted.org/packages/c2/f8/49697181b1651d8347d24c095ce46c7346c37335ddc7d255833e7cde674d/ipaddress-1.0.23-py2.py3-none-any.whl
- Requirement already satisfied: jinja2==2.8 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 27)) (2.8)
- Collecting jmespath==0.9.4
- Using cached https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
- Processing /root/.cache/pip/wheels/33/56/20/ebe49a5c612fffe1c5a632146b16596f9e64676768661e4e46/MarkupSafe-1.0-cp27-cp27mu-linux_x86_64.whl
- Processing /root/.cache/pip/wheels/6e/a9/f4/adafe23cce789e62d9730c5eec3fa258a22ff9b20e24a69b73/mysqlclient-1.3.0-cp27-cp27mu-linux_x86_64.whl
- Collecting networkx==1.11
- Using cached https://files.pythonhosted.org/packages/d3/2c/e473e54afc9fae58dfa97066ef6709a7e35a1dd1c28c5a3842989322be00/networkx-1.11-py2.py3-none-any.whl
- Collecting paramiko==2.4.2
- Using cached https://files.pythonhosted.org/packages/cf/ae/94e70d49044ccc234bfdba20114fa947d7ba6eb68a2e452d89b920e62227/paramiko-2.4.2-py2.py3-none-any.whl
- Collecting pathlib2==2.3.0
- Using cached https://files.pythonhosted.org/packages/74/4e/68add57f8b993bb5da70c22c7eebb4266c7b66cab15095a1578cc6a62b1a/pathlib2-2.3.0-py2.py3-none-any.whl
- Processing /root/.cache/pip/wheels/80/34/1c/3967380d9676d162cb59513bd9dc862d0584e045a162095606/prettytable-0.7.2-cp27-none-any.whl
- Collecting pyasn1==0.4.8
- Using cached https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl
- Processing /root/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511/pycparser-2.19-py2.py3-none-any.whl
- Processing /root/.cache/pip/wheels/27/02/5e/77a69d0c16bb63c6ed32f5386f33a2809c94bd5414a2f6c196/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl
- Collecting pymongo==3.9.0
- Using cached https://files.pythonhosted.org/packages/00/5c/5379d5b8167a5938918d9ee147f865f6f8a64b93947d402cfdca5c1416d2/pymongo-3.9.0-cp27-cp27mu-manylinux1_x86_64.whl
- Collecting pynacl==1.3.0
- Using cached https://files.pythonhosted.org/packages/b3/25/e605574f24948a8a53b497744e93f061eb1dbe7c44b6465fc1c172d591aa/PyNaCl-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl
- Collecting python-dateutil==2.8.1
- Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
- Processing /root/.cache/pip/wheels/03/05/65/bdc14f2c6e09e82ae3e0f13d021e1b6b2481437ea2f207df3f/PyYAML-3.12-cp27-cp27mu-linux_x86_64.whl
- Collecting requests==2.20.0
- Using cached https://files.pythonhosted.org/packages/f1/ca/10332a30cb25b627192b4ea272c351bce3ca1091e541245cccbace6051d8/requests-2.20.0-py2.py3-none-any.whl
- Collecting rsa==3.4.2
- Using cached https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl
- Collecting s3transfer==0.1.13
- Using cached https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl
- Processing /root/.cache/pip/wheels/91/95/75/19c98a91239878abbc7c59970abd3b4e0438a7dd5b61778335/scandir-1.10.0-cp27-cp27mu-linux_x86_64.whl
- Processing /root/.cache/pip/wheels/86/c0/83/dcd0339abb2640544bb8e0938aab2d069cef55e5647ce6e097/simplejson-3.17.0-cp27-cp27mu-linux_x86_64.whl
- Collecting six==1.13.0
- Using cached https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl
- Collecting urllib3==1.24.3
- Using cached https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl
- Requirement already satisfied: wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 49)) (0.1.2)
- Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==2.7.12->-r requirements.txt (line 7)) (39.0.1)
- Installing collected packages: pyasn1, six, pycparser, cffi, bcrypt, enum34, ipaddress, cryptography, pynacl, paramiko, pyyaml, ansible, docutils, colorama, jmespath, python-dateutil, botocore, futures, s3transfer, rsa, awscli, boto3, boto, certifi, chardet, urllib3, idna, requests, simplejson, decorator, datadog, docopt, ecdsa, markupsafe, mysqlclient, networkx, scandir, pathlib2, prettytable, pycrypto, pymongo
- Found existing installation: MarkupSafe 0.23
- Uninstalling MarkupSafe-0.23:
- Successfully uninstalled MarkupSafe-0.23
- Found existing installation: mysqlclient 1.3.7
- Uninstalling mysqlclient-1.3.7:
- Successfully uninstalled mysqlclient-1.3.7
- Successfully installed ansible-2.7.12 awscli-1.15.19 bcrypt-3.1.7 boto-2.48.0 boto3-1.7.14 botocore-1.10.19 certifi-2019.11.28 cffi-1.13.2 chardet-3.0.4 colorama-0.3.7 cryptography-2.8 datadog-0.8.0 decorator-4.4.1 docopt-0.6.2 docutils-0.15.2 ecdsa-0.13.3 enum34-1.1.6 futures-3.3.0 idna-2.7 ipaddress-1.0.23 jmespath-0.9.4 markupsafe-1.0 mysqlclient-1.3.0 networkx-1.11 paramiko-2.4.2 pathlib2-2.3.0 prettytable-0.7.2 pyasn1-0.4.8 pycparser-2.19 pycrypto-2.6.1 pymongo-3.9.0 pynacl-1.3.0 python-dateutil-2.8.1 pyyaml-3.12 requests-2.20.0 rsa-3.4.2 s3transfer-0.1.13 scandir-1.10.0 simplejson-3.17.0 six-1.13.0 urllib3-1.24.3
- WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
- You should consider upgrading via the 'pip install --upgrade pip' command.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 77, column
- 3, found a duplicate dict key (RACK_ENV). Using last defined value only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 77, column
- 3, found a duplicate dict key (SINATRA_ENV). Using last defined value only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 77, column
- 3, found a duplicate dict key (SEARCH_SERVER). Using last defined value only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 77, column
- 3, found a duplicate dict key (MONGOHQ_URL). Using last defined value only.
- PLAY [Bootstrap instance(s)] ***************************************************
- TASK [python : Wait until cloud-init has finished running] *********************
- changed: [localhost]
- TASK [python : Update apt-get] *************************************************
- changed: [localhost]
- TASK [python : Install packages] ***********************************************
- changed: [localhost] => (item=python-minimal)
- PLAY [Configure instance(s)] ***************************************************
- TASK [Gathering Facts] *********************************************************
- ok: [localhost]
- TASK [swapfile : Write swapfile] ***********************************************
- changed: [localhost]
- TASK [swapfile : Set swapfile permissions] *************************************
- changed: [localhost]
- TASK [swapfile : Create swapfile] **********************************************
- changed: [localhost]
- TASK [swapfile : Enable swapfile] **********************************************
- changed: [localhost]
- TASK [swapfile : Add swapfile to /etc/fstab] ***********************************
- changed: [localhost]
- TASK [swapfile : Configure vm.swappiness] **************************************
- skipping: [localhost]
- TASK [swapfile : Configure vm.vfs_cache_pressure] ******************************
- skipping: [localhost]
- TASK [server_utils : Check for expired edx key] ********************************
- skipping: [localhost]
- TASK [server_utils : remove expired edx key] ***********************************
- skipping: [localhost]
- TASK [server_utils : Install ubuntu system packages] ***************************
- skipping: [localhost]
- TASK [user : debug] ************************************************************
- skipping: [localhost]
- TASK [user : Create the edxadmin group] ****************************************
- skipping: [localhost]
- TASK [user : Ensure sudoers.d is read] *****************************************
- skipping: [localhost]
- TASK [user : Grant full sudo access to the edxadmin group] *********************
- skipping: [localhost]
- TASK [user : Create the users] *************************************************
- TASK [user : Assign admin role to admin users] *********************************
- TASK [user : Check the ssh key(s) for user(s) over github] *********************
- TASK [user : Print warning if github user(s) missing ssh key] ******************
- TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
- TASK [user : Get github key(s) and update the authorized_keys file] ************
- TASK [user : Create bashrc file for normal users] ******************************
- TASK [user : Create .profile for all users] ************************************
- TASK [user : Modify shell for restricted users] ********************************
- TASK [user : Create bashrc file for restricted users] **************************
- TASK [user : Create sudoers file from template] ********************************
- skipping: [localhost]
- TASK [user : Change home directory ownership to root for restricted users] *****
- TASK [user : Create ~/bin directory] *******************************************
- TASK [user : Create allowed command links] *************************************
- TASK [user : Allow users to ssh] ***********************************************
- skipping: [localhost]
- TASK [user : restart ssh] ******************************************************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [common : Check Configuration Sources] ************************************
- TASK [common : stat] ***********************************************************
- skipping: [localhost]
- TASK [common : Update CA Certificates] *****************************************
- skipping: [localhost]
- TASK [common : stat] ***********************************************************
- skipping: [localhost]
- TASK [common : Update CA Trust] ************************************************
- skipping: [localhost]
- TASK [common : Add common_users] ***********************************************
- skipping: [localhost] => (item=www-data)
- skipping: [localhost] => (item=syslog)
- TASK [common : check if instance is vagrant] ***********************************
- skipping: [localhost]
- TASK [common : Add git apt repository] *****************************************
- skipping: [localhost]
- TASK [common : Add edX PPA apt key] ********************************************
- skipping: [localhost]
- TASK [common : Update expired apt keys] ****************************************
- skipping: [localhost]
- TASK [common : Add custom edX PPA] *********************************************
- skipping: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- skipping: [localhost]
- TASK [common : Install role-independent useful system packages from custom PPA] ***
- skipping: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- skipping: [localhost]
- TASK [common : Create common directories] **************************************
- skipping: [localhost] => (item={u'path': u'/edx/var'})
- skipping: [localhost] => (item={u'path': u'/edx/app'})
- skipping: [localhost] => (item={u'path': u'/edx/bin'})
- skipping: [localhost] => (item={u'path': u'/edx/etc'})
- skipping: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
- skipping: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
- skipping: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
- TASK [common : upload sudo config for key forwarding as root] ******************
- skipping: [localhost]
- TASK [common : pip install virtualenv] *****************************************
- skipping: [localhost]
- TASK [common : update /etc/hosts] **********************************************
- skipping: [localhost]
- TASK [common : update /etc/hostname] *******************************************
- skipping: [localhost]
- TASK [common : run hostname] ***************************************************
- skipping: [localhost]
- TASK [common : Copy the templates to their respestive destination] *************
- skipping: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
- skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
- skipping: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
- skipping: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
- TASK [common : restart rsyslogd] ***********************************************
- skipping: [localhost]
- TASK [common : Add ntp alert script] *******************************************
- skipping: [localhost]
- TASK [common : Remove MOTD update checker] *************************************
- skipping: [localhost]
- TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
- skipping: [localhost]
- TASK [common : install logrotate configuration] ********************************
- skipping: [localhost]
- TASK [vhost : Create all service directories] **********************************
- skipping: [localhost] => (item={'value': {u'owner': u'root', u'path': u'/edx/app/aws', u'group': u'root', u'mode': u'0755'}, 'key': u'home'})
- skipping: [localhost] => (item={'value': {u'owner': u'root', u'path': u'/edx/var/aws', u'group': u'root', u'mode': u'0700'}, 'key': u'data'})
- skipping: [localhost] => (item={'value': {u'owner': u'syslog', u'path': u'/edx/var/log/aws', u'group': u'syslog', u'mode': u'0650'}, 'key': u'logs'})
- TASK [vhost : Add script for syncing logs on exit] *****************************
- skipping: [localhost]
- TASK [vhost : Force logrotate on supervisor stop] ******************************
- skipping: [localhost]
- TASK [vhost : Add systemd service for syncing logs on exit] ********************
- skipping: [localhost]
- TASK [vhost : Enable systemd service for syncing logs on exit] *****************
- skipping: [localhost]
- TASK [vhost : Update /etc/dhcp/dhclient.conf] **********************************
- skipping: [localhost]
- TASK [vhost : Rerun dhclient to apply template] ********************************
- skipping: [localhost]
- TASK [vhost : Copy the MOTD template in place] *********************************
- skipping: [localhost]
- TASK [vhost : Add motd.tail support for 16.04] *********************************
- skipping: [localhost]
- TASK [vhost : Update sshd logging to VERBOSE] **********************************
- skipping: [localhost]
- TASK [vhost : Update sshd logging to VERBOSE] **********************************
- skipping: [localhost]
- TASK [vhost : Restart ssh (ubuntu/debian)] *************************************
- skipping: [localhost]
- TASK [vhost : Restart ssh (redhat)] ********************************************
- skipping: [localhost]
- TASK [aws : Gather ec2 facts for use in other roles] ***************************
- skipping: [localhost]
- TASK [aws : Set the MTU to 1500 temporarily] ***********************************
- skipping: [localhost]
- TASK [aws : Set the MTU to 1500 permanently] ***********************************
- skipping: [localhost]
- TASK [aws : Install system packages] *******************************************
- skipping: [localhost]
- TASK [aws : Copy the Python requirements file] *********************************
- skipping: [localhost]
- TASK [aws : Install aws python packages] ***************************************
- skipping: [localhost]
- TASK [aws : Copy the boto global config file] **********************************
- skipping: [localhost]
- TASK [aws : Create s3 log sync script] *****************************************
- skipping: [localhost]
- TASK [aws : Create symlink for s3 log sync script] *****************************
- skipping: [localhost]
- TASK [aws : Check if files exist so the next task doesn't fail] ****************
- skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
- skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
- skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
- skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
- TASK [aws : Update the ssh motd on Ubuntu] *************************************
- skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/10-help-text', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/update-motd.d/10-help-text'})
- skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/usr/share/landscape/landscape-sysinfo.wrapper', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/usr/share/landscape/landscape-sysinfo.wrapper'})
- skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/51-cloudguest', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/update-motd.d/51-cloudguest'})
- skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/etc/update-motd.d/91-release-upgrade', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/etc/update-motd.d/91-release-upgrade'})
- TASK [server_utils : Check for expired edx key] ********************************
- changed: [localhost]
- TASK [server_utils : remove expired edx key] ***********************************
- skipping: [localhost]
- TASK [server_utils : Install ubuntu system packages] ***************************
- ok: [localhost]
- TASK [user : debug] ************************************************************
- ok: [localhost] => {
- "user_info": []
- }
- TASK [user : Create the edxadmin group] ****************************************
- ok: [localhost]
- TASK [user : Ensure sudoers.d is read] *****************************************
- ok: [localhost]
- TASK [user : Grant full sudo access to the edxadmin group] *********************
- ok: [localhost]
- TASK [user : Create the users] *************************************************
- TASK [user : Assign admin role to admin users] *********************************
- TASK [user : Check the ssh key(s) for user(s) over github] *********************
- TASK [user : Print warning if github user(s) missing ssh key] ******************
- TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
- TASK [user : Get github key(s) and update the authorized_keys file] ************
- TASK [user : Create bashrc file for normal users] ******************************
- TASK [user : Create .profile for all users] ************************************
- TASK [user : Modify shell for restricted users] ********************************
- TASK [user : Create bashrc file for restricted users] **************************
- TASK [user : Create sudoers file from template] ********************************
- ok: [localhost]
- TASK [user : Change home directory ownership to root for restricted users] *****
- TASK [user : Create ~/bin directory] *******************************************
- TASK [user : Create allowed command links] *************************************
- TASK [user : Allow users to ssh] ***********************************************
- skipping: [localhost]
- TASK [user : restart ssh] ******************************************************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [common : Check Configuration Sources] ************************************
- TASK [common : stat] ***********************************************************
- ok: [localhost]
- TASK [common : Update CA Certificates] *****************************************
- changed: [localhost]
- TASK [common : stat] ***********************************************************
- ok: [localhost]
- TASK [common : Update CA Trust] ************************************************
- skipping: [localhost]
- TASK [common : Add common_users] ***********************************************
- ok: [localhost] => (item=www-data)
- ok: [localhost] => (item=syslog)
- TASK [common : check if instance is vagrant] ***********************************
- ok: [localhost]
- TASK [common : Add git apt repository] *****************************************
- ok: [localhost]
- TASK [common : Add edX PPA apt key] ********************************************
- ok: [localhost]
- TASK [common : Update expired apt keys] ****************************************
- changed: [localhost]
- TASK [common : Add custom edX PPA] *********************************************
- ok: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- ok: [localhost]
- TASK [common : Install role-independent useful system packages from custom PPA] ***
- skipping: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- skipping: [localhost]
- TASK [common : Create common directories] **************************************
- ok: [localhost] => (item={u'path': u'/edx/var'})
- ok: [localhost] => (item={u'path': u'/edx/app'})
- ok: [localhost] => (item={u'path': u'/edx/bin'})
- ok: [localhost] => (item={u'path': u'/edx/etc'})
- ok: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
- ok: [localhost] => (item={u'path': u'/etc/logrotate.d/hourly'})
- ok: [localhost] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
- TASK [common : upload sudo config for key forwarding as root] ******************
- ok: [localhost]
- TASK [common : pip install virtualenv] *****************************************
- changed: [localhost]
- TASK [common : update /etc/hosts] **********************************************
- skipping: [localhost]
- TASK [common : update /etc/hostname] *******************************************
- skipping: [localhost]
- TASK [common : run hostname] ***************************************************
- skipping: [localhost]
- TASK [common : Copy the templates to their respestive destination] *************
- ok: [localhost] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
- ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
- ok: [localhost] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
- ok: [localhost] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
- TASK [common : restart rsyslogd] ***********************************************
- skipping: [localhost]
- TASK [common : Add ntp alert script] *******************************************
- ok: [localhost]
- TASK [common : Remove MOTD update checker] *************************************
- ok: [localhost]
- TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
- ok: [localhost]
- TASK [common : install logrotate configuration] ********************************
- ok: [localhost]
- TASK [nginx : Create Diffie-Hellman parameters to prevent weak key exchange] ***
- changed: [localhost]
- TASK [nginx : Restrict permissions of DH parameters file] **********************
- changed: [localhost]
- TASK [nginx : Create nginx app and data dirs] **********************************
- changed: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx', u'group': u'www-data'})
- changed: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/sites-available', u'group': u'www-data'})
- changed: [localhost] => (item={u'owner': u'root', u'path': u'/etc/nginx/sites-enabled', u'group': u'www-data'})
- changed: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/conf.d', u'group': u'www-data'})
- changed: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx', u'group': u'root'})
- changed: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/log/nginx', u'group': u'root'})
- changed: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx/server-static', u'group': u'root'})
- TASK [nginx : Install needed packages] *****************************************
- changed: [localhost]
- TASK [nginx : Add apt key] *****************************************************
- changed: [localhost]
- TASK [nginx : Add nginx repository] ********************************************
- changed: [localhost]
- TASK [nginx : Remove old nginx packages] ***************************************
- ok: [localhost]
- TASK [nginx : Install the nginx package] ***************************************
- changed: [localhost]
- TASK [nginx : Remove the default site] *****************************************
- ok: [localhost]
- TASK [nginx : Define server configuration file and common nginx configuration] ***
- changed: [localhost] => (item={u'dest': u'/etc/nginx/nginx.conf', u'src': u'etc/nginx/nginx.conf.j2', u'group': u'www-data', u'mode': u'0644'})
- changed: [localhost] => (item={u'dest': u'/edx/app/nginx/sites-available/maps', u'src': u'edx/app/nginx/sites-available/maps.j2', u'group': u'root', u'mode': u'0600'})
- TASK [nginx : Create robot rules] **********************************************
- changed: [localhost]
- TASK [nginx : Creating link for common nginx configuration] ********************
- changed: [localhost] => (item=maps)
- TASK [nginx : Copying nginx configs for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
- changed: [localhost] => (item=certs)
- changed: [localhost] => (item=cms)
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=forum)
- changed: [localhost] => (item=xqueue)
- TASK [nginx : Creating nginx config links for [u'certs', u'cms', u'lms', u'forum', u'xqueue']] ***
- changed: [localhost] => (item=certs)
- changed: [localhost] => (item=cms)
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=forum)
- changed: [localhost] => (item=xqueue)
- TASK [nginx : Copying nginx extra configs] *************************************
- TASK [nginx : Creating links for nginx extra configs] **************************
- TASK [nginx : Copying custom nginx config] *************************************
- TASK [nginx : Copying nginx redirect configs for {}] ***************************
- TASK [nginx : Creating nginx redirect links for {}] ****************************
- TASK [nginx : Create NGINX server templates] ***********************************
- changed: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Rate limit exceeded', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', u'file': u'rate-limit.html', u'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'heading': u'Uh oh, we are having some server issues..'})
- changed: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Server error', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', u'file': u'server-error.html', u'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'heading': u'Uh oh, we are having some server issues..'})
- TASK [nginx : Copy static files] ***********************************************
- TASK [nginx : Write out htpasswd file] *****************************************
- skipping: [localhost] => (item={u'state': u'present', u'password': u'lrNfNJLV3aHD5QeUm8aMLevwb2HCl0vlDya', u'name': u'UCKwdrqkxgOKBAotfwJdIIqD7bcjXAmnvDb'})
- TASK [nginx : Write out htpasswd file for prospectus preview pages] ************
- skipping: [localhost]
- TASK [nginx : Create nginx log file location (just in case)] *******************
- changed: [localhost]
- TASK [nginx : stat] ************************************************************
- ok: [localhost -> localhost]
- TASK [nginx : stat] ************************************************************
- ok: [localhost -> localhost]
- TASK [nginx : copy ssl cert] ***************************************************
- skipping: [localhost]
- TASK [nginx : copy ssl key] ****************************************************
- skipping: [localhost]
- TASK [nginx : Removing default nginx config and restart (enabled)] *************
- ok: [localhost]
- TASK [nginx : Set up nginx access log rotation] ********************************
- changed: [localhost]
- TASK [nginx : Set up nginx error log rotation] *********************************
- changed: [localhost]
- TASK [nginx : Test nginx configs] **********************************************
- changed: [localhost]
- RUNNING HANDLER [nginx : restart nginx] ****************************************
- changed: [localhost]
- RUNNING HANDLER [nginx : reload nginx] *****************************************
- changed: [localhost]
- TASK [nginx : make sure nginx has started] *************************************
- ok: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [mysql : Look for mysql 5.6] **********************************************
- fatal: [localhost]: FAILED! => {"changed": false, "cmd": "dpkg -s mysql-server", "delta": "0:00:00.012836", "end": "2020-01-23 10:21:10.410660", "msg": "non-zero return code", "rc": 1, "start": "2020-01-23 10:21:10.397824", "stderr": "dpkg-query: package 'mysql-server' is not installed and no information is available\nUse dpkg --info (= dpkg-deb --info) to examine archive files,\nand dpkg --contents (= dpkg-deb --contents) to list their contents.", "stderr_lines": ["dpkg-query: package 'mysql-server' is not installed and no information is available", "Use dpkg --info (= dpkg-deb --info) to examine archive files,", "and dpkg --contents (= dpkg-deb --contents) to list their contents."], "stdout": "", "stdout_lines": []}
- ...ignoring
- TASK [mysql : Important message] ***********************************************
- skipping: [localhost]
- TASK [mysql : pause] ***********************************************************
- skipping: [localhost]
- TASK [mysql : Stop mysql service] **********************************************
- skipping: [localhost]
- TASK [mysql : Remove experimental apt repository] ******************************
- skipping: [localhost]
- TASK [mysql : Remove experimental version of mysql] ****************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: ['mysql-server-5.6',
- 'mysql-server']` and remove the loop. This feature will be removed in version
- 2.11. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- skipping: [localhost] => (item=[])
- TASK [mysql : Install mysql-5.6 and dependencies] ******************************
- changed: [localhost]
- TASK [mysql : Set default character sets and collations] ***********************
- changed: [localhost]
- TASK [mysql : restart mysql] ***************************************************
- [WARNING]: Consider using the service module rather than running 'service'.
- If you need to use command because service is insufficient you can add 'warn:
- false' to this command task or set 'command_warnings=False' in ansible.cfg to
- get rid of this message.
- changed: [localhost]
- TASK [mysql : Ensure Anonymous user(s) does not exist] *************************
- ok: [localhost] => (item=localhost)
- ok: [localhost] => (item=ip-172-31-10-42)
- TASK [edxlocal : Install packages needed for single server] ********************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: '{{ edxlocal_debian_pkgs
- }}'` and remove the loop. This feature will be removed in version 2.11.
- Deprecation warnings can be disabled by setting deprecation_warnings=False in
- ansible.cfg.
- changed: [localhost] => (item=[u'postfix', u'libjpeg-dev'])
- TASK [edxlocal : create databases] *********************************************
- changed: [localhost] => (item=ecommerce)
- changed: [localhost] => (item=dashboard)
- changed: [localhost] => (item=xqueue)
- changed: [localhost] => (item=edxapp)
- changed: [localhost] => (item=edxapp_csmh)
- changed: [localhost] => (item=edx_notes_api)
- changed: [localhost] => (item=analytics-api)
- changed: [localhost] => (item=reports)
- changed: [localhost] => (item=blockstore)
- skipping: [localhost] => (item=)
- changed: [localhost] => (item=discovery)
- skipping: [localhost] => (item=)
- skipping: [localhost] => (item=)
- TASK [edxlocal : create database users] ****************************************
- changed: [localhost] => (item={u'db': u'ecommerce', u'user': u'ecomm001', u'pass': u'NQkxrwae53autQY1Lrkb8UZVvpdoCHBwm4R'})
- changed: [localhost] => (item={u'db': u'dashboard', u'user': u'rosencrantz', u'pass': u'lPWE0Wac9JrVJbagcCuM2A2ToR9kY33gJTb'})
- changed: [localhost] => (item={u'db': u'xqueue', u'user': u'xqueue001', u'pass': u'v9qHkJIjrHA2TVPlobw7HLp8evyL4CSKXBz'})
- changed: [localhost] => (item={u'db': u'edxapp', u'user': u'edxapp001', u'pass': u'f0c0a0cPgSPWEcUIRhliYbLeQwUfv73sFud'})
- changed: [localhost] => (item={u'db': u'edxapp_csmh', u'user': u'edxapp_cmsh001', u'pass': u'A2rgSEr1q6e63uL8VyK9XHpmwaJ9DdYB3lT'})
- skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'Tb5Gfs5IwL70aDHdZsl2ZD9Mlob585tXcel'})
- skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'gXby3BaMaQyBfXKvSSuJlf35BkA2HCj5Sdq'})
- changed: [localhost] => (item={u'db': u'blockstore', u'user': u'blkstr01', u'pass': u'password'})
- skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u'f2q8dr3cFYu0js2XG7Hm3h2djntwEtudzfa'})
- changed: [localhost] => (item={u'db': u'discovery', u'user': u'discov001', u'pass': u'iJh4l8oVT6DrgxfJkdQVrlSMZYczqGZ1bz6'})
- skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u''})
- skipping: [localhost] => (item={u'db': u'', u'user': u'', u'pass': u''})
- TASK [edxlocal : setup the migration db user] **********************************
- changed: [localhost] => (item=ecommerce)
- changed: [localhost] => (item=dashboard)
- changed: [localhost] => (item=xqueue)
- changed: [localhost] => (item=edxapp)
- changed: [localhost] => (item=edxapp_csmh)
- changed: [localhost] => (item=edx_notes_api)
- changed: [localhost] => (item=analytics-api)
- changed: [localhost] => (item=reports)
- changed: [localhost] => (item=blockstore)
- skipping: [localhost] => (item=)
- changed: [localhost] => (item=discovery)
- skipping: [localhost] => (item=)
- skipping: [localhost] => (item=)
- TASK [edxlocal : create api user for the analytics api] ************************
- changed: [localhost]
- TASK [edxlocal : create read-only reports user for the analytics-api] **********
- changed: [localhost]
- TASK [edxlocal : create a database for the hive metastore] *********************
- skipping: [localhost]
- TASK [edxlocal : setup the edx-notes-api db user] ******************************
- changed: [localhost]
- TASK [edxlocal : setup the read-only db user] **********************************
- changed: [localhost]
- TASK [edxlocal : setup the admin db user] **************************************
- changed: [localhost]
- TASK [memcache : Install memcached] ********************************************
- changed: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [mount_ebs : Unmount disk if fstype is wrong] *****************************
- TASK [mount_ebs : Check that we don't want to unmount disks to change fstype when UNMOUNT_DISKS is false] ***
- skipping: [localhost] => (item={u'block_used': 536349, u'uuid': u'01909065-0362-439c-9af2-29d0fc837f6b', u'size_total': 104022159360, u'block_total': 25396035, u'mount': u'/', u'block_available': 24859686, u'size_available': 101825273856, u'fstype': u'ext4', u'inode_total': 12800000, u'inode_available': 12693235, u'device': u'/dev/xvda1', u'inode_used': 106765, u'block_size': 4096, u'options': u'rw,relatime,discard,data=ordered'})
- skipping: [localhost] => (item={u'block_used': 708, u'uuid': u'N/A', u'size_total': 92798976, u'block_total': 708, u'mount': u'/snap/core/7270', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 12823, u'inode_available': 0, u'device': u'/dev/loop0', u'inode_used': 12823, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
- skipping: [localhost] => (item={u'block_used': 144, u'uuid': u'N/A', u'size_total': 18874368, u'block_total': 144, u'mount': u'/snap/amazon-ssm-agent/1335', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 15, u'inode_available': 0, u'device': u'/dev/loop1', u'inode_used': 15, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
- TASK [mount_ebs : Create filesystem] *******************************************
- TASK [mount_ebs : Unmount disks mounted to the wrong place] ********************
- skipping: [localhost] => (item={u'block_used': 536349, u'uuid': u'01909065-0362-439c-9af2-29d0fc837f6b', u'size_total': 104022159360, u'block_total': 25396035, u'mount': u'/', u'block_available': 24859686, u'size_available': 101825273856, u'fstype': u'ext4', u'inode_total': 12800000, u'inode_available': 12693235, u'device': u'/dev/xvda1', u'inode_used': 106765, u'block_size': 4096, u'options': u'rw,relatime,discard,data=ordered'})
- skipping: [localhost] => (item={u'block_used': 708, u'uuid': u'N/A', u'size_total': 92798976, u'block_total': 708, u'mount': u'/snap/core/7270', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 12823, u'inode_available': 0, u'device': u'/dev/loop0', u'inode_used': 12823, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
- skipping: [localhost] => (item={u'block_used': 144, u'uuid': u'N/A', u'size_total': 18874368, u'block_total': 144, u'mount': u'/snap/amazon-ssm-agent/1335', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 15, u'inode_available': 0, u'device': u'/dev/loop1', u'inode_used': 15, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
- TASK [mount_ebs : Check that we don't want to unmount disks to change mountpoint when UNMOUNT_DISKS is false] ***
- skipping: [localhost] => (item={u'block_used': 536349, u'uuid': u'01909065-0362-439c-9af2-29d0fc837f6b', u'size_total': 104022159360, u'block_total': 25396035, u'mount': u'/', u'block_available': 24859686, u'size_available': 101825273856, u'fstype': u'ext4', u'inode_total': 12800000, u'inode_available': 12693235, u'device': u'/dev/xvda1', u'inode_used': 106765, u'block_size': 4096, u'options': u'rw,relatime,discard,data=ordered'})
- skipping: [localhost] => (item={u'block_used': 708, u'uuid': u'N/A', u'size_total': 92798976, u'block_total': 708, u'mount': u'/snap/core/7270', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 12823, u'inode_available': 0, u'device': u'/dev/loop0', u'inode_used': 12823, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
- skipping: [localhost] => (item={u'block_used': 144, u'uuid': u'N/A', u'size_total': 18874368, u'block_total': 144, u'mount': u'/snap/amazon-ssm-agent/1335', u'block_available': 0, u'size_available': 0, u'fstype': u'squashfs', u'inode_total': 15, u'inode_available': 0, u'device': u'/dev/loop1', u'inode_used': 15, u'block_size': 131072, u'options': u'ro,nodev,relatime'})
- TASK [mount_ebs : Mount disks] *************************************************
- TASK [mongo_3_2 : Add disable transparent huge pages systemd service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
- changed: [localhost]
- TASK [mongo_3_2 : Enable/start disable transparent huge pages service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
- changed: [localhost]
- TASK [mongo_3_2 : install python pymongo for mongo_user ansible module] ********
- changed: [localhost]
- TASK [mongo_3_2 : add the mongodb signing key] *********************************
- changed: [localhost]
- TASK [mongo_3_2 : add the mongodb repo to the sources list] ********************
- changed: [localhost]
- TASK [mongo_3_2 : install mongo server and recommends] *************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `pkg: "{{ item }}"`, please use `pkg: '{{ mongodb_debian_pkgs
- }}'` and remove the loop. This feature will be removed in version 2.11.
- Deprecation warnings can be disabled by setting deprecation_warnings=False in
- ansible.cfg.
- changed: [localhost] => (item=[u'mongodb-org=3.2.16', u'mongodb-org-server=3.2.16', u'mongodb-org-shell=3.2.16', u'mongodb-org-mongos=3.2.16', u'mongodb-org-tools=3.2.16'])
- TASK [mongo_3_2 : create mongo dirs] *******************************************
- changed: [localhost] => (item=/edx/var/mongo)
- changed: [localhost] => (item=/edx/var/mongo/mongodb)
- changed: [localhost] => (item=/edx/var/log/mongo)
- changed: [localhost] => (item=/edx/var/mongo/mongodb/journal)
- TASK [mongo_3_2 : add serverStatus logging script] *****************************
- changed: [localhost]
- TASK [mongo_3_2 : add serverStatus logging script to cron] *********************
- changed: [localhost]
- TASK [mongo_3_2 : determine if there is a replica set already] *****************
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused
- fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1579774934.75-135877819585763/AnsiballZ_mongodb_rs_status\", line 113, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1579774934.75-135877819585763/AnsiballZ_mongodb_rs_status\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1579774934.75-135877819585763/AnsiballZ_mongodb_rs_status\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_mongodb_rs_status_payload_og7n4c/__main__.py\", line 133, in <module>\n File \"/tmp/ansible_mongodb_rs_status_payload_og7n4c/__main__.py\", line 115, in main\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/database.py\", line 478, in command\n with client._socket_for_reads(read_preference) as (sock_info, slave_ok):\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py\", line 752, in _socket_for_reads\n with self._get_socket(read_preference) as sock_info:\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py\", line 716, in _get_socket\n server = self._get_topology().select_server(selector)\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/topology.py\", line 142, in select_server\n address))\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/topology.py\", line 118, in select_servers\n self._error_message(selector))\npymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
- ...ignoring
- TASK [mongo_3_2 : Try checking the replica set with no user/pass in case this is a new box] ***
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused
- fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1579774965.63-148261327210859/AnsiballZ_mongodb_rs_status\", line 113, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1579774965.63-148261327210859/AnsiballZ_mongodb_rs_status\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1579774965.63-148261327210859/AnsiballZ_mongodb_rs_status\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_mongodb_rs_status_payload_2E0iIN/__main__.py\", line 133, in <module>\n File \"/tmp/ansible_mongodb_rs_status_payload_2E0iIN/__main__.py\", line 115, in main\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/database.py\", line 478, in command\n with client._socket_for_reads(read_preference) as (sock_info, slave_ok):\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py\", line 752, in _socket_for_reads\n with self._get_socket(read_preference) as sock_info:\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py\", line 716, in _get_socket\n server = self._get_topology().select_server(selector)\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/topology.py\", line 142, in select_server\n address))\n File \"/usr/local/lib/python2.7/dist-packages/pymongo/topology.py\", line 118, in select_servers\n self._error_message(selector))\npymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
- ...ignoring
- TASK [mongo_3_2 : set facts that default to not initializing a replica set] ****
- ok: [localhost]
- TASK [mongo_3_2 : track if you have a replica set] *****************************
- ok: [localhost]
- TASK [mongo_3_2 : warn about unconfigured replica sets] ************************
- ok: [localhost] => {
- "msg": "You do not appear to have a Replica Set configured, deploying one for you"
- }
- TASK [mongo_3_2 : copy mongodb key file] ***************************************
- changed: [localhost]
- TASK [mongo_3_2 : copy configuration template] *********************************
- changed: [localhost]
- TASK [mongo_3_2 : install logrotate configuration] *****************************
- changed: [localhost]
- TASK [mongo_3_2 : restart mongo service if we changed our configuration] *******
- changed: [localhost]
- TASK [mongo_3_2 : wait for mongo server to start] ******************************
- ok: [localhost]
- TASK [mongo_3_2 : create super user] *******************************************
- changed: [localhost]
- TASK [mongo_3_2 : Unset our skip initializing replica set fact so that mongod.conf gets a replica set] ***
- ok: [localhost]
- TASK [mongo_3_2 : re-copy configuration template with replica set enabled] *****
- changed: [localhost]
- TASK [mongo_3_2 : restart mongo service] ***************************************
- changed: [localhost]
- TASK [mongo_3_2 : wait for mongo server to start] ******************************
- ok: [localhost]
- TASK [mongo_3_2 : configure replica set] ***************************************
- [WARNING]: Module did not set no_log for password
- changed: [localhost]
- TASK [mongo_3_2 : Wait for the replica set to update and (if needed) elect a primary] ***
- ok: [localhost]
- TASK [mongo_3_2 : create mongodb users in a replica set] ***********************
- changed: [localhost] => (item={u'password': u'97CG2qUZuByth0wor8GKr46yrqGeTtUl3On', u'user': u'cs_comments_service', u'roles': u'readWrite', u'database': u'cs_comments_service'})
- changed: [localhost] => (item={u'password': u'Vp93KT7pAON10o6LlvIwXzsq1RSheFCKtOI', u'user': u'edxapp', u'roles': u'readWrite', u'database': u'edxapp'})
- TASK [mongo_3_2 : ensure mongo starts at boot time] ****************************
- changed: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [rabbitmq : install packages needed by rabbit] ****************************
- ok: [localhost]
- TASK [rabbitmq : trust rabbit's packagecloud repository] ***********************
- changed: [localhost]
- TASK [rabbitmq : add rabbit's packagecloud repository] *************************
- changed: [localhost]
- TASK [rabbitmq : Check if rabbit is installed] *********************************
- changed: [localhost]
- TASK [rabbitmq : Warn if wrong rabbit version is installed] ********************
- skipping: [localhost]
- TASK [rabbitmq : Install rabbit package] ***************************************
- changed: [localhost]
- TASK [rabbitmq : Stop rabbit cluster] ******************************************
- changed: [localhost]
- TASK [rabbitmq : Send sigterm to any running rabbitmq processes] ***************
- changed: [localhost]
- TASK [rabbitmq : Create rabbitmq edx directories] ******************************
- changed: [localhost] => (item=/edx/app/rabbitmq)
- changed: [localhost] => (item=/edx/var/log/rabbitmq)
- TASK [rabbitmq : Add queue monitoring script] **********************************
- changed: [localhost]
- TASK [rabbitmq : Add RabbitMQ memory usage script] *****************************
- changed: [localhost]
- TASK [rabbitmq : Set up a cron job to run queue script] ************************
- changed: [localhost]
- TASK [rabbitmq : Set up a cron job to run the script] **************************
- changed: [localhost]
- TASK [rabbitmq : install logrotate configuration] ******************************
- changed: [localhost]
- TASK [rabbitmq : Create cookie directory] **************************************
- ok: [localhost]
- TASK [rabbitmq : Add rabbitmq erlang cookie] ***********************************
- changed: [localhost]
- TASK [rabbitmq : Create rabbitmq config directory] *****************************
- ok: [localhost]
- TASK [rabbitmq : Add rabbitmq environment configuration] ***********************
- changed: [localhost]
- TASK [rabbitmq : Add rabbitmq cluster configuration] ***************************
- changed: [localhost]
- TASK [rabbitmq : Install plugins] **********************************************
- changed: [localhost] => (item=rabbitmq_management)
- TASK [rabbitmq : Remove mnesia configuration] **********************************
- changed: [localhost]
- TASK [rabbitmq : Start rabbit nodes] *******************************************
- changed: [localhost]
- TASK [rabbitmq : Wait for rabbit to start] *************************************
- ok: [localhost]
- TASK [rabbitmq : Remove guest user] ********************************************
- changed: [localhost]
- TASK [rabbitmq : Add vhosts] ***************************************************
- ok: [localhost] => (item=/)
- TASK [rabbitmq : set_fact] *****************************************************
- ok: [localhost] => (item=/)
- TASK [rabbitmq : Add admin users] **********************************************
- changed: [localhost] => (item={u'password': u'JvA8Fwhv5FJjNLfLF3xedvwgb8LcYqU8MRX', u'name': u'admin'})
- changed: [localhost] => (item={u'password': u'LSYi2Bux82EG2TmQlttrZr5wceOMD06xJ7K', u'name': u'edx'})
- changed: [localhost] => (item={u'password': u'BZ60XcqRtZttEybpDn6AiwNnMp3hUoZTdQD', u'name': u'celery'})
- TASK [rabbitmq : Make queues mirrored] *****************************************
- skipping: [localhost] => (item=/)
- TASK [rabbitmq : Install admin tools] ******************************************
- changed: [localhost]
- TASK [rabbitmq : Ensure rabbitmqadmin attributes] ******************************
- changed: [localhost]
- TASK [rabbitmq : Set cluster name] *********************************************
- changed: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [supervisor : Create application and supervisor service user] *************
- changed: [localhost] => (item=supervisor)
- ok: [localhost] => (item=www-data)
- TASK [supervisor : Create supervisor and service user accessible directories] ***
- changed: [localhost] => (item=/edx/app/supervisor)
- changed: [localhost] => (item=/edx/app/supervisor/venvs/supervisor)
- changed: [localhost] => (item=/edx/app/supervisor/conf.d)
- changed: [localhost] => (item=/edx/app/supervisor/conf.available.d)
- TASK [supervisor : Create supervisor directories] ******************************
- changed: [localhost] => (item=/edx/var/supervisor)
- changed: [localhost] => (item=/edx/var/log/supervisor)
- TASK [supervisor : Install supervisor in its venv] *****************************
- changed: [localhost]
- TASK [supervisor : Install supervisor in its venv] *****************************
- changed: [localhost]
- TASK [supervisor : Create supervisor upstart job] ******************************
- skipping: [localhost]
- TASK [supervisor : Create supervisor systemd job] ******************************
- changed: [localhost]
- TASK [supervisor : Write the pre_suprevisor python script] *********************
- skipping: [localhost]
- TASK [supervisor : Create supervisor master config] ****************************
- changed: [localhost]
- TASK [supervisor : Remove a symlink for supervisortctl] ************************
- [WARNING]: The src option requires state to be 'link' or 'hard'. This will
- become an error in Ansible 2.10
- ok: [localhost]
- TASK [supervisor : Remove symlink for supervisor cfg] **************************
- ok: [localhost] => (item=/edx/app/supervisor/supervisord.conf)
- ok: [localhost] => (item=/edx/app/supervisor/conf.d)
- TASK [supervisor : Create helper script for running supervisor] ****************
- changed: [localhost]
- TASK [supervisor : Are we in a Docker container] *******************************
- changed: [localhost]
- TASK [supervisor : Enable supervisor to start on boot] *************************
- changed: [localhost]
- TASK [supervisor : Start supervisor] *******************************************
- changed: [localhost]
- TASK [supervisor : Wait for web port to be available] **************************
- ok: [localhost]
- TASK [supervisor : Update supervisor configuration] ****************************
- ok: [localhost]
- TASK [edxapp_common : Install system packages] *********************************
- changed: [localhost]
- TASK [nltk : Install unzip] ****************************************************
- ok: [localhost]
- TASK [nltk : create the nltk data directory and subdirectories] ****************
- changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
- changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
- ok: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
- TASK [nltk : download nltk data] ***********************************************
- changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
- changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
- changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
- TASK [nltk : unarchive nltk data] **********************************************
- [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
- `result|changed` use `result is changed`. This feature will be removed in
- version 2.9. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', u'path': u'taggers/maxent_treebank_pos_tagger'})
- changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip', u'path': u'corpora/stopwords'})
- changed: [localhost] => (item={u'url': u'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip', u'path': u'corpora/wordnet'})
- [WARNING]: Consider using the unarchive module rather than running 'unzip'.
- If you need to use command because unarchive is insufficient you can add 'warn:
- false' to this command task or set 'command_warnings=False' in ansible.cfg to
- get rid of this message.
- TASK [add_user : create user groups] *******************************************
- skipping: [localhost] => (item=edx-themes)
- TASK [add_user : create application user] **************************************
- skipping: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- skipping: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- skipping: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/var/edx-themes/edx-themes', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/var/edx-themes/edx-themes'})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- skipping: [localhost] => (item=None)
- TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
- skipping: [localhost]
- TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
- skipping: [localhost] => (item=edxapp)
- TASK [edx_themes : update .bashrc to set umask value] **************************
- skipping: [localhost]
- TASK [edxapp : create application user] ****************************************
- changed: [localhost]
- TASK [edxapp : create edxapp user dirs] ****************************************
- changed: [localhost] => (item={u'path': u'/edx/app/edxapp'})
- changed: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
- changed: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
- changed: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
- changed: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
- changed: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
- changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
- changed: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
- changed: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
- TASK [edxapp : write devstack script] ******************************************
- skipping: [localhost]
- TASK [edxapp : create edxapp log dir] ******************************************
- changed: [localhost]
- TASK [edxapp : Ensure the tracking folder exists] ******************************
- changed: [localhost]
- TASK [edxapp : Ensure the tracking.log file exists] ****************************
- changed: [localhost]
- TASK [edxapp : create web-writable edxapp data dirs] ***************************
- changed: [localhost] => (item=/edx/var/edxapp/data)
- changed: [localhost] => (item=/edx/var/edxapp/uploads)
- changed: [localhost] => (item=/edx/var/edxapp/media)
- TASK [edxapp : install system packages on which LMS and CMS rely] **************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: "{{ query('flattened',
- ['{{ edxapp_debian_pkgs_default }}', '{{ edxapp_debian_pkgs_extra }}']) }}"`
- and remove the loop. This feature will be removed in version 2.11. Deprecation
- warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
- changed: [localhost] => (item=[u's3cmd', u'pkg-config', u'g++', u'apparmor-utils', u'curl', u'ipython', u'ntp', u'libfreetype6-dev', u'libffi-dev', u'python-dev', u'python3-dev', u'libsqlite3-dev'])
- TASK [edxapp : Install the gpg key for nodejs LTS] *****************************
- changed: [localhost]
- TASK [edxapp : Install the nodejs LTS repos] ***********************************
- changed: [localhost]
- TASK [edxapp : Install node] ***************************************************
- changed: [localhost]
- TASK [edxapp : set up edxapp .npmrc] *******************************************
- changed: [localhost]
- TASK [edxapp : create log directories for service variants] ********************
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=cms)
- TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
- ok: [localhost]
- TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
- skipping: [localhost]
- TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
- ok: [localhost]
- TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
- ok: [localhost]
- TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
- skipping: [localhost]
- TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
- ok: [localhost]
- TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
- changed: [localhost]
- TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
- ok: [localhost]
- TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
- changed: [localhost]
- TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
- changed: [localhost]
- TASK [edxapp : code sandbox | start apparmor service] **************************
- ok: [localhost]
- TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
- changed: [localhost]
- TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
- changed: [localhost]
- TASK [edxapp : copy the template to the desired location] **********************
- changed: [localhost] => (item={u'dest': u'/edx/app/edxapp/edxapp_env', u'src': u'edxapp_env.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
- changed: [localhost] => (item={u'dest': u'/edx/app/edxapp/newrelic.ini', u'src': u'newrelic.ini.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
- changed: [localhost] => (item={u'dest': u'/tmp/edxapp_git_ssh.sh', u'src': u'git_ssh.sh.j2', u'group': u'edxapp', u'mode': u'0750', u'owner': u'edxapp'})
- changed: [localhost] => (item={u'dest': u'/edx/app/edxapp/.boto', u'src': u'boto.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
- TASK [edxapp : install read-only ssh key] **************************************
- skipping: [localhost]
- TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
- changed: [localhost]
- TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
- changed: [localhost]
- TASK [edxapp : git clean after checking out edx-platform] **********************
- changed: [localhost]
- TASK [edxapp : checkout Stanford-style theme] **********************************
- skipping: [localhost]
- TASK [Install a theme through simpletheme] *************************************
- TASK [simple_theme : assert] ***************************************************
- skipping: [localhost]
- TASK [simple_theme : assert] ***************************************************
- skipping: [localhost]
- TASK [simple_theme : Check whether theme directory already exists] *************
- skipping: [localhost]
- TASK [simple_theme : Download skeleton theme] **********************************
- skipping: [localhost]
- TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
- skipping: [localhost]
- TASK [simple_theme : Create default skeleton (dirs)] ***************************
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- TASK [simple_theme : Create default skeleton (files)] **************************
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- TASK [simple_theme : Create directory to hold the theme and styles] ************
- skipping: [localhost] => (item=.)
- skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
- TASK [simple_theme : Compile the templates] ************************************
- skipping: [localhost] => (item=lms/static/sass/common-variables.scss)
- skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
- skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
- TASK [simple_theme : Create directories for static files to be copied] *********
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- TASK [simple_theme : Copy static files (adding "static/")] *********************
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- TASK [simple_theme : Create directories for static files to be downloaded] *****
- TASK [simple_theme : Download static files to be included in theme] ************
- TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
- TASK [edxapp : Updating requirement files for git mirror] **********************
- skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt'})
- changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775207.1899812, u'block_size': 4096, u'inode': 12548458, u'isgid': False, u'size': 8276, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092450', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 24, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1579775208.6379898, u'mimetype': u'text/plain', u'ctime': 1579775207.1899812, u'isblk': False, u'checksum': u'90ccd948f6dbc7c9d8f7d9a317c463d551662592', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt'})
- changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775207.1899812, u'block_size': 4096, u'inode': 12548451, u'isgid': False, u'size': 1354, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092443', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'xusr': False, u'atime': 1579775208.6379898, u'mimetype': u'text/plain', u'ctime': 1579775207.1899812, u'isblk': False, u'checksum': u'e9eee91a18da5461a82d986551f988731d05bbea', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt'})
- [WARNING]: Consider using the replace, lineinfile or template module rather
- than running 'sed'. If you need to use command because replace, lineinfile or
- template is insufficient you can add 'warn: false' to this command task or set
- 'command_warnings=False' in ansible.cfg to get rid of this message.
- TASK [edxapp : Create the virtualenv to install the Python requirements] *******
- changed: [localhost]
- TASK [edxapp : Pin pip to a specific version.] *********************************
- changed: [localhost]
- TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
- TASK [edxapp : install python requirements] ************************************
- skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt'})
- changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775211.654008, u'block_size': 4096, u'inode': 12548792, u'isgid': False, u'size': 8276, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092840', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 24, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1579775211.654008, u'mimetype': u'text/plain', u'ctime': 1579775211.654008, u'isblk': False, u'checksum': u'90ccd948f6dbc7c9d8f7d9a317c463d551662592', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt'})
- TASK [edxapp : install python private requirements] ****************************
- skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.4.6'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/oppia-xblock.git@1030adb3590ad2d32c93443cc8690db0985d76b6#egg=oppia-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/schoolyourself-xblock.git@2093048720cfb36cc05b3143cd6f2585c7c64d85#egg=schoolyourself-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@a45a6560c92b6d8b62be1f939ff1d00dfff84e70#egg=concept-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@20538c6e9bb704801a71ecbb6981f794556dfc45#egg=audio-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@c950ffdda2f69effda93bf03df8646f61d3ffada#egg=animation-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ubcpi.git@3c4b2cdc9f595ab8cdb436f559b56f36638313b6#egg=ubcpi-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-vectordraw.git@76976425356dfc7f13570f354c0c438db84c2840#egg=xblock-vectordraw==0.3.0'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@013003aa3ce28f0ae03b8227dc3a6daa4e19997d#egg=xblock-activetable'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/edx-zoom.git@37c323ae93265937bf60abb92657318efeec96c5#egg=edx-zoom'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/labxchange-xblocks.git@29c6d829b8d54f5683a41626616024c8643b7b0f#egg=labxchange-xblocks'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/lx-pathway-plugin.git@b69f6b27108fa033c9a402f65cbf3a34a7b5ad93#egg=lx-pathway-plugin'})
- TASK [edxapp : install python extra requirements] ******************************
- TASK [edxapp : install CAS attribute module] ***********************************
- skipping: [localhost]
- TASK [edxapp : install sandbox requirements into regular venv] *****************
- skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
- TASK [edxapp : Set the npm registry] *******************************************
- ok: [localhost]
- TASK [edxapp : Set the npm registry permissions] *******************************
- changed: [localhost]
- TASK [edxapp : install node dependencies] **************************************
- changed: [localhost]
- TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
- changed: [localhost]
- TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
- changed: [localhost]
- TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
- changed: [localhost]
- TASK [edxapp : compiling all py files in the edx-platform repo] ****************
- changed: [localhost]
- TASK [edxapp : give other read permissions to the virtualenv] ******************
- ok: [localhost]
- TASK [edxapp : create service wrapper scripts - {{item}}] **********************
- changed: [localhost] => (item=lms.sh)
- changed: [localhost] => (item=cms.sh)
- changed: [localhost] => (item=worker.sh)
- changed: [localhost] => (item=reload_lms_config.sh)
- changed: [localhost] => (item=reload_cms_config.sh)
- TASK [edxapp : create application and auth config] *****************************
- changed: [localhost] => (item=[u'lms', u'env'])
- changed: [localhost] => (item=[u'lms', u'auth'])
- changed: [localhost] => (item=[u'cms', u'env'])
- changed: [localhost] => (item=[u'cms', u'auth'])
- TASK [edxapp : combined lms auth env for yml] **********************************
- ok: [localhost]
- TASK [edxapp : render lms yml config] ******************************************
- changed: [localhost] => (item=None)
- ok: [localhost] => (item=None)
- changed: [localhost]
- TASK [edxapp : combined cms auth env for yml] **********************************
- ok: [localhost]
- TASK [edxapp : render studio yml config] ***************************************
- changed: [localhost] => (item=None)
- ok: [localhost] => (item=None)
- changed: [localhost]
- TASK [edxapp : Decrypt lms config] *********************************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Decrypt cms config] *********************************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Replace deploy host to sandbox dns name] ************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Copy lms config file] *******************************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Copy cms config file] *******************************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Write the revisions config file] ********************************
- changed: [localhost]
- TASK [edxapp : writing {{ item }} supervisor script] ***************************
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=cms)
- TASK [edxapp : writing celery supervisor scripts] ******************************
- changed: [localhost] => (item=workers.conf)
- TASK [edxapp : clean out old edxapp.conf] **************************************
- ok: [localhost]
- TASK [edxapp : add gunicorn configuration files] *******************************
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=cms)
- TASK [edxapp : enable {{ item }} supervisor script] ****************************
- skipping: [localhost] => (item=lms)
- skipping: [localhost] => (item=cms)
- TASK [edxapp : enable celery worker supervisor script] *************************
- changed: [localhost]
- TASK [edxapp : create helper scripts for managing edxapp] **********************
- changed: [localhost] => (item=[u'edxapp-migrate', u'lms'])
- changed: [localhost] => (item=[u'edxapp-migrate', u'cms'])
- changed: [localhost] => (item=[u'edxapp-runserver', u'lms'])
- changed: [localhost] => (item=[u'edxapp-runserver', u'cms'])
- changed: [localhost] => (item=[u'edxapp-shell', u'lms'])
- changed: [localhost] => (item=[u'edxapp-shell', u'cms'])
- TASK [edxapp : create script to compile and update assets] *********************
- changed: [localhost]
- TASK [edxapp : migrate] ********************************************************
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=cms)
- TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
- skipping: [localhost] => (item=absent)
- skipping: [localhost] => (item=directory)
- TASK [edxapp : gather static assets with paver] ********************************
- skipping: [localhost]
- TASK [edxapp : update supervisor configuration] ********************************
- changed: [localhost]
- TASK [edxapp : ensure edxapp has started] **************************************
- skipping: [localhost] => (item=lms)
- skipping: [localhost] => (item=cms)
- TASK [edxapp : ensure edxapp_workers has started] ******************************
- ok: [localhost]
- TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
- changed: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
- changed: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
- changed: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
- changed: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
- TASK [edxapp : remove read-only ssh key] ***************************************
- skipping: [localhost]
- TASK [edxapp : get instance information] ***************************************
- skipping: [localhost]
- TASK [edxapp : tag instance with edx_platform version] *************************
- skipping: [localhost]
- TASK [edxapp : tag instance with edxapp theme version] *************************
- skipping: [localhost]
- TASK [edxapp : set_fact] *******************************************************
- ok: [localhost]
- TASK [edxapp : restart edxapp] *************************************************
- skipping: [localhost] => (item=lms)
- skipping: [localhost] => (item=cms)
- TASK [edxapp : restart edxapp_workers] *****************************************
- changed: [localhost]
- TASK [edxapp : create service worker users] ************************************
- changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'enterprise_worker@example.com'})
- changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'veda_service_user@example.com'})
- changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'discovery_worker@example.com'})
- changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'insights_worker@example.com'})
- changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'credentials_worker@example.com'})
- changed: [localhost] => (item={u'username': u'designer_worker', u'is_superuser': False, u'is_staff': True, u'email': u'designer_worker@example.com'})
- changed: [localhost] => (item={u'username': u'registrar_worker', u'is_superuser': False, u'is_staff': True, u'email': u'registrar_worker@example.com'})
- skipping: [localhost] => (item={u'username': u'retirement_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'retirement_worker@example.com'})
- TASK [edxapp : reindex all courses] ********************************************
- skipping: [localhost]
- TASK [edxapp : install cron job to run clearsessions] **************************
- skipping: [localhost]
- TASK [edxapp : install additional cron jobs] ***********************************
- TASK [edxapp : populate retirement states] *************************************
- skipping: [localhost]
- TASK [Include JWT signature setting in the app config file] ********************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [add_user : create user groups] *******************************************
- skipping: [localhost] => (item=edx-themes)
- TASK [add_user : create application user] **************************************
- skipping: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- skipping: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- skipping: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/var/edx-themes/edx-themes', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/var/edx-themes/edx-themes'})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- skipping: [localhost] => (item=None)
- TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
- skipping: [localhost]
- TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
- skipping: [localhost] => (item=edxapp)
- TASK [edx_themes : update .bashrc to set umask value] **************************
- skipping: [localhost]
- TASK [edxapp : create application user] ****************************************
- ok: [localhost]
- TASK [edxapp : create edxapp user dirs] ****************************************
- ok: [localhost] => (item={u'path': u'/edx/app/edxapp'})
- ok: [localhost] => (item={u'path': u'/edx/app/edxapp/.ssh'})
- ok: [localhost] => (item={u'path': u'/edx/app/edxapp/venvs'})
- ok: [localhost] => (item={u'path': u'/edx/var/edxapp/themes'})
- ok: [localhost] => (item={u'path': u'/edx/var/edxapp/staticfiles'})
- ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_static'})
- changed: [localhost] => (item={u'path': u'/edx/var/edxapp/data'})
- ok: [localhost] => (item={u'path': u'/edx/var/edxapp', u'mode': u'0775'})
- ok: [localhost] => (item={u'path': u'/edx/var/edxapp/course_repos', u'mode': u'0775'})
- TASK [edxapp : write devstack script] ******************************************
- skipping: [localhost]
- TASK [edxapp : create edxapp log dir] ******************************************
- ok: [localhost]
- TASK [edxapp : Ensure the tracking folder exists] ******************************
- ok: [localhost]
- TASK [edxapp : Ensure the tracking.log file exists] ****************************
- changed: [localhost]
- TASK [edxapp : create web-writable edxapp data dirs] ***************************
- changed: [localhost] => (item=/edx/var/edxapp/data)
- ok: [localhost] => (item=/edx/var/edxapp/uploads)
- ok: [localhost] => (item=/edx/var/edxapp/media)
- TASK [edxapp : install system packages on which LMS and CMS rely] **************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: "{{ query('flattened',
- ['{{ edxapp_debian_pkgs_default }}', '{{ edxapp_debian_pkgs_extra }}']) }}"`
- and remove the loop. This feature will be removed in version 2.11. Deprecation
- warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
- ok: [localhost] => (item=[u's3cmd', u'pkg-config', u'g++', u'apparmor-utils', u'curl', u'ipython', u'ntp', u'libfreetype6-dev', u'libffi-dev', u'python-dev', u'python3-dev', u'libsqlite3-dev'])
- TASK [edxapp : Install the gpg key for nodejs LTS] *****************************
- ok: [localhost]
- TASK [edxapp : Install the nodejs LTS repos] ***********************************
- ok: [localhost]
- TASK [edxapp : Install node] ***************************************************
- ok: [localhost]
- TASK [edxapp : set up edxapp .npmrc] *******************************************
- changed: [localhost]
- TASK [edxapp : create log directories for service variants] ********************
- ok: [localhost] => (item=lms)
- ok: [localhost] => (item=cms)
- TASK [edxapp : code sandbox | Check which `libblas` to use] ********************
- ok: [localhost]
- TASK [edxapp : code sandbox | Use libblas.so.3gf in Ubuntu] ********************
- skipping: [localhost]
- TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
- ok: [localhost]
- TASK [edxapp : code sandbox | Check which `liblapac` to use] *******************
- ok: [localhost]
- TASK [edxapp : code sandbox | Use liblapack.so.3gf in Ubuntu] ******************
- skipping: [localhost]
- TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
- ok: [localhost]
- TASK [edxapp : code sandbox | Create edxapp sandbox user] **********************
- ok: [localhost]
- TASK [edxapp : code sandbox | Install apparmor utils system pkg] ***************
- ok: [localhost]
- TASK [edxapp : code sandbox | write out apparmor code sandbox config] **********
- ok: [localhost]
- TASK [edxapp : code sandbox | write out sandbox user sudoers config] ***********
- ok: [localhost]
- TASK [edxapp : code sandbox | start apparmor service] **************************
- ok: [localhost]
- TASK [edxapp : code sandbox | (bootstrap) load code sandbox profile] ***********
- changed: [localhost]
- TASK [edxapp : code sandbox | (bootstrap) put code sandbox into aa-enforce or aa-complain mode depending on EDXAPP_SANDBOX_ENFORCE] ***
- changed: [localhost]
- TASK [edxapp : copy the template to the desired location] **********************
- ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/edxapp_env', u'src': u'edxapp_env.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
- ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/newrelic.ini', u'src': u'newrelic.ini.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
- ok: [localhost] => (item={u'dest': u'/tmp/edxapp_git_ssh.sh', u'src': u'git_ssh.sh.j2', u'group': u'edxapp', u'mode': u'0750', u'owner': u'edxapp'})
- ok: [localhost] => (item={u'dest': u'/edx/app/edxapp/.boto', u'src': u'boto.j2', u'group': u'www-data', u'mode': u'0644', u'owner': u'edxapp'})
- TASK [edxapp : install read-only ssh key] **************************************
- skipping: [localhost]
- TASK [edxapp : set git fetch.prune to ignore deleted remote refs] **************
- changed: [localhost]
- TASK [edxapp : checkout edx-platform repo into /edx/app/edxapp/edx-platform] ***
- ok: [localhost]
- TASK [edxapp : git clean after checking out edx-platform] **********************
- changed: [localhost]
- TASK [edxapp : checkout Stanford-style theme] **********************************
- skipping: [localhost]
- TASK [Install a theme through simpletheme] *************************************
- TASK [simple_theme : assert] ***************************************************
- skipping: [localhost]
- TASK [simple_theme : assert] ***************************************************
- skipping: [localhost]
- TASK [simple_theme : Check whether theme directory already exists] *************
- skipping: [localhost]
- TASK [simple_theme : Download skeleton theme] **********************************
- skipping: [localhost]
- TASK [simple_theme : Adjust owner/group of downloaded skeleton theme] **********
- skipping: [localhost]
- TASK [simple_theme : Create default skeleton (dirs)] ***************************
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- TASK [simple_theme : Create default skeleton (files)] **************************
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'ctime': 1579774772.0296113})
- TASK [simple_theme : Create directory to hold the theme and styles] ************
- skipping: [localhost] => (item=.)
- skipping: [localhost] => (item=lms/static/sass/partials/lms/theme)
- TASK [simple_theme : Compile the templates] ************************************
- skipping: [localhost] => (item=lms/static/sass/common-variables.scss)
- skipping: [localhost] => (item=lms/static/sass/partials/lms/theme/_variables-v1.scss)
- skipping: [localhost] => (item=lms/static/sass/_lms-overrides.scss)
- TASK [simple_theme : Create directories for static files to be copied] *********
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- TASK [simple_theme : Copy static files (adding "static/")] *********************
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/cms/images/logo.png', 'size': 1494, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/favicon.ico', 'size': 34894, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/images/logo.png', 'size': 928, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'example_static_dir/lms/js/myscript.js', 'size': 42, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'group': u'root', 'uid': 0, 'state': 'directory', 'gid': 0, 'mode': '0755', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion', 'size': 4096, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-course.scss', 'size': 63, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v2.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v2.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/lms-main-v1.scss', 'size': 65, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- skipping: [localhost] => (item={'src': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'group': u'root', 'uid': 0, 'state': 'file', 'gid': 0, 'mode': '0644', 'mtime': 1579774772.0296113, 'owner': 'root', 'path': u'default_skeleton/lms/static/sass/discussion/lms-discussion-main.scss', 'size': 86, 'root': u'/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'ctime': 1579774772.0296113})
- TASK [simple_theme : Create directories for static files to be downloaded] *****
- TASK [simple_theme : Download static files to be included in theme] ************
- TASK [edxapp : Stat each requirements file with Github URLs to ensure it exists] ***
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
- TASK [edxapp : Updating requirement files for git mirror] **********************
- skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt'})
- changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775211.654008, u'block_size': 4096, u'inode': 12548792, u'isgid': False, u'size': 8276, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092840', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 24, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1579775217.7980452, u'mimetype': u'text/plain', u'ctime': 1579775211.654008, u'isblk': False, u'checksum': u'90ccd948f6dbc7c9d8f7d9a317c463d551662592', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt'})
- changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579775211.7700088, u'block_size': 4096, u'inode': 12548458, u'isgid': False, u'size': 1354, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497092849', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'xusr': False, u'atime': 1579775550.4182022, u'mimetype': u'text/plain', u'ctime': 1579775211.7700088, u'isblk': False, u'checksum': u'e9eee91a18da5461a82d986551f988731d05bbea', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt'})
- TASK [edxapp : Create the virtualenv to install the Python requirements] *******
- ok: [localhost]
- TASK [edxapp : Pin pip to a specific version.] *********************************
- changed: [localhost]
- TASK [edxapp : Stat each Python requirements file to ensure it exists] *********
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/custom.txt)
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/base.txt)
- TASK [edxapp : install python requirements] ************************************
- skipping: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'exists': False}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/custom.txt'})
- changed: [localhost] => (item={'_ansible_parsed': True, u'stat': {u'isuid': False, u'uid': 1003, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1579776070.062587, u'block_size': 4096, u'inode': 12549176, u'isgid': False, u'size': 8276, u'executable': False, u'roth': True, u'charset': u'us-ascii', u'readable': True, u'isreg': True, u'version': u'497288643', u'pw_name': u'edxapp', u'gid': 1004, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 24, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': True, u'gr_name': u'edxapp', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'xusr': False, u'atime': 1579776070.062587, u'mimetype': u'text/plain', u'ctime': 1579776070.062587, u'isblk': False, u'checksum': u'90ccd948f6dbc7c9d8f7d9a317c463d551662592', u'dev': 51713, u'wgrp': False, u'isfifo': False, u'mode': u'0644', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'changed': False, '_ansible_no_log': False, 'failed': False, '_ansible_item_result': True, 'item': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'invocation': {u'module_args': {u'get_checksum': True, u'follow': False, u'checksum_algorithm': u'sha1', u'path': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt', u'get_mime': True, u'get_md5': None, u'get_attributes': True}}, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edxapp/edx-platform/requirements/edx/base.txt'})
- TASK [edxapp : install python private requirements] ****************************
- skipping: [localhost] => (item={u'name': u'xblock-problem-builder==3.4.6'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/oppia-xblock.git@1030adb3590ad2d32c93443cc8690db0985d76b6#egg=oppia-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/schoolyourself-xblock.git@2093048720cfb36cc05b3143cd6f2585c7c64d85#egg=schoolyourself-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ConceptXBlock.git@a45a6560c92b6d8b62be1f939ff1d00dfff84e70#egg=concept-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AudioXBlock.git@20538c6e9bb704801a71ecbb6981f794556dfc45#egg=audio-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/AnimationXBlock.git@c950ffdda2f69effda93bf03df8646f61d3ffada#egg=animation-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/ubcpi.git@3c4b2cdc9f595ab8cdb436f559b56f36638313b6#egg=ubcpi-xblock'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-vectordraw.git@76976425356dfc7f13570f354c0c438db84c2840#egg=xblock-vectordraw==0.3.0'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/xblock-activetable.git@013003aa3ce28f0ae03b8227dc3a6daa4e19997d#egg=xblock-activetable'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/edx/edx-zoom.git@37c323ae93265937bf60abb92657318efeec96c5#egg=edx-zoom'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/labxchange-xblocks.git@29c6d829b8d54f5683a41626616024c8643b7b0f#egg=labxchange-xblocks'})
- skipping: [localhost] => (item={u'extra_args': u'-e', u'name': u'git+https://github.com/open-craft/lx-pathway-plugin.git@b69f6b27108fa033c9a402f65cbf3a34a7b5ad93#egg=lx-pathway-plugin'})
- TASK [edxapp : install python extra requirements] ******************************
- TASK [edxapp : install CAS attribute module] ***********************************
- skipping: [localhost]
- TASK [edxapp : install sandbox requirements into regular venv] *****************
- skipping: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
- TASK [edxapp : Set the npm registry] *******************************************
- ok: [localhost]
- TASK [edxapp : Set the npm registry permissions] *******************************
- changed: [localhost]
- TASK [edxapp : install node dependencies] **************************************
- changed: [localhost]
- TASK [edxapp : code sandbox | put sandbox apparmor profile in complain mode] ***
- changed: [localhost]
- TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
- ok: [localhost]
- TASK [edxapp : code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
- changed: [localhost]
- TASK [edxapp : compiling all py files in the edx-platform repo] ****************
- changed: [localhost]
- TASK [edxapp : give other read permissions to the virtualenv] ******************
- ok: [localhost]
- TASK [edxapp : create service wrapper scripts - {{item}}] **********************
- ok: [localhost] => (item=lms.sh)
- ok: [localhost] => (item=cms.sh)
- ok: [localhost] => (item=worker.sh)
- ok: [localhost] => (item=reload_lms_config.sh)
- ok: [localhost] => (item=reload_cms_config.sh)
- TASK [edxapp : create application and auth config] *****************************
- ok: [localhost] => (item=[u'lms', u'env'])
- ok: [localhost] => (item=[u'lms', u'auth'])
- ok: [localhost] => (item=[u'cms', u'env'])
- ok: [localhost] => (item=[u'cms', u'auth'])
- TASK [edxapp : combined lms auth env for yml] **********************************
- ok: [localhost]
- TASK [edxapp : render lms yml config] ******************************************
- ok: [localhost] => (item=None)
- ok: [localhost] => (item=None)
- ok: [localhost]
- TASK [edxapp : combined cms auth env for yml] **********************************
- ok: [localhost]
- TASK [edxapp : render studio yml config] ***************************************
- ok: [localhost] => (item=None)
- ok: [localhost] => (item=None)
- ok: [localhost]
- TASK [edxapp : Decrypt lms config] *********************************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Decrypt cms config] *********************************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Replace deploy host to sandbox dns name] ************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Copy lms config file] *******************************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Copy cms config file] *******************************************
- skipping: [localhost] => (item=None)
- skipping: [localhost] => (item=None)
- TASK [edxapp : Write the revisions config file] ********************************
- ok: [localhost]
- TASK [edxapp : writing {{ item }} supervisor script] ***************************
- ok: [localhost] => (item=lms)
- ok: [localhost] => (item=cms)
- TASK [edxapp : writing celery supervisor scripts] ******************************
- ok: [localhost] => (item=workers.conf)
- TASK [edxapp : clean out old edxapp.conf] **************************************
- ok: [localhost]
- TASK [edxapp : add gunicorn configuration files] *******************************
- ok: [localhost] => (item=lms)
- ok: [localhost] => (item=cms)
- TASK [edxapp : enable {{ item }} supervisor script] ****************************
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=cms)
- TASK [edxapp : enable celery worker supervisor script] *************************
- skipping: [localhost]
- TASK [edxapp : create helper scripts for managing edxapp] **********************
- ok: [localhost] => (item=[u'edxapp-migrate', u'lms'])
- ok: [localhost] => (item=[u'edxapp-migrate', u'cms'])
- ok: [localhost] => (item=[u'edxapp-runserver', u'lms'])
- ok: [localhost] => (item=[u'edxapp-runserver', u'cms'])
- ok: [localhost] => (item=[u'edxapp-shell', u'lms'])
- ok: [localhost] => (item=[u'edxapp-shell', u'cms'])
- TASK [edxapp : create script to compile and update assets] *********************
- ok: [localhost]
- TASK [edxapp : migrate] ********************************************************
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=cms)
- TASK [edxapp : Remove and recreate the staticfiles directory so nothing stale can exist] ***
- changed: [localhost] => (item=absent)
- changed: [localhost] => (item=directory)
- TASK [edxapp : gather static assets with paver] ********************************
- changed: [localhost]
- TASK [edxapp : update supervisor configuration] ********************************
- changed: [localhost]
- TASK [edxapp : ensure edxapp has started] **************************************
- ok: [localhost] => (item=lms)
- ok: [localhost] => (item=cms)
- TASK [edxapp : ensure edxapp_workers has started] ******************************
- skipping: [localhost]
- TASK [edxapp : create symlinks from the venv bin dir and repo dir] *************
- ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/python)
- ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/pip)
- ok: [localhost] => (item=/edx/app/edxapp/venvs/edxapp/bin/django-admin.py)
- ok: [localhost] => (item=/edx/app/edxapp/edx-platform/manage.py)
- TASK [edxapp : remove read-only ssh key] ***************************************
- skipping: [localhost]
- TASK [edxapp : get instance information] ***************************************
- skipping: [localhost]
- TASK [edxapp : tag instance with edx_platform version] *************************
- skipping: [localhost]
- TASK [edxapp : tag instance with edxapp theme version] *************************
- skipping: [localhost]
- TASK [edxapp : set_fact] *******************************************************
- ok: [localhost]
- TASK [edxapp : restart edxapp] *************************************************
- changed: [localhost] => (item=lms)
- changed: [localhost] => (item=cms)
- TASK [edxapp : restart edxapp_workers] *****************************************
- skipping: [localhost]
- TASK [edxapp : create service worker users] ************************************
- changed: [localhost] => (item={u'username': u'enterprise_worker', u'is_superuser': False, u'is_staff': True, u'email': u'enterprise_worker@example.com'})
- changed: [localhost] => (item={u'username': u'veda_service_user', u'is_superuser': False, u'is_staff': True, u'email': u'veda_service_user@example.com'})
- changed: [localhost] => (item={u'username': u'discovery_worker', u'is_superuser': False, u'is_staff': True, u'email': u'discovery_worker@example.com'})
- changed: [localhost] => (item={u'username': u'insights_worker', u'is_superuser': False, u'is_staff': True, u'email': u'insights_worker@example.com'})
- changed: [localhost] => (item={u'username': u'credentials_worker', u'is_superuser': False, u'is_staff': True, u'email': u'credentials_worker@example.com'})
- changed: [localhost] => (item={u'username': u'designer_worker', u'is_superuser': False, u'is_staff': True, u'email': u'designer_worker@example.com'})
- changed: [localhost] => (item={u'username': u'registrar_worker', u'is_superuser': False, u'is_staff': True, u'email': u'registrar_worker@example.com'})
- skipping: [localhost] => (item={u'username': u'retirement_worker', u'is_superuser': False, u'is_staff': True, u'enabled': False, u'email': u'retirement_worker@example.com'})
- TASK [edxapp : reindex all courses] ********************************************
- skipping: [localhost]
- TASK [edxapp : install cron job to run clearsessions] **************************
- skipping: [localhost]
- TASK [edxapp : install additional cron jobs] ***********************************
- TASK [edxapp : populate retirement states] *************************************
- skipping: [localhost]
- TASK [Include JWT signature setting in the app config file] ********************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [automated : Create automated user] ***************************************
- TASK [automated : Create sudoers file from template] ***************************
- TASK [automated : Create .ssh directory] ***************************************
- TASK [automated : Build authorized_keys file] **********************************
- TASK [automated : Build known_hosts file] **************************************
- TASK [automated : Are we in a Docker container] ********************************
- skipping: [localhost]
- TASK [automated : Allow automated users to ssh] ********************************
- skipping: [localhost]
- TASK [automated : restart ssh] *************************************************
- skipping: [localhost]
- TASK [add_user : create user groups] *******************************************
- skipping: [localhost] => (item=blockstore)
- TASK [add_user : create application user] **************************************
- skipping: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- skipping: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- skipping: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- skipping: [localhost] => (item=/edx/app/blockstore/blockstore)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/app/blockstore/blockstore', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/blockstore/blockstore'})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- skipping: [localhost] => (item=None)
- TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
- skipping: [localhost] => (item=)
- skipping: [localhost] => (item=venvs)
- skipping: [localhost] => (item=data)
- skipping: [localhost] => (item=staticfiles)
- TASK [edx_service : Create /edx/var/app dir] ***********************************
- skipping: [localhost]
- TASK [edx_service : Create /edx/etc dir] ***************************************
- skipping: [localhost]
- TASK [edx_service : Create edx_service log dir] ********************************
- skipping: [localhost] => (item=/edx/var/log/blockstore)
- TASK [edx_service : Write out app config file] *********************************
- skipping: [localhost]
- TASK [edx_service : Decrypt app config file] ***********************************
- skipping: [localhost]
- TASK [edx_service : Replace deploy host to sandbox dns name] *******************
- skipping: [localhost]
- TASK [edx_service : Copy app config file] **************************************
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Get instance information] **********************************
- skipping: [localhost]
- TASK [edx_service : Tag instance] **********************************************
- skipping: [localhost] => (item=[{u'REPO': u'blockstore.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'open-craft', u'DESTINATION': u'/edx/app/blockstore/blockstore', u'SSH_KEY': None}, {'skipped': True, '_ansible_no_log': True, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': {u'REPO': u'blockstore.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'open-craft', u'DESTINATION': u'/edx/app/blockstore/blockstore', u'SSH_KEY': None}, 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': {u'REPO': u'blockstore.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'open-craft', u'DESTINATION': u'/edx/app/blockstore/blockstore', u'SSH_KEY': None}}])
- TASK [edx_django_service : add gunicorn configuration file] ********************
- skipping: [localhost]
- TASK [edx_django_service : install python3] ************************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
- 'python3-dev']` and remove the loop. This feature will be removed in version
- 2.11. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- skipping: [localhost] => (item=[])
- TASK [edx_django_service : build virtualenv with python3] **********************
- skipping: [localhost]
- TASK [edx_django_service : build virtualenv with python2.7] ********************
- skipping: [localhost]
- TASK [edx_django_service : Pin pip to a specific version.] *********************
- skipping: [localhost]
- TASK [edx_django_service : install nodenv] *************************************
- skipping: [localhost]
- TASK [edx_django_service : create nodeenv] *************************************
- skipping: [localhost]
- TASK [edx_django_service : upgrade npm] ****************************************
- skipping: [localhost]
- TASK [edx_django_service : install production requirements] ********************
- skipping: [localhost]
- TASK [edx_django_service : install development requirements] *******************
- skipping: [localhost]
- TASK [edx_django_service : migrate database] ***********************************
- skipping: [localhost]
- TASK [edx_django_service : run post-migrate commands] **************************
- TASK [edx_django_service : ensure log files exist for tailing] *****************
- skipping: [localhost] => (item=/edx/var/log/supervisor/blockstore-stdout.log)
- skipping: [localhost] => (item=/edx/var/log/supervisor/blockstore-stderr.log)
- TASK [edx_django_service : write out the supervisor wrapper] *******************
- skipping: [localhost]
- TASK [edx_django_service : write supervisord config] ***************************
- skipping: [localhost]
- TASK [edx_django_service : write devstack script] ******************************
- skipping: [localhost]
- TASK [edx_django_service : setup the app env file] *****************************
- skipping: [localhost]
- TASK [edx_django_service : enable supervisor script] ***************************
- skipping: [localhost]
- TASK [edx_django_service : update supervisor configuration] ********************
- skipping: [localhost]
- TASK [edx_django_service : create symlinks from the venv bin dir] **************
- skipping: [localhost] => (item=python)
- skipping: [localhost] => (item=pip)
- skipping: [localhost] => (item=django-admin.py)
- TASK [edx_django_service : create symlinks from the repo dir] ******************
- skipping: [localhost] => (item=manage.py)
- TASK [edx_django_service : compile static assets] ******************************
- skipping: [localhost]
- TASK [edx_django_service : restart the application] ****************************
- skipping: [localhost]
- TASK [edx_django_service : Copying nginx configs for the service] **************
- skipping: [localhost]
- TASK [edx_django_service : Creating nginx config links for the service] ********
- skipping: [localhost]
- TASK [Include JWT signature setting in the app config file] ********************
- skipping: [localhost]
- TASK [add_user : create user groups] *******************************************
- skipping: [localhost] => (item=edx-themes)
- TASK [add_user : create application user] **************************************
- skipping: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- skipping: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- skipping: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- skipping: [localhost] => (item=/edx/var/edx-themes/edx-themes)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/var/edx-themes/edx-themes', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/var/edx-themes/edx-themes'})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- skipping: [localhost] => (item=None)
- TASK [edx_themes : ensure edx-theme's group has read/write access to themes directory] ***
- skipping: [localhost]
- TASK [edx_themes : Add theme users to theme's group so that that have read/write access to themes directories] ***
- skipping: [localhost] => (item=ecommerce)
- TASK [edx_themes : update .bashrc to set umask value] **************************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [automated : Create automated user] ***************************************
- TASK [automated : Create sudoers file from template] ***************************
- TASK [automated : Create .ssh directory] ***************************************
- TASK [automated : Build authorized_keys file] **********************************
- TASK [automated : Build known_hosts file] **************************************
- TASK [automated : Are we in a Docker container] ********************************
- changed: [localhost]
- TASK [automated : Allow automated users to ssh] ********************************
- skipping: [localhost]
- TASK [automated : restart ssh] *************************************************
- skipping: [localhost]
- TASK [add_user : create user groups] *******************************************
- changed: [localhost] => (item=ecommerce)
- TASK [add_user : create application user] **************************************
- changed: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- ok: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- changed: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- changed: [localhost] => (item=/edx/app/ecommerce/ecommerce)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001905', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/ecommerce/ecommerce', u'end': u'2020-01-23 10:51:43.614888', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/ecommerce/ecommerce" || git -C "/edx/app/ecommerce/ecommerce" status --porcelain --untracked-files=no', 'item': u'/edx/app/ecommerce/ecommerce', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/ecommerce/ecommerce" || git -C "/edx/app/ecommerce/ecommerce" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 10:51:43.612983', '_ansible_ignore_errors': None})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
- ok: [localhost] => (item=)
- changed: [localhost] => (item=venvs)
- changed: [localhost] => (item=data)
- changed: [localhost] => (item=staticfiles)
- TASK [edx_service : Create /edx/var/app dir] ***********************************
- changed: [localhost]
- TASK [edx_service : Create /edx/etc dir] ***************************************
- changed: [localhost]
- TASK [edx_service : Create edx_service log dir] ********************************
- changed: [localhost] => (item=/edx/var/log/ecommerce)
- TASK [edx_service : Write out app config file] *********************************
- changed: [localhost]
- TASK [edx_service : Decrypt app config file] ***********************************
- skipping: [localhost]
- TASK [edx_service : Replace deploy host to sandbox dns name] *******************
- skipping: [localhost]
- TASK [edx_service : Copy app config file] **************************************
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- changed: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Get instance information] **********************************
- ok: [localhost]
- TASK [edx_service : Tag instance] **********************************************
- skipping: [localhost] => (item=[{u'REPO': u'ecommerce.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'ecommerce.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None}, u'after': u'aa179242327bffea625027be15a1c3b122e0c246', 'failed': False, '_ansible_item_label': {u'REPO': u'ecommerce.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecommerce/ecommerce', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/ecommerce/ecommerce', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/ecommerce.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
- TASK [edx_django_service : add gunicorn configuration file] ********************
- changed: [localhost]
- TASK [edx_django_service : install python3] ************************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
- 'python3-dev']` and remove the loop. This feature will be removed in version
- 2.11. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- changed: [localhost] => (item=[u'python3-pip', u'python3-dev'])
- TASK [edx_django_service : build virtualenv with python3] **********************
- changed: [localhost]
- TASK [edx_django_service : build virtualenv with python2.7] ********************
- skipping: [localhost]
- TASK [edx_django_service : Pin pip to a specific version.] *********************
- changed: [localhost]
- TASK [edx_django_service : install nodenv] *************************************
- changed: [localhost]
- TASK [edx_django_service : create nodeenv] *************************************
- changed: [localhost]
- TASK [edx_django_service : upgrade npm] ****************************************
- changed: [localhost]
- TASK [edx_django_service : install production requirements] ********************
- changed: [localhost]
- TASK [edx_django_service : install development requirements] *******************
- skipping: [localhost]
- TASK [edx_django_service : migrate database] ***********************************
- changed: [localhost]
- TASK [edx_django_service : run post-migrate commands] **************************
- changed: [localhost] => (item={u'command': u'./manage.py oscar_populate_countries --initial-only', u'when': True})
- changed: [localhost] => (item={u'command': u'./manage.py create_or_update_site --site-id=1 --site-domain=localhost:8002 --partner-code=edX --partner-name="Open edX" --lms-url-root=http://127.0.0.1:8000 --client-side-payment-processor=cybersource --payment-processors=cybersource,paypal --sso-client-id=ecommerce-sso-key --sso-client-secret=ecommerce-sso-secret --backend-service-client-id=ecommerce-backend-service-key --backend-service-client-secret=ecommerce-backend-service-secret --from-email staff@example.com --discovery_api_url=http://localhost:8008/api/v1/', u'when': True})
- changed: [localhost] => (item={u'command': u'./manage.py create_demo_data --partner=edX', u'when': True})
- TASK [edx_django_service : ensure log files exist for tailing] *****************
- changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stdout.log)
- changed: [localhost] => (item=/edx/var/log/supervisor/ecommerce-stderr.log)
- TASK [edx_django_service : write out the supervisor wrapper] *******************
- changed: [localhost]
- TASK [edx_django_service : write supervisord config] ***************************
- changed: [localhost]
- TASK [edx_django_service : write devstack script] ******************************
- skipping: [localhost]
- TASK [edx_django_service : setup the app env file] *****************************
- changed: [localhost]
- TASK [edx_django_service : enable supervisor script] ***************************
- changed: [localhost]
- TASK [edx_django_service : update supervisor configuration] ********************
- changed: [localhost]
- TASK [edx_django_service : create symlinks from the venv bin dir] **************
- changed: [localhost] => (item=python)
- changed: [localhost] => (item=pip)
- changed: [localhost] => (item=django-admin.py)
- TASK [edx_django_service : create symlinks from the repo dir] ******************
- changed: [localhost] => (item=manage.py)
- TASK [edx_django_service : compile static assets] ******************************
- changed: [localhost]
- TASK [edx_django_service : restart the application] ****************************
- changed: [localhost]
- TASK [edx_django_service : Copying nginx configs for the service] **************
- changed: [localhost]
- TASK [edx_django_service : Creating nginx config links for the service] ********
- changed: [localhost]
- TASK [Include JWT signature setting in the app config file] ********************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [antivirus : install antivirus system packages] ***************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `pkg: "{{ item }}"`, please use `pkg: '{{ antivirus_debian_pkgs
- }}'` and remove the loop. This feature will be removed in version 2.11.
- Deprecation warnings can be disabled by setting deprecation_warnings=False in
- ansible.cfg.
- skipping: [localhost] => (item=[])
- TASK [antivirus : create antivirus scanner user] *******************************
- skipping: [localhost]
- TASK [antivirus : create antivirus edx directories] ****************************
- skipping: [localhost] => (item=/edx/app/antivirus)
- skipping: [localhost] => (item=/edx/app/antivirus/data)
- skipping: [localhost] => (item=/edx/var/log/antivirus)
- TASK [antivirus : Ensure the clamav.log file exists] ***************************
- skipping: [localhost]
- TASK [antivirus : install antivirus s3 scanner script] *************************
- skipping: [localhost]
- TASK [antivirus : install antivirus s3 scanner cronjob] ************************
- skipping: [localhost] => (item=None)
- TASK [antivirus : install antivirus server scanner script] *********************
- skipping: [localhost]
- TASK [antivirus : install antivirus server scanner cronjob] ********************
- skipping: [localhost]
- TASK [ecommerce : Create Apple Pay certificates directory] *********************
- changed: [localhost]
- TASK [ecommerce : Write Apple Pay merchant certificates] ***********************
- changed: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [add_user : create user groups] *******************************************
- changed: [localhost] => (item=ecomworker)
- TASK [add_user : create application user] **************************************
- changed: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- ok: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- changed: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- changed: [localhost] => (item=/edx/app/ecomworker/ecomworker)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001897', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/ecomworker/ecomworker', u'end': u'2020-01-23 10:58:19.827036', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/ecomworker/ecomworker" || git -C "/edx/app/ecomworker/ecomworker" status --porcelain --untracked-files=no', 'item': u'/edx/app/ecomworker/ecomworker', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/ecomworker/ecomworker" || git -C "/edx/app/ecomworker/ecomworker" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 10:58:19.825139', '_ansible_ignore_errors': None})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
- ok: [localhost] => (item=)
- changed: [localhost] => (item=venvs)
- changed: [localhost] => (item=data)
- changed: [localhost] => (item=staticfiles)
- TASK [edx_service : Create /edx/var/app dir] ***********************************
- changed: [localhost]
- TASK [edx_service : Create /edx/etc dir] ***************************************
- changed: [localhost]
- TASK [edx_service : Create edx_service log dir] ********************************
- changed: [localhost] => (item=/edx/var/log/ecomworker)
- TASK [edx_service : Write out app config file] *********************************
- changed: [localhost]
- TASK [edx_service : Decrypt app config file] ***********************************
- skipping: [localhost]
- TASK [edx_service : Replace deploy host to sandbox dns name] *******************
- skipping: [localhost]
- TASK [edx_service : Copy app config file] **************************************
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- ok: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Get instance information] **********************************
- ok: [localhost]
- TASK [edx_service : Tag instance] **********************************************
- skipping: [localhost] => (item=[{u'REPO': u'ecommerce-worker.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'ecommerce-worker.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None}, u'after': u'4da3ab9ca1985b16ddcfd4d76229c5e6371b7969', 'failed': False, '_ansible_item_label': {u'REPO': u'ecommerce-worker.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/ecomworker/ecomworker', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/ecomworker/ecomworker', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/ecommerce-worker.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
- TASK [ecomworker : install application requirements] ***************************
- changed: [localhost] => (item=production.txt)
- changed: [localhost] => (item=optional.txt)
- TASK [ecomworker : write out the supervisor wrapper] ***************************
- changed: [localhost]
- TASK [ecomworker : write supervisord config] ***********************************
- changed: [localhost]
- TASK [ecomworker : setup the ecommerce_worker env file] ************************
- changed: [localhost]
- TASK [ecomworker : enable supervisor script] ***********************************
- changed: [localhost]
- TASK [ecomworker : update supervisor configuration] ****************************
- changed: [localhost]
- TASK [ecomworker : create symlinks from the venv bin dir] **********************
- changed: [localhost] => (item=python)
- changed: [localhost] => (item=pip)
- TASK [ecomworker : restart the applicaton] *************************************
- changed: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [automated : Create automated user] ***************************************
- TASK [automated : Create sudoers file from template] ***************************
- TASK [automated : Create .ssh directory] ***************************************
- TASK [automated : Build authorized_keys file] **********************************
- TASK [automated : Build known_hosts file] **************************************
- TASK [automated : Are we in a Docker container] ********************************
- changed: [localhost]
- TASK [automated : Allow automated users to ssh] ********************************
- skipping: [localhost]
- TASK [automated : restart ssh] *************************************************
- skipping: [localhost]
- TASK [add_user : create user groups] *******************************************
- changed: [localhost] => (item=analytics_api)
- TASK [add_user : create application user] **************************************
- changed: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- ok: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- changed: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- changed: [localhost] => (item=/edx/app/analytics_api/analytics_api)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001987', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/analytics_api/analytics_api', u'end': u'2020-01-23 10:58:49.760725', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/analytics_api/analytics_api" || git -C "/edx/app/analytics_api/analytics_api" status --porcelain --untracked-files=no', 'item': u'/edx/app/analytics_api/analytics_api', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/analytics_api/analytics_api" || git -C "/edx/app/analytics_api/analytics_api" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 10:58:49.758738', '_ansible_ignore_errors': None})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
- ok: [localhost] => (item=)
- changed: [localhost] => (item=venvs)
- changed: [localhost] => (item=data)
- changed: [localhost] => (item=staticfiles)
- TASK [edx_service : Create /edx/var/app dir] ***********************************
- changed: [localhost]
- TASK [edx_service : Create /edx/etc dir] ***************************************
- changed: [localhost]
- TASK [edx_service : Create edx_service log dir] ********************************
- changed: [localhost] => (item=/edx/var/log/analytics_api)
- TASK [edx_service : Write out app config file] *********************************
- changed: [localhost]
- TASK [edx_service : Decrypt app config file] ***********************************
- skipping: [localhost]
- TASK [edx_service : Replace deploy host to sandbox dns name] *******************
- skipping: [localhost]
- TASK [edx_service : Copy app config file] **************************************
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- ok: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Get instance information] **********************************
- ok: [localhost]
- TASK [edx_service : Tag instance] **********************************************
- skipping: [localhost] => (item=[{u'REPO': u'edx-analytics-data-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'edx-analytics-data-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None}, u'after': u'9aeac0dc6b28a21d7ff757c9e6cf1e5ee2b840c9', 'failed': False, '_ansible_item_label': {u'REPO': u'edx-analytics-data-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/analytics_api/analytics_api', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/analytics_api/analytics_api', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/edx-analytics-data-api.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
- TASK [edx_django_service : add gunicorn configuration file] ********************
- changed: [localhost]
- TASK [edx_django_service : install python3] ************************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
- 'python3-dev']` and remove the loop. This feature will be removed in version
- 2.11. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- skipping: [localhost] => (item=[])
- TASK [edx_django_service : build virtualenv with python3] **********************
- skipping: [localhost]
- TASK [edx_django_service : build virtualenv with python2.7] ********************
- changed: [localhost]
- TASK [edx_django_service : Pin pip to a specific version.] *********************
- changed: [localhost]
- TASK [edx_django_service : install nodenv] *************************************
- changed: [localhost]
- TASK [edx_django_service : create nodeenv] *************************************
- changed: [localhost]
- TASK [edx_django_service : upgrade npm] ****************************************
- changed: [localhost]
- TASK [edx_django_service : install production requirements] ********************
- changed: [localhost]
- TASK [edx_django_service : install development requirements] *******************
- skipping: [localhost]
- TASK [edx_django_service : migrate database] ***********************************
- changed: [localhost]
- TASK [edx_django_service : run post-migrate commands] **************************
- TASK [edx_django_service : ensure log files exist for tailing] *****************
- changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stdout.log)
- changed: [localhost] => (item=/edx/var/log/supervisor/analytics_api-stderr.log)
- TASK [edx_django_service : write out the supervisor wrapper] *******************
- changed: [localhost]
- TASK [edx_django_service : write supervisord config] ***************************
- changed: [localhost]
- TASK [edx_django_service : write devstack script] ******************************
- skipping: [localhost]
- TASK [edx_django_service : setup the app env file] *****************************
- changed: [localhost]
- TASK [edx_django_service : enable supervisor script] ***************************
- changed: [localhost]
- TASK [edx_django_service : update supervisor configuration] ********************
- changed: [localhost]
- TASK [edx_django_service : create symlinks from the venv bin dir] **************
- changed: [localhost] => (item=python)
- changed: [localhost] => (item=pip)
- changed: [localhost] => (item=django-admin.py)
- TASK [edx_django_service : create symlinks from the repo dir] ******************
- changed: [localhost] => (item=manage.py)
- TASK [edx_django_service : compile static assets] ******************************
- changed: [localhost]
- TASK [edx_django_service : restart the application] ****************************
- changed: [localhost]
- TASK [edx_django_service : Copying nginx configs for the service] **************
- changed: [localhost]
- TASK [edx_django_service : Creating nginx config links for the service] ********
- changed: [localhost]
- TASK [Include JWT signature setting in the app config file] ********************
- skipping: [localhost]
- TASK [analytics_api : create api users] ****************************************
- changed: [localhost] => (item={'value': u'changeme', 'key': u'dummy-api-user'})
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [add_user : create user groups] *******************************************
- changed: [localhost] => (item=insights)
- TASK [add_user : create application user] **************************************
- changed: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- ok: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- changed: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- changed: [localhost] => (item=/edx/app/insights/edx_analytics_dashboard)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001899', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/insights/edx_analytics_dashboard', u'end': u'2020-01-23 11:00:19.853113', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/insights/edx_analytics_dashboard" || git -C "/edx/app/insights/edx_analytics_dashboard" status --porcelain --untracked-files=no', 'item': u'/edx/app/insights/edx_analytics_dashboard', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/insights/edx_analytics_dashboard" || git -C "/edx/app/insights/edx_analytics_dashboard" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 11:00:19.851214', '_ansible_ignore_errors': None})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
- ok: [localhost] => (item=)
- changed: [localhost] => (item=venvs)
- changed: [localhost] => (item=data)
- changed: [localhost] => (item=staticfiles)
- TASK [edx_service : Create /edx/var/app dir] ***********************************
- changed: [localhost]
- TASK [edx_service : Create /edx/etc dir] ***************************************
- changed: [localhost]
- TASK [edx_service : Create edx_service log dir] ********************************
- changed: [localhost] => (item=/edx/var/log/insights)
- TASK [edx_service : Write out app config file] *********************************
- changed: [localhost]
- TASK [edx_service : Decrypt app config file] ***********************************
- skipping: [localhost]
- TASK [edx_service : Replace deploy host to sandbox dns name] *******************
- skipping: [localhost]
- TASK [edx_service : Copy app config file] **************************************
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- changed: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Get instance information] **********************************
- ok: [localhost]
- TASK [edx_service : Tag instance] **********************************************
- skipping: [localhost] => (item=[{u'REPO': u'edx-analytics-dashboard.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'edx-analytics-dashboard.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None}, u'after': u'bbce89bcc7abbf442dfc3edb51fddea9dc7a20d6', 'failed': False, '_ansible_item_label': {u'REPO': u'edx-analytics-dashboard.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/insights/edx_analytics_dashboard', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/insights/edx_analytics_dashboard', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/edx-analytics-dashboard.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
- TASK [insights : setup the insights env file] **********************************
- changed: [localhost]
- TASK [insights : install application requirements] *****************************
- changed: [localhost] => (item=production.txt)
- ok: [localhost] => (item=optional.txt)
- TASK [insights : create nodeenv] ***********************************************
- changed: [localhost]
- TASK [insights : install node dependencies] ************************************
- changed: [localhost]
- TASK [insights : migrate] ******************************************************
- changed: [localhost]
- TASK [insights : run webpack] **************************************************
- changed: [localhost]
- TASK [insights : run collectstatic] ********************************************
- changed: [localhost] => (item=collectstatic --noinput)
- TASK [insights : write out the supervisior wrapper] ****************************
- changed: [localhost]
- TASK [insights : write supervisord config] *************************************
- changed: [localhost]
- TASK [insights : enable supervisor script] *************************************
- changed: [localhost]
- TASK [insights : update supervisor configuration] ******************************
- changed: [localhost]
- TASK [insights : create symlinks from the venv bin dir] ************************
- changed: [localhost] => (item=python)
- changed: [localhost] => (item=pip)
- changed: [localhost] => (item=django-admin.py)
- TASK [insights : create manage.py symlink] *************************************
- changed: [localhost]
- TASK [insights : restart insights] *********************************************
- changed: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [add_user : create user groups] *******************************************
- skipping: [localhost] => (item=edx_notes_api)
- TASK [add_user : create application user] **************************************
- skipping: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- skipping: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- skipping: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- skipping: [localhost] => (item=/edx/app/edx_notes_api/edx_notes_api)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'skipped': True, '_ansible_no_log': False, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': u'/edx/app/edx_notes_api/edx_notes_api', 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/edx/app/edx_notes_api/edx_notes_api'})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- skipping: [localhost] => (item=None)
- TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
- skipping: [localhost] => (item=)
- skipping: [localhost] => (item=venvs)
- skipping: [localhost] => (item=data)
- skipping: [localhost] => (item=staticfiles)
- TASK [edx_service : Create /edx/var/app dir] ***********************************
- skipping: [localhost]
- TASK [edx_service : Create /edx/etc dir] ***************************************
- skipping: [localhost]
- TASK [edx_service : Create edx_service log dir] ********************************
- skipping: [localhost] => (item=/edx/var/log/edx_notes_api)
- TASK [edx_service : Write out app config file] *********************************
- skipping: [localhost]
- TASK [edx_service : Decrypt app config file] ***********************************
- skipping: [localhost]
- TASK [edx_service : Replace deploy host to sandbox dns name] *******************
- skipping: [localhost]
- TASK [edx_service : Copy app config file] **************************************
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Get instance information] **********************************
- skipping: [localhost]
- TASK [edx_service : Tag instance] **********************************************
- skipping: [localhost] => (item=[{u'REPO': u'edx-notes-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', u'SSH_KEY': None}, {'skipped': True, '_ansible_no_log': True, 'skip_reason': u'Conditional result was False', '_ansible_item_result': True, 'item': {u'REPO': u'edx-notes-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', u'SSH_KEY': None}, 'changed': False, '_ansible_ignore_errors': None, '_ansible_item_label': {u'REPO': u'edx-notes-api.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/edx_notes_api/edx_notes_api', u'SSH_KEY': None}}])
- TASK [edx_notes_api : Install application requirements] ************************
- skipping: [localhost] => (item=base.txt)
- TASK [edx_notes_api : write devstack script] ***********************************
- skipping: [localhost]
- TASK [edx_notes_api : Migrate] *************************************************
- skipping: [localhost]
- TASK [edx_notes_api : Write out gunicorn.py] ***********************************
- skipping: [localhost]
- TASK [edx_notes_api : Write out the supervisor wrapper] ************************
- skipping: [localhost]
- TASK [edx_notes_api : Write supervisord config] ********************************
- skipping: [localhost]
- TASK [edx_notes_api : Setup the edx_notes_api env file] ************************
- skipping: [localhost]
- TASK [edx_notes_api : Enable supervisor script] ********************************
- skipping: [localhost]
- TASK [edx_notes_api : Update supervisor configuration] *************************
- skipping: [localhost]
- TASK [edx_notes_api : Restart supervisor] **************************************
- skipping: [localhost]
- TASK [edx_notes_api : Create symlinks from the venv bin dir] *******************
- skipping: [localhost] => (item=python)
- skipping: [localhost] => (item=pip)
- skipping: [localhost] => (item=django-admin.py)
- TASK [edx_notes_api : Create manage.py symlink] ********************************
- skipping: [localhost]
- TASK [edx_notes_api : Restart edx_notes_api] ***********************************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [nginx : Create Diffie-Hellman parameters to prevent weak key exchange] ***
- skipping: [localhost]
- TASK [nginx : Restrict permissions of DH parameters file] **********************
- skipping: [localhost]
- TASK [nginx : Create nginx app and data dirs] **********************************
- skipping: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx', u'group': u'www-data'})
- skipping: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/sites-available', u'group': u'www-data'})
- skipping: [localhost] => (item={u'owner': u'root', u'path': u'/etc/nginx/sites-enabled', u'group': u'www-data'})
- skipping: [localhost] => (item={u'owner': u'root', u'path': u'/edx/app/nginx/conf.d', u'group': u'www-data'})
- skipping: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx', u'group': u'root'})
- skipping: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/log/nginx', u'group': u'root'})
- skipping: [localhost] => (item={u'owner': u'www-data', u'path': u'/edx/var/nginx/server-static', u'group': u'root'})
- TASK [nginx : Install needed packages] *****************************************
- skipping: [localhost]
- TASK [nginx : Add apt key] *****************************************************
- skipping: [localhost]
- TASK [nginx : Add nginx repository] ********************************************
- skipping: [localhost]
- TASK [nginx : Remove old nginx packages] ***************************************
- skipping: [localhost]
- TASK [nginx : Install the nginx package] ***************************************
- skipping: [localhost]
- TASK [nginx : Remove the default site] *****************************************
- skipping: [localhost]
- TASK [nginx : Define server configuration file and common nginx configuration] ***
- skipping: [localhost] => (item={u'dest': u'/etc/nginx/nginx.conf', u'src': u'etc/nginx/nginx.conf.j2', u'group': u'www-data', u'mode': u'0644'})
- skipping: [localhost] => (item={u'dest': u'/edx/app/nginx/sites-available/maps', u'src': u'edx/app/nginx/sites-available/maps.j2', u'group': u'root', u'mode': u'0600'})
- TASK [nginx : Create robot rules] **********************************************
- skipping: [localhost]
- TASK [nginx : Creating link for common nginx configuration] ********************
- skipping: [localhost] => (item=maps)
- TASK [nginx : Copying nginx configs for [u'edx_notes_api']] ********************
- skipping: [localhost] => (item=edx_notes_api)
- TASK [nginx : Creating nginx config links for [u'edx_notes_api']] **************
- skipping: [localhost] => (item=edx_notes_api)
- TASK [nginx : Copying nginx extra configs] *************************************
- TASK [nginx : Creating links for nginx extra configs] **************************
- TASK [nginx : Copying custom nginx config] *************************************
- TASK [nginx : Copying nginx redirect configs for {}] ***************************
- TASK [nginx : Creating nginx redirect links for {}] ****************************
- TASK [nginx : Create NGINX server templates] ***********************************
- skipping: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Rate limit exceeded', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', u'file': u'rate-limit.html', u'msg': u'If think you have encountered this message in error please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'heading': u'Uh oh, we are having some server issues..'})
- skipping: [localhost] => (item={u'lang': u'en', u'img': u'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', u'title': u'Server error', u'style_p': u'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', u'style_div': u'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;', u'img_alt': u'', u'style_p_h2': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', u'file': u'server-error.html', u'msg': u'We have been notified of the error, if it persists please let us know at <a href="mailto:technical@example.com">technical@example.com</a>', u'style_h1': u'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', u'heading': u'Uh oh, we are having some server issues..'})
- TASK [nginx : Copy static files] ***********************************************
- TASK [nginx : Write out htpasswd file] *****************************************
- skipping: [localhost] => (item={u'state': u'present', u'password': u'lrNfNJLV3aHD5QeUm8aMLevwb2HCl0vlDya', u'name': u'UCKwdrqkxgOKBAotfwJdIIqD7bcjXAmnvDb'})
- TASK [nginx : Write out htpasswd file for prospectus preview pages] ************
- skipping: [localhost]
- TASK [nginx : Create nginx log file location (just in case)] *******************
- skipping: [localhost]
- TASK [nginx : stat] ************************************************************
- skipping: [localhost]
- TASK [nginx : stat] ************************************************************
- skipping: [localhost]
- TASK [nginx : copy ssl cert] ***************************************************
- skipping: [localhost]
- TASK [nginx : copy ssl key] ****************************************************
- skipping: [localhost]
- TASK [nginx : Removing default nginx config and restart (enabled)] *************
- skipping: [localhost]
- TASK [nginx : Set up nginx access log rotation] ********************************
- skipping: [localhost]
- TASK [nginx : Set up nginx error log rotation] *********************************
- skipping: [localhost]
- TASK [nginx : Test nginx configs] **********************************************
- skipping: [localhost]
- [WARNING]: flush_handlers task does not support when conditional
- RUNNING HANDLER [nginx : reload nginx] *****************************************
- changed: [localhost]
- TASK [nginx : make sure nginx has started] *************************************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [demo : create demo app and data dirs] ************************************
- changed: [localhost]
- TASK [demo : check out the demo course] ****************************************
- changed: [localhost]
- TASK [demo : import demo course] ***********************************************
- changed: [localhost]
- TASK [demo : build staff and test user list] ***********************************
- ok: [localhost]
- TASK [demo : build staff and test user list] ***********************************
- skipping: [localhost]
- TASK [demo : build staff, admin, and test user list] ***************************
- ok: [localhost]
- TASK [demo : create some test users] *******************************************
- changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'honor@example.com'})
- changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'audit@example.com'})
- changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'verified@example.com'})
- changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'staff@example.com'})
- TASK [demo : enroll test users in the demo course] *****************************
- changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'honor@example.com'})
- changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'audit@example.com'})
- changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'verified@example.com'})
- changed: [localhost] => (item={u'username': u'staff', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': True, u'email': u'staff@example.com'})
- TASK [demo : add test users to the certificate whitelist] **********************
- changed: [localhost] => (item={u'username': u'honor', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'honor@example.com'})
- changed: [localhost] => (item={u'username': u'audit', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'audit@example.com'})
- changed: [localhost] => (item={u'username': u'verified', u'is_superuser': False, u'hashed_password': u'pbkdf2_sha256$20000$TjE34FJjc3vv$0B7GUmH8RwrOc/BvMoxjb5j8EgnWTt3sxorDANeF7Qw=', u'is_staff': False, u'email': u'verified@example.com'})
- TASK [demo : seed the forums for the demo course] ******************************
- changed: [localhost]
- TASK [oauth_client_setup : Create OAuth2 django-oauth2-provider Clients] *******
- skipping: [localhost] => (item={u'username': u'ecommerce_worker', u'backend_service_secret': u'ecommerce-backend-service-secret', u'sso_secret': u'ecommerce-sso-secret', u'name': u'ecommerce', u'logout_uri': u'http://localhost:8002/logout/', u'url_root': u'http://localhost:8002', u'backend_service_id': u'ecommerce-backend-service-key', u'sso_id': u'ecommerce-sso-key'})
- changed: [localhost] => (item={u'username': u'insights_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'http://example.com/accounts/logout/', u'url_root': u'http://127.0.0.1:8110', u'secret': u'secret', u'id': u'YOUR_OAUTH2_KEY', u'backend_service_id': u'None', u'name': u'insights'})
- skipping: [localhost] => (item={u'username': u'credentials_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'None', u'url_root': u'None', u'secret': u'None', u'id': u'None', u'backend_service_id': u'None', u'name': u'None'})
- skipping: [localhost] => (item={u'username': u'discovery_worker', u'backend_service_secret': u'discovery-backend-service-secret', u'sso_secret': u'discovery-sso-secret', u'name': u'discovery', u'logout_uri': u'http://localhost:18381/logout/', u'url_root': u'http://localhost:18381', u'backend_service_id': u'discovery-backend-service-key', u'sso_id': u'discovery-sso-key'})
- skipping: [localhost] => (item={u'username': u'veda_service_user', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
- skipping: [localhost] => (item={u'username': u'registrar_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
- skipping: [localhost] => (item={u'username': u'designer_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
- skipping: [localhost] => (item={u'username': u'None', u'backend_service_secret': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-SECRET', u'name': u'None', u'backend_service_id': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-ID'})
- TASK [oauth_client_setup : Create OAuth2 django-oauth-toolkit SSO Applications] ***
- changed: [localhost] => (item={u'username': u'ecommerce_worker', u'backend_service_secret': u'ecommerce-backend-service-secret', u'sso_secret': u'ecommerce-sso-secret', u'name': u'ecommerce', u'logout_uri': u'http://localhost:8002/logout/', u'url_root': u'http://localhost:8002', u'backend_service_id': u'ecommerce-backend-service-key', u'sso_id': u'ecommerce-sso-key'})
- skipping: [localhost] => (item={u'username': u'insights_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'http://example.com/accounts/logout/', u'url_root': u'http://127.0.0.1:8110', u'secret': u'secret', u'id': u'YOUR_OAUTH2_KEY', u'backend_service_id': u'None', u'name': u'insights'})
- skipping: [localhost] => (item={u'username': u'credentials_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'None', u'url_root': u'None', u'secret': u'None', u'id': u'None', u'backend_service_id': u'None', u'name': u'None'})
- changed: [localhost] => (item={u'username': u'discovery_worker', u'backend_service_secret': u'discovery-backend-service-secret', u'sso_secret': u'discovery-sso-secret', u'name': u'discovery', u'logout_uri': u'http://localhost:18381/logout/', u'url_root': u'http://localhost:18381', u'backend_service_id': u'discovery-backend-service-key', u'sso_id': u'discovery-sso-key'})
- skipping: [localhost] => (item={u'username': u'veda_service_user', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
- skipping: [localhost] => (item={u'username': u'registrar_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
- skipping: [localhost] => (item={u'username': u'designer_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
- skipping: [localhost] => (item={u'username': u'None', u'backend_service_secret': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-SECRET', u'name': u'None', u'backend_service_id': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-ID'})
- TASK [oauth_client_setup : Create OAuth2 django-oauth-toolkit Backend Service Applications] ***
- changed: [localhost] => (item={u'username': u'ecommerce_worker', u'backend_service_secret': u'ecommerce-backend-service-secret', u'sso_secret': u'ecommerce-sso-secret', u'name': u'ecommerce', u'logout_uri': u'http://localhost:8002/logout/', u'url_root': u'http://localhost:8002', u'backend_service_id': u'ecommerce-backend-service-key', u'sso_id': u'ecommerce-sso-key'})
- skipping: [localhost] => (item={u'username': u'insights_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'http://example.com/accounts/logout/', u'url_root': u'http://127.0.0.1:8110', u'secret': u'secret', u'id': u'YOUR_OAUTH2_KEY', u'backend_service_id': u'None', u'name': u'insights'})
- skipping: [localhost] => (item={u'username': u'credentials_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'sso_id': u'None', u'logout_uri': u'None', u'url_root': u'None', u'secret': u'None', u'id': u'None', u'backend_service_id': u'None', u'name': u'None'})
- changed: [localhost] => (item={u'username': u'discovery_worker', u'backend_service_secret': u'discovery-backend-service-secret', u'sso_secret': u'discovery-sso-secret', u'name': u'discovery', u'logout_uri': u'http://localhost:18381/logout/', u'url_root': u'http://localhost:18381', u'backend_service_id': u'discovery-backend-service-key', u'sso_id': u'discovery-sso-key'})
- skipping: [localhost] => (item={u'username': u'veda_service_user', u'url_root': u'None', u'name': u'None', u'logout_uri': u'None', u'secret': u'None', u'id': u'None'})
- skipping: [localhost] => (item={u'username': u'registrar_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
- skipping: [localhost] => (item={u'username': u'designer_worker', u'backend_service_secret': u'None', u'sso_secret': u'None', u'name': u'None', u'logout_uri': u'None', u'url_root': u'None', u'backend_service_id': u'None', u'sso_id': u'None'})
- skipping: [localhost] => (item={u'username': u'None', u'backend_service_secret': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-SECRET', u'name': u'None', u'backend_service_id': u'PLEASE-SET-THIS-RETIREMENT-CLIENT-ID'})
- TASK [oraclejdk : Install debian needed pkgs] **********************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: '{{
- oraclejdk_debian_pkgs }}'` and remove the loop. This feature will be removed in
- version 2.11. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- ok: [localhost] => (item=[u'curl'])
- TASK [oraclejdk : Download Oracle Java] ****************************************
- [DEPRECATION WARNING]: Supplying `headers` as a string is deprecated. Please
- use dict/hash format for `headers`. This feature will be removed in version
- 2.10. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- changed: [localhost]
- TASK [oraclejdk : Create jvm dir] **********************************************
- ok: [localhost]
- TASK [oraclejdk : Untar Oracle Java] *******************************************
- changed: [localhost]
- TASK [oraclejdk : Create symlink expected by elasticsearch] ********************
- changed: [localhost]
- TASK [oraclejdk : Update alternatives java] ************************************
- changed: [localhost] => (item=java)
- changed: [localhost] => (item=javac)
- changed: [localhost] => (item=javaws)
- changed: [localhost] => (item=jarsigner)
- TASK [oraclejdk : Add JAVA_HOME for Oracle Java] *******************************
- changed: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [elasticsearch : Install Elasticsearch repo key] **************************
- changed: [localhost]
- TASK [elasticsearch : Add Elasticsearch Repo] **********************************
- changed: [localhost]
- TASK [elasticsearch : install elasticsearch] ***********************************
- changed: [localhost]
- TASK [elasticsearch : dpkg_selections] *****************************************
- changed: [localhost]
- TASK [elasticsearch : create directories] **************************************
- changed: [localhost] => (item=/edx/var/elasticsearch)
- changed: [localhost] => (item=/edx/var/log/elasticsearch)
- changed: [localhost] => (item=/edx/etc/elasticsearch)
- TASK [elasticsearch : update elasticsearch defaults] ***************************
- changed: [localhost]
- TASK [elasticsearch : drop the elasticsearch config] ***************************
- changed: [localhost]
- TASK [elasticsearch : drop the elasticsearch logging config] *******************
- changed: [localhost]
- TASK [elasticsearch : Ensure elasticsearch is enabled and started] *************
- changed: [localhost]
- TASK [elasticsearch : Restart elastic when there has been an upgrade] **********
- changed: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [rbenv : fail] ************************************************************
- skipping: [localhost]
- TASK [rbenv : fail] ************************************************************
- skipping: [localhost]
- TASK [rbenv : fail] ************************************************************
- skipping: [localhost]
- TASK [rbenv : create rbenv user forum] *****************************************
- changed: [localhost]
- TASK [rbenv : create rbenv dir if it does not exist] ***************************
- changed: [localhost]
- TASK [rbenv : install build depends] *******************************************
- changed: [localhost] => (item=curl)
- ok: [localhost] => (item=build-essential)
- ok: [localhost] => (item=libcurl4-openssl-dev)
- ok: [localhost] => (item=libreadline-dev)
- ok: [localhost] => (item=libssl-dev)
- ok: [localhost] => (item=libxml2-dev)
- ok: [localhost] => (item=libxslt1-dev)
- ok: [localhost] => (item=zlib1g-dev)
- TASK [rbenv : update rbenv repo] ***********************************************
- changed: [localhost]
- TASK [rbenv : ensure ruby_env exists] ******************************************
- changed: [localhost]
- TASK [rbenv : check ruby-build installed] **************************************
- fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["test", "-x", "/usr/local/bin/ruby-build"], "delta": "0:00:00.003464", "end": "2020-01-23 11:07:08.795521", "msg": "non-zero return code", "rc": 1, "start": "2020-01-23 11:07:08.792057", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
- ...ignoring
- TASK [rbenv : if ruby-build exists, which versions we can install] *************
- skipping: [localhost]
- TASK [rbenv : create temporary directory] **************************************
- changed: [localhost]
- TASK [rbenv : clone ruby-build repo] *******************************************
- changed: [localhost]
- TASK [rbenv : install ruby-build] **********************************************
- changed: [localhost]
- TASK [rbenv : remove temporary directory] **************************************
- changed: [localhost]
- TASK [rbenv : check ruby 2.4.1 installed] **************************************
- fatal: [localhost]: FAILED! => {"changed": true, "cmd": "rbenv versions | grep 2.4.1", "delta": "0:00:00.037469", "end": "2020-01-23 11:07:12.013162", "msg": "non-zero return code", "rc": 1, "start": "2020-01-23 11:07:11.975693", "stderr": "Warning: no Ruby detected on the system", "stderr_lines": ["Warning: no Ruby detected on the system"], "stdout": "", "stdout_lines": []}
- ...ignoring
- TASK [rbenv : install ruby 2.4.1] **********************************************
- changed: [localhost]
- TASK [rbenv : set global ruby 2.4.1] *******************************************
- changed: [localhost]
- TASK [rbenv : update rubygems] *************************************************
- changed: [localhost]
- TASK [rbenv : install bundler] *************************************************
- changed: [localhost]
- TASK [rbenv : remove rbenv version of rake] ************************************
- changed: [localhost]
- TASK [rbenv : install rake gem] ************************************************
- changed: [localhost]
- TASK [rbenv : rehash] **********************************************************
- changed: [localhost]
- TASK [forum : create application user] *****************************************
- changed: [localhost]
- TASK [forum : set forum app dir permissions] ***********************************
- changed: [localhost]
- TASK [forum : write devstack script] *******************************************
- skipping: [localhost]
- TASK [forum : setup the forum env for stage/prod] ******************************
- changed: [localhost] => (item={u'LISTEN_HOST': u'0.0.0.0', u'DATA_DIR': u'/edx/var/forum', u'NEW_RELIC_LICENSE_KEY': u'', u'RACK_ENV': u'development', u'NEW_RELIC_ENABLE': False, u'SEARCH_SERVER': u'http://localhost:9200', u'PATH': u'/edx/app/forum/cs_comments_service/bin:/edx/app/forum/.rbenv/bin:/edx/app/forum/.rbenv/shims:/edx/app/forum/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', u'RBENV_ROOT': u'/edx/app/forum/.rbenv', u'NEW_RELIC_APP_NAME': u'default_env-default_deployment-forum', u'LISTEN_PORT': u'4567', u'MONGOID_USE_SSL': False, u'MONGOHQ_URL': u'mongodb://cs_comments_service:97CG2qUZuByth0wor8GKr46yrqGeTtUl3On@localhost:27017/cs_comments_service', u'MONGOID_AUTH_SOURCE': u'', u'WORKER_PROCESSES': u'4', u'SINATRA_ENV': u'development', u'API_KEY': u'6e4IAEMg1PioJsq9fJlUulXO78TaibAoJgM', u'HOME': u'/edx/app/forum', u'GEM_PATH': u'/edx/app/forum/.gem', u'GEM_HOME': u'/edx/app/forum/.gem'})
- TASK [forum : setup the forum env for devstack] ********************************
- skipping: [localhost] => (item={u'LISTEN_HOST': u'0.0.0.0', u'DATA_DIR': u'/edx/var/forum', u'NEW_RELIC_LICENSE_KEY': u'', u'RACK_ENV': u'development', u'NEW_RELIC_ENABLE': False, u'SEARCH_SERVER': u'http://edx.devstack.elasticsearch:9200/', u'PATH': u'/edx/app/forum/cs_comments_service/bin:/edx/app/forum/.rbenv/bin:/edx/app/forum/.rbenv/shims:/edx/app/forum/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', u'RBENV_ROOT': u'/edx/app/forum/.rbenv', u'NEW_RELIC_APP_NAME': u'default_env-default_deployment-forum', u'LISTEN_PORT': u'4567', u'MONGOID_USE_SSL': False, u'MONGOHQ_URL': u'mongodb://cs_comments_service:password@edx.devstack.mongo:27017/cs_comments_service', u'MONGOID_AUTH_SOURCE': u'', u'WORKER_PROCESSES': u'4', u'SINATRA_ENV': u'development', u'API_KEY': u'6e4IAEMg1PioJsq9fJlUulXO78TaibAoJgM', u'HOME': u'/edx/app/forum', u'GEM_PATH': u'/edx/app/forum/.gem', u'GEM_HOME': u'/edx/app/forum/.gem'})
- TASK [forum : create /edx/var/forum] *******************************************
- changed: [localhost]
- TASK [forum : create the supervisor config] ************************************
- changed: [localhost]
- TASK [forum : enable the supervisor config] ************************************
- changed: [localhost]
- TASK [forum : create the supervisor wrapper] ***********************************
- changed: [localhost]
- TASK [forum : git checkout forum repo into /edx/app/forum/cs_comments_service] ***
- changed: [localhost]
- TASK [forum : install comments service bundle] *********************************
- changed: [localhost]
- TASK [forum : initialize elasticsearch] ****************************************
- changed: [localhost]
- TASK [forum : rebuild elasticsearch indexes] ***********************************
- skipping: [localhost]
- TASK [forum : update supervisor configuration] *********************************
- changed: [localhost]
- TASK [forum : ensure forum is started] *****************************************
- ok: [localhost]
- TASK [forum : test that the required service are listening] ********************
- ok: [localhost] => (item={u'host': u'localhost', u'port': u'9200', u'service': u'elasticsearch'})
- TASK [forum : test that mongo replica set members are listing] *****************
- ok: [localhost] => (item=localhost)
- TASK [forum : get instance information] ****************************************
- skipping: [localhost]
- TASK [forum : tag instance] ****************************************************
- skipping: [localhost]
- TASK [forum : set_fact] ********************************************************
- ok: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [automated : Create automated user] ***************************************
- TASK [automated : Create sudoers file from template] ***************************
- TASK [automated : Create .ssh directory] ***************************************
- TASK [automated : Build authorized_keys file] **********************************
- TASK [automated : Build known_hosts file] **************************************
- TASK [automated : Are we in a Docker container] ********************************
- changed: [localhost]
- TASK [automated : Allow automated users to ssh] ********************************
- skipping: [localhost]
- TASK [automated : restart ssh] *************************************************
- skipping: [localhost]
- TASK [add_user : create user groups] *******************************************
- changed: [localhost] => (item=discovery)
- TASK [add_user : create application user] **************************************
- changed: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- ok: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- changed: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- changed: [localhost] => (item=/edx/app/discovery/discovery)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001827', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/discovery/discovery', u'end': u'2020-01-23 11:13:58.904194', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/discovery/discovery" || git -C "/edx/app/discovery/discovery" status --porcelain --untracked-files=no', 'item': u'/edx/app/discovery/discovery', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/discovery/discovery" || git -C "/edx/app/discovery/discovery" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 11:13:58.902367', '_ansible_ignore_errors': None})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
- ok: [localhost] => (item=)
- changed: [localhost] => (item=venvs)
- changed: [localhost] => (item=data)
- changed: [localhost] => (item=staticfiles)
- TASK [edx_service : Create /edx/var/app dir] ***********************************
- changed: [localhost]
- TASK [edx_service : Create /edx/etc dir] ***************************************
- changed: [localhost]
- TASK [edx_service : Create edx_service log dir] ********************************
- changed: [localhost] => (item=/edx/var/log/discovery)
- TASK [edx_service : Write out app config file] *********************************
- changed: [localhost]
- TASK [edx_service : Decrypt app config file] ***********************************
- skipping: [localhost]
- TASK [edx_service : Replace deploy host to sandbox dns name] *******************
- skipping: [localhost]
- TASK [edx_service : Copy app config file] **************************************
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- ok: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Get instance information] **********************************
- ok: [localhost]
- TASK [edx_service : Tag instance] **********************************************
- skipping: [localhost] => (item=[{u'REPO': u'course-discovery.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'course-discovery.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None}, u'after': u'00f2dcb925879f8d3e9a4387499177873ffdd384', 'failed': False, '_ansible_item_label': {u'REPO': u'course-discovery.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/discovery/discovery', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/discovery/discovery', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/course-discovery.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
- TASK [edx_django_service : add gunicorn configuration file] ********************
- changed: [localhost]
- TASK [edx_django_service : install python3] ************************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
- 'python3-dev']` and remove the loop. This feature will be removed in version
- 2.11. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- ok: [localhost] => (item=[u'python3-pip', u'python3-dev'])
- TASK [edx_django_service : build virtualenv with python3] **********************
- changed: [localhost]
- TASK [edx_django_service : build virtualenv with python2.7] ********************
- skipping: [localhost]
- TASK [edx_django_service : Pin pip to a specific version.] *********************
- changed: [localhost]
- TASK [edx_django_service : install nodenv] *************************************
- changed: [localhost]
- TASK [edx_django_service : create nodeenv] *************************************
- changed: [localhost]
- TASK [edx_django_service : upgrade npm] ****************************************
- changed: [localhost]
- TASK [edx_django_service : install production requirements] ********************
- changed: [localhost]
- TASK [edx_django_service : install development requirements] *******************
- skipping: [localhost]
- TASK [edx_django_service : migrate database] ***********************************
- changed: [localhost]
- TASK [edx_django_service : run post-migrate commands] **************************
- TASK [edx_django_service : ensure log files exist for tailing] *****************
- changed: [localhost] => (item=/edx/var/log/supervisor/discovery-stdout.log)
- changed: [localhost] => (item=/edx/var/log/supervisor/discovery-stderr.log)
- TASK [edx_django_service : write out the supervisor wrapper] *******************
- changed: [localhost]
- TASK [edx_django_service : write supervisord config] ***************************
- changed: [localhost]
- TASK [edx_django_service : write devstack script] ******************************
- skipping: [localhost]
- TASK [edx_django_service : setup the app env file] *****************************
- changed: [localhost]
- TASK [edx_django_service : enable supervisor script] ***************************
- changed: [localhost]
- TASK [edx_django_service : update supervisor configuration] ********************
- changed: [localhost]
- TASK [edx_django_service : create symlinks from the venv bin dir] **************
- changed: [localhost] => (item=python)
- changed: [localhost] => (item=pip)
- changed: [localhost] => (item=django-admin.py)
- TASK [edx_django_service : create symlinks from the repo dir] ******************
- changed: [localhost] => (item=manage.py)
- TASK [edx_django_service : compile static assets] ******************************
- changed: [localhost]
- TASK [edx_django_service : restart the application] ****************************
- changed: [localhost]
- TASK [edx_django_service : Copying nginx configs for the service] **************
- changed: [localhost]
- TASK [edx_django_service : Creating nginx config links for the service] ********
- changed: [localhost]
- TASK [Include JWT signature setting in the app config file] ********************
- skipping: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [notifier : Install notifier specific system packages] ********************
- ok: [localhost]
- TASK [notifier : Create notifier user notifier] ********************************
- changed: [localhost]
- TASK [notifier : Create notifier app dir] **************************************
- changed: [localhost]
- TASK [notifier : Setup the notifier env] ***************************************
- changed: [localhost]
- TASK [notifier : Drop a bash_profile] ******************************************
- changed: [localhost]
- TASK [notifier : Ensure .bashrc exists] ****************************************
- changed: [localhost]
- TASK [notifier : Add source of notifier_env to .bashrc] ************************
- changed: [localhost]
- TASK [notifier : Add source venv to .bashrc] ***********************************
- changed: [localhost]
- TASK [notifier : Create desired directories] ***********************************
- changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/db', u'group': u'www-data', u'mode': u'2775'})
- changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/bin', u'group': u'notifier', u'mode': u'2775'})
- changed: [localhost] => (item={u'owner': u'notifier', u'path': u'/edx/app/notifier/.ssh', u'group': u'notifier', u'mode': u'2700'})
- changed: [localhost] => (item={u'owner': u'syslog', u'path': u'/edx/var/log/notifier', u'group': u'syslog', u'mode': u'0664'})
- TASK [notifier : Copy the boto file] *******************************************
- changed: [localhost]
- TASK [notifier : Write supervisord wrapper for celery workers and scheduler] ***
- changed: [localhost] => (item={u'dest': u'/edx/app/notifier/notifier-scheduler-supervisor.sh', u'src': u'notifier-scheduler-supervisor.sh.j2'})
- TASK [notifier : Write supervisord config for celery workers and scheduler] ****
- changed: [localhost] => (item={u'dest': u'/edx/app/supervisor/conf.available.d/notifier-celery-workers.conf', u'src': u'edx/app/supervisor/conf.d/notifier-celery-workers.conf.j2'})
- changed: [localhost] => (item={u'dest': u'/edx/app/supervisor/conf.available.d/notifier-scheduler.conf', u'src': u'edx/app/supervisor/conf.d/notifier-scheduler.conf.j2'})
- TASK [notifier : Enable supervisord config for celery workers] *****************
- changed: [localhost]
- TASK [notifier : Enable supervisord config for scheduler] **********************
- changed: [localhost]
- TASK [notifier : Checkout code] ************************************************
- changed: [localhost]
- TASK [notifier : Install read-only ssh key] ************************************
- skipping: [localhost]
- TASK [notifier : Checkout theme] ***********************************************
- skipping: [localhost]
- TASK [notifier : Write notifier local settings] ********************************
- changed: [localhost]
- TASK [notifier : Install application requirements] *****************************
- changed: [localhost]
- TASK [notifier : Fix permissions on notifer db file] ***************************
- changed: [localhost]
- TASK [notifier : Migrate the notifier db] **************************************
- changed: [localhost]
- TASK [notifier : restart notifier-scheduler] ***********************************
- changed: [localhost]
- TASK [notifier : restart notifier-celery-workers] ******************************
- changed: [localhost]
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure periodic unattended-upgrades] ***********************
- skipping: [localhost]
- TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
- skipping: [localhost] => (item=systemctl disable apt-daily.service)
- skipping: [localhost] => (item=systemctl disable apt-daily.timer)
- skipping: [localhost] => (item=systemctl disable apt-daily-upgrade.timer)
- TASK [security : Disable unattended-upgrades] **********************************
- skipping: [localhost]
- TASK [security : Only unattended-upgrade from security repo] *******************
- skipping: [localhost]
- TASK [security : Add debian blacklist] *****************************************
- skipping: [localhost]
- TASK [security : Disable security only updates on unattended-upgrades] *********
- skipping: [localhost]
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=unattended-upgrade --dry-run)
- skipping: [localhost] => (item=unattended-upgrade)
- TASK [security : Install security packages] ************************************
- skipping: [localhost]
- TASK [security : Enable automatic start for update service] ********************
- skipping: [localhost]
- TASK [security : Update all system packages] ***********************************
- skipping: [localhost]
- TASK [security : Configure security auto-updates] ******************************
- skipping: [localhost] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
- skipping: [localhost] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
- TASK [security : Take security updates during ansible runs] ********************
- skipping: [localhost] => (item=yum check-update --security)
- skipping: [localhost] => (item=yum update --security -y)
- TASK [add_user : create user groups] *******************************************
- changed: [localhost] => (item=xqueue)
- TASK [add_user : create application user] **************************************
- changed: [localhost]
- TASK [add_user : ensure correct ownership of home directory] *******************
- ok: [localhost]
- TASK [add_user : create dirs for the user] *************************************
- TASK [git_clone : Set git fetch.prune to ignore deleted remote refs] ***********
- changed: [localhost]
- TASK [git_clone : Validate git protocol] ***************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Install read-only ssh key] ***********************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Check that working tree is clean] ****************************
- changed: [localhost] => (item=/edx/app/xqueue/xqueue)
- TASK [git_clone : Require a clean working tree] ********************************
- skipping: [localhost] => (item={'_ansible_parsed': True, 'stderr_lines': [], u'changed': True, u'stdout': u'', '_ansible_item_result': True, u'delta': u'0:00:00.001952', 'stdout_lines': [], '_ansible_item_label': u'/edx/app/xqueue/xqueue', u'end': u'2020-01-23 11:19:08.936696', '_ansible_no_log': False, 'failed': False, u'cmd': u'test ! -e "/edx/app/xqueue/xqueue" || git -C "/edx/app/xqueue/xqueue" status --porcelain --untracked-files=no', 'item': u'/edx/app/xqueue/xqueue', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, u'_raw_params': u'test ! -e "/edx/app/xqueue/xqueue" || git -C "/edx/app/xqueue/xqueue" status --porcelain --untracked-files=no', u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2020-01-23 11:19:08.934744', '_ansible_ignore_errors': None})
- TASK [git_clone : Checkout code over ssh] **************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Checkout code over https] ************************************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [git_clone : Remove read-only ssh key] ************************************
- skipping: [localhost] => (item=None)
- TASK [git_clone : Run git clean after checking out code] ***********************
- changed: [localhost] => (item=None)
- changed: [localhost]
- TASK [edx_service : Create edx_service app, venv, data, and staticfiles dirs] ***
- ok: [localhost] => (item=)
- changed: [localhost] => (item=venvs)
- changed: [localhost] => (item=data)
- changed: [localhost] => (item=staticfiles)
- TASK [edx_service : Create /edx/var/app dir] ***********************************
- changed: [localhost]
- TASK [edx_service : Create /edx/etc dir] ***************************************
- changed: [localhost]
- TASK [edx_service : Create edx_service log dir] ********************************
- changed: [localhost] => (item=/edx/var/log/xqueue)
- TASK [edx_service : Write out app config file] *********************************
- changed: [localhost]
- TASK [edx_service : Decrypt app config file] ***********************************
- skipping: [localhost]
- TASK [edx_service : Replace deploy host to sandbox dns name] *******************
- skipping: [localhost]
- TASK [edx_service : Copy app config file] **************************************
- skipping: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- ok: [localhost]
- TASK [edx_service : Install a bunch of system packages on which edx_service relies] ***
- skipping: [localhost]
- TASK [edx_service : Get instance information] **********************************
- ok: [localhost]
- TASK [edx_service : Tag instance] **********************************************
- skipping: [localhost] => (item=[{u'REPO': u'xqueue.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/xqueue/xqueue', u'SSH_KEY': None}, {'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': True, 'item': {u'REPO': u'xqueue.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/xqueue/xqueue', u'SSH_KEY': None}, u'after': u'45c2e69826819c94caba7a832adfffe169a15c3c', 'failed': False, '_ansible_item_label': {u'REPO': u'xqueue.git', u'DOMAIN': u'github.com', u'VERSION': u'master', u'PROTOCOL': u'https', u'PATH': u'edx', u'DESTINATION': u'/edx/app/xqueue/xqueue', u'SSH_KEY': None}, u'changed': True, u'invocation': {u'module_args': {u'force': False, u'track_submodules': False, u'reference': None, u'dest': u'/edx/app/xqueue/xqueue', u'umask': None, u'clone': True, u'update': True, u'ssh_opts': None, u'repo': u'https://github.com/edx/xqueue.git', u'bare': False, u'verify_commit': False, u'archive': None, u'recursive': True, u'executable': None, u'remote': u'origin', u'refspec': None, u'separate_git_dir': None, u'accept_hostkey': False, u'depth': 1, u'version': u'master', u'key_file': None}}, '_ansible_ignore_errors': None, u'before': None}])
- TASK [edx_service_with_rendered_config : Write out app config file] ************
- changed: [localhost]
- TASK [xqueue : install python3] ************************************************
- [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
- squash_actions is deprecated. Instead of using a loop to supply multiple items
- and specifying `name: "{{ item }}"`, please use `name: ['python3-pip',
- 'python3-dev']` and remove the loop. This feature will be removed in version
- 2.11. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- ok: [localhost] => (item=[u'python3-pip', u'python3-dev'])
- TASK [xqueue : build virtualenv with python3] **********************************
- changed: [localhost]
- TASK [xqueue : Install python3 requirements] ***********************************
- changed: [localhost]
- TASK [xqueue : build virtualenv with python2.7] ********************************
- skipping: [localhost]
- TASK [xqueue : write devstack script] ******************************************
- skipping: [localhost]
- TASK [xqueue : Writing supervisor scripts - xqueue, xqueue consumer] ***********
- changed: [localhost] => (item=xqueue)
- changed: [localhost] => (item=xqueue_consumer)
- TASK [xqueue : Enabling supervisor scripts - xqueue, xqueue consumer] **********
- changed: [localhost] => (item=xqueue)
- changed: [localhost] => (item=xqueue_consumer)
- TASK [xqueue : add gunicorn configuration file] ********************************
- changed: [localhost]
- TASK [xqueue : setup the app env file] *****************************************
- changed: [localhost]
- TASK [xqueue : Install python requirements] ************************************
- skipping: [localhost]
- TASK [xqueue : Install python openstack requirements] **************************
- skipping: [localhost]
- TASK [xqueue : Migrate] ********************************************************
- changed: [localhost]
- TASK [xqueue : Create users] ***************************************************
- changed: [localhost]
- TASK [xqueue : Update supervisor configuration] ********************************
- changed: [localhost]
- TASK [xqueue : Ensure xqueue, consumer is running] *****************************
- failed: [localhost] (item=xqueue) => {"changed": false, "item": "xqueue", "msg": "xqueue: ERROR (no such file)\n"}
- ok: [localhost] => (item=xqueue_consumer)
- RUNNING HANDLER [nginx : reload nginx] *****************************************
- RUNNING HANDLER [forum : restart the forum service] ****************************
- to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry
- PLAY RECAP *********************************************************************
- localhost : ok=547 changed=414 unreachable=0 failed=1
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: gather static assets with paver [1] ------------------------------------------- 426.55s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [0] ------------------------------------------------------------------- 395.73s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [0] ----------------------------------------------- 292.90s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install ruby 2.4.1 ------------------------------------------------------------ 238.39s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements [1] ------------------------------------------- 186.16s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate database [3] ---------------------------------------------------------- 126.99s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate database [1] ---------------------------------------------------------- 124.75s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install comments service bundle ------------------------------------------------ 90.16s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: checkout edx-platform repo into /edx/app/edxapp/edx-platform [0] --------------- 81.69s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install node dependencies [2] -------------------------------------------------- 72.09s
- INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing:
- Playbook Configure instance(s) finished: 2020-01-23 11:19:41.622964, 1532 total tasks. 0:59:47.989390 elapsed.
- ========================================
- Ansible failed!
- ----------------------------------------
- If you need help, see https://open.edx.org/getting-help .
- When asking for help, please provide as much information as you can.
- These might be helpful:
- Your log file is at logs/install-20200123-101913.log
- Your environment:
- OPENEDX_RELEASE=master
- ========================================
- Installation finished at 2020-01-23 11:19:42
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement