Advertisement
hadjsaidi

Untitled

Aug 29th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.09 KB | None | 0 0
  1. // this required a password
  2.  
  3. hadji@ubuntuserver:~$ wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/ansible-bootstrap.sh -O - | sudo -E bash
  4. --2020-08-28 20:13:34-- https://raw.githubusercontent.com/edx/configuration/open-release/juniper.3/util/install/ansible-bootstrap.sh
  5. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.240.133
  6. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.240.133|:443... [sudo] password for hadji: connected.
  7. HTTP request sent, awaiting response... 200 OK
  8. Length: 4836 (4.7K) [text/plain]
  9. Saving to: ‘STDOUT’
  10.  
  11. - 100%[===================>] 4.72K --.-KB/s in 0.008s
  12.  
  13. 2020-08-28 20:13:35 (614 KB/s) - written to stdout [4836/4836]
  14.  
  15.  
  16. Sorry, try again.
  17. [sudo] password for hadji:
  18. + [[ -z '' ]]
  19. + ANSIBLE_REPO=https://github.com/edx/ansible.git
  20. + [[ -z '' ]]
  21. + ANSIBLE_VERSION=master
  22. + [[ -z '' ]]
  23. + CONFIGURATION_REPO=https://github.com/edx/configuration.git
  24. + [[ -z '' ]]
  25. + CONFIGURATION_VERSION=open-release/juniper.3
  26. + [[ -z '' ]]
  27. + UPGRADE_OS=false
  28. + [[ -z '' ]]
  29. + RUN_ANSIBLE=true
  30. + VIRTUAL_ENV_VERSION=16.7.10
  31. + PIP_VERSION=20.0.2
  32. + SETUPTOOLS_VERSION=44.1.0
  33. + VIRTUAL_ENV=/tmp/bootstrap
  34. + PYTHON_BIN=/tmp/bootstrap/bin
  35. + ANSIBLE_DIR=/tmp/ansible
  36. + CONFIGURATION_DIR=/tmp/configuration
  37. + EDX_PPA_KEY_SERVER=keyserver.ubuntu.com
  38. + EDX_PPA_KEY_ID=B41E5E3969464050
  39. + cat
  40. ******************************************************************************
  41.  
  42. Running the edx_ansible bootstrap script with the following arguments:
  43.  
  44. ANSIBLE_REPO="https://github.com/edx/ansible.git"
  45. ANSIBLE_VERSION="master"
  46. CONFIGURATION_REPO="https://github.com/edx/configuration.git"
  47. CONFIGURATION_VERSION="open-release/juniper.3"
  48.  
  49. ******************************************************************************
  50. ++ id -u
  51. + [[ 0 -ne 0 ]]
  52. + grep -q 'Trusty Tahr' /etc/os-release
  53. + grep -q 'Xenial Xerus' /etc/os-release
  54. + SHORT_DIST=xenial
  55. + EDX_PPA='deb http://ppa.edx.org xenial main'
  56. + apt-get update -y
  57. Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
  58. Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
  59. Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
  60. Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [87.0 kB]
  61. Get:5 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [124 kB]
  62. Get:6 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [2,468 B]
  63. Get:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
  64. Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [326 kB]
  65. Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [803 kB]
  66. Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [725 kB]
  67. Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [276 kB]
  68. Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,960 B]
  69. Get:13 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
  70. Get:14 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [6,616 B]
  71. Fetched 2,684 kB in 26s (102 kB/s)
  72. Reading package lists... Done
  73. + [[ xenial == bionic ]]
  74. + apt-key update -y
  75. gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" not changed
  76. gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" not changed
  77. gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" not changed
  78. gpg: key EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" not changed
  79. gpg: key 991BC93C: "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>" not changed
  80. gpg: Total number processed: 5
  81. gpg: unchanged: 5
  82. + '[' false = true ']'
  83. + apt-get install -y software-properties-common
  84. Reading package lists... Done
  85. Building dependency tree
  86. Reading state information... Done
  87. software-properties-common is already the newest version (0.96.20.10).
  88. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
  89. + [[ xenial != bionic ]]
  90. + [[ xenial != xenial ]]
  91. + add-apt-repository -y ppa:git-core/ppa
  92. gpg: keyring `/tmp/tmpwm3tbbv3/secring.gpg' created
  93. gpg: keyring `/tmp/tmpwm3tbbv3/pubring.gpg' created
  94. gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com
  95. gpg: /tmp/tmpwm3tbbv3/trustdb.gpg: trustdb created
  96. gpg: key E1DF1F24: public key "Launchpad PPA for Ubuntu Git Maintainers" imported
  97. gpg: Total number processed: 1
  98. gpg: imported: 1 (RSA: 1)
  99. OK
  100. + [[ xenial != bionic ]]
  101. + apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B41E5E3969464050
  102. Executing: /tmp/tmp.GK4agJeYPY/gpg.1.sh --keyserver
  103. keyserver.ubuntu.com
  104. --recv-keys
  105. B41E5E3969464050
  106. gpg: requesting key 69464050 from hkp server keyserver.ubuntu.com
  107. gpg: key 69464050: public key "edX Inc. (edX PPA) <admin+ppa@edx.org>" imported
  108. gpg: Total number processed: 1
  109. gpg: imported: 1 (RSA: 1)
  110. + add-apt-repository -y 'deb http://ppa.edx.org xenial main'
  111. + apt-get update -y
  112. Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease [23.8 kB]
  113. Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
  114. Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
  115. Get:4 http://ppa.edx.org xenial InRelease [6,394 B]
  116. Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
  117. Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
  118. Get:7 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial/main amd64 Packages [3,372 B]
  119. Get:8 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial/main i386 Packages [3,372 B]
  120. Get:9 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial/main Translation-en [2,432 B]
  121. Get:10 http://ppa.edx.org xenial/main amd64 Packages [2,127 B]
  122. Fetched 41.5 kB in 1s (22.7 kB/s)
  123. Reading package lists... Done
  124. + apt-get install -y python2.7 python2.7-dev python-pip python-apt python-jinja2 build-essential sudo git-core libmysqlclient-dev libffi-dev libssl-dev
  125. Reading package lists... Done
  126. Building dependency tree
  127. Reading state information... Done
  128. python2.7 is already the newest version (2.7.12-1ubuntu0~16.04.12).
  129. sudo is already the newest version (1.8.16-0ubuntu1.9).
  130. The following additional packages will be installed:
  131. dpkg-dev fakeroot g++ g++-5 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  132. libalgorithm-merge-perl libexpat1-dev libfakeroot libmysqlclient20
  133. libpython-all-dev libpython-dev libpython2.7-dev libssl-doc libstdc++-5-dev
  134. python-all python-all-dev python-dev python-markupsafe python-pip-whl
  135. python-setuptools python-wheel zlib1g-dev
  136. Suggested packages:
  137. debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg
  138. libstdc++-5-doc python-apt-dbg python-apt-doc python-jinja2-doc
  139. python-setuptools-doc
  140. The following NEW packages will be installed:
  141. build-essential dpkg-dev fakeroot g++ g++-5 git-core libalgorithm-diff-perl
  142. libalgorithm-diff-xs-perl libalgorithm-merge-perl libexpat1-dev libfakeroot
  143. libffi-dev libmysqlclient-dev libmysqlclient20 libpython-all-dev
  144. libpython-dev libpython2.7-dev libssl-dev libssl-doc libstdc++-5-dev
  145. python-all python-all-dev python-apt python-dev python-jinja2
  146. python-markupsafe python-pip python-pip-whl python-setuptools python-wheel
  147. python2.7-dev zlib1g-dev
  148. 0 upgraded, 32 newly installed, 0 to remove and 7 not upgraded.
  149. Need to get 45.0 MB of archives.
  150. After this operation, 109 MB of additional disk space will be used.
  151. Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial/main amd64 git-core all 1:2.14.2-1~ppa0~ubuntu16.04.1 [1,430 B]
  152. Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.12 [1,428 kB]
  153. Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.12 [8,430 kB]
  154. Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1,504 B]
  155. Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.6 [584 kB]
  156. Get:6 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4,758 B]
  157. Get:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
  158. Get:8 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
  159. Get:9 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
  160. Get:10 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
  161. Get:11 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
  162. Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1-dev amd64 2.1.0-7ubuntu0.16.04.5 [115 kB]
  163. Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient20 amd64 5.7.31-0ubuntu0.16.04.1 [683 kB]
  164. Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2ubuntu4.3 [167 kB]
  165. Get:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-dev amd64 1.0.2g-1ubuntu4.16 [1,344 kB]
  166. Get:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient-dev amd64 5.7.31-0ubuntu0.16.04.1 [986 kB]
  167. Get:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-dev amd64 2.7.12-1ubuntu0~16.04.12 [27.8 MB]
  168. Get:18 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython-dev amd64 2.7.12-1~16.04 [7,840 B]
  169. Get:19 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython-all-dev amd64 2.7.12-1~16.04 [1,006 B]
  170. Get:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-doc all 1.0.2g-1ubuntu4.16 [1,078 kB]
  171. Get:21 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-all amd64 2.7.12-1~16.04 [996 B]
  172. Get:22 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-dev amd64 2.7.12-1ubuntu0~16.04.12 [276 kB]
  173. Get:23 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-dev amd64 2.7.12-1~16.04 [1,186 B]
  174. Get:24 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-all-dev amd64 2.7.12-1~16.04 [1,016 B]
  175. Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt amd64 1.1.0~beta1ubuntu0.16.04.9 [147 kB]
  176. Get:26 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-markupsafe amd64 0.23-2build2 [15.5 kB]
  177. Get:27 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-jinja2 all 2.8-1ubuntu0.1 [106 kB]
  178. Get:28 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip-whl all 8.1.1-2ubuntu0.4 [1,110 kB]
  179. Get:29 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip all 8.1.1-2ubuntu0.4 [144 kB]
  180. Get:30 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-setuptools all 20.7.0-1 [169 kB]
  181. Get:31 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python-wheel all 0.29.0-1 [48.0 kB]
  182. Get:32 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libffi-dev amd64 3.2.1-4 [161 kB]
  183. Fetched 45.0 MB in 4min 41s (160 kB/s)
  184. Extracting templates from packages: 100%
  185. Selecting previously unselected package libstdc++-5-dev:amd64.
  186. (Reading database ... 162574 files and directories currently installed.)
  187. Preparing to unpack .../libstdc++-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
  188. Unpacking libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
  189. Selecting previously unselected package g++-5.
  190. Preparing to unpack .../g++-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
  191. Unpacking g++-5 (5.4.0-6ubuntu1~16.04.12) ...
  192. Selecting previously unselected package g++.
  193. Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
  194. Unpacking g++ (4:5.3.1-1ubuntu1) ...
  195. Selecting previously unselected package dpkg-dev.
  196. Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.6_all.deb ...
  197. Unpacking dpkg-dev (1.18.4ubuntu1.6) ...
  198. Selecting previously unselected package build-essential.
  199. Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
  200. Unpacking build-essential (12.1ubuntu2) ...
  201. Selecting previously unselected package libfakeroot:amd64.
  202. Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
  203. Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
  204. Selecting previously unselected package fakeroot.
  205. Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
  206. Unpacking fakeroot (1.20.2-1ubuntu1) ...
  207. Selecting previously unselected package git-core.
  208. Preparing to unpack .../git-core_1%3a2.14.2-1~ppa0~ubuntu16.04.1_all.deb ...
  209. Unpacking git-core (1:2.14.2-1~ppa0~ubuntu16.04.1) ...
  210. Selecting previously unselected package libalgorithm-diff-perl.
  211. Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
  212. Unpacking libalgorithm-diff-perl (1.19.03-1) ...
  213. Selecting previously unselected package libalgorithm-diff-xs-perl.
  214. Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
  215. Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
  216. Selecting previously unselected package libalgorithm-merge-perl.
  217. Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
  218. Unpacking libalgorithm-merge-perl (0.08-3) ...
  219. Selecting previously unselected package libexpat1-dev:amd64.
  220. Preparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.16.04.5_amd64.deb ...
  221. Unpacking libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.5) ...
  222. Selecting previously unselected package libmysqlclient20:amd64.
  223. Preparing to unpack .../libmysqlclient20_5.7.31-0ubuntu0.16.04.1_amd64.deb ...
  224. Unpacking libmysqlclient20:amd64 (5.7.31-0ubuntu0.16.04.1) ...
  225. Selecting previously unselected package zlib1g-dev:amd64.
  226. Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4.3_amd64.deb ...
  227. Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.3) ...
  228. Selecting previously unselected package libssl-dev:amd64.
  229. Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4.16_amd64.deb ...
  230. Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4.16) ...
  231. Selecting previously unselected package libmysqlclient-dev.
  232. Preparing to unpack .../libmysqlclient-dev_5.7.31-0ubuntu0.16.04.1_amd64.deb ...
  233. Unpacking libmysqlclient-dev (5.7.31-0ubuntu0.16.04.1) ...
  234. Selecting previously unselected package libpython2.7-dev:amd64.
  235. Preparing to unpack .../libpython2.7-dev_2.7.12-1ubuntu0~16.04.12_amd64.deb ...
  236. Unpacking libpython2.7-dev:amd64 (2.7.12-1ubuntu0~16.04.12) ...
  237. Selecting previously unselected package libpython-dev:amd64.
  238. Preparing to unpack .../libpython-dev_2.7.12-1~16.04_amd64.deb ...
  239. Unpacking libpython-dev:amd64 (2.7.12-1~16.04) ...
  240. Selecting previously unselected package libpython-all-dev:amd64.
  241. Preparing to unpack .../libpython-all-dev_2.7.12-1~16.04_amd64.deb ...
  242. Unpacking libpython-all-dev:amd64 (2.7.12-1~16.04) ...
  243. Selecting previously unselected package libssl-doc.
  244. Preparing to unpack .../libssl-doc_1.0.2g-1ubuntu4.16_all.deb ...
  245. Unpacking libssl-doc (1.0.2g-1ubuntu4.16) ...
  246. Selecting previously unselected package python-all.
  247. Preparing to unpack .../python-all_2.7.12-1~16.04_amd64.deb ...
  248. Unpacking python-all (2.7.12-1~16.04) ...
  249. Selecting previously unselected package python2.7-dev.
  250. Preparing to unpack .../python2.7-dev_2.7.12-1ubuntu0~16.04.12_amd64.deb ...
  251. Unpacking python2.7-dev (2.7.12-1ubuntu0~16.04.12) ...
  252. Selecting previously unselected package python-dev.
  253. Preparing to unpack .../python-dev_2.7.12-1~16.04_amd64.deb ...
  254. Unpacking python-dev (2.7.12-1~16.04) ...
  255. Selecting previously unselected package python-all-dev.
  256. Preparing to unpack .../python-all-dev_2.7.12-1~16.04_amd64.deb ...
  257. Unpacking python-all-dev (2.7.12-1~16.04) ...
  258. Selecting previously unselected package python-apt.
  259. Preparing to unpack .../python-apt_1.1.0~beta1ubuntu0.16.04.9_amd64.deb ...
  260. Unpacking python-apt (1.1.0~beta1ubuntu0.16.04.9) ...
  261. Selecting previously unselected package python-markupsafe.
  262. Preparing to unpack .../python-markupsafe_0.23-2build2_amd64.deb ...
  263. Unpacking python-markupsafe (0.23-2build2) ...
  264. Selecting previously unselected package python-jinja2.
  265. Preparing to unpack .../python-jinja2_2.8-1ubuntu0.1_all.deb ...
  266. Unpacking python-jinja2 (2.8-1ubuntu0.1) ...
  267. Selecting previously unselected package python-pip-whl.
  268. Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.4_all.deb ...
  269. Unpacking python-pip-whl (8.1.1-2ubuntu0.4) ...
  270. Selecting previously unselected package python-pip.
  271. Preparing to unpack .../python-pip_8.1.1-2ubuntu0.4_all.deb ...
  272. Unpacking python-pip (8.1.1-2ubuntu0.4) ...
  273. Selecting previously unselected package python-setuptools.
  274. Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ...
  275. Unpacking python-setuptools (20.7.0-1) ...
  276. Selecting previously unselected package python-wheel.
  277. Preparing to unpack .../python-wheel_0.29.0-1_all.deb ...
  278. Unpacking python-wheel (0.29.0-1) ...
  279. Selecting previously unselected package libffi-dev:amd64.
  280. Preparing to unpack .../libffi-dev_3.2.1-4_amd64.deb ...
  281. Unpacking libffi-dev:amd64 (3.2.1-4) ...
  282. Processing triggers for man-db (2.7.5-1) ...
  283. Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
  284. Processing triggers for install-info (6.1.0.dfsg.1-5) ...
  285. Setting up libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
  286. Setting up g++-5 (5.4.0-6ubuntu1~16.04.12) ...
  287. Setting up g++ (4:5.3.1-1ubuntu1) ...
  288. update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
  289. Setting up dpkg-dev (1.18.4ubuntu1.6) ...
  290. Setting up build-essential (12.1ubuntu2) ...
  291. Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
  292. Setting up fakeroot (1.20.2-1ubuntu1) ...
  293. update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
  294. Setting up git-core (1:2.14.2-1~ppa0~ubuntu16.04.1) ...
  295. Setting up libalgorithm-diff-perl (1.19.03-1) ...
  296. Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
  297. Setting up libalgorithm-merge-perl (0.08-3) ...
  298. Setting up libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.5) ...
  299. Setting up libmysqlclient20:amd64 (5.7.31-0ubuntu0.16.04.1) ...
  300. Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.3) ...
  301. Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.16) ...
  302. Setting up libmysqlclient-dev (5.7.31-0ubuntu0.16.04.1) ...
  303. Setting up libpython2.7-dev:amd64 (2.7.12-1ubuntu0~16.04.12) ...
  304. Setting up libpython-dev:amd64 (2.7.12-1~16.04) ...
  305. Setting up libpython-all-dev:amd64 (2.7.12-1~16.04) ...
  306. Setting up libssl-doc (1.0.2g-1ubuntu4.16) ...
  307. Setting up python-all (2.7.12-1~16.04) ...
  308. Setting up python2.7-dev (2.7.12-1ubuntu0~16.04.12) ...
  309. Setting up python-dev (2.7.12-1~16.04) ...
  310. Setting up python-all-dev (2.7.12-1~16.04) ...
  311. Setting up python-apt (1.1.0~beta1ubuntu0.16.04.9) ...
  312. Setting up python-markupsafe (0.23-2build2) ...
  313. Setting up python-jinja2 (2.8-1ubuntu0.1) ...
  314. Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
  315. Setting up python-pip (8.1.1-2ubuntu0.4) ...
  316. Setting up python-setuptools (20.7.0-1) ...
  317. Setting up python-wheel (0.29.0-1) ...
  318. Setting up libffi-dev:amd64 (3.2.1-4) ...
  319. Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
  320. + pip install --upgrade pip==20.0.2
  321. The directory '/home/hadji/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  322. The directory '/home/hadji/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  323. Collecting pip==20.0.2
  324. Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB)
  325. 100% |████████████████████████████████| 1.4MB 110kB/s
  326. Installing collected packages: pip
  327. Found existing installation: pip 8.1.1
  328. Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
  329. Successfully installed pip-20.0.2
  330. You are using pip version 20.0.2, however version 20.2.2 is available.
  331. You should consider upgrading via the 'pip install --upgrade pip' command.
  332. + PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
  333. + pip install setuptools==44.1.0
  334. /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  335. warnings.warn(warning, RequestsDependencyWarning)
  336. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  337. WARNING: The directory '/home/hadji/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  338. Collecting setuptools==44.1.0
  339. Downloading setuptools-44.1.0-py2.py3-none-any.whl (583 kB)
  340. |████████████████████████████████| 583 kB 213 kB/s
  341. Installing collected packages: setuptools
  342. Attempting uninstall: setuptools
  343. Found existing installation: setuptools 20.7.0
  344. Uninstalling setuptools-20.7.0:
  345. Successfully uninstalled setuptools-20.7.0
  346. Successfully installed setuptools-44.1.0
  347. WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
  348. You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
  349. + pip install virtualenv==16.7.10
  350. /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  351. warnings.warn(warning, RequestsDependencyWarning)
  352. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  353. WARNING: The directory '/home/hadji/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  354. Collecting virtualenv==16.7.10
  355. Downloading virtualenv-16.7.10-py2.py3-none-any.whl (3.4 MB)
  356. |████████████████████████████████| 3.4 MB 132 kB/s
  357. Installing collected packages: virtualenv
  358. Successfully installed virtualenv-16.7.10
  359. WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
  360. You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
  361. + [[ true == \t\r\u\e ]]
  362. + /usr/local/bin/virtualenv /tmp/bootstrap
  363. New python executable in /tmp/bootstrap/bin/python
  364. Installing setuptools, pip, wheel...
  365. done.
  366. + PATH=/tmp/bootstrap/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
  367. + git clone https://github.com/edx/configuration.git /tmp/configuration
  368. Cloning into '/tmp/configuration'...
  369. remote: Enumerating objects: 7, done.
  370. remote: Counting objects: 100% (7/7), done.
  371. remote: Compressing objects: 100% (6/6), done.
  372. remote: Total 92784 (delta 0), reused 3 (delta 0), pack-reused 92777
  373. Receiving objects: 100% (92784/92784), 18.54 MiB | 164.00 KiB/s, done.
  374. Resolving deltas: 100% (50723/50723), done.
  375. Checking connectivity... done.
  376. + cd /tmp/configuration
  377. + git checkout open-release/juniper.3
  378. Note: checking out 'open-release/juniper.3'.
  379.  
  380. You are in 'detached HEAD' state. You can look around, make experimental
  381. changes and commit them, and you can discard any commits you make in this
  382. state without impacting any branches by performing another checkout.
  383.  
  384. If you want to create a new branch to retain commits you create, you may
  385. do so (now or later) by using -b with the checkout command again. Example:
  386.  
  387. git checkout -b <new-branch-name>
  388.  
  389. HEAD is now at 05bb4ed... Improve sandboxing. (#5953) (#5960)
  390. + make requirements
  391. Base Image Tag: latest
  392. edxops/xenial-common@latest
  393. xenial-common
  394. Base Image Tag: latest
  395. edxops/xenial-common@latest
  396. xenial-common
  397. Base Image Tag: latest
  398. edxops/xenial-common@latest
  399. xenial-common
  400. Base Image Tag:
  401. edxops/xenial-common@
  402. xenial-common
  403. Base Image Tag:
  404. edxops/xenial-common@
  405. xenial-common
  406. Base Image Tag: latest
  407. edxops/xenial-common@latest
  408. xenial-common
  409. Base Image Tag:
  410. edxops/xenial-common@
  411. xenial-common
  412. Base Image Tag:
  413. edxops/xenial-common@
  414. xenial-common
  415. Base Image Tag: latest
  416. edxops/xenial-common@latest
  417. xenial-common
  418. Base Image Tag:
  419. edxops/xenial-common@
  420. xenial-common
  421. Base Image Tag:
  422. edxops/xenial-common@
  423. xenial-common
  424. Base Image Tag:
  425. edxops/xenial-common@
  426. xenial-common
  427. Base Image Tag: latest
  428. edxops/xenial-common@latest
  429. xenial-common
  430. Base Image Tag: latest
  431. edxops/xenial-common@latest
  432. xenial-common
  433. Base Image Tag: latest
  434. edxops/xenial-common@latest
  435. xenial-common
  436. Base Image Tag:
  437. edxops/xenial-common@
  438. xenial-common
  439. Base Image Tag: latest
  440. edxops/xenial-common@latest
  441. xenial-common
  442. Base Image Tag:
  443. edxops/xenial-common@
  444. xenial-common
  445. Base Image Tag:
  446. edxops/xenial-common@
  447. xenial-common
  448. Base Image Tag:
  449. edxops/xenial-common@
  450. xenial-common
  451. Base Image Tag: latest
  452. edxops/xenial-common@latest
  453. xenial-common
  454. Base Image Tag:
  455. edxops/xenial-common@
  456. xenial-common
  457. Base Image Tag:
  458. edxops/xenial-common@
  459. xenial-common
  460. Base Image Tag: latest
  461. edxops/xenial-common@latest
  462. xenial-common
  463. Base Image Tag:
  464. edxops/xenial-common@
  465. xenial-common
  466. Base Image Tag:
  467. edxops/xenial-common@
  468. xenial-common
  469. Base Image Tag: latest
  470. edxops/xenial-common@latest
  471. xenial-common
  472. Base Image Tag:
  473. edxops/xenial-common@
  474. xenial-common
  475. Base Image Tag: latest
  476. edxops/xenial-common@latest
  477. xenial-common
  478. Base Image Tag:
  479. edxops/xenial-common@
  480. xenial-common
  481. Base Image Tag: latest
  482. edxops/xenial-common@latest
  483. xenial-common
  484. Base Image Tag: latest
  485. edxops/xenial-common@latest
  486. xenial-common
  487. Base Image Tag: latest
  488. edxops/xenial-common@latest
  489. xenial-common
  490. Base Image Tag: latest
  491. edxops/xenial-common@latest
  492. xenial-common
  493. Base Image Tag:
  494. edxops/xenial-common@
  495. xenial-common
  496. Base Image Tag:
  497. edxops/xenial-common@
  498. xenial-common
  499. Base Image Tag:
  500. edxops/xenial-common@
  501. xenial-common
  502. Base Image Tag:
  503. edxops/xenial-common@
  504. xenial-common
  505. Base Image Tag:
  506. edxops/xenial-common@
  507. xenial-common
  508. Base Image Tag:
  509. edxops/xenial-common@
  510. xenial-common
  511. Base Image Tag:
  512. edxops/xenial-common@
  513. xenial-common
  514. Base Image Tag:
  515. edxops/xenial-common@
  516. xenial-common
  517. Base Image Tag:
  518. edxops/xenial-common@
  519. xenial-common
  520. Base Image Tag: latest
  521. edxops/xenial-common@latest
  522. xenial-common
  523. Base Image Tag: latest
  524. edxops/xenial-common@latest
  525. xenial-common
  526. pip install -qr pre-requirements.txt --exists-action w
  527. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  528. WARNING: The directory '/home/hadji/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  529. pip install -qr requirements.txt --exists-action w
  530. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  531. WARNING: The directory '/home/hadji/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  532.  
  533. WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.
  534. You should consider upgrading via the '/tmp/bootstrap/bin/python -m pip install --upgrade pip' command.
  535. + cd /tmp/configuration/playbooks
  536. + /tmp/bootstrap/bin/ansible-playbook edx_ansible.yml -i 127.0.0.1, -c local -e configuration_version=open-release/juniper.3
  537.  
  538. PLAY [Install edx_ansible] *****************************************************
  539.  
  540. TASK [Gathering Facts] *********************************************************
  541. ok: [127.0.0.1]
  542.  
  543. TASK [server_utils : Check for expired edx key] ********************************
  544. changed: [127.0.0.1]
  545.  
  546. TASK [server_utils : remove expired edx key] ***********************************
  547. skipping: [127.0.0.1]
  548.  
  549. TASK [server_utils : Install ubuntu system packages] ***************************
  550. changed: [127.0.0.1]
  551.  
  552. TASK [user : debug] ************************************************************
  553. ok: [127.0.0.1] => {
  554. "user_info": []
  555. }
  556.  
  557. TASK [user : Create the edxadmin group] ****************************************
  558. changed: [127.0.0.1]
  559.  
  560. TASK [user : Ensure sudoers.d is read] *****************************************
  561. ok: [127.0.0.1]
  562.  
  563. TASK [user : Grant full sudo access to the edxadmin group] *********************
  564. changed: [127.0.0.1]
  565.  
  566. TASK [user : Create the users] *************************************************
  567.  
  568. TASK [user : Assign admin role to admin users] *********************************
  569.  
  570. TASK [user : Check the ssh key(s) for user(s) over github] *********************
  571.  
  572. TASK [user : Print warning if github user(s) missing ssh key] ******************
  573.  
  574. TASK [user : Halt if USER_FAIL_MISSING_KEYS is true and github user(s) missing ssh key] ***
  575.  
  576. TASK [user : Get github key(s) and update the authorized_keys file] ************
  577.  
  578. TASK [user : Create ~/.ssh directory for non github users] *********************
  579.  
  580. TASK [user : Build authorized_keys file for non github users] ******************
  581.  
  582. TASK [user : Create bashrc file for normal users] ******************************
  583.  
  584. TASK [user : Create .profile for all users] ************************************
  585.  
  586. TASK [user : Modify shell for restricted users] ********************************
  587.  
  588. TASK [user : Create bashrc file for restricted users] **************************
  589.  
  590. TASK [user : Create sudoers file from template] ********************************
  591. changed: [127.0.0.1]
  592.  
  593. TASK [user : Change home directory ownership to root for restricted users] *****
  594.  
  595. TASK [user : Create ~/bin directory] *******************************************
  596.  
  597. TASK [user : Create allowed command links] *************************************
  598.  
  599. TASK [user : Allow users to ssh] ***********************************************
  600. skipping: [127.0.0.1]
  601.  
  602. TASK [user : Restart ssh (ubuntu/debian)] **************************************
  603. skipping: [127.0.0.1]
  604.  
  605. TASK [user : Restart ssh (redhat)] *********************************************
  606. skipping: [127.0.0.1]
  607.  
  608. TASK [security : Install security packages] ************************************
  609. skipping: [127.0.0.1]
  610.  
  611. TASK [security : Update all system packages] ***********************************
  612. skipping: [127.0.0.1]
  613.  
  614. TASK [security : Configure periodic unattended-upgrades] ***********************
  615. skipping: [127.0.0.1]
  616.  
  617. TASK [security : Disable unattended-upgrades if Xenial (16.04)] ****************
  618. skipping: [127.0.0.1] => (item=systemctl disable apt-daily.service)
  619. skipping: [127.0.0.1] => (item=systemctl disable apt-daily.timer)
  620. skipping: [127.0.0.1] => (item=systemctl disable apt-daily-upgrade.timer)
  621.  
  622. TASK [security : Disable unattended-upgrades] **********************************
  623. skipping: [127.0.0.1]
  624.  
  625. TASK [security : Only unattended-upgrade from security repo] *******************
  626. skipping: [127.0.0.1]
  627.  
  628. TASK [security : Add debian blacklist] *****************************************
  629. skipping: [127.0.0.1]
  630.  
  631. TASK [security : Disable security only updates on unattended-upgrades] *********
  632. skipping: [127.0.0.1]
  633.  
  634. TASK [security : Take security updates during ansible runs] ********************
  635. skipping: [127.0.0.1] => (item=unattended-upgrade --dry-run)
  636. skipping: [127.0.0.1] => (item=unattended-upgrade)
  637.  
  638. TASK [security : Install security packages] ************************************
  639. skipping: [127.0.0.1]
  640.  
  641. TASK [security : Enable automatic start for update service] ********************
  642. skipping: [127.0.0.1]
  643.  
  644. TASK [security : Update all system packages] ***********************************
  645. skipping: [127.0.0.1]
  646.  
  647. TASK [security : Configure security auto-updates] ******************************
  648. skipping: [127.0.0.1] => (item={u'regexp': u'^update_cmd', u'line': u'update_cmd = security'})
  649. skipping: [127.0.0.1] => (item={u'regexp': u'^apply_updates', u'line': u'apply_updates = yes'})
  650.  
  651. TASK [security : Take security updates during ansible runs] ********************
  652. skipping: [127.0.0.1] => (item=yum check-update --security)
  653. skipping: [127.0.0.1] => (item=yum update --security -y)
  654.  
  655. TASK [common : Check Configuration Sources] ************************************
  656.  
  657. TASK [common : stat] ***********************************************************
  658. ok: [127.0.0.1] => (item=/usr/local/share/ca-certificates)
  659. ok: [127.0.0.1] => (item=/usr/sbin/update-ca-certificates)
  660.  
  661. TASK [common : Download digicert intermediate Certificate] *********************
  662. changed: [127.0.0.1]
  663.  
  664. TASK [common : Update CA Certificates] *****************************************
  665. changed: [127.0.0.1]
  666.  
  667. TASK [common : stat] ***********************************************************
  668. ok: [127.0.0.1]
  669.  
  670. TASK [common : Update CA Trust] ************************************************
  671. skipping: [127.0.0.1]
  672.  
  673. TASK [common : Add common_users] ***********************************************
  674. changed: [127.0.0.1] => (item=www-data)
  675. changed: [127.0.0.1] => (item=syslog)
  676.  
  677. TASK [common : check if instance is vagrant] ***********************************
  678. ok: [127.0.0.1]
  679.  
  680. TASK [common : Add git apt repository] *****************************************
  681. ok: [127.0.0.1]
  682.  
  683. TASK [common : Add ppa for watchman package] ***********************************
  684. [WARNING]: when statements should not include jinja2 templating delimiters
  685. such as {{ }} or {% %}. Found: ansible_distribution in common_debian_variants
  686. and ({{ devstack | default(False) }} or {{ edx_django_service_is_devstack |
  687. default(False) }})
  688.  
  689. skipping: [127.0.0.1]
  690.  
  691. TASK [common : Add edX PPA apt key] ********************************************
  692. ok: [127.0.0.1]
  693.  
  694. TASK [common : Update expired apt keys] ****************************************
  695. changed: [127.0.0.1]
  696.  
  697. TASK [common : Add custom edX PPA] *********************************************
  698. ok: [127.0.0.1]
  699.  
  700. TASK [common : Install role-independent useful system packages] ****************
  701. changed: [127.0.0.1]
  702.  
  703. TASK [common : Install role-independent packages useful for devstack.] *********
  704. [WARNING]: when statements should not include jinja2 templating delimiters
  705. such as {{ }} or {% %}. Found: ansible_distribution in common_debian_variants
  706. and ({{ devstack | default(False) }} or {{ edx_django_service_is_devstack |
  707. default(False) }})
  708.  
  709. skipping: [127.0.0.1]
  710.  
  711. TASK [common : Install role-independent useful system packages from custom PPA] ***
  712. skipping: [127.0.0.1]
  713.  
  714. TASK [common : Install role-independent useful system packages] ****************
  715. skipping: [127.0.0.1]
  716.  
  717. TASK [common : Create common directories] **************************************
  718. changed: [127.0.0.1] => (item={u'path': u'/edx/var'})
  719. changed: [127.0.0.1] => (item={u'path': u'/edx/app'})
  720. changed: [127.0.0.1] => (item={u'path': u'/edx/bin'})
  721. changed: [127.0.0.1] => (item={u'path': u'/edx/etc'})
  722. changed: [127.0.0.1] => (item={u'owner': u'syslog', u'path': u'/edx/var/log', u'group': u'syslog'})
  723. changed: [127.0.0.1] => (item={u'path': u'/etc/logrotate.d/hourly'})
  724. changed: [127.0.0.1] => (item={u'path': u'/etc/rsyslog.d/50-default.conf', u'state': u'absent'})
  725.  
  726. TASK [common : upload sudo config for key forwarding as root] ******************
  727. changed: [127.0.0.1]
  728.  
  729. TASK [common : pip install virtualenv] *****************************************
  730. changed: [127.0.0.1]
  731.  
  732. TASK [common : update /etc/hosts] **********************************************
  733. skipping: [127.0.0.1]
  734.  
  735. TASK [common : update /etc/hostname] *******************************************
  736. skipping: [127.0.0.1]
  737.  
  738. TASK [common : run hostname] ***************************************************
  739. skipping: [127.0.0.1]
  740.  
  741. TASK [common : Copy the templates to their respective destination] *************
  742. changed: [127.0.0.1] => (item={u'dest': u'/etc/rsyslog.d/99-edx.conf', u'src': u'edx_rsyslog.j2'})
  743. changed: [127.0.0.1] => (item={u'dest': u'/etc/logrotate.d/hourly/edx-services', u'src': u'etc/logrotate.d/hourly/edx_logrotate.j2'})
  744. changed: [127.0.0.1] => (item={u'dest': u'/etc/cron.hourly/logrotate', u'src': u'etc/cron.hourly/logrotate.j2', u'mode': u'0555'})
  745. changed: [127.0.0.1] => (item={u'dest': u'/etc/logrotate.d/hourly/tracking.log', u'src': u'etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'})
  746.  
  747. TASK [common : restart rsyslogd] ***********************************************
  748. changed: [127.0.0.1]
  749.  
  750. TASK [common : Add ntp alert script] *******************************************
  751. changed: [127.0.0.1]
  752.  
  753. TASK [common : Remove MOTD update checker] *************************************
  754. changed: [127.0.0.1]
  755.  
  756. TASK [common : Set up a cron job to run the log-ntp-alerts script] *************
  757. changed: [127.0.0.1]
  758.  
  759. TASK [common : install logrotate configuration] ********************************
  760. changed: [127.0.0.1]
  761.  
  762. TASK [edx_ansible : Create application user] ***********************************
  763. changed: [127.0.0.1]
  764.  
  765. TASK [edx_ansible : Create edx_ansible app and venv dir] ***********************
  766. changed: [127.0.0.1] => (item=/edx/app/edx_ansible)
  767. changed: [127.0.0.1] => (item=/edx/var/edx_ansible)
  768. changed: [127.0.0.1] => (item=/edx/app/edx_ansible/venvs)
  769.  
  770. TASK [edx_ansible : Install a bunch of system packages on which edx_ansible relies] ***
  771. changed: [127.0.0.1]
  772.  
  773. TASK [edx_ansible : Git checkout edx_ansible repo into edx_ansible_code_dir] ***
  774. changed: [127.0.0.1]
  775.  
  776. TASK [edx_ansible : Install edx_ansible venv requirements] *********************
  777.  
  778. changed: [127.0.0.1] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
  779. ok: [127.0.0.1] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
  780.  
  781. TASK [edx_ansible : Create update script] **************************************
  782. changed: [127.0.0.1]
  783.  
  784. TASK [edx_ansible : Create symlinks for update script] *************************
  785. changed: [127.0.0.1]
  786.  
  787. TASK [edx_ansible : Create utility scripts] ************************************
  788. changed: [127.0.0.1] => (item={u'dest': u'show-repo-heads', u'src': u'show-repo-heads.j2'})
  789. changed: [127.0.0.1] => (item={u'dest': u'pre-box', u'src': u'pre-box.j2'})
  790.  
  791. TASK [edx_ansible : Create symlinks for utility scripts] ***********************
  792. changed: [127.0.0.1] => (item=show-repo-heads)
  793.  
  794. TASK [edx_ansible : Create a symlink for ansible-playbook] *********************
  795. changed: [127.0.0.1]
  796.  
  797. TASK [edx_ansible : Create a symlink for the playbooks dir] ********************
  798. changed: [127.0.0.1]
  799.  
  800. PLAY RECAP *********************************************************************
  801. 127.0.0.1 : ok=39 changed=30 unreachable=0 failed=0
  802.  
  803. + rm -rf /tmp/ansible
  804. + rm -rf /tmp/configuration
  805. + rm -rf /tmp/bootstrap
  806. + rm -rf /home/hadji/.ansible
  807. + cat
  808. ******************************************************************************
  809.  
  810. Done bootstrapping, edx_ansible is now installed in /edx/app/edx_ansible.
  811. Time to run some plays. Activate the virtual env with
  812.  
  813. > . /edx/app/edx_ansible/venvs/edx_ansible/bin/activate
  814.  
  815. ******************************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement