Created
July 20, 2015 18:44
-
-
Save singingwolfboy/5d16885d45d240d32b86 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@precise64:/tmp$ curl -O https://raw.githubusercontent.com/edx/configuration/master/util/vagrant/migrate.sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 2735 100 2735 0 0 5452 0 --:--:-- --:--:-- --:--:-- 5984 | |
vagrant@precise64:/tmp$ chmod a+x migrate.sh | |
vagrant@precise64:/tmp$ ./migrate.sh -h | |
Attempts to migrate your Open edX installation to a different release. | |
-c CONFIGURATION | |
Use the given configuration. Either "devstack" or "fullstack". | |
Defaults to "fullstack" | |
-t TARGET | |
Migrate to the given git ref. Defaults to "named-release/birch" | |
-y | |
Run in non-interactive mode (reply "yes" to all questions) | |
-h | |
Show this help and exit. | |
vagrant@precise64:/tmp$ ./migrate.sh -t "named-release/cypress.rc" | |
Cloning into 'configuration'... | |
remote: Counting objects: 1206, done. | |
remote: Compressing objects: 100% (760/760), done. | |
remote: Total 1206 (delta 127), reused 885 (delta 69), pack-reused 0 | |
Receiving objects: 100% (1206/1206), 418.84 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (127/127), done. | |
Checking connectivity... done. | |
PLAY [Configure instance(s)] ************************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [localhost] | |
TASK: [user | debug var=user_info] ******************************************** | |
ok: [localhost] => { | |
"item": "", | |
"user_info": [] | |
} | |
TASK: [user | create the edxadmin group] ************************************** | |
ok: [localhost] | |
TASK: [user | ensure sudoers.d is read] *************************************** | |
ok: [localhost] | |
TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
ok: [localhost] | |
TASK: [user | create the users] *********************************************** | |
skipping: [localhost] | |
TASK: [user | create .ssh directory] ****************************************** | |
skipping: [localhost] | |
TASK: [user | assign admin role to admin users] ******************************* | |
skipping: [localhost] | |
TASK: [user | get github key[s]] ********************************************** | |
skipping: [localhost] | |
TASK: [user | update the authorized_keys file] ******************************** | |
skipping: [localhost] | |
TASK: [user | create bashrc file for normal users] **************************** | |
skipping: [localhost] | |
TASK: [user | create .profile for all users] ********************************** | |
skipping: [localhost] | |
TASK: [user | modify shell for restricted users] ****************************** | |
skipping: [localhost] | |
TASK: [user | create bashrc file for restricted users] ************************ | |
skipping: [localhost] | |
TASK: [user | create sudoers file from template] ****************************** | |
ok: [localhost] | |
TASK: [user | change home directory ownership to root for restricted users] *** | |
skipping: [localhost] | |
TASK: [user | create ~/bin directory] ***************************************** | |
skipping: [localhost] | |
TASK: [user | create allowed command links] *********************************** | |
skipping: [localhost] | |
TASK: [security | install security packages] ********************************** | |
skipping: [localhost] | |
TASK: [security | update all system packages] ********************************* | |
skipping: [localhost] | |
TASK: [security | configure periodic unattended-upgrades] ********************* | |
skipping: [localhost] | |
TASK: [security | disable unattended-upgrades] ******************************** | |
skipping: [localhost] | |
TASK: [security | only unattended-upgrade from security repo] ***************** | |
skipping: [localhost] | |
TASK: [security | disable security only updates on unattended-upgrades] ******* | |
skipping: [localhost] | |
TASK: [security | Check if we are vulnerable] ********************************* | |
skipping: [localhost] | |
TASK: [security | Apply bash security update if we are vulnerable] ************ | |
skipping: [localhost] | |
TASK: [security | Check again and fail if we are still vulnerable] ************ | |
skipping: [localhost] | |
TASK: [security | GHOST.c] **************************************************** | |
skipping: [localhost] | |
TASK: [security | compile GHOST] ********************************************** | |
skipping: [localhost] | |
TASK: [security | Check if we are vulnerable] ********************************* | |
skipping: [localhost] | |
TASK: [security | Apply glibc security update if we are vulnerable] *********** | |
skipping: [localhost] | |
TASK: [common | Update CA Certificates] *************************************** | |
changed: [localhost] | |
TASK: [common | Add user www-data] ******************************************** | |
ok: [localhost] | |
TASK: [common | Create common directories] ************************************ | |
ok: [localhost] => (item=/edx/var) | |
ok: [localhost] => (item=/edx/app) | |
ok: [localhost] => (item=/edx/bin) | |
ok: [localhost] => (item=/edx/etc) | |
TASK: [common | check if instance is vagrant] ********************************* | |
ok: [localhost] | |
TASK: [common | Add git apt repository] *************************************** | |
failed: [localhost] => {"failed": true, "item": ""} | |
msg: Failed to validate the SSL certificate for launchpad.net:443. Use validate_certs=no or make sure your managed systems have a valid CA certificate installed. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/home/vagrant/vagrant-fullstack.retry | |
localhost : ok=10 changed=1 unreachable=0 failed=1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment