Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.60 KB | None | 0 0
  1. Miroslavs-MacBook-Air:devstack mirek.m$ export OPENEDX_RELEASE="named-release/cypress"
  2. Miroslavs-MacBook-Air:devstack mirek.m$ curl -L https://raw.githubusercontent.com/edx/configuration/master/vagrant/release/devstack/Vagrantfile > Vagrantfile
  3. % Total % Received % Xferd Average Speed Time Time Time Current
  4. Dload Upload Total Spent Left Speed
  5. 100 6097 100 6097 0 0 22163 0 --:--:-- --:--:-- --:--:-- 22251
  6. Miroslavs-MacBook-Air:devstack mirek.m$ vagrant plugin install vagrant-vbguest
  7. Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
  8. Installed the plugin 'vagrant-vbguest (0.11.0)'!
  9. Miroslavs-MacBook-Air:devstack mirek.m$ vagrant box add ~/Downloads/vagrant-images_cypress-devstack.box --name cypress-devstack
  10. ==> box: Box file was not detected as metadata. Adding it directly...
  11. ==> box: Adding box 'cypress-devstack' (v0) for provider:
  12. box: Unpacking necessary files from: file:///Users/mirek.m/Downloads/vagrant-images_cypress-devstack.box
  13. ==> box: Successfully added box 'cypress-devstack' (v0) for 'virtualbox'!
  14. Miroslavs-MacBook-Air:devstack mirek.m$ vagrant up
  15. Bringing machine 'default' up with 'virtualbox' provider...
  16. ==> default: Importing base box 'cypress-devstack'...
  17. ==> default: Matching MAC address for NAT networking...
  18. ==> default: Setting the name of the VM: devstack_default_1453568733497_31866
  19. ==> default: Clearing any previously set network interfaces...
  20. ==> default: Preparing network interfaces based on configuration...
  21. default: Adapter 1: nat
  22. default: Adapter 2: hostonly
  23. ==> default: Forwarding ports...
  24. default: 8000 (guest) => 8000 (host) (adapter 1)
  25. default: 8001 (guest) => 8001 (host) (adapter 1)
  26. default: 8002 (guest) => 8002 (host) (adapter 1)
  27. default: 8003 (guest) => 8003 (host) (adapter 1)
  28. default: 8031 (guest) => 8031 (host) (adapter 1)
  29. default: 8120 (guest) => 8120 (host) (adapter 1)
  30. default: 8765 (guest) => 8765 (host) (adapter 1)
  31. default: 9200 (guest) => 9200 (host) (adapter 1)
  32. default: 18080 (guest) => 18080 (host) (adapter 1)
  33. default: 8100 (guest) => 8100 (host) (adapter 1)
  34. default: 8110 (guest) => 8110 (host) (adapter 1)
  35. default: 9876 (guest) => 9876 (host) (adapter 1)
  36. default: 50070 (guest) => 50070 (host) (adapter 1)
  37. default: 8088 (guest) => 8088 (host) (adapter 1)
  38. default: 22 (guest) => 2222 (host) (adapter 1)
  39. ==> default: Running 'pre-boot' VM customizations...
  40. ==> default: Booting VM...
  41. ==> default: Waiting for machine to boot. This may take a few minutes...
  42. default: SSH address: 127.0.0.1:2222
  43. default: SSH username: vagrant
  44. default: SSH auth method: private key
  45. ==> default: Machine booted and ready!
  46. GuestAdditions versions on your host (5.0.14) and guest (4.3.30) do not match.
  47. stdin: is not a tty
  48. Reading package lists...
  49. Building dependency tree...
  50. Reading state information...
  51. linux-headers-3.2.0-23-generic is already the newest version.
  52. The following packages will be upgraded:
  53. dkms
  54. 1 upgraded, 0 newly installed, 0 to remove and 167 not upgraded.
  55. Need to get 72.6 kB of archives.
  56. After this operation, 1,024 B of additional disk space will be used.
  57. Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main dkms all 2.2.0.3-1ubuntu3.2
  58. 404 Not Found [IP: 91.189.91.14 80]
  59. Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/d/dkms/dkms_2.2.0.3-1ubuntu3.2_all.deb 404 Not Found [IP: 91.189.91.14 80]
  60. E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  61. stdin: is not a tty
  62. Ign http://ppa.launchpad.net precise InRelease
  63. Ign http://dl.google.com stable InRelease
  64. Get:1 http://ppa.launchpad.net precise InRelease [13.3 kB]
  65. Get:2 http://ppa.launchpad.net precise InRelease [13.3 kB]
  66. Get:3 http://dl.google.com stable Release.gpg [181 B]
  67. Hit http://ppa.launchpad.net precise Release.gpg
  68. Get:4 http://dl.google.com stable Release [1,347 B]
  69. Get:5 http://ppa.launchpad.net precise/main amd64 Packages [5,086 B]
  70. Get:6 http://security.ubuntu.com precise-security InRelease [54.5 kB]
  71. Get:7 http://dl.google.com stable/main amd64 Packages [1,186 B]
  72. Get:8 http://ppa.launchpad.net precise/main i386 Packages [5,079 B]
  73. Get:9 http://ppa.launchpad.net precise/main TranslationIndex [202 B]
  74. Get:10 http://ppa.launchpad.net precise/main amd64 Packages [14 B]
  75. Ign http://us.archive.ubuntu.com precise InRelease
  76. Get:11 http://us.archive.ubuntu.com precise-updates InRelease [196 kB]
  77. Get:12 http://ppa.launchpad.net precise/main i386 Packages [14 B]
  78. Get:13 http://ppa.launchpad.net precise/main TranslationIndex [193 B]
  79. Hit http://ppa.launchpad.net precise Release
  80. Get:14 http://ppa.launchpad.net precise/main Translation-en [2,645 B]
  81. Get:15 http://dl.google.com stable/main i386 Packages [1,196 B]
  82. Ign http://dl.google.com stable/main TranslationIndex
  83. Get:16 http://ppa.launchpad.net precise/main Translation-en [14 B]
  84. Hit http://ppa.launchpad.net precise/main amd64 Packages
  85. Hit http://ppa.launchpad.net precise/main i386 Packages
  86. Hit http://ppa.launchpad.net precise/main TranslationIndex
  87. Ign http://downloads-distro.mongodb.org dist InRelease
  88. Hit http://ppa.launchpad.net precise/main Translation-en
  89. Get:17 http://security.ubuntu.com precise-security/main Sources [138 kB]
  90. Get:18 http://downloads-distro.mongodb.org dist Release.gpg [490 B]
  91. Ign http://dl.google.com stable/main Translation-en_US
  92. Get:19 http://us.archive.ubuntu.com precise-backports InRelease [54.5 kB]
  93. Ign http://dl.google.com stable/main Translation-en
  94. Get:20 http://downloads-distro.mongodb.org dist Release [2,040 B]
  95. Hit http://us.archive.ubuntu.com precise Release.gpg
  96. Get:21 http://us.archive.ubuntu.com precise-updates/main Sources [495 kB]
  97. Get:22 http://security.ubuntu.com precise-security/restricted Sources [4,476 B]
  98. Get:23 http://security.ubuntu.com precise-security/universe Sources [45.1 kB]
  99. Get:24 http://downloads-distro.mongodb.org dist/10gen amd64 Packages [29.2 kB]
  100. Get:25 http://security.ubuntu.com precise-security/multiverse Sources [2,201 B]
  101. Get:26 http://security.ubuntu.com precise-security/main amd64 Packages [579 kB]
  102. Get:27 http://downloads-distro.mongodb.org dist/10gen i386 Packages [28.6 kB]
  103. Get:28 http://us.archive.ubuntu.com precise-updates/restricted Sources [8,708 B]
  104. Get:29 http://us.archive.ubuntu.com precise-updates/universe Sources [124 kB]
  105. Get:30 http://us.archive.ubuntu.com precise-updates/multiverse Sources [9,759 B]
  106. Get:31 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [968 kB]
  107. Ign http://downloads-distro.mongodb.org dist/10gen TranslationIndex
  108. Get:32 http://security.ubuntu.com precise-security/restricted amd64 Packages [11.6 kB]
  109. Get:33 http://security.ubuntu.com precise-security/universe amd64 Packages [128 kB]
  110. Get:34 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [16.2 kB]
  111. Get:35 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [272 kB]
  112. Get:36 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [16.6 kB]
  113. Get:37 http://us.archive.ubuntu.com precise-updates/main i386 Packages [1,028 kB]
  114. Get:38 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,699 B]
  115. Get:39 http://security.ubuntu.com precise-security/main i386 Packages [637 kB]
  116. Get:40 http://security.ubuntu.com precise-security/restricted i386 Packages [11.6 kB]
  117. Get:41 http://security.ubuntu.com precise-security/universe i386 Packages [136 kB]
  118. Get:42 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [16.1 kB]
  119. Get:43 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [281 kB]
  120. Get:44 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,875 B]
  121. Get:45 http://security.ubuntu.com precise-security/main TranslationIndex [208 B]
  122. Get:46 http://security.ubuntu.com precise-security/multiverse TranslationIndex [199 B]
  123. Get:47 http://security.ubuntu.com precise-security/restricted TranslationIndex [202 B]
  124. Get:48 http://security.ubuntu.com precise-security/universe TranslationIndex [205 B]
  125. Get:49 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [16.7 kB]
  126. Get:50 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [10.6 kB]
  127. Get:51 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [7,613 B]
  128. Get:52 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [7,297 B]
  129. Get:53 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [8,333 B]
  130. Hit http://us.archive.ubuntu.com precise Release
  131. Get:54 http://us.archive.ubuntu.com precise-backports/main Sources [5,922 B]
  132. Get:55 http://us.archive.ubuntu.com precise-backports/restricted Sources [28 B]
  133. Get:56 http://us.archive.ubuntu.com precise-backports/universe Sources [43.5 kB]
  134. Get:57 http://security.ubuntu.com precise-security/main Translation-en [247 kB]
  135. Get:58 http://us.archive.ubuntu.com precise-backports/multiverse Sources [5,750 B]
  136. Get:59 http://us.archive.ubuntu.com precise-backports/main amd64 Packages [6,477 B]
  137. Get:60 http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages [28 B]
  138. Get:61 http://us.archive.ubuntu.com precise-backports/universe amd64 Packages [45.4 kB]
  139. Get:62 http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages [5,419 B]
  140. Get:63 http://us.archive.ubuntu.com precise-backports/main i386 Packages [6,478 B]
  141. Get:64 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [28 B]
  142. Get:65 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [45.1 kB]
  143. Get:66 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [5,413 B]
  144. Get:67 http://security.ubuntu.com precise-security/multiverse Translation-en [1,408 B]
  145. Get:68 http://security.ubuntu.com precise-security/restricted Translation-en [2,976 B]
  146. Get:69 http://us.archive.ubuntu.com precise-backports/main TranslationIndex [202 B]
  147. Get:70 http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex [202 B]
  148. Get:71 http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex [193 B]
  149. Get:72 http://us.archive.ubuntu.com precise-backports/universe TranslationIndex [205 B]
  150. Get:73 http://us.archive.ubuntu.com precise-updates/main Translation-en [409 kB]
  151. Get:74 http://security.ubuntu.com precise-security/universe Translation-en [82.0 kB]
  152. Get:75 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [9,603 B]
  153. Get:76 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [3,869 B]
  154. Get:77 http://us.archive.ubuntu.com precise-updates/universe Translation-en [163 kB]
  155. Ign http://downloads-distro.mongodb.org dist/10gen Translation-en_US
  156. Hit http://us.archive.ubuntu.com precise/main Sources
  157. Hit http://us.archive.ubuntu.com precise/restricted Sources
  158. Hit http://us.archive.ubuntu.com precise/universe Sources
  159. Hit http://us.archive.ubuntu.com precise/multiverse Sources
  160. Hit http://us.archive.ubuntu.com precise/main amd64 Packages
  161. Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
  162. Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
  163. Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
  164. Hit http://us.archive.ubuntu.com precise/main i386 Packages
  165. Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
  166. Hit http://us.archive.ubuntu.com precise/universe i386 Packages
  167. Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
  168. Hit http://us.archive.ubuntu.com precise/main TranslationIndex
  169. Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
  170. Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
  171. Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
  172. Ign http://downloads-distro.mongodb.org dist/10gen Translation-en
  173. Get:78 http://us.archive.ubuntu.com precise-backports/main Translation-en [5,737 B]
  174. Get:79 http://us.archive.ubuntu.com precise-backports/multiverse Translation-en [4,838 B]
  175. Get:80 http://us.archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
  176. Get:81 http://us.archive.ubuntu.com precise-backports/universe Translation-en [35.5 kB]
  177. Hit http://us.archive.ubuntu.com precise/main Translation-en
  178. Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
  179. Hit http://us.archive.ubuntu.com precise/restricted Translation-en
  180. Hit http://us.archive.ubuntu.com precise/universe Translation-en
  181. Fetched 6,528 kB in 8s (790 kB/s)
  182. Reading package lists...
  183. stdin: is not a tty
  184. Reading package lists...
  185. Building dependency tree...
  186. Reading state information...
  187. linux-headers-3.2.0-23-generic is already the newest version.
  188. The following packages will be upgraded:
  189. dkms
  190. 1 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.
  191. Need to get 73.3 kB of archives.
  192. After this operation, 3,072 B of additional disk space will be used.
  193. Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main dkms all 2.2.0.3-1ubuntu3.6 [73.3 kB]
  194. dpkg-preconfigure: unable to re-open stdin: No such file or directory
  195. Fetched 73.3 kB in 0s (122 kB/s)
  196. (Reading database ... 103729 files and directories currently installed.)
  197. Preparing to replace dkms 2.2.0.3-1ubuntu3 (using .../dkms_2.2.0.3-1ubuntu3.6_all.deb) ...
  198. Unpacking replacement dkms ...
  199. Processing triggers for man-db ...
  200. Setting up dkms (2.2.0.3-1ubuntu3.6) ...
  201. Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
  202. stdin: is not a tty
  203. mount: warning: /mnt seems to be mounted read-only.
  204. Installing Virtualbox Guest Additions 5.0.14 - guest version is 4.3.30
  205. stdin: is not a tty
  206. Verifying archive integrity... All good.
  207. Uncompressing VirtualBox 5.0.14 Guest Additions for Linux............
  208. VirtualBox Guest Additions installer
  209. Removing installed version 4.3.30 of VirtualBox Guest Additions...
  210. Copying additional installer modules ...
  211. Installing additional modules ...
  212. Removing existing VirtualBox DKMS kernel modules ...done.
  213. Removing existing VirtualBox non-DKMS kernel modules ...done.
  214. Building the VirtualBox Guest Additions kernel modules ...done.
  215. Doing non-kernel setup of the Guest Additions ...done.
  216. You should restart your guest to make sure the new modules are actually used
  217.  
  218. Installing the Window System drivers
  219. Installing X.Org Server 1.11 modules ...done.
  220. Setting up the Window System to use the Guest Additions ...done.
  221. You may need to restart the the Window System (or just restart the guest system)
  222. to enable the Guest Additions.
  223.  
  224. Installing graphics libraries and desktop services components ...done.
  225. An error occurred during installation of VirtualBox Guest Additions 5.0.14. Some functionality may not work as intended.
  226. In most cases it is OK that the "Window System drivers" installation failed.
  227. stdin: is not a tty
  228. Restarting VM to apply changes...
  229. ==> default: Attempting graceful shutdown of VM...
  230. ==> default: Booting VM...
  231. ==> default: Waiting for machine to boot. This may take a few minutes...
  232. default: SSH address: 127.0.0.1:2222
  233. default: SSH username: vagrant
  234. default: SSH auth method: private key
  235. ==> default: Machine booted and ready!
  236. ==> default: Checking for guest additions in VM...
  237. default: The guest additions on this VM do not match the installed version of
  238. default: VirtualBox! In most cases this is fine, but in rare cases it can
  239. default: prevent things such as shared folders from working properly. If you see
  240. default: shared folder errors, please make sure the guest additions within the
  241. default: virtual machine match the version of VirtualBox you have installed on
  242. default: your host and reload your VM.
  243. default:
  244. default: Guest Additions Version: 4.2.0
  245. default: VirtualBox Version: 5.0
  246. ==> default: Configuring and enabling network interfaces...
  247. ==> default: Exporting NFS shared folders...
  248. ==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
  249.  
  250. WARNING: Improper use of the sudo command could lead to data loss
  251. or the deletion of important system files. Please double-check your
  252. typing when using sudo. Type "man sudo" for more information.
  253.  
  254. To proceed, enter your password, or type Ctrl-C to abort.
  255.  
  256. Password:
  257. The nfsd service does not appear to be running.
  258. Starting the nfsd service
  259. ==> default: Mounting NFS shared folders...
  260. ==> default: Running provisioner: shell...
  261. default: Running: inline script
  262. ==> default: stdin: is not a tty
  263. ==> default:
  264. ==> default: PLAY [Deploy the edx_ansible role] ********************************************
  265. ==> default:
  266. ==> default: GATHERING FACTS ***************************************************************
  267. ==> default: ok: [localhost]
  268. ==> default:
  269. ==> default: TASK: [user | debug var=user_info] ********************************************
  270. ==> default: ok: [localhost] => {
  271. ==> default: "var": {
  272. ==> default: "user_info": []
  273. ==> default: }
  274. ==> default: }
  275. ==> default:
  276. ==> default: TASK: [user | create the edxadmin group] **************************************
  277. ==> default: ok: [localhost]
  278. ==> default:
  279. ==> default: TASK: [user | ensure sudoers.d is read] ***************************************
  280. ==> default: ok: [localhost]
  281. ==> default:
  282. ==> default: TASK: [user | grant full sudo access to the edxadmin group] *******************
  283. ==> default: ok: [localhost]
  284. ==> default:
  285. ==> default: TASK: [user | create the users] ***********************************************
  286. ==> default: skipping: [localhost]
  287. ==> default:
  288. ==> default: TASK: [user | create .ssh directory] ******************************************
  289. ==> default: skipping: [localhost]
  290. ==> default:
  291. ==> default: TASK: [user | assign admin role to admin users] *******************************
  292. ==> default: skipping: [localhost]
  293. ==> default:
  294. ==> default: TASK: [user | get github key[s]] **********************************************
  295. ==> default: skipping: [localhost]
  296. ==> default:
  297. ==> default: TASK: [user | update the authorized_keys file] ********************************
  298. ==> default: skipping: [localhost]
  299. ==> default:
  300. ==> default: TASK: [user | create bashrc file for normal users] ****************************
  301. ==> default: skipping: [localhost]
  302. ==> default:
  303. ==> default: TASK: [user | create .profile for all users] **********************************
  304. ==> default: skipping: [localhost]
  305. ==> default:
  306. ==> default: TASK: [user | modify shell for restricted users] ******************************
  307. ==> default: skipping: [localhost]
  308. ==> default:
  309. ==> default: TASK: [user | create bashrc file for restricted users] ************************
  310. ==> default: skipping: [localhost]
  311. ==> default:
  312. ==> default: TASK: [user | create sudoers file from template] ******************************
  313. ==> default: ok: [localhost]
  314. ==> default:
  315. ==> default: TASK: [user | change home directory ownership to root for restricted users] ***
  316. ==> default: skipping: [localhost]
  317. ==> default:
  318. ==> default: TASK: [user | create ~/bin directory] *****************************************
  319. ==> default: skipping: [localhost]
  320. ==> default:
  321. ==> default: TASK: [user | create allowed command links] ***********************************
  322. ==> default: skipping: [localhost]
  323. ==> default:
  324. ==> default: TASK: [security | install security packages] **********************************
  325. ==> default: skipping: [localhost]
  326. ==> default:
  327. ==> default: TASK: [security | update all system packages] *********************************
  328. ==> default: skipping: [localhost]
  329. ==> default:
  330. ==> default: TASK: [security | configure periodic unattended-upgrades] *********************
  331. ==> default: skipping: [localhost]
  332. ==> default:
  333. ==> default: TASK: [security | disable unattended-upgrades] ********************************
  334. ==> default: skipping: [localhost]
  335. ==> default:
  336. ==> default: TASK: [security | only unattended-upgrade from security repo] *****************
  337. ==> default: skipping: [localhost]
  338. ==> default:
  339. ==> default: TASK: [security | disable security only updates on unattended-upgrades] *******
  340. ==> default: skipping: [localhost]
  341. ==> default:
  342. ==> default: TASK: [security | Check if we are vulnerable] *********************************
  343. ==> default: skipping: [localhost]
  344. ==> default:
  345. ==> default: TASK: [security | Apply bash security update if we are vulnerable] ************
  346. ==> default: skipping: [localhost]
  347. ==> default:
  348. ==> default: TASK: [security | Check again and fail if we are still vulnerable] ************
  349. ==> default: skipping: [localhost]
  350. ==> default:
  351. ==> default: TASK: [security | GHOST.c] ****************************************************
  352. ==> default: skipping: [localhost]
  353. ==> default:
  354. ==> default: TASK: [security | compile GHOST] **********************************************
  355. ==> default: skipping: [localhost]
  356. ==> default:
  357. ==> default: TASK: [security | Check if we are vulnerable] *********************************
  358. ==> default: skipping: [localhost]
  359. ==> default:
  360. ==> default: TASK: [security | Apply glibc security update if we are vulnerable] ***********
  361. ==> default: skipping: [localhost]
  362. ==> default:
  363. ==> default: TASK: [common | Update CA Certificates] ***************************************
  364. ==> default: changed: [localhost]
  365. ==> default:
  366. ==> default: TASK: [common | Add user www-data] ********************************************
  367. ==> default: ok: [localhost]
  368. ==> default:
  369. ==> default: TASK: [common | Create common directories] ************************************
  370. ==> default: changed: [localhost] => (item=/edx/var)
  371. ==> default: ok: [localhost] => (item=/edx/app)
  372. ==> default: ok: [localhost] => (item=/edx/bin)
  373. ==> default: ok: [localhost] => (item=/edx/etc)
  374. ==> default:
  375. ==> default: TASK: [common | check if instance is vagrant] *********************************
  376. ==> default: ok: [localhost]
  377. ==> default:
  378. ==> default: TASK: [common | Add git apt repository] ***************************************
  379. ==> default: ok: [localhost]
  380. ==> default:
  381. ==> default: TASK: [common | Install role-independent useful system packages] **************
  382. ==> default: ok: [localhost]
  383. ==> default:
  384. ==> default: TASK: [common | Create common log directory] ********
  385. ==> default: **************************
  386. ==> default: ok: [localhost]
  387. ==> default:
  388. ==> default: TASK: [common | upload sudo config for key forwarding as root] ****************
  389. ==> default: ok: [localhost]
  390. ==> default:
  391. ==> default: TASK: [common | pip install virtualenv] ***************************************
  392. ==> default: ok: [localhost] => (item=pip==1.5.6)
  393. ==> default: ok: [localhost] => (item=setuptools==3.6)
  394. ==> default: ok: [localhost] => (item=virtualenv==1.11.6)
  395. ==> default: ok: [localhost] => (item=virtualenvwrapper)
  396. ==> default:
  397. ==> default: TASK: [common | Install rsyslog configuration for edX] ************************
  398. ==> default: ok: [localhost]
  399. ==> default:
  400. ==> default: TASK: [common | Remove the default rsyslog configuration] *********************
  401. ==> default: ok: [localhost]
  402. ==> default:
  403. ==> default: TASK: [common | Create hourly subdirectory in logrotate.d] ********************
  404. ==> default: ok: [localhost]
  405. ==> default:
  406. ==> default: TASK: [common | Install logrotate configuration for edX] **********************
  407. ==> default: ok: [localhost]
  408. ==> default:
  409. ==> default: TASK: [common | Install logrotate configuration for tracking file] ************
  410. ==> default: ok: [localhost]
  411. ==> default:
  412. ==> default: TASK: [common | Add logrotate for tracking.log to cron.hourly] ****************
  413. ==> default: ok: [localhost]
  414. ==> default:
  415. ==> default: TASK: [common | update /etc/hosts] ********************************************
  416. ==> default: skipping: [localhost]
  417. ==> default:
  418. ==> default: TASK: [common | update /etc/hostname] *****************************************
  419. ==> default: skipping: [localhost]
  420. ==> default:
  421. ==> default: TASK: [common | run hostname] *************************************************
  422. ==> default: skipping: [localhost]
  423. ==> default:
  424. ==> default: TASK: [common | update /etc/dhcp/dhclient.conf] *******************************
  425. ==> default: skipping: [localhost]
  426. ==> default:
  427. ==> default: TASK: [common | add ssh-warning banner motd] **********************************
  428. ==> default: changed: [localhost]
  429. ==> default:
  430. ==> default: TASK: [common | update ssh config] ********************************************
  431. ==> default: changed: [localhost]
  432. ==> default:
  433. ==> default: TASK: [aws | gather ec2 facts for use in other roles] *************************
  434. ==> default: ok: [localhost]
  435. ==> default:
  436. ==> default: TASK: [aws | shell /sbin/ifconfig eth0 mtu 1500 up
  437. ==> default: ] **************************
  438. ==> default: changed: [localhost]
  439. ==> default:
  440. ==> default: TASK: [aws | lineinfile dest=/etc/dhcp/dhclient.conf regexp="^supercede interfact-mtu" line="supercede interface-mtu 1500;" insertbefore="^request"
  441. ==> default: ] ***
  442. ==> default: changed: [localhost]
  443. ==> default:
  444. ==> default: TASK: [aws | create all service directories] **********************************
  445. ==> default: ok: [localhost] => (item={'key': 'home', 'value': {'owner': 'root', 'path': u'/edx/app/aws', 'group': 'root', 'mode': '0755'}})
  446. ==> default: ok: [localhost] => (item={'key': 'data', 'value': {'owner': 'root', 'path': u'/edx/var/aws', 'group': 'root', 'mode': '0700'}})
  447. ==> default: ok: [localhost] => (item={'key': 'logs', 'value': {'owner': 'syslog', 'path': u'/edx/var/log/aws', 'group': 'syslog', 'mode': '0650'}})
  448. ==> default:
  449. ==> default: TASK: [aws | install system packages] *****************************************
  450. ==> default: ok: [localhost]
  451. ==> default:
  452. ==> default: TASK: [aws | install aws python packages] *************************************
  453. ==> default: ok: [localhost] => (item=https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz)
  454. ==> default: ok: [localhost] => (item=awscli==1.4.2)
  455. ==> default: ok: [localhost] => (item=boto=="2.34.0")
  456. ==> default:
  457. ==> default: TASK: [aws | get s3cmd] *******************************************************
  458. ==> default: ok: [localhost]
  459. ==> default:
  460. ==> default: TASK: [aws | untar s3cmd] *****************************************************
  461. ==> default: changed: [localhost]
  462. ==> default:
  463. ==> default: TASK: [aws | create symlink for s3cmd] ****************************************
  464. ==> default: ok: [localhost]
  465. ==> default:
  466. ==> default: TASK: [aws | create s3 log sync script] ***************************************
  467. ==> default: skipping: [localhost]
  468. ==> default:
  469. ==> default: TASK: [aws | create symlink for s3 log sync script] ***************************
  470. ==> default: skipping: [localhost]
  471. ==> default:
  472. ==> default: TASK: [aws | force logrotate on supervisor stop] ******************************
  473. ==> default: skipping: [localhost]
  474. ==> default:
  475. ==> default: TASK: [aws | cronjob for s3 log sync] *****************************************
  476. ==> default: skipping: [localhost]
  477. ==> default:
  478. ==> default: TASK: [aws | update the ssh motd on Ubuntu] ***********************************
  479. ==> default: skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
  480. ==> default: skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
  481. ==> default: skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
  482. ==> default: skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
  483. ==> default:
  484. ==> default: TASK: [edx_ansible | create application user] *********************************
  485. ==> default: ok: [localhost]
  486. ==> default:
  487. ==> default: TASK: [edx_ansible | create edx_ansible app and venv dir] *********************
  488. ==> default: ok: [localhost] =>
  489. ==> default: (item=/edx/app/edx_ansible)
  490. ==> default: ok: [localhost] => (item=/edx/var/edx_ansible)
  491. ==> default: ok: [localhost] => (item=/edx/app/edx_ansible/venvs)
  492. ==> default:
  493. ==> default: TASK: [edx_ansible | install a bunch of system packages on which edx_ansible relies] ***
  494. ==> default: ok: [localhost]
  495. ==> default:
  496. ==> default: TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] ***
  497. ==> default: changed: [localhost]
  498. ==> default:
  499. ==> default: TASK: [edx_ansible | install edx_ansible venv requirements] *******************
  500. ==> default: ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
  501. ==> default: ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
  502. ==> default:
  503. ==> default: TASK: [edx_ansible | create update script] ************************************
  504. ==> default: changed: [localhost]
  505. ==> default:
  506. ==> default: TASK: [edx_ansible | create a symlink for update.sh] **************************
  507. ==> default: ok: [localhost]
  508. ==> default:
  509. ==> default: TASK: [edx_ansible | create a symlink for ansible-playbook] *******************
  510. ==> default: ok: [localhost]
  511. ==> default:
  512. ==> default: TASK: [edx_ansible | create a symlink for the playbooks dir] ******************
  513. ==> default: ok: [localhost]
  514. ==> default:
  515. ==> default: NOTIFIED: [common | restart ssh] **********************************************
  516. ==> default: changed: [localhost]
  517. ==> default:
  518. ==> default: PLAY RECAP ********************************************************************
  519. ==> default: localhost : ok=43 changed=10 unreachable=0 failed=0
  520. ==> default:
  521. ==> default: PLAY [all] ********************************************************************
  522. ==> default:
  523. ==> default: GATHERING FACTS ***************************************************************
  524. ==> default: ok: [localhost]
  525. ==> default:
  526. ==> default: TASK: [user | debug var=user_info] ********************************************
  527. ==> default: ok: [localhost] => {
  528. ==> default: "var": {
  529. ==> default: "user_info": []
  530. ==> default: }
  531. ==> default: }
  532. ==> default:
  533. ==> default: TASK: [user | create the edxadmin group] **************************************
  534. ==> default: ok: [localhost]
  535. ==> default:
  536. ==> default: TASK: [user | ensure sudoers.d is read] ***************************************
  537. ==> default: ok: [localhost]
  538. ==> default:
  539. ==> default: TASK: [user | grant full sudo access to the edxadmin group] *******************
  540. ==> default: ok: [localhost]
  541. ==> default:
  542. ==> default: TASK: [user | create the users] ***********************************************
  543. ==> default: skipping: [localhost]
  544. ==> default:
  545. ==> default: TASK: [user | create .ssh directory] ******************************************
  546. ==> default: skipping: [localhost]
  547. ==> default:
  548. ==> default: TASK: [user | assign admin role to admin users] *******************************
  549. ==> default: skipping: [localhost]
  550. ==> default:
  551. ==> default: TASK: [user | get github key[s]] **********************************************
  552. ==> default: skipping: [localhost]
  553. ==> default:
  554. ==> default: TASK: [user | update the authorized_keys file] ********************************
  555. ==> default: skipping: [localhost]
  556. ==> default:
  557. ==> default: TASK: [user | create bashrc file for normal users] ****************************
  558. ==> default: skipping: [localhost]
  559. ==> default:
  560. ==> default: TASK: [user | create .profile for all users] **********************************
  561. ==> default: skipping: [localhost]
  562. ==> default:
  563. ==> default: TASK: [user | modify shell for restricted users] ******************************
  564. ==> default: skipping: [localhost]
  565. ==> default:
  566. ==> default: TASK: [user | create bashrc file for restricted users] ************************
  567. ==> default: skipping: [localhost]
  568. ==> default:
  569. ==> default: TASK: [user | create sudoers file from template] ******************************
  570. ==> default: ok: [localhost]
  571. ==> default:
  572. ==> default: TASK: [user | change home directory ownership to root for restricted users] ***
  573. ==> default: skipping: [localhost]
  574. ==> default:
  575. ==> default: TASK: [user | create ~/bin directory] *****************************************
  576. ==> default: skipping: [localhost]
  577. ==> default:
  578. ==> default: TASK: [user | create allowed command links] ***********************************
  579. ==> default: skipping: [localhost]
  580. ==> default:
  581. ==> default: TASK: [security | install security packages] **********************************
  582. ==> default: skipping: [localhost]
  583. ==> default:
  584. ==> default: TASK: [security | update all system packages] *********************************
  585. ==> default: skipping: [localhost]
  586. ==> default:
  587. ==> default: TASK: [security | configure periodic unattended-upgrades] *********************
  588. ==> default: skipping: [localhost]
  589. ==> default:
  590. ==> default: TASK: [security | disable unattended-upgrades] ********************************
  591. ==> default: skipping: [localhost]
  592. ==> default:
  593. ==> default: TASK: [security | only unattended-upgrade from security repo] *****************
  594. ==> default: skipping: [localhost]
  595. ==> default:
  596. ==> default: TASK: [security | disable security only updates on unattended-upgrades] *******
  597. ==> default: skipping: [localhost]
  598. ==> default:
  599. ==> default: TASK: [security | Check if we are vulnerable] *********************************
  600. ==> default: skipping: [localhost]
  601. ==> default:
  602. ==> default: TASK: [security | Apply bash security update if we are vulnerable] ************
  603. ==> default: skipping: [localhost]
  604. ==> default:
  605. ==> default: TASK: [security | Check again and fail if we are still vulnerable] ************
  606. ==> default: skipping: [localhost]
  607. ==> default:
  608. ==> default: TASK: [security | GHOST.c] ****************************************************
  609. ==> default: skipping: [localhost]
  610. ==> default:
  611. ==> default: TASK: [security | compile GHOST] **********************************************
  612. ==> default: skipping: [localhost]
  613. ==> default:
  614. ==> default: TASK: [security | Check if we are vulnerable] *********************************
  615. ==> default: skipping: [localhost]
  616. ==> default:
  617. ==> default: TASK: [security | Apply glibc security update if we are vulnerable] ***********
  618. ==> default: skipping: [localhost]
  619. ==> default:
  620. ==> default: TASK: [common | Update CA Certificates] ***************************************
  621. ==> default: changed: [localhost]
  622. ==> default:
  623. ==> default: TASK: [common | Add user www-data] ********************************************
  624. ==> default: ok: [localhost]
  625. ==> default:
  626. ==> default: TASK: [common | Create common directories] ************************************
  627. ==> default: ok: [localhost] => (item=/edx/var)
  628. ==> default: ok: [localhost] => (item=/edx/app)
  629. ==> default: ok: [localhost] => (item=/edx/bin)
  630. ==> default: ok: [localhost] => (item=/edx/etc)
  631. ==> default:
  632. ==> default: TASK: [common | check if instance is vagrant] *********************************
  633. ==> default: ok: [localhost]
  634. ==> default:
  635. ==> default: TASK: [common | Add git apt repository] ***************************************
  636. ==> default: ok: [localhost]
  637. ==> default:
  638. ==> default: TASK: [common | Install role-independent useful system packages] **************
  639. ==> default: ok: [localhost]
  640. ==> default:
  641. ==> default: TASK: [common | Create common log directory] **********************************
  642. ==> default: ok: [localhost]
  643. ==> default:
  644. ==> default: TASK: [common | upload sudo config for key forwarding as root] ****************
  645. ==> default: ok: [localhost]
  646. ==> default:
  647. ==> default: TASK: [common | pip install virtualenv] ***************************************
  648. ==> default: ok: [localhost] => (item=pip==1.5.6)
  649. ==> default: ok: [localhost] => (item=setuptools==3.6)
  650. ==> default: ok: [localhost] => (item=virtualenv==1.11.6)
  651. ==> default: ok: [localhost] => (item=virtualenvwrapper)
  652. ==> default:
  653. ==> default: TASK: [common | Install rsyslog configuration for edX] ************************
  654. ==> default: ok: [localhost]
  655. ==> default:
  656. ==> default: TASK: [common | Remove the default rsyslog configuration] *********************
  657. ==> default: ok: [localhost]
  658. ==> default:
  659. ==> default: TASK: [common | Create hourly subdirectory in logrotate.d] ********************
  660. ==> default: ok: [localhost]
  661. ==> default:
  662. ==> default: TASK: [common | Install logrotate configuration for edX] **********************
  663. ==> default: ok: [localhost]
  664. ==> default:
  665. ==> default: TASK: [common | Install logrotate configuration for tracking file] ************
  666. ==> default: ok: [localhost]
  667. ==> default:
  668. ==> default: TASK: [common | Add logrotate for tracking.log to cron.hourly] ****************
  669. ==> default: ok: [localhost]
  670. ==> default:
  671. ==> default: TASK: [common | update /etc/hosts] ********************************************
  672. ==> default: skipping: [localhost]
  673. ==> default:
  674. ==> default: TASK: [common | update /etc/hostname] *****************************************
  675. ==> default: skipping: [localhost]
  676. ==> default:
  677. ==> default: TASK: [common | run hostname] *************************************************
  678. ==> default: skipping: [localhost]
  679. ==> default:
  680. ==> default: TASK: [common | update /etc/dhcp/dhclient.conf] *******************************
  681. ==> default: skipping: [localhost]
  682. ==> default:
  683. ==> default: TASK: [common | add ssh-warning banner motd] **********************************
  684. ==> default: ok: [localhost]
  685. ==> default:
  686. ==> default: TASK: [common | update ssh config] ********************************************
  687. ==> default: ok: [localhost]
  688. ==> default:
  689. ==> default: TASK: [aws | gather ec2 facts for use in other roles] *************************
  690. ==> default: ok: [localhost]
  691. ==> default:
  692. ==> default: TASK: [aws | shell /sbin/ifconfig eth0 mtu 1500 up
  693. ==> default: ] **************************
  694. ==> default: changed: [localhost]
  695. ==> default:
  696. ==> default: TASK: [aws | lineinfile dest=/etc/dhcp/dhclient.conf regexp="^supercede interfact-mtu" line="supercede interface-mtu 1500;" insertbefore="^request"
  697. ==> default: ] ***
  698. ==> default: changed: [localhost]
  699. ==> default:
  700. ==> default: TASK: [aws | create all service directories] **********************************
  701. ==> default: ok: [localhost] => (item={'key': 'home', 'value': {'owner': 'root', 'path': u'/edx/app/aws', 'group': 'root', 'mode': '0755'}})
  702. ==> default: ok: [localhost] => (item={'key': 'data', 'value': {'owner': 'root', 'path': u'/edx/var/aws', 'group': 'root', 'mode': '0700'}})
  703. ==> default: ok: [localhost] => (item={'key': 'logs', 'value': {'owner': 'syslog', 'path': u'/edx/var/log/aws', 'group': 'syslog', 'mode': '0650'}})
  704. ==> default:
  705. ==> default: TASK: [aws | install system packages] *****************************************
  706. ==> default: ok: [localhost]
  707. ==> default:
  708. ==> default: TASK: [aws | install aws python packages] *************************************
  709. ==> default: ok: [localhost] => (item=https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz)
  710. ==> default: ok: [localhost] => (item=awscli==1.4.2)
  711. ==> default: ok: [localhost] => (item=boto=="2.34.0")
  712. ==> default:
  713. ==> default: TASK: [aws | get s3cmd] *******************************************************
  714. ==> default: ok: [localhost]
  715. ==> default:
  716. ==> default: TASK: [aws | untar s3cmd] *****************************************************
  717. ==> default: changed: [localhost]
  718. ==> default:
  719. ==> default: TASK: [aws | create symlink for s3cmd] ****************************************
  720. ==> default: ok: [localhost]
  721. ==> default:
  722. ==> default: TASK: [aws | create s3 log sync script] ***************************************
  723. ==> default: skipping: [localhost]
  724. ==> default:
  725. ==> default: TASK: [aws | create symlink for s3 log sync script] ***************************
  726. ==> default: skipping: [localhost]
  727. ==> default:
  728. ==> default: TASK: [aws | force logrotate on supervisor stop] ******************************
  729. ==> default: skipping: [localhost]
  730. ==> default:
  731. ==> default: TASK: [aws | cronjob for s3 log sync] *****************************************
  732. ==> default: skipping: [localhost]
  733. ==> default:
  734. ==> default: TASK: [aws | update the ssh motd on Ubuntu] ***********************************
  735. ==> default: skipping: [localhost] => (item=/etc/update-motd.d/10-help-text)
  736. ==> default: skipping: [localhost] => (item=/usr/share/landscape/landscape-sysinfo.wrapper)
  737. ==> default: skipping: [localhost] => (item=/etc/update-motd.d/51-cloudguest)
  738. ==> default: skipping: [localhost] => (item=/etc/update-motd.d/91-release-upgrade)
  739. ==> default:
  740. ==> default: TASK: [{{role}} | create application user] ************************************
  741. ==> default: ok: [localhost]
  742. ==> default:
  743. ==> default: TASK: [{{role}} | create edx_ansible app and venv dir] ************************
  744. ==> default: ok: [localhost] => (item=/edx/app/edx_ansible)
  745. ==> default: ok: [localhost] => (item=/edx/var/edx_ansible)
  746. ==> default: ok: [localhost] => (item=/edx/app/edx_ansible/venvs)
  747. ==> default:
  748. ==> default: TASK: [{{role}} | install a bunch of system packages on which edx_ansible relies] ***
  749. ==> default: ok: [localhost]
  750. ==> default:
  751. ==> default: TASK: [{{role}} | git checkout edx_ansible repo into edx_ansible_code_dir] ****
  752. ==> default: ok: [localhost]
  753. ==> default:
  754. ==> default: TASK: [{{role}} | install edx_ansible venv requirements] **********************
  755. ==> default: ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/pre-requirements.txt)
  756. ==> default: ok: [localhost] => (item=/edx/app/edx_ansible/edx_ansible/requirements.txt)
  757. ==> default:
  758. ==> default: TASK: [{{role}} | create update script] ***************************************
  759. ==> default: ok: [localhost]
  760. ==> default:
  761. ==> default: TASK: [{{role}} | create a symlink for update.sh] *****************************
  762. ==> default: ok: [localhost]
  763. ==> default:
  764. ==> default: TASK: [{{role}} | create a symlink for ansible-playbook] **********************
  765. ==> default: ok: [localhost]
  766. ==> default:
  767. ==> default: TASK: [{{role}} | create a symlink for the playbooks dir] *********************
  768. ==> default: ok: [localhost]
  769. ==> default:
  770. ==> default: PLAY RECAP ********************************************************************
  771. ==> default: localhost : ok=42 changed=4 unreachable=0 failed=0
  772. ==> default:
  773. ==> default: PLAY [Configure instance(s)] **************************************************
  774. ==> default:
  775. ==> default: GATHERING FACTS ***************************************************************
  776. ==> default: ok: [localhost]
  777. ==> default:
  778. ==> default: TASK: [user | debug var=user_info] ********************************************
  779. ==> default: ok: [localhost] => {
  780. ==> default: "var": {
  781. ==> default: "user_info": []
  782. ==> default: }
  783. ==> default: }
  784. ==> default:
  785. ==> default: TASK: [user | create the edxadmin group] **************************************
  786. ==> default: ok: [localhost]
  787. ==> default:
  788. ==> default: TASK: [user | ensure sudoers.d is read] ***************************************
  789. ==> default: ok: [localhost]
  790. ==> default:
  791. ==> default: TASK: [user | grant full sudo access to the edxadmin group] *******************
  792. ==> default: ok: [localhost]
  793. ==> default:
  794. ==> default: TASK: [user | create the users] ***********************************************
  795. ==> default: skipping: [localhost]
  796. ==> default:
  797. ==> default: TASK: [user | create .ssh directory] ******************************************
  798. ==> default: skipping: [localhost]
  799. ==> default:
  800. ==> default: TASK: [user | assign admin role to admin users] *******************************
  801. ==> default: skipping: [localhost]
  802. ==> default:
  803. ==> default: TASK: [user | get github key[s]] **********************************************
  804. ==> default: skipping: [localhost]
  805. ==> default:
  806. ==> default: TASK: [user | update the authorized_keys file] ********************************
  807. ==> default: skipping: [localhost]
  808. ==> default:
  809. ==> default: TASK: [user | create bashrc file for normal users] ****************************
  810. ==> default: skipping: [localhost]
  811. ==> default:
  812. ==> default: TASK: [user | create .profile for all users] **********************************
  813. ==> default: skipping: [localhost]
  814. ==> default:
  815. ==> default: TASK: [user | modify shell for restricted users] ******************************
  816. ==> default: skipping: [localhost]
  817. ==> default:
  818. ==> default: TASK: [user | create bashrc file for restricted users] ************************
  819. ==> default: skipping: [localhost]
  820. ==> default:
  821. ==> default: TASK: [user | create sudoers file from template] ******************************
  822. ==> default: ok: [localhost]
  823. ==> default:
  824. ==> default: TASK: [user | change home directory ownership to root for restricted users] ***
  825. ==> default: skipping: [localhost]
  826. ==> default:
  827. ==> default: TASK: [user | create ~/bin directory] *****************************************
  828. ==> default: skipping: [localhost]
  829. ==> default:
  830. ==> default: TASK: [user | create allowed command links] ***********************************
  831. ==> default: skipping: [localhost]
  832. ==> default:
  833. ==> default: TASK: [security | install security packages] **********************************
  834. ==> default: skipping: [localhost]
  835. ==> default:
  836. ==> default: TASK: [security | update all system packages] *********************************
  837. ==> default: skipping: [localhost]
  838. ==> default:
  839. ==> default: TASK: [security | configure periodic unattended-upgrades] *********************
  840. ==> default: skipping: [localhost]
  841. ==> default:
  842. ==> default: TASK: [security | disable unattended-upgrades] ********************************
  843. ==> default: skipping: [localhost]
  844. ==> default:
  845. ==> default: TASK: [security | only unattended-upgrade from security repo] *****************
  846. ==> default: skipping: [localhost]
  847. ==> default:
  848. ==> default: TASK: [security | disable security only updates on unattended-upgrades] *******
  849. ==> default: skipping: [localhost]
  850. ==> default:
  851. ==> default: TASK: [security | Check if we are vulnerable] *********************************
  852. ==> default: skipping: [localhost]
  853. ==> default:
  854. ==> default: TASK: [security | Apply bash security update if we are vulnerable] ************
  855. ==> default: skipping: [localhost]
  856. ==> default:
  857. ==> default: TASK: [security | Check again and fail if we are still vulnerable] ************
  858. ==> default: skipping: [localhost]
  859. ==> default:
  860. ==> default: TASK: [security | GHOST.c] ****************************************************
  861. ==> default: skipping: [localhost]
  862. ==> default:
  863. ==> default: TASK: [security | compile GHOST] **********************************************
  864. ==> default: skipping: [localhost]
  865. ==> default:
  866. ==> default: TASK: [security | Check if we are vulnerable] *********************************
  867. ==> default: skipping: [localhost]
  868. ==> default:
  869. ==> default: TASK: [security | Apply glibc security update if we are vulnerable] ***********
  870. ==> default: skipping: [localhost]
  871. ==> default:
  872. ==> default: TASK: [common | Update CA Certificates] ***************************************
  873. ==> default: changed: [localhost]
  874. ==> default:
  875. ==> default: TASK: [common | Add user www-data] ********************************************
  876. ==> default: ok: [localhost]
  877. ==> default:
  878. ==> default: TASK: [common | Create common directories] ************************************
  879. ==> default: ok: [localhost] => (item=/edx/var)
  880. ==> default: ok: [localhost] => (item=/edx/app)
  881. ==> default: ok: [localhost] => (item=/edx/bin)
  882. ==> default: ok: [localhost] => (item=/edx/etc)
  883. ==> default:
  884. ==> default: TASK: [common | check if instance is vagrant] *********************************
  885. ==> default: ok: [localhost]
  886. ==> default:
  887. ==> default: TASK: [common | Add git apt repository] ***************************************
  888. ==> default: ok: [localhost]
  889. ==> default:
  890. ==> default: TASK: [common | Install role-independent useful system packages] **************
  891. ==> default: ok: [localhost]
  892. ==> default:
  893. ==> default: TASK: [common | Create common log directory] **********************************
  894. ==> default: ok: [localhost]
  895. ==> default:
  896. ==> default: TASK: [common | upload sudo config for key forwarding as root] ****************
  897. ==> default: ok: [localhost]
  898. ==> default:
  899. ==> default: TASK: [common | pip install virtualenv] ***************************************
  900. ==> default: ok: [localhost] => (item=pip==1.5.6)
  901. ==> default: ok: [localhost] => (item=setuptools==3.6)
  902. ==> default: ok: [localhost] => (item=virtualenv==1.11.6)
  903. ==> default: ok: [localhost] => (item=virtualenvwrapper)
  904. ==> default:
  905. ==> default: TASK: [common | Install rsyslog configuration for edX] ************************
  906. ==> default: ok: [localhost]
  907. ==> default:
  908. ==> default: TASK: [common | Remove the default rsyslog configuration] *********************
  909. ==> default: ok: [localhost]
  910. ==> default:
  911. ==> default: TASK: [common | Create hourly subdirectory in logrotate.d] ********************
  912. ==> default: ok: [localhost]
  913. ==> default:
  914. ==> default: TASK: [common | Install logrotate configuration for edX] **********************
  915. ==> default: ok: [localhost]
  916. ==> default:
  917. ==> default: TASK: [common | Install logrotate configuration for tracking file] ************
  918. ==> default: ok: [localhost]
  919. ==> default:
  920. ==> default: TASK: [common | Add logrotate for tracking.log to cron.hourly] ****************
  921. ==> default: ok: [localhost]
  922. ==> default:
  923. ==> default: TASK: [common | update /etc/hosts] ********************************************
  924. ==> default: skipping: [localhost]
  925. ==> default:
  926. ==> default: TASK: [common | update /etc/hostname] *****************************************
  927. ==> default: skipping: [localhost]
  928. ==> default:
  929. ==> default: TASK: [common | run hostname] *************************************************
  930. ==> default: skipping: [localhost]
  931. ==> default:
  932. ==> default: TASK: [common | update /etc/dhcp/dhclient.conf] *******************************
  933. ==> default: skipping: [localhost]
  934. ==> default:
  935. ==> default: TASK: [common | add ssh-warning banner motd] **********************************
  936. ==> default: changed: [localhost]
  937. ==> default:
  938. ==> default: TASK: [common | update ssh config] ********************************************
  939. ==> default: changed: [localhost]
  940. ==> default:
  941. ==> default: TASK: [aws | gather ec2 facts for use in other roles] *************************
  942. ==> default: ok: [localhost]
  943. ==> default:
  944. ==> default: TASK: [aws | shell /sbin/ifconfig eth0 mtu 1500 up
  945. ==> default: ] **************************
  946. ==> default: changed: [localhost]
  947. ==> default:
  948. ==> default: TASK: [aws | lineinfile dest=/etc/dhcp/dhclient.conf regexp="^supercede interfact-mtu" line="supercede interface-mtu 1500;" insertbefore="^request"
  949. ==> default: ] ***
  950. ==> default: changed: [localhost]
  951. ==> default:
  952. ==> default: TASK: [aws | create all service directories] **********************************
  953. ==> default: ok: [localhost] => (item={'key': 'home', 'value': {'owner': 'root', 'path': u'/edx/app/aws', 'group': 'root', 'mode': '0755'}})
  954. ==> default: ok: [localhost] => (item={'key': 'data', 'value': {'owner': 'root', 'path': u'/edx/var/aws', 'group': 'root', 'mode': '0700'}})
  955. ==> default: ok: [localhost] => (item={'key': 'logs', 'value': {'owner': 'syslog', 'path': u'/edx/var/log/aws', 'group': 'syslog', 'mode': '0650'}})
  956. ==> default:
  957. ==> default: TASK: [aws | install system packages] *****************************************
  958. ==> default: ok: [localhost]
  959. ==> default:
  960. ==> default: TASK: [aws | install aws python packages] *************************************
  961. ==> default: ok: [localhost] => (item=https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz)
  962. ==> default: ok: [localhost] => (item=awscli==1.4.2)
  963. ==> default: ok: [localhost] => (item=boto=="2.34.0")
  964. ==> default:
  965. ==> default: TASK: [aws | get s3cmd] *******************************************************
  966. ==> default: failed: [localhost] => {"failed": true}
  967. ==> default: msg: failed to create temporary content file: timed out
  968. ==> default:
  969. ==> default: FATAL: all hosts have already failed -- aborting
  970. ==> default:
  971. ==> default: PLAY RECAP ********************************************************************
  972. ==> default: to retry, use: --limit @/root/vagrant-devstack.retry
  973. ==> default: localhost : ok=29 changed=5 unreachable=0 failed=1
  974. The SSH command responded with a non-zero exit status. Vagrant
  975. assumes that this means the command failed. The output for this command
  976. should be in the log above. Please read the output to determine what
  977. went wrong.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement