Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Capturing output to /home/taha/edx/logs/install-20210520-052827.log
- Installation started at 2021-05-20 05:28:27
- Installing release 'open-release/koa.master'
- Hit:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
- Hit:2 http://pk.archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://pk.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Hit:4 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
- Get:5 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease [17.5 kB]
- Get:6 http://pk.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
- Get:7 http://pk.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Get:8 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [988 kB]
- Get:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal/main amd64 Packages [17.0 kB]
- Get:10 http://pk.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [777 kB]
- Get:11 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal/main Translation-en [7,444 B]
- Fetched 2,136 kB in 3s (716 kB/s)
- Reading package lists...
- Hit:1 http://pk.archive.ubuntu.com/ubuntu focal InRelease
- Hit:2 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
- Hit:3 http://pk.archive.ubuntu.com/ubuntu focal-updates InRelease
- Hit:4 http://pk.archive.ubuntu.com/ubuntu focal-backports InRelease
- Hit:5 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
- Hit:6 http://pk.archive.ubuntu.com/ubuntu focal-security InRelease
- Hit:7 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease
- Reading package lists...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Calculating upgrade...
- The following packages have been kept back:
- libatomic1 libcc1-0 libgcc-s1 libgomp1 libitm1 liblsan0 libquadmath0
- libstdc++6 libtsan0 libubsan1 ubuntu-advantage-tools
- 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- g++ is already the newest version (4:9.3.0-1ubuntu2).
- g++ set to manually installed.
- gcc is already the newest version (4:9.3.0-1ubuntu2).
- gcc set to manually installed.
- libxml2-dev is already the newest version (2.9.10+dfsg-5).
- libxslt1-dev is already the newest version (1.1.34-4).
- python3-dev is already the newest version (3.8.2-0ubuntu2).
- build-essential is already the newest version (12.8ubuntu1.1).
- curl is already the newest version (7.68.0-1ubuntu2.5).
- libmysqlclient-dev is already the newest version (8.0.25-0ubuntu0.20.04.1).
- python3-apt is already the newest version (2.0.0ubuntu0.20.04.4).
- software-properties-common is already the newest version (0.98.9.5).
- python3-pip is already the newest version (20.0.2-5ubuntu1.5).
- git is already the newest version (1:2.31.1-0ppa1~ubuntu20.04.1).
- The following additional packages will be installed:
- libfreetype-dev libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dane0
- libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libgpg-error-dev
- libidn2-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libp11-kit-dev
- libpng-dev libpng-tools libtasn1-6-dev libtasn1-doc libunbound8
- libxmlsec1-gcrypt libxmlsec1-gnutls libxmlsec1-nss nettle-dev swig4.0
- Suggested packages:
- freetype2-doc libgcrypt20-doc gmp-doc libgmp10-doc libmpfr-dev dns-root-data
- gnutls-bin gnutls-doc swig-doc swig-examples swig4.0-examples swig4.0-doc
- The following NEW packages will be installed:
- libfreetype-dev libfreetype6-dev libgcrypt20-dev libgmp-dev libgmpxx4ldbl
- libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev libgnutlsxx28
- libgpg-error-dev libidn2-dev libnspr4 libnspr4-dev libnss3 libnss3-dev
- libp11-kit-dev libpng-dev libpng-tools libtasn1-6-dev libtasn1-doc
- libunbound8 libxmlsec1-dev libxmlsec1-gcrypt libxmlsec1-gnutls
- libxmlsec1-nss nettle-dev swig swig4.0
- 0 upgraded, 28 newly installed, 0 to remove and 11 not upgraded.
- Need to get 7,824 kB of archives.
- After this operation, 33.3 MB of additional disk space will be used.
- Get:1 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libpng-dev amd64 1.6.37-2 [175 kB]
- Get:2 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libfreetype-dev amd64 2.10.1-2ubuntu0.1 [493 kB]
- Get:3 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libfreetype6-dev amd64 2.10.1-2ubuntu0.1 [9,812 B]
- Get:4 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libgpg-error-dev amd64 1.37-1 [109 kB]
- Get:5 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libgcrypt20-dev amd64 1.8.5-5ubuntu1 [470 kB]
- Get:6 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libgmpxx4ldbl amd64 2:6.2.0+dfsg-4 [9,128 B]
- Get:7 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libgmp-dev amd64 2:6.2.0+dfsg-4 [320 kB]
- Get:8 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls-openssl27 amd64 3.6.13-2ubuntu1.3 [29.8 kB]
- Get:9 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libunbound8 amd64 1.9.4-2ubuntu1.2 [350 kB]
- Get:10 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls-dane0 amd64 3.6.13-2ubuntu1.3 [29.1 kB]
- Get:11 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutlsxx28 amd64 3.6.13-2ubuntu1.3 [14.7 kB]
- Get:12 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libidn2-dev amd64 2.2.0-2 [64.6 kB]
- Get:13 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libp11-kit-dev amd64 0.23.20-1ubuntu0.1 [65.2 kB]
- Get:14 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libtasn1-6-dev amd64 4.16.0-2 [85.8 kB]
- Get:15 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 nettle-dev amd64 3.5.1+really3.5.1-2ubuntu0.1 [987 kB]
- Get:16 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls28-dev amd64 3.6.13-2ubuntu1.3 [873 kB]
- Get:17 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libnspr4 amd64 2:4.25-1 [107 kB]
- Get:18 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libnspr4-dev amd64 2:4.25-1 [206 kB]
- Get:19 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libnss3 amd64 2:3.49.1-1ubuntu1.5 [1,256 kB]
- Get:20 http://pk.archive.ubuntu.com/ubuntu focal-updates/main amd64 libnss3-dev amd64 2:3.49.1-1ubuntu1.5 [231 kB]
- Get:21 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libpng-tools amd64 1.6.37-2 [26.1 kB]
- Get:22 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1-gcrypt amd64 1.2.28-2 [41.5 kB]
- Get:23 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1-gnutls amd64 1.2.28-2 [33.4 kB]
- Get:24 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1-nss amd64 1.2.28-2 [61.8 kB]
- Get:25 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libxmlsec1-dev amd64 1.2.28-2 [387 kB]
- Get:26 http://pk.archive.ubuntu.com/ubuntu focal/universe amd64 swig4.0 amd64 4.0.1-5build1 [1,081 kB]
- Get:27 http://pk.archive.ubuntu.com/ubuntu focal/universe amd64 swig all 4.0.1-5build1 [5,528 B]
- Get:28 http://pk.archive.ubuntu.com/ubuntu focal/main amd64 libtasn1-doc all 4.16.0-2 [303 kB]
- Fetched 7,824 kB in 7s (1,048 kB/s)
- Selecting previously unselected package libpng-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 ... 80423 files and directories currently installed.)
- Preparing to unpack .../00-libpng-dev_1.6.37-2_amd64.deb ...
- Unpacking libpng-dev:amd64 (1.6.37-2) ...
- Selecting previously unselected package libfreetype-dev:amd64.
- Preparing to unpack .../01-libfreetype-dev_2.10.1-2ubuntu0.1_amd64.deb ...
- Unpacking libfreetype-dev:amd64 (2.10.1-2ubuntu0.1) ...
- Selecting previously unselected package libfreetype6-dev:amd64.
- Preparing to unpack .../02-libfreetype6-dev_2.10.1-2ubuntu0.1_amd64.deb ...
- Unpacking libfreetype6-dev:amd64 (2.10.1-2ubuntu0.1) ...
- Selecting previously unselected package libgpg-error-dev.
- Preparing to unpack .../03-libgpg-error-dev_1.37-1_amd64.deb ...
- Unpacking libgpg-error-dev (1.37-1) ...
- Selecting previously unselected package libgcrypt20-dev.
- Preparing to unpack .../04-libgcrypt20-dev_1.8.5-5ubuntu1_amd64.deb ...
- Unpacking libgcrypt20-dev (1.8.5-5ubuntu1) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../05-libgmpxx4ldbl_2%3a6.2.0+dfsg-4_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../06-libgmp-dev_2%3a6.2.0+dfsg-4_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.0+dfsg-4) ...
- Selecting previously unselected package libgnutls-openssl27:amd64.
- Preparing to unpack .../07-libgnutls-openssl27_3.6.13-2ubuntu1.3_amd64.deb ...
- Unpacking libgnutls-openssl27:amd64 (3.6.13-2ubuntu1.3) ...
- Selecting previously unselected package libunbound8:amd64.
- Preparing to unpack .../08-libunbound8_1.9.4-2ubuntu1.2_amd64.deb ...
- Unpacking libunbound8:amd64 (1.9.4-2ubuntu1.2) ...
- Selecting previously unselected package libgnutls-dane0:amd64.
- Preparing to unpack .../09-libgnutls-dane0_3.6.13-2ubuntu1.3_amd64.deb ...
- Unpacking libgnutls-dane0:amd64 (3.6.13-2ubuntu1.3) ...
- Selecting previously unselected package libgnutlsxx28:amd64.
- Preparing to unpack .../10-libgnutlsxx28_3.6.13-2ubuntu1.3_amd64.deb ...
- Unpacking libgnutlsxx28:amd64 (3.6.13-2ubuntu1.3) ...
- Selecting previously unselected package libidn2-dev:amd64.
- Preparing to unpack .../11-libidn2-dev_2.2.0-2_amd64.deb ...
- Unpacking libidn2-dev:amd64 (2.2.0-2) ...
- Selecting previously unselected package libp11-kit-dev:amd64.
- Preparing to unpack .../12-libp11-kit-dev_0.23.20-1ubuntu0.1_amd64.deb ...
- Unpacking libp11-kit-dev:amd64 (0.23.20-1ubuntu0.1) ...
- Selecting previously unselected package libtasn1-6-dev:amd64.
- Preparing to unpack .../13-libtasn1-6-dev_4.16.0-2_amd64.deb ...
- Unpacking libtasn1-6-dev:amd64 (4.16.0-2) ...
- Selecting previously unselected package nettle-dev:amd64.
- Preparing to unpack .../14-nettle-dev_3.5.1+really3.5.1-2ubuntu0.1_amd64.deb ...
- Unpacking nettle-dev:amd64 (3.5.1+really3.5.1-2ubuntu0.1) ...
- Selecting previously unselected package libgnutls28-dev:amd64.
- Preparing to unpack .../15-libgnutls28-dev_3.6.13-2ubuntu1.3_amd64.deb ...
- Unpacking libgnutls28-dev:amd64 (3.6.13-2ubuntu1.3) ...
- Selecting previously unselected package libnspr4:amd64.
- Preparing to unpack .../16-libnspr4_2%3a4.25-1_amd64.deb ...
- Unpacking libnspr4:amd64 (2:4.25-1) ...
- Selecting previously unselected package libnspr4-dev.
- Preparing to unpack .../17-libnspr4-dev_2%3a4.25-1_amd64.deb ...
- Unpacking libnspr4-dev (2:4.25-1) ...
- Selecting previously unselected package libnss3:amd64.
- Preparing to unpack .../18-libnss3_2%3a3.49.1-1ubuntu1.5_amd64.deb ...
- Unpacking libnss3:amd64 (2:3.49.1-1ubuntu1.5) ...
- Selecting previously unselected package libnss3-dev:amd64.
- Preparing to unpack .../19-libnss3-dev_2%3a3.49.1-1ubuntu1.5_amd64.deb ...
- Unpacking libnss3-dev:amd64 (2:3.49.1-1ubuntu1.5) ...
- Selecting previously unselected package libpng-tools.
- Preparing to unpack .../20-libpng-tools_1.6.37-2_amd64.deb ...
- Unpacking libpng-tools (1.6.37-2) ...
- Selecting previously unselected package libxmlsec1-gcrypt:amd64.
- Preparing to unpack .../21-libxmlsec1-gcrypt_1.2.28-2_amd64.deb ...
- Unpacking libxmlsec1-gcrypt:amd64 (1.2.28-2) ...
- Selecting previously unselected package libxmlsec1-gnutls:amd64.
- Preparing to unpack .../22-libxmlsec1-gnutls_1.2.28-2_amd64.deb ...
- Unpacking libxmlsec1-gnutls:amd64 (1.2.28-2) ...
- Selecting previously unselected package libxmlsec1-nss:amd64.
- Preparing to unpack .../23-libxmlsec1-nss_1.2.28-2_amd64.deb ...
- Unpacking libxmlsec1-nss:amd64 (1.2.28-2) ...
- Selecting previously unselected package libxmlsec1-dev.
- Preparing to unpack .../24-libxmlsec1-dev_1.2.28-2_amd64.deb ...
- Unpacking libxmlsec1-dev (1.2.28-2) ...
- Selecting previously unselected package swig4.0.
- Preparing to unpack .../25-swig4.0_4.0.1-5build1_amd64.deb ...
- Unpacking swig4.0 (4.0.1-5build1) ...
- Selecting previously unselected package swig.
- Preparing to unpack .../26-swig_4.0.1-5build1_all.deb ...
- Unpacking swig (4.0.1-5build1) ...
- Selecting previously unselected package libtasn1-doc.
- Preparing to unpack .../27-libtasn1-doc_4.16.0-2_all.deb ...
- Unpacking libtasn1-doc (4.16.0-2) ...
- Setting up libgnutls-openssl27:amd64 (3.6.13-2ubuntu1.3) ...
- Setting up libpng-tools (1.6.37-2) ...
- Setting up libtasn1-doc (4.16.0-2) ...
- Setting up libpng-dev:amd64 (1.6.37-2) ...
- Setting up libfreetype-dev:amd64 (2.10.1-2ubuntu0.1) ...
- Setting up libunbound8:amd64 (1.9.4-2ubuntu1.2) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4) ...
- Setting up libgpg-error-dev (1.37-1) ...
- Setting up libnspr4:amd64 (2:4.25-1) ...
- Setting up libxmlsec1-gcrypt:amd64 (1.2.28-2) ...
- Setting up libgnutlsxx28:amd64 (3.6.13-2ubuntu1.3) ...
- Setting up libidn2-dev:amd64 (2.2.0-2) ...
- Setting up swig4.0 (4.0.1-5build1) ...
- Setting up libxmlsec1-gnutls:amd64 (1.2.28-2) ...
- Setting up libtasn1-6-dev:amd64 (4.16.0-2) ...
- Setting up libp11-kit-dev:amd64 (0.23.20-1ubuntu0.1) ...
- Setting up libnspr4-dev (2:4.25-1) ...
- Setting up libgnutls-dane0:amd64 (3.6.13-2ubuntu1.3) ...
- Setting up swig (4.0.1-5build1) ...
- Setting up libgmp-dev:amd64 (2:6.2.0+dfsg-4) ...
- Setting up nettle-dev:amd64 (3.5.1+really3.5.1-2ubuntu0.1) ...
- Setting up libnss3:amd64 (2:3.49.1-1ubuntu1.5) ...
- Setting up libfreetype6-dev:amd64 (2.10.1-2ubuntu0.1) ...
- Setting up libgcrypt20-dev (1.8.5-5ubuntu1) ...
- Setting up libxmlsec1-nss:amd64 (1.2.28-2) ...
- Setting up libnss3-dev:amd64 (2:3.49.1-1ubuntu1.5) ...
- Setting up libgnutls28-dev:amd64 (3.6.13-2ubuntu1.3) ...
- Setting up libxmlsec1-dev (1.2.28-2) ...
- Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
- Processing triggers for man-db (2.9.1-1) ...
- Processing triggers for install-info (6.7.0.dfsg.2-5) ...
- 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 11 not upgraded.
- After this operation, 558 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 ... 82021 files and directories currently installed.)
- Removing python-yaml (5.3.1-1ubuntu0.1) ...
- Requirement already up-to-date: pip==20.0.2 in /usr/lib/python3/dist-packages (20.0.2)
- Collecting setuptools==44.1.0
- Downloading setuptools-44.1.0-py2.py3-none-any.whl (583 kB)
- ERROR: launchpadlib 1.10.13 requires testresources, which is not installed.
- Installing collected packages: setuptools
- Attempting uninstall: setuptools
- Found existing installation: setuptools 45.2.0
- Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'setuptools'. No files were found to uninstall.
- Successfully installed setuptools-44.1.0
- Collecting virtualenv==16.7.10
- Downloading virtualenv-16.7.10-py2.py3-none-any.whl (3.4 MB)
- Installing collected packages: virtualenv
- Successfully installed virtualenv-16.7.10
- Cloning into 'configuration'...
- Switched to a new branch 'open-release/koa.master'
- Branch 'open-release/koa.master' set up to track remote branch 'open-release/koa.master' from 'origin'.
- Already up to date.
- Collecting ansible==2.8.15
- Downloading ansible-2.8.15.tar.gz (12.7 MB)
- Collecting awscli==1.16.309
- Downloading awscli-1.16.309-py2.py3-none-any.whl (2.7 MB)
- Collecting bcrypt==3.1.7
- Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB)
- Collecting boto3==1.10.45
- Downloading boto3-1.10.45-py2.py3-none-any.whl (128 kB)
- Collecting boto==2.48.0
- Downloading boto-2.48.0-py2.py3-none-any.whl (1.4 MB)
- Collecting botocore==1.13.45
- Downloading botocore-1.13.45-py2.py3-none-any.whl (5.9 MB)
- Collecting certifi==2020.6.20
- Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
- Collecting cffi==1.14.2
- Downloading cffi-1.14.2-cp38-cp38-manylinux1_x86_64.whl (410 kB)
- Requirement already satisfied: chardet==3.0.4 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 15)) (3.0.4)
- Collecting colorama==0.4.1
- Downloading colorama-0.4.1-py2.py3-none-any.whl (15 kB)
- Collecting cryptography==3.1
- Downloading cryptography-3.1-cp35-abi3-manylinux2010_x86_64.whl (2.6 MB)
- Collecting datadog==0.8.0
- Downloading datadog-0.8.0.tar.gz (35 kB)
- Collecting decorator==4.4.2
- Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
- Collecting docopt==0.6.2
- Downloading docopt-0.6.2.tar.gz (25 kB)
- Collecting docutils==0.15.2
- Downloading docutils-0.15.2-py3-none-any.whl (547 kB)
- Collecting ecdsa==0.13.3
- Downloading ecdsa-0.13.3-py2.py3-none-any.whl (52 kB)
- Collecting idna==2.7
- Downloading idna-2.7-py2.py3-none-any.whl (58 kB)
- Collecting jinja2==2.8
- Downloading Jinja2-2.8-py2.py3-none-any.whl (263 kB)
- Collecting jmespath==0.10.0
- Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
- Collecting markupsafe==1.1.1
- Downloading MarkupSafe-1.1.1-cp38-cp38-manylinux2010_x86_64.whl (32 kB)
- Collecting mysqlclient==1.4.6
- Downloading mysqlclient-1.4.6.tar.gz (85 kB)
- Collecting networkx==1.11
- Downloading networkx-1.11-py2.py3-none-any.whl (1.3 MB)
- Collecting paramiko==2.4.2
- Downloading paramiko-2.4.2-py2.py3-none-any.whl (193 kB)
- Collecting pathlib2==2.3.0
- Downloading pathlib2-2.3.0-py2.py3-none-any.whl (16 kB)
- Collecting prettytable==0.7.2
- Downloading prettytable-0.7.2.tar.bz2 (21 kB)
- Collecting pyasn1==0.4.8
- Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
- Collecting pycparser==2.20
- Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
- Collecting pycrypto==2.6.1
- Downloading pycrypto-2.6.1.tar.gz (446 kB)
- Collecting pymongo==3.9.0
- Downloading pymongo-3.9.0.tar.gz (701 kB)
- Collecting pynacl==1.4.0
- Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
- Collecting python-dateutil==2.8.1
- Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
- Collecting pyyaml==5.2
- Downloading PyYAML-5.2.tar.gz (265 kB)
- Collecting requests==2.20.0
- Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB)
- Collecting rsa==3.4.2
- Downloading rsa-3.4.2-py2.py3-none-any.whl (46 kB)
- Collecting s3transfer==0.2.1
- Downloading s3transfer-0.2.1-py2.py3-none-any.whl (70 kB)
- Collecting six==1.15.0
- Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
- Collecting urllib3==1.24.3
- Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB)
- Building wheels for collected packages: ansible, datadog, docopt, mysqlclient, prettytable, pycrypto, pymongo, pyyaml
- Building wheel for ansible (setup.py): started
- Building wheel for ansible (setup.py): finished with status 'done'
- Created wheel for ansible: filename=ansible-2.8.15-py3-none-any.whl size=12655864 sha256=353d9528d25b55aaec67c7650370eab70f361e30c3edbcfb65d6ca282098029f
- Stored in directory: /root/.cache/pip/wheels/b8/4f/b1/f04ed4594b48fe431ab23f30c5def2e5a533d2468b1b70461b
- Building wheel for datadog (setup.py): started
- Building wheel for datadog (setup.py): finished with status 'done'
- Created wheel for datadog: filename=datadog-0.8.0-py3-none-any.whl size=53164 sha256=eba921d12a5b3e55542f87ccb951f714d15a2a285140540ae42ae43437451662
- Stored in directory: /root/.cache/pip/wheels/25/6a/6d/16127797127d1d659fb6edf469b34218d20465d6d249bc84c7
- Building wheel for docopt (setup.py): started
- Building wheel for docopt (setup.py): finished with status 'done'
- Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13704 sha256=7fc5390e5c9323faa88dd9c7eb45f87943d55f435b142ab16179220a20eab172
- Stored in directory: /root/.cache/pip/wheels/56/ea/58/ead137b087d9e326852a851351d1debf4ada529b6ac0ec4e8c
- Building wheel for mysqlclient (setup.py): started
- Building wheel for mysqlclient (setup.py): finished with status 'done'
- Created wheel for mysqlclient: filename=mysqlclient-1.4.6-cp38-cp38-linux_x86_64.whl size=108191 sha256=52cc5226255e8de66df8e1e1faa030e0d65fa58e709ed137aa34c6df12177615
- Stored in directory: /root/.cache/pip/wheels/8a/3c/e6/347e293dbcd62352ee2806f68d624aae821bca7efe0070c963
- Building wheel for prettytable (setup.py): started
- Building wheel for prettytable (setup.py): finished with status 'done'
- Created wheel for prettytable: filename=prettytable-0.7.2-py3-none-any.whl size=13698 sha256=3f846bb3fbbbb6e05eab27f4d974d9541b8806c6ab5050047c393749e7724295
- Stored in directory: /root/.cache/pip/wheels/46/60/6c/bb25d05df22906786206e901e9354bb3061061191116768bee
- Building wheel for pycrypto (setup.py): started
- Building wheel for pycrypto (setup.py): finished with status 'done'
- Created wheel for pycrypto: filename=pycrypto-2.6.1-cp38-cp38-linux_x86_64.whl size=528389 sha256=45d0e26398e86579a8e7f1f8f73804654e59466d14cc464d199a66a4346a2e4a
- Stored in directory: /root/.cache/pip/wheels/d0/99/d0/0298ea019d63f1d63a0965b9944b719e875f9bd6ffc6dcf293
- Building wheel for pymongo (setup.py): started
- Building wheel for pymongo (setup.py): finished with status 'done'
- Created wheel for pymongo: filename=pymongo-3.9.0-cp38-cp38-linux_x86_64.whl size=476594 sha256=611207e6d30a2c5837a87a85ea74223d032050fddb30f0d81d25a61c6bf04c27
- Stored in directory: /root/.cache/pip/wheels/ed/e2/bc/26c49d0e5c08899bb67758e2f3c8b9742c44b7e95f4da3b2d1
- Building wheel for pyyaml (setup.py): started
- Building wheel for pyyaml (setup.py): finished with status 'done'
- Created wheel for pyyaml: filename=PyYAML-5.2-cp38-cp38-linux_x86_64.whl size=44208 sha256=80af52a2837eecbeaba63b6e7d4c26e33c9ebb33bbfa8a0a5142cc76287a7f2d
- Stored in directory: /root/.cache/pip/wheels/66/8c/82/1a5614c4cf7290946972709ebb54b579762043aed7f49c6620
- Successfully built ansible datadog docopt mysqlclient prettytable pycrypto pymongo pyyaml
- ERROR: launchpadlib 1.10.13 requires testresources, which is not installed.
- Installing collected packages: markupsafe, jinja2, pyyaml, six, pycparser, cffi, cryptography, ansible, colorama, jmespath, docutils, urllib3, python-dateutil, botocore, pyasn1, rsa, s3transfer, awscli, bcrypt, boto3, boto, certifi, decorator, idna, requests, datadog, docopt, ecdsa, mysqlclient, networkx, pynacl, paramiko, pathlib2, prettytable, pycrypto, pymongo
- Attempting uninstall: markupsafe
- Found existing installation: MarkupSafe 1.1.0
- Not uninstalling markupsafe at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'MarkupSafe'. No files were found to uninstall.
- Attempting uninstall: jinja2
- Found existing installation: Jinja2 2.10.1
- Not uninstalling jinja2 at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'Jinja2'. No files were found to uninstall.
- Attempting uninstall: pyyaml
- Found existing installation: PyYAML 5.3.1
- Not uninstalling pyyaml at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'PyYAML'. No files were found to uninstall.
- Attempting uninstall: six
- Found existing installation: six 1.14.0
- Not uninstalling six at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'six'. No files were found to uninstall.
- Attempting uninstall: cryptography
- Found existing installation: cryptography 2.8
- Not uninstalling cryptography at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'cryptography'. No files were found to uninstall.
- Attempting uninstall: colorama
- Found existing installation: colorama 0.4.3
- Not uninstalling colorama at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'colorama'. No files were found to uninstall.
- Attempting uninstall: urllib3
- Found existing installation: urllib3 1.25.8
- Not uninstalling urllib3 at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'urllib3'. No files were found to uninstall.
- Attempting uninstall: pyasn1
- Found existing installation: pyasn1 0.4.2
- Not uninstalling pyasn1 at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'pyasn1'. No files were found to uninstall.
- Attempting uninstall: certifi
- Found existing installation: certifi 2019.11.28
- Not uninstalling certifi at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'certifi'. No files were found to uninstall.
- Attempting uninstall: idna
- Found existing installation: idna 2.8
- Not uninstalling idna at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'idna'. No files were found to uninstall.
- Attempting uninstall: requests
- Found existing installation: requests 2.22.0
- Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'requests'. No files were found to uninstall.
- Attempting uninstall: mysqlclient
- Found existing installation: mysqlclient 1.4.4
- Not uninstalling mysqlclient at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'mysqlclient'. No files were found to uninstall.
- Attempting uninstall: pynacl
- Found existing installation: PyNaCl 1.3.0
- Not uninstalling pynacl at /usr/lib/python3/dist-packages, outside environment /usr
- Can't uninstall 'PyNaCl'. No files were found to uninstall.
- Successfully installed ansible-2.8.15 awscli-1.16.309 bcrypt-3.1.7 boto-2.48.0 boto3-1.10.45 botocore-1.13.45 certifi-2020.6.20 cffi-1.14.2 colorama-0.4.1 cryptography-3.1 datadog-0.8.0 decorator-4.4.2 docopt-0.6.2 docutils-0.15.2 ecdsa-0.13.3 idna-2.7 jinja2-2.8 jmespath-0.10.0 markupsafe-1.1.1 mysqlclient-1.4.6 networkx-1.11 paramiko-2.4.2 pathlib2-2.3.0 prettytable-0.7.2 pyasn1-0.4.8 pycparser-2.20 pycrypto-2.6.1 pymongo-3.9.0 pynacl-1.4.0 python-dateutil-2.8.1 pyyaml-5.2 requests-2.20.0 rsa-3.4.2 s3transfer-0.2.1 six-1.15.0 urllib3-1.24.3
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/edxapp/defaults/main.yml, line 16,
- column 1, found a duplicate dict key (EDXAPP_ENABLE_SPECIAL_EXAMS). Using last
- defined value only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 84, 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 84, 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 84, 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 84, column
- 3, found a duplicate dict key (SEARCH_SERVER_ES7). Using last defined value
- only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 84, column
- 3, found a duplicate dict key (MONGOHQ_URL). Using last defined value only.
- [WARNING]: While constructing a mapping from
- /var/tmp/configuration/playbooks/roles/forum/defaults/main.yml, line 84, column
- 3, found a duplicate dict key (MONGOID_AUTH_MECH). Using last defined value
- only.
- 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 ~/.ssh directory for non github users] *********************
- TASK [user : Build authorized_keys file for non github users] ******************
- 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 (ubuntu/debian)] **************************************
- skipping: [localhost]
- TASK [user : Restart ssh (redhat)] *********************************************
- 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={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': '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] => (item=/usr/local/share/ca-certificates)
- skipping: [localhost] => (item=/usr/sbin/update-ca-certificates)
- TASK [common : Download digicert intermediate Certificate] *********************
- 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 ppa for watchman package] ***********************************
- 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 : add deadsnakes repository] **************************************
- skipping: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- skipping: [localhost]
- TASK [common : Install role-independent packages useful for devstack.] *********
- 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={'path': '/edx/var'})
- skipping: [localhost] => (item={'path': '/edx/app'})
- skipping: [localhost] => (item={'path': '/edx/bin'})
- skipping: [localhost] => (item={'path': '/edx/etc'})
- skipping: [localhost] => (item={'path': '/edx/var/log', 'owner': 'syslog', 'group': 'syslog'})
- skipping: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
- skipping: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': '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 respective destination] *************
- skipping: [localhost] => (item={'src': 'edx_rsyslog.j2', 'dest': '/etc/rsyslog.d/99-edx.conf'})
- skipping: [localhost] => (item={'src': 'etc/logrotate.d/hourly/edx_logrotate.j2', 'dest': '/etc/logrotate.d/hourly/edx-services'})
- skipping: [localhost] => (item={'src': 'etc/cron.hourly/logrotate.j2', 'dest': '/etc/cron.hourly/logrotate', 'mode': '0555'})
- skipping: [localhost] => (item={'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2', 'dest': '/etc/logrotate.d/hourly/tracking.log'})
- 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={'key': 'home', 'value': {'path': '/edx/app/aws', 'owner': 'root', 'group': 'root', 'mode': '0755'}})
- skipping: [localhost] => (item={'key': 'logs', 'value': {'path': '/edx/var/log/aws', 'owner': 'syslog', 'group': 'syslog', 'mode': '0650'}})
- skipping: [localhost] => (item={'key': 'data', 'value': {'path': '/edx/var/aws', 'owner': 'root', 'group': 'root', 'mode': '0700'}})
- 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={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/etc/update-motd.d/10-help-text', 'ansible_loop_var': 'item'})
- skipping: [localhost] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/usr/share/landscape/landscape-sysinfo.wrapper', 'ansible_loop_var': 'item'})
- skipping: [localhost] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/etc/update-motd.d/51-cloudguest', 'ansible_loop_var': 'item'})
- skipping: [localhost] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/etc/update-motd.d/91-release-upgrade', 'ansible_loop_var': 'item'})
- 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 ~/.ssh directory for non github users] *********************
- TASK [user : Build authorized_keys file for non github users] ******************
- 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 (ubuntu/debian)] **************************************
- skipping: [localhost]
- TASK [user : Restart ssh (redhat)] *********************************************
- 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={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': '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] => (item=/usr/local/share/ca-certificates)
- ok: [localhost] => (item=/usr/sbin/update-ca-certificates)
- TASK [common : Download digicert intermediate Certificate] *********************
- 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 ppa for watchman package] ***********************************
- [WARNING]: conditional statements should not include jinja2 templating
- delimiters such as {{ }} or {% %}. Found: ansible_distribution in
- common_debian_variants and ({{ devstack | default(False) }} or {{
- edx_django_service_is_devstack | default(False) }})
- 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 : add deadsnakes repository] **************************************
- ok: [localhost]
- TASK [common : Install role-independent useful system packages] ****************
- ok: [localhost]
- TASK [common : Install role-independent packages useful for devstack.] *********
- [WARNING]: conditional statements should not include jinja2 templating
- delimiters such as {{ }} or {% %}. Found: ansible_distribution in
- common_debian_variants and ({{ devstack | default(False) }} or {{
- edx_django_service_is_devstack | default(False) }})
- 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] **************************************
- ok: [localhost] => (item={'path': '/edx/var'})
- ok: [localhost] => (item={'path': '/edx/app'})
- ok: [localhost] => (item={'path': '/edx/bin'})
- ok: [localhost] => (item={'path': '/edx/etc'})
- ok: [localhost] => (item={'path': '/edx/var/log', 'owner': 'syslog', 'group': 'syslog'})
- ok: [localhost] => (item={'path': '/etc/logrotate.d/hourly'})
- ok: [localhost] => (item={'path': '/etc/rsyslog.d/50-default.conf', 'state': 'absent'})
- TASK [common : upload sudo config for key forwarding as root] ******************
- ok: [localhost]
- TASK [common : pip install virtualenv] *****************************************
- ok: [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 respective destination] *************
- ok: [localhost] => (item={'src': 'edx_rsyslog.j2', 'dest': '/etc/rsyslog.d/99-edx.conf'})
- ok: [localhost] => (item={'src': 'etc/logrotate.d/hourly/edx_logrotate.j2', 'dest': '/etc/logrotate.d/hourly/edx-services'})
- ok: [localhost] => (item={'src': 'etc/cron.hourly/logrotate.j2', 'dest': '/etc/cron.hourly/logrotate', 'mode': '0555'})
- ok: [localhost] => (item={'src': 'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2', 'dest': '/etc/logrotate.d/hourly/tracking.log'})
- 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={'path': '/edx/app/nginx', 'owner': 'root', 'group': 'www-data'})
- changed: [localhost] => (item={'path': '/edx/app/nginx/sites-available', 'owner': 'root', 'group': 'www-data'})
- changed: [localhost] => (item={'path': '/etc/nginx/sites-enabled', 'owner': 'root', 'group': 'www-data'})
- changed: [localhost] => (item={'path': '/edx/app/nginx/conf.d', 'owner': 'root', 'group': 'www-data'})
- changed: [localhost] => (item={'path': '/edx/var/nginx', 'owner': 'www-data', 'group': 'root'})
- changed: [localhost] => (item={'path': '/edx/var/log/nginx', 'owner': 'www-data', 'group': 'root'})
- changed: [localhost] => (item={'path': '/edx/var/nginx/server-static', 'owner': 'www-data', 'group': '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={'src': 'etc/nginx/nginx.conf.j2', 'dest': '/etc/nginx/nginx.conf', 'group': 'www-data', 'mode': '0644'})
- changed: [localhost] => (item={'src': 'edx/app/nginx/sites-available/maps.j2', 'dest': '/edx/app/nginx/sites-available/maps', 'group': 'root', 'mode': '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 ['certs', 'cms', 'lms', 'forum', '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 ['certs', 'cms', 'lms', 'forum', '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={'file': 'rate-limit.html', 'lang': 'en', 'title': 'Rate limit exceeded', 'msg': 'We are aware of the error and are working to find a resolution.', 'img': 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'img_alt': '', 'heading': 'Uh oh, we are having some server issues..', 'style_h1': 'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', 'style_p_h2': 'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', 'style_p': 'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', 'style_div': 'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;'})
- changed: [localhost] => (item={'file': 'server-error.html', 'lang': 'en', 'title': 'Server error', 'msg': 'We are aware of the error and are working to find a resolution.', 'img': 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Pendleton_Sinking_Ship.jpg/640px-Pendleton_Sinking_Ship.jpg', 'img_alt': '', 'heading': 'Uh oh, we are having some server issues..', 'style_h1': 'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; font-size: 2.0em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; color: #000000;', 'style_p_h2': 'font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; margin-bottom: .3em; line-height: 1.25em; text-rendering: optimizeLegibility; font-weight: bold; font-size: 1.8em; color: #5b5e63;', 'style_p': 'font-family: Georgia,Cambria,"Times New Roman",Times,serif; margin: auto; margin-bottom: 1em; font-weight: 200; line-height: 1.4em; font-size: 1.1em; max-width: 80%;', 'style_div': 'margin: auto; width: 800px; text-align: center; padding:20px 0px 0px 0px;'})
- TASK [nginx : Copy static files] ***********************************************
- TASK [nginx : Write out htpasswd file] *****************************************
- [DEPRECATION WARNING]: evaluating False as a bare variable, this behaviour
- will go away and you might need to add |bool to the expression in the future.
- Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature will be
- removed in version 2.12. Deprecation warnings can be disabled by setting
- deprecation_warnings=False in ansible.cfg.
- skipping: [localhost] => (item={'name': 'XAaQdF29mPtCwPe6Rttec0WKJSLb1FTaASE', 'password': 'ftOtkpHy0JYeJXSTXG7M5jKbVLl1k926YV2', 'state': 'present'})
- TASK [nginx : Write out htpasswd file for prospectus preview pages] ************
- skipping: [localhost] => (item={'name': 'XAaQdF29mPtCwPe6Rttec0WKJSLb1FTaASE', 'password': 'ftOtkpHy0JYeJXSTXG7M5jKbVLl1k926YV2', 'state': 'present'})
- 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={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': '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={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': '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.013084", "end": "2021-05-20 05:37:19.766224", "msg": "non-zero return code", "rc": 1, "start": "2021-05-20 05:37:19.753140", "stderr": "dpkg-query: package 'mysql-server' is not installed and no information is available\nUse dpkg --info (= dpkg-deb --info) to examine archive files.", "stderr_lines": ["dpkg-query: package 'mysql-server' is not installed and no information is available", "Use dpkg --info (= dpkg-deb --info) to examine archive files."], "stdout": "", "stdout_lines": []}
- ...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 dependencies] **************************************
- ok: [localhost]
- TASK [mysql : Install mysql] ***************************************************
- skipping: [localhost]
- TASK [mysql : Set default character sets and collations] ***********************
- skipping: [localhost]
- TASK [mysql : add the mysql signing key] ***************************************
- changed: [localhost]
- TASK [mysql : add the mysql-5.7 repo to the sources list] **********************
- changed: [localhost]
- TASK [mysql : install mysql-5.7-client] ****************************************
- changed: [localhost]
- TASK [mysql : install mysql-5.7-community-server] ******************************
- changed: [localhost]
- TASK [mysql : install mysql-5.7-server] ****************************************
- ok: [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=o-edx)
- 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=['postfix', '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={'db': 'ecommerce', 'user': 'ecomm001', 'pass': '4vOKy610Ys7EBmSCYE3bhWHeGrSrF6Ajkrm'})
- changed: [localhost] => (item={'db': 'dashboard', 'user': 'rosencrantz', 'pass': 'hCkklJVQart1LasH3awbIp90zInWdicNVAg'})
- changed: [localhost] => (item={'db': 'xqueue', 'user': 'xqueue001', 'pass': 'o9kR3AjnJBE7O5XR6cdd7Dw4Rl1YpZvTiH3'})
- changed: [localhost] => (item={'db': 'edxapp', 'user': 'edxapp001', 'pass': 'RTU0MmpKBCcpi3sABUTKOyv4RHaqFD2aVSR'})
- changed: [localhost] => (item={'db': 'edxapp_csmh', 'user': 'edxapp_cmsh001', 'pass': 'yQ0C2yqkS5hudqj50363V2LB8MOQfiKy4Gw'})
- skipping: [localhost] => (item={'db': '', 'user': '', 'pass': 'efIYtJBvPAbMThlftIHL1Q4q6xRcSTkgmOf'})
- skipping: [localhost] => (item={'db': '', 'user': '', 'pass': 'PVeUsqOb7xYBhligdemLSt3dkMm4zdZqh0G'})
- changed: [localhost] => (item={'db': 'blockstore', 'user': 'blkstr01', 'pass': 'password'})
- skipping: [localhost] => (item={'db': '', 'user': '', 'pass': 'Bd7jrYuR4VDQZ2OixV74jVrTDfCU1oSD51e'})
- changed: [localhost] => (item={'db': 'discovery', 'user': 'discov001', 'pass': 'OSLyJAFt5VxTt9QNyO0U0lOodJEuUmnxFAB'})
- skipping: [localhost] => (item={'db': '', 'user': '', 'pass': ''})
- skipping: [localhost] => (item={'db': '', 'user': '', 'pass': ''})
- 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={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': '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 : Check disk size] *********************************************
- 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={'mount': '/', 'device': '/dev/mapper/ubuntu--vg-ubuntu--lv', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 21003583488, 'size_available': 12161814528, 'block_size': 4096, 'block_total': 5127828, 'block_available': 2969193, 'block_used': 2158635, 'inode_total': 1310720, 'inode_available': 1172839, 'inode_used': 137881, 'uuid': 'a0f94120-ab93-4ca9-ace8-54b4e2eb8488'})
- skipping: [localhost] => (item={'mount': '/boot', 'device': '/dev/sda2', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 1023303680, 'size_available': 842833920, 'block_size': 4096, 'block_total': 249830, 'block_available': 205770, 'block_used': 44060, 'inode_total': 65536, 'inode_available': 65224, 'inode_used': 312, 'uuid': '8c994790-58f1-4976-a13d-78c6024bf1d1'})
- skipping: [localhost] => (item={'mount': '/snap/snapd/10707', 'device': '/dev/loop2', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 32636928, 'size_available': 0, 'block_size': 131072, 'block_total': 249, 'block_available': 0, 'block_used': 249, 'inode_total': 472, 'inode_available': 0, 'inode_used': 472, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/core18/1944', 'device': '/dev/loop1', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10809, 'inode_available': 0, 'inode_used': 10809, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/lxd/19188', 'device': '/dev/loop0', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 73400320, 'size_available': 0, 'block_size': 131072, 'block_total': 560, 'block_available': 0, 'block_used': 560, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/snapd/11841', 'device': '/dev/loop3', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 33685504, 'size_available': 0, 'block_size': 131072, 'block_total': 257, 'block_available': 0, 'block_used': 257, 'inode_total': 474, 'inode_available': 0, 'inode_used': 474, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/core18/2066', 'device': '/dev/loop4', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10794, 'inode_available': 0, 'inode_used': 10794, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/lxd/20326', 'device': '/dev/loop5', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 70909952, 'size_available': 0, 'block_size': 131072, 'block_total': 541, 'block_available': 0, 'block_used': 541, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
- TASK [mount_ebs : Create filesystem] *******************************************
- TASK [mount_ebs : Regather facts to get UUIDs of freshly formatted disks] ******
- ok: [localhost]
- TASK [mount_ebs : Unmount disks mounted to the wrong place] ********************
- skipping: [localhost] => (item={'mount': '/', 'device': '/dev/mapper/ubuntu--vg-ubuntu--lv', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 21003583488, 'size_available': 7617294336, 'block_size': 4096, 'block_total': 5127828, 'block_available': 1859691, 'block_used': 3268137, 'inode_total': 1310720, 'inode_available': 1171067, 'inode_used': 139653, 'uuid': 'a0f94120-ab93-4ca9-ace8-54b4e2eb8488'})
- skipping: [localhost] => (item={'mount': '/boot', 'device': '/dev/sda2', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 1023303680, 'size_available': 842833920, 'block_size': 4096, 'block_total': 249830, 'block_available': 205770, 'block_used': 44060, 'inode_total': 65536, 'inode_available': 65224, 'inode_used': 312, 'uuid': '8c994790-58f1-4976-a13d-78c6024bf1d1'})
- skipping: [localhost] => (item={'mount': '/snap/snapd/10707', 'device': '/dev/loop2', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 32636928, 'size_available': 0, 'block_size': 131072, 'block_total': 249, 'block_available': 0, 'block_used': 249, 'inode_total': 472, 'inode_available': 0, 'inode_used': 472, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/core18/1944', 'device': '/dev/loop1', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10809, 'inode_available': 0, 'inode_used': 10809, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/lxd/19188', 'device': '/dev/loop0', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 73400320, 'size_available': 0, 'block_size': 131072, 'block_total': 560, 'block_available': 0, 'block_used': 560, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/snapd/11841', 'device': '/dev/loop3', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 33685504, 'size_available': 0, 'block_size': 131072, 'block_total': 257, 'block_available': 0, 'block_used': 257, 'inode_total': 474, 'inode_available': 0, 'inode_used': 474, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/core18/2066', 'device': '/dev/loop4', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10794, 'inode_available': 0, 'inode_used': 10794, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/lxd/20326', 'device': '/dev/loop5', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 70909952, 'size_available': 0, 'block_size': 131072, 'block_total': 541, 'block_available': 0, 'block_used': 541, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
- TASK [mount_ebs : Check that we don't want to unmount disks to change mountpoint when UNMOUNT_DISKS is false] ***
- skipping: [localhost] => (item={'mount': '/', 'device': '/dev/mapper/ubuntu--vg-ubuntu--lv', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 21003583488, 'size_available': 7617294336, 'block_size': 4096, 'block_total': 5127828, 'block_available': 1859691, 'block_used': 3268137, 'inode_total': 1310720, 'inode_available': 1171067, 'inode_used': 139653, 'uuid': 'a0f94120-ab93-4ca9-ace8-54b4e2eb8488'})
- skipping: [localhost] => (item={'mount': '/boot', 'device': '/dev/sda2', 'fstype': 'ext4', 'options': 'rw,relatime', 'size_total': 1023303680, 'size_available': 842833920, 'block_size': 4096, 'block_total': 249830, 'block_available': 205770, 'block_used': 44060, 'inode_total': 65536, 'inode_available': 65224, 'inode_used': 312, 'uuid': '8c994790-58f1-4976-a13d-78c6024bf1d1'})
- skipping: [localhost] => (item={'mount': '/snap/snapd/10707', 'device': '/dev/loop2', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 32636928, 'size_available': 0, 'block_size': 131072, 'block_total': 249, 'block_available': 0, 'block_used': 249, 'inode_total': 472, 'inode_available': 0, 'inode_used': 472, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/core18/1944', 'device': '/dev/loop1', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10809, 'inode_available': 0, 'inode_used': 10809, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/lxd/19188', 'device': '/dev/loop0', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 73400320, 'size_available': 0, 'block_size': 131072, 'block_total': 560, 'block_available': 0, 'block_used': 560, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/snapd/11841', 'device': '/dev/loop3', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 33685504, 'size_available': 0, 'block_size': 131072, 'block_total': 257, 'block_available': 0, 'block_used': 257, 'inode_total': 474, 'inode_available': 0, 'inode_used': 474, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/core18/2066', 'device': '/dev/loop4', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 58195968, 'size_available': 0, 'block_size': 131072, 'block_total': 444, 'block_available': 0, 'block_used': 444, 'inode_total': 10794, 'inode_available': 0, 'inode_used': 10794, 'uuid': 'N/A'})
- skipping: [localhost] => (item={'mount': '/snap/lxd/20326', 'device': '/dev/loop5', 'fstype': 'squashfs', 'options': 'ro,nodev,relatime', 'size_total': 70909952, 'size_available': 0, 'block_size': 131072, 'block_total': 541, 'block_available': 0, 'block_used': 541, 'inode_total': 1578, 'inode_available': 0, 'inode_used': 1578, 'uuid': 'N/A'})
- TASK [mount_ebs : Mount disks] *************************************************
- TASK [mongo_3_6 : Add disable transparent huge pages systemd service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
- changed: [localhost]
- TASK [mongo_3_6 : Enable/start disable transparent huge pages service (http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/)] ***
- changed: [localhost]
- TASK [mongo_3_6 : install python pymongo for mongo_user ansible module] ********
- changed: [localhost]
- TASK [mongo_3_6 : add source list to install libssl1.0.0] **********************
- changed: [localhost]
- TASK [mongo_3_6 : add the mongodb signing key] *********************************
- changed: [localhost]
- TASK [mongo_3_6 : add the mongodb repo to the sources list] ********************
- skipping: [localhost]
- TASK [mongo_3_6 : add the mongodb repo to the sources list] ********************
- changed: [localhost]
- TASK [mongo_3_6 : 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=['mongodb-org=3.6.17', 'mongodb-org-server=3.6.17', 'mongodb-org-shell=3.6.17', 'mongodb-org-mongos=3.6.17', 'mongodb-org-tools=3.6.17'])
- TASK [mongo_3_6 : remove source list used to install libssl1.0.0] **************
- changed: [localhost]
- TASK [mongo_3_6 : 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_6 : determine if there is a replica set already] *****************
- fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/root/.ansible/tmp/ansible-tmp-1621489482.7412202-25825-39232660424555/AnsiballZ_mongodb_rs_status:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\n import imp\nTraceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1621489482.7412202-25825-39232660424555/AnsiballZ_mongodb_rs_status\", line 114, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1621489482.7412202-25825-39232660424555/AnsiballZ_mongodb_rs_status\", line 106, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1621489482.7412202-25825-39232660424555/AnsiballZ_mongodb_rs_status\", line 49, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/usr/lib/python3.8/imp.py\", line 234, in load_module\n return load_source(name, filename, file)\n File \"/usr/lib/python3.8/imp.py\", line 169, in load_source\n module = _exec(spec, sys.modules[name])\n File \"<frozen importlib._bootstrap>\", line 604, in _exec\n File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/tmp/ansible_mongodb_rs_status_payload_4iz7tycv/__main__.py\", line 133, in <module>\n File \"/tmp/ansible_mongodb_rs_status_payload_4iz7tycv/__main__.py\", line 115, in main\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\", line 529, in command\n with client._socket_for_reads(read_preference) as (sock_info, slave_ok):\n File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n return next(self.gen)\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 982, in _socket_for_reads\n server = topology.select_server(read_preference)\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 222, in select_server\n return random.choice(self.select_servers(selector,\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 182, in select_servers\n server_descriptions = self._select_servers_loop(\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 198, in _select_servers_loop\n raise ServerSelectionTimeoutError(\npymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
- ...ignoring
- TASK [mongo_3_6 : Try checking the replica set with no user/pass in case this is a new box] ***
- fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\n import imp\nTraceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status\", line 114, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status\", line 106, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status\", line 49, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/usr/lib/python3.8/imp.py\", line 234, in load_module\n return load_source(name, filename, file)\n File \"/usr/lib/python3.8/imp.py\", line 169, in load_source\n module = _exec(spec, sys.modules[name])\n File \"<frozen importlib._bootstrap>\", line 604, in _exec\n File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/tmp/ansible_mongodb_rs_status_payload_kfawj4_q/__main__.py\", line 133, in <module>\n File \"/tmp/ansible_mongodb_rs_status_payload_kfawj4_q/__main__.py\", line 115, in main\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/database.py\", line 529, in command\n with client._socket_for_reads(read_preference) as (sock_info, slave_ok):\n File \"/usr/lib/python3.8/contextlib.py\", line 113, in __enter__\n return next(self.gen)\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py\", line 982, in _socket_for_reads\n server = topology.select_server(read_preference)\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 222, in select_server\n return random.choice(self.select_servers(selector,\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 182, in select_servers\n server_descriptions = self._select_servers_loop(\n File \"/usr/local/lib/python3.8/dist-packages/pymongo/topology.py\", line 198, in _select_servers_loop\n raise ServerSelectionTimeoutError(\npymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
- ...ignoring
- TASK [mongo_3_6 : set facts that default to not initializing a replica set] ****
- ok: [localhost]
- TASK [mongo_3_6 : track if you have a replica set] *****************************
- ok: [localhost]
- TASK [mongo_3_6 : 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_6 : copy mongodb key file] ***************************************
- changed: [localhost]
- TASK [mongo_3_6 : copy configuration template] *********************************
- changed: [localhost]
- TASK [mongo_3_6 : determine if backup tasks should run] ************************
- [WARNING]: conditional statements should not include jinja2 templating
- delimiters such as {{ }} or {% %}. Found: MONGO_BACKUP_ENABLED and '{{
- ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0]) }}' == '{{
- MONGO_BACKUP_NODE }}'
- skipping: [localhost]
- TASK [mongo_3_6 : install logrotate configuration] *****************************
- changed: [localhost]
- TASK [mongo_3_6 : install prereqs for backup script] ***************************
- [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: ['jq']` 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 [mongo_3_6 : install backup script] ***************************************
- skipping: [localhost]
- TASK [mongo_3_6 : add mongo backup script to cron] *****************************
- skipping: [localhost]
- TASK [mongo_3_6 : format mongo backup volume] **********************************
- skipping: [localhost]
- TASK [mongo_3_6 : restart mongo service if we changed our configuration or upgraded mongo] ***
- changed: [localhost]
- TASK [mongo_3_6 : wait for mongo server to start] ******************************
- ok: [localhost]
- TASK [mongo_3_6 : create super user] *******************************************
- changed: [localhost]
- TASK [mongo_3_6 : Unset our skip initializing replica set fact so that mongod.conf gets a replica set] ***
- ok: [localhost]
- TASK [mongo_3_6 : re-copy configuration template with replica set enabled] *****
- changed: [localhost]
- TASK [mongo_3_6 : restart mongo service] ***************************************
- changed: [localhost]
- TASK [mongo_3_6 : wait for mongo server to start] ******************************
- ok: [localhost]
- TASK [mongo_3_6 : configure replica set] ***************************************
- [WARNING]: Module did not set no_log for password
- changed: [localhost]
- TASK [mongo_3_6 : Wait for the replica set to update and (if needed) elect a primary] ***
- ok: [localhost]
- TASK [mongo_3_6 : create mongodb users in a replica set] ***********************
- changed: [localhost] => (item={'user': 'cs_comments_service', 'password': 'zk3cdNFo5qrBQWXnk0qNYJ5PPDfM2qttmTP', 'database': 'cs_comments_service', 'roles': 'readWrite'})
- changed: [localhost] => (item={'user': 'edxapp', 'password': 'R0iGK5V6gMVKJqwFxd6kIFicO6d2SQw5IV0', 'database': 'edxapp', 'roles': 'readWrite'})
- TASK [mongo_3_6 : ensure mongo starts at boot time] ****************************
- changed: [localhost]
- TASK [mongo_3_6 : add serverStatus logging script] *****************************
- changed: [localhost]
- TASK [mongo_3_6 : add serverStatus logging script to cron] *********************
- 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={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': '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 [redis : Install redis system packages] ***********************************
- changed: [localhost]
- TASK [redis : Update redis configuration] **************************************
- 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={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': '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={'regexp': '^update_cmd', 'line': 'update_cmd = security'})
- skipping: [localhost] => (item={'regexp': '^apply_updates', 'line': '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={'path': 'taggers/maxent_treebank_pos_tagger', 'url': 'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip'})
- changed: [localhost] => (item={'path': 'corpora/stopwords', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip'})
- ok: [localhost] => (item={'path': 'corpora/wordnet', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip'})
- TASK [nltk : download nltk data] ***********************************************
- changed: [localhost] => (item={'path': 'taggers/maxent_treebank_pos_tagger', 'url': 'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip'})
- changed: [localhost] => (item={'path': 'corpora/stopwords', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip'})
- changed: [localhost] => (item={'path': 'corpora/wordnet', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip'})
- 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={'path': 'taggers/maxent_treebank_pos_tagger', 'url': 'http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip'})
- changed: [localhost] => (item={'path': 'corpora/stopwords', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip'})
- changed: [localhost] => (item={'path': 'corpora/wordnet', 'url': 'http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip'})
- [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={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': '/edx/var/edx-themes/edx-themes', 'ansible_loop_var': 'item'})
- 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={'path': '/edx/app/edxapp'})
- changed: [localhost] => (item={'path': '/edx/app/edxapp/.ssh'})
- changed: [localhost] => (item={'path': '/edx/app/edxapp/venvs'})
- changed: [localhost] => (item={'path': '/edx/var/edxapp/themes'})
- changed: [localhost] => (item={'path': '/edx/var/edxapp/staticfiles'})
- changed: [localhost] => (item={'path': '/edx/var/edxapp/course_static'})
- changed: [localhost] => (item={'path': '/edx/var/edxapp', 'mode': '0775'})
- changed: [localhost] => (item={'path': '/edx/var/edxapp/course_repos', 'mode': '0775'})
- changed: [localhost] => (item={'path': '/edx/var/edxapp/export_course_repos', 'mode': '0775'})
- TASK [edxapp : write devstack script] ******************************************
- skipping: [localhost]
- TASK [edxapp : add paver autocomplete to bashrc] *******************************
- 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=['s3cmd', 'pkg-config', 'g++', 'apparmor-utils', 'curl', 'ntp', 'libfreetype6-dev', 'libffi-dev', 'python3-dev', 'libsqlite3-dev', 'ipython3'])
- 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 : add deadsnakes repo] ********************************************
- ok: [localhost]
- TASK [edxapp : install python3.8] **********************************************
- ok: [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] **********************
- skipping: [localhost]
- TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
- skipping: [localhost]
- TASK [edxapp : code sandbox | Use libblas.so.3 in Ubuntu] **********************
- changed: [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] ********************
- skipping: [localhost]
- TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
- skipping: [localhost]
- TASK [edxapp : code sandbox | Use liblapack.so.3 in Ubuntu] ********************
- changed: [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={'src': 'edxapp_env.j2', 'dest': '/edx/app/edxapp/edxapp_env', 'owner': 'edxapp', 'group': 'www-data', 'mode': '0644'})
- changed: [localhost] => (item={'src': 'newrelic.ini.j2', 'dest': '/edx/app/edxapp/newrelic.ini', 'owner': 'edxapp', 'group': 'www-data', 'mode': '0644'})
- changed: [localhost] => (item={'src': 'git_ssh.sh.j2', 'dest': '/tmp/edxapp_git_ssh.sh', 'owner': 'edxapp', 'group': 'edxapp', 'mode': '0750'})
- changed: [localhost] => (item={'src': 'boto.j2', 'dest': '/edx/app/edxapp/.boto', 'owner': 'edxapp', 'group': 'www-data', 'mode': '0644'})
- 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={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/discussion', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/lms-main-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 65, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/lms-course.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 63, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme/_variables.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 87, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme/_variables-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 90, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 91, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- TASK [simple_theme : Create default skeleton (files)] **************************
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/discussion', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/lms-main-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 65, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/lms-course.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/lms-course.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 63, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme/_variables.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 87, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/partials/lms/theme/_variables-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 90, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton', 'path': 'lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/../files/default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 91, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- 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/_lms-overrides.scss)
- TASK [simple_theme : Create directories for static files to be copied] *********
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/js', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/js/myscript.js', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 42, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images/favicon.ico', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 34894, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images/logo.png', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 928, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms/images', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms/images/logo.png', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 1494, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/discussion', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/lms-main-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 65, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/lms-course.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 63, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 87, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 90, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 91, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- TASK [simple_theme : Copy static files (adding "static/")] *********************
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/js', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/js/myscript.js', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/js/myscript.js', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 42, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images/favicon.ico', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/favicon.ico', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 34894, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/lms/images/logo.png', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/lms/images/logo.png', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 928, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms/images', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'example_static_dir/cms/images/logo.png', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/example_static_dir/cms/images/logo.png', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 1494, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/discussion', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/lms-main-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-main-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 65, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/lms-course.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/lms-course.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 63, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme', 'state': 'directory', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0775', 'size': 4096, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/partials/lms/theme/_variables.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 87, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/partials/lms/theme/_variables-v1.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 90, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- skipping: [localhost] => (item={'root': '/var/tmp/configuration/playbooks/roles/simple_theme/files/', 'path': 'default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'state': 'file', 'src': '/var/tmp/configuration/playbooks/roles/simple_theme/files/default_skeleton/lms/static/sass/discussion/lms-discussion-bootstrap.scss', 'uid': 1000, 'gid': 1000, 'owner': 'taha', 'group': 'taha', 'mode': '0664', 'size': 91, 'mtime': 1621488810.5329356, 'ctime': 1621488810.5329356})
- 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/py35.txt)
- TASK [edxapp : Updating requirement files for git mirror] **********************
- skipping: [localhost] => (item={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'ansible_loop_var': 'item'})
- changed: [localhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'mode': '0664', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1003, 'gid': 1004, 'size': 22364, 'inode': 1203362, 'dev': 64768, 'nlink': 1, 'atime': 1621491951.9867284, 'mtime': 1621491951.9867284, 'ctime': 1621491951.9867284, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': True, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 48, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'edxapp', 'gr_name': 'edxapp', 'checksum': '0da825170158979c2f49d82b67f1fade17267682', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '2860380612', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'ansible_loop_var': 'item'})
- changed: [localhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/py35.txt', 'mode': '0664', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1003, 'gid': 1004, 'size': 2477, 'inode': 1203357, 'dev': 64768, 'nlink': 1, 'atime': 1621491951.9867284, 'mtime': 1621491951.9867284, 'ctime': 1621491951.9867284, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': True, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'edxapp', 'gr_name': 'edxapp', 'checksum': 'ad3c5914df5b17e526d1138fca061688a8fe8957', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '344382812', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/py35.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx-sandbox/py35.txt', 'ansible_loop_var': 'item'})
- [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={'changed': False, 'stat': {'exists': False}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx/custom.txt', 'ansible_loop_var': 'item'})
- changed: [localhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'mode': '0664', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1003, 'gid': 1004, 'size': 22364, 'inode': 1200143, 'dev': 64768, 'nlink': 1, 'atime': 1621491956.2187061, 'mtime': 1621491956.2187061, 'ctime': 1621491956.2187061, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': True, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 48, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'edxapp', 'gr_name': 'edxapp', 'checksum': '0da825170158979c2f49d82b67f1fade17267682', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '4236190500', 'attributes': ['extents'], 'attr_flags': 'e'}, 'invocation': {'module_args': {'path': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1', 'get_md5': None}}, 'failed': False, 'item': '/edx/app/edxapp/edx-platform/requirements/edx/base.txt', 'ansible_loop_var': 'item'})
- TASK [edxapp : install python private requirements] ****************************
- skipping: [localhost] => (item={'name': 'xblock-problem-builder==4.0.0'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/oppia/xblock.git@3b5c17c5832b4f8ef132c6bbf48da8a86df43b3d#egg=oppia-xblock', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/schoolyourself-xblock.git@c3f7fecefa8e164a0f02ef6264d00e65e9c5a6de#egg=schoolyourself-xblock', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/ConceptXBlock.git@a8e3cff03c3b46dad093db069b12c6fba1aed327#egg=concept-xblock', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/AudioXBlock.git@f668a4e231c5cdc338eef6bd148e57a02b48200b#egg=audio-xblock', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/AnimationXBlock.git@c950ffdda2f69effda93bf03df8646f61d3ffada#egg=animation-xblock', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/ubc/[email protected]#egg=ubcpi-xblock', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/open-craft/xblock-vectordraw.git@76976425356dfc7f13570f354c0c438db84c2840#egg=xblock-vectordraw==0.3.0', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/open-craft/xblock-activetable.git@013003aa3ce28f0ae03b8227dc3a6daa4e19997d#egg=xblock-activetable', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'edx-zoom==1.8'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-qualtrics-survey.git@d3d2773bcf453d14a0626f813911dc308ddce572#egg=xblock_qualtrics_survey', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-in-video-quiz.git@c1cc11f87285cd885d76604145433dae87434a6d#egg=invideoquiz-xblock', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-submit-and-compare@28751ed01c4d4ae5f10f9ddee710e76f8b8ae640#egg=xblock-submit-and-compare', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-free-text-response@19ed5bb4b9aece19e9b1c62995a09f73f893f536#egg=xblock-free-text-response', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-sql-grader@56b13ea9719d5c6e910ec2edf98b35dda0ba9c57#egg=xblock-sql-grader', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/edx/xblock-image-modal@20262ae713bf307f7b13afe73c8a32c5c56b4fd6#egg=xblock-image-modal', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/open-craft/labxchange-xblocks.git@5352e93cb26c789aecbf92fabf210179483616a2#egg=labxchange-xblocks', 'extra_args': '-e'})
- skipping: [localhost] => (item={'name': 'git+https://github.com/open-craft/lx-pathway-plugin.git@337abf249b7c5ecc1e78a44d2e639e1ab65f2085#egg=lx-pathway-plugin', 'extra_args': '-e'})
- 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/py35.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 : Create the virtualenv to install the Python sandbox requirements] ***
- changed: [localhost]
- TASK [edxapp : Pin pip to a specific version.] *********************************
- 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 : code sandbox | test enforcement 1] ******************************
- changed: [localhost]
- TASK [edxapp : code sandbox | test enforcement 2] ******************************
- changed: [localhost]
- TASK [edxapp : code sandbox | test enforcement 3] ******************************
- 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] *****************************
- skipping: [localhost] => (item=['lms', 'env'])
- skipping: [localhost] => (item=['lms', 'auth'])
- skipping: [localhost] => (item=['cms', 'env'])
- skipping: [localhost] => (item=['cms', '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=['edxapp-migrate', 'lms'])
- changed: [localhost] => (item=['edxapp-migrate', 'cms'])
- changed: [localhost] => (item=['edxapp-runserver', 'lms'])
- changed: [localhost] => (item=['edxapp-runserver', 'cms'])
- changed: [localhost] => (item=['edxapp-shell', 'lms'])
- changed: [localhost] => (item=['edxapp-shell', 'cms'])
- TASK [edxapp : create script to compile and update assets] *********************
- changed: [localhost]
- TASK [edxapp : migrate] ********************************************************
- failed: [localhost] (item=lms) => {"ansible_loop_var": "item", "changed": true, "cmd": ["/edx/bin/edxapp-migrate-lms"], "delta": "0:01:01.155515", "end": "2021-05-20 07:18:39.224244", "item": "lms", "msg": "non-zero return code", "rc": 1, "start": "2021-05-20 07:17:38.068729", "stderr": "2021-05-20 07:18:15,704 WARNING 44479 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly\n prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(\n\nTraceback (most recent call last):\n File \"manage.py\", line 120, in <module>\n startup.run()\n File \"/edx/app/edxapp/edx-platform/lms/startup.py\", line 20, in run\n django.setup()\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/__init__.py\", line 24, in setup\n apps.populate(settings.INSTALLED_APPS)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/registry.py\", line 91, in populate\n app_config = AppConfig.create(entry)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/config.py\", line 90, in create\n module = import_module(entry)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py\", line 127, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 975, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 671, in _load_unlocked\n File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 11, in <module>\n class CoursegraphConfig(AppConfig):\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 17, in CoursegraphConfig\n from openedx.core.djangoapps.coursegraph import tasks\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/tasks.py\", line 250, in <module>\n @set_code_owner_attribute\nNameError: name 'set_code_owner_attribute' is not defined", "stderr_lines": ["2021-05-20 07:18:15,704 WARNING 44479 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly", " prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(", "", "Traceback (most recent call last):", " File \"manage.py\", line 120, in <module>", " startup.run()", " File \"/edx/app/edxapp/edx-platform/lms/startup.py\", line 20, in run", " django.setup()", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/__init__.py\", line 24, in setup", " apps.populate(settings.INSTALLED_APPS)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/registry.py\", line 91, in populate", " app_config = AppConfig.create(entry)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/config.py\", line 90, in create", " module = import_module(entry)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py\", line 127, in import_module", " return _bootstrap._gcd_import(name[level:], package, level)", " File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import", " File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load", " File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed", " File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import", " File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load", " File \"<frozen importlib._bootstrap>\", line 975, in _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line 671, in _load_unlocked", " File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module", " File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 11, in <module>", " class CoursegraphConfig(AppConfig):", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 17, in CoursegraphConfig", " from openedx.core.djangoapps.coursegraph import tasks", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/tasks.py\", line 250, in <module>", " @set_code_owner_attribute", "NameError: name 'set_code_owner_attribute' is not defined"], "stdout": "", "stdout_lines": []}
- failed: [localhost] (item=cms) => {"ansible_loop_var": "item", "changed": true, "cmd": ["/edx/bin/edxapp-migrate-cms"], "delta": "0:00:02.860943", "end": "2021-05-20 07:18:42.378986", "item": "cms", "msg": "non-zero return code", "rc": 1, "start": "2021-05-20 07:18:39.518043", "stderr": "2021-05-20 07:18:41,069 WARNING 44527 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly\n prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(\n\nTraceback (most recent call last):\n File \"manage.py\", line 120, in <module>\n startup.run()\n File \"/edx/app/edxapp/edx-platform/cms/startup.py\", line 20, in run\n django.setup()\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/__init__.py\", line 24, in setup\n apps.populate(settings.INSTALLED_APPS)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/registry.py\", line 91, in populate\n app_config = AppConfig.create(entry)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/config.py\", line 90, in create\n module = import_module(entry)\n File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py\", line 127, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 975, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 671, in _load_unlocked\n File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 11, in <module>\n class CoursegraphConfig(AppConfig):\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 17, in CoursegraphConfig\n from openedx.core.djangoapps.coursegraph import tasks\n File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/tasks.py\", line 250, in <module>\n @set_code_owner_attribute\nNameError: name 'set_code_owner_attribute' is not defined", "stderr_lines": ["2021-05-20 07:18:41,069 WARNING 44527 [py.warnings] [user None] [ip None] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/newrelic/console.py:84: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly", " prototype = wrapper.__name__[3:] + ' ' + inspect.formatargspec(", "", "Traceback (most recent call last):", " File \"manage.py\", line 120, in <module>", " startup.run()", " File \"/edx/app/edxapp/edx-platform/cms/startup.py\", line 20, in run", " django.setup()", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/__init__.py\", line 24, in setup", " apps.populate(settings.INSTALLED_APPS)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/registry.py\", line 91, in populate", " app_config = AppConfig.create(entry)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/apps/config.py\", line 90, in create", " module = import_module(entry)", " File \"/edx/app/edxapp/venvs/edxapp/lib/python3.8/importlib/__init__.py\", line 127, in import_module", " return _bootstrap._gcd_import(name[level:], package, level)", " File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import", " File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load", " File \"<frozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed", " File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import", " File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load", " File \"<frozen importlib._bootstrap>\", line 975, in _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line 671, in _load_unlocked", " File \"<frozen importlib._bootstrap_external>\", line 783, in exec_module", " File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 11, in <module>", " class CoursegraphConfig(AppConfig):", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/apps.py\", line 17, in CoursegraphConfig", " from openedx.core.djangoapps.coursegraph import tasks", " File \"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/coursegraph/tasks.py\", line 250, in <module>", " @set_code_owner_attribute", "NameError: name 'set_code_owner_attribute' is not defined"], "stdout": "", "stdout_lines": []}
- NO MORE HOSTS LEFT *************************************************************
- PLAY RECAP *********************************************************************
- localhost : ok=188 changed=127 unreachable=0 failed=1 skipped=309 rescued=0 ignored=3
- ============================================================
- Ansible failed!
- ------------------------------------------------------------
- Decoded error:
- == module_stderr ===========================
- /root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
- import imp
- Traceback (most recent call last):
- File "/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status", line 114, in <module>
- _ansiballz_main()
- File "/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status", line 106, in _ansiballz_main
- invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
- File "/root/.ansible/tmp/ansible-tmp-1621489513.8833401-25864-91040802929421/AnsiballZ_mongodb_rs_status", line 49, in invoke_module
- imp.load_module('__main__', mod, module, MOD_DESC)
- File "/usr/lib/python3.8/imp.py", line 234, in load_module
- return load_source(name, filename, file)
- File "/usr/lib/python3.8/imp.py", line 169, in load_source
- module = _exec(spec, sys.modules[name])
- File "<frozen importlib._bootstrap>", line 604, in _exec
- File "<frozen importlib._bootstrap_external>", line 783, in exec_module
- File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
- File "/tmp/ansible_mongodb_rs_status_payload_kfawj4_q/__main__.py", line 133, in <module>
- File "/tmp/ansible_mongodb_rs_status_payload_kfawj4_q/__main__.py", line 115, in main
- File "/usr/local/lib/python3.8/dist-packages/pymongo/database.py", line 529, in command
- with client._socket_for_reads(read_preference) as (sock_info, slave_ok):
- File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
- return next(self.gen)
- File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 982, in _socket_for_reads
- server = topology.select_server(read_preference)
- File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 222, in select_server
- return random.choice(self.select_servers(selector,
- File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 182, in select_servers
- server_descriptions = self._select_servers_loop(
- File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 198, in _select_servers_loop
- raise ServerSelectionTimeoutError(
- pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:27017: [Errno 111] Connection refused
- == msg ===========================
- MODULE FAILURE
- See stdout/stderr for the exact error
- ============================================================
- Installation 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 /home/taha/edx/logs/install-20210520-052827.log
- Your environment:
- OPENEDX_RELEASE=open-release/koa.master
- ============================================================
- Installation finished at 2021-05-20 07:18:43
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement