Created
September 15, 2014 18:28
-
-
Save singingwolfboy/5c450f37da9ffb179e79 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
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 up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'precise64'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: aspen_default_1410795498067_9240 | |
==> default: Fixed port collision for 22 => 2222. Now on port 2200. | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 22 => 2200 (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: SSH address: 127.0.0.1:2200 | |
default: SSH username: vagrant | |
default: SSH auth method: private key | |
default: Warning: Connection timeout. Retrying... | |
==> default: Machine booted and ready! | |
GuestAdditions versions on your host (4.3.14) and guest (4.2.0) do not match. | |
stdin: is not a tty | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
fakeroot linux-headers-3.2.0-23 make patch | |
Suggested packages: | |
make-doc diffutils-doc | |
The following NEW packages will be installed: | |
dkms fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic make | |
patch | |
0 upgraded, 6 newly installed, 0 to remove and 66 not upgraded. | |
Need to get 12.7 MB of archives. | |
After this operation, 68.5 MB of additional disk space will be used. | |
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main make amd64 3.81-8.1ubuntu1 [118 kB] | |
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB] | |
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main dkms all 2.2.0.3-1ubuntu3 [73.1 kB] | |
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] | |
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23 all 3.2.0-23.36 [11.4 MB] | |
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23-generic amd64 3.2.0-23.36 [947 kB] | |
dpkg-preconfigure: unable to re-open stdin: No such file or directory | |
Fetched 12.7 MB in 0s (18.4 MB/s) | |
Selecting previously unselected package make. | |
(Reading database ... 51095 files and directories currently installed.) | |
Unpacking make (from .../make_3.81-8.1ubuntu1_amd64.deb) ... | |
Selecting previously unselected package patch. | |
Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ... | |
Selecting previously unselected package dkms. | |
Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3_all.deb) ... | |
Selecting previously unselected package fakeroot. | |
Unpacking fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ... | |
Selecting previously unselected package linux-headers-3.2.0-23. | |
Unpacking linux-headers-3.2.0-23 (from .../linux-headers-3.2.0-23_3.2.0-23.36_all.deb) ... | |
Selecting previously unselected package linux-headers-3.2.0-23-generic. | |
Unpacking linux-headers-3.2.0-23-generic (from .../linux-headers-3.2.0-23-generic_3.2.0-23.36_amd64.deb) ... | |
Processing triggers for man-db ... | |
Setting up make (3.81-8.1ubuntu1) ... | |
Setting up patch (2.6.1-3) ... | |
Setting up dkms (2.2.0.3-1ubuntu3) ... | |
Setting up fakeroot (1.18.2-1) ... | |
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode. | |
Setting up linux-headers-3.2.0-23 (3.2.0-23.36) ... | |
Setting up linux-headers-3.2.0-23-generic (3.2.0-23.36) ... | |
Examining /etc/kernel/header_postinst.d. | |
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic | |
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso | |
stdin: is not a tty | |
mount: warning: /mnt seems to be mounted read-only. | |
Installing Virtualbox Guest Additions 4.3.14 - guest version is 4.2.0 | |
stdin: is not a tty | |
Verifying archive integrity... All good. | |
Uncompressing VirtualBox 4.3.14 Guest Additions for Linux............ | |
VirtualBox Guest Additions installer | |
Removing installed version 4.2.0 of VirtualBox Guest Additions... | |
Copying additional installer modules ... | |
Installing additional modules ... | |
Removing existing VirtualBox DKMS kernel modules ...done. | |
Removing existing VirtualBox non-DKMS kernel modules ...done. | |
Building the VirtualBox Guest Additions kernel modules ...done. | |
Doing non-kernel setup of the Guest Additions ...done. | |
You should restart your guest to make sure the new modules are actually used | |
Installing the Window System drivers | |
Could not find the X.Org or XFree86 Window System, skipping. | |
An error occurred during installation of VirtualBox Guest Additions 4.3.14. Some functionality may not work as intended. | |
In most cases it is OK that the "Window System drivers" installation failed. | |
stdin: is not a tty | |
==> default: Checking for guest additions in VM... | |
==> default: Checking for host entries | |
==> default: Configuring and enabling network interfaces... | |
==> default: Running provisioner: shell... | |
default: Running: inline script | |
==> default: stdin: is not a tty | |
==> default: Running provisioner: ansible... | |
ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false PYTHONUNBUFFERED=1 ansible-playbook --private-key=/Users/db/.vagrant.d/insecure_private_key --user=vagrant --limit='default' --inventory-file=/Users/db/dev/configuration/vagrant/release/aspen/.vagrant/provisioners/ansible/inventory -vvvv ../../../playbooks/vagrant-aspen.yml | |
[WARNING]: It is unnecessary to use '{{' in loops, leave variables in loop | |
expressions bare. | |
PLAY [Configure instance(s)] ************************************************** | |
GATHERING FACTS *************************************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE setup | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795589.04-216711576467693 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795589.04-216711576467693 && echo $HOME/.ansible/tmp/ansible-tmp-1410795589.04-216711576467693'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpDvoTH_ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795589.04-216711576467693/setup | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rcrrfshbyedagxwcuwobsyajitpeyuqa] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rcrrfshbyedagxwcuwobsyajitpeyuqa; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795589.04-216711576467693/setup; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795589.04-216711576467693/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] | |
TASK: [user | debug var=user_info] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
ok: [default] => { | |
"user_info": [] | |
} | |
TASK: [user | create the edxadmin group] ************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE group name=edxadmin state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795590.65-14230272812511 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795590.65-14230272812511 && echo $HOME/.ansible/tmp/ansible-tmp-1410795590.65-14230272812511'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpiuyOqM TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795590.65-14230272812511/group | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gmnhighjpwptierddgfergmszqercryj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gmnhighjpwptierddgfergmszqercryj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795590.65-14230272812511/group; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795590.65-14230272812511/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "gid": 1003, "name": "edxadmin", "state": "present", "system": false} | |
TASK: [user | ensure sudoers.d is read] *************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE lineinfile dest=/etc/sudoers state=present regexp='^#includedir /etc/sudoers.d' line='#includedir /etc/sudoers.d' validate='visudo -cf %s' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795590.84-185529059500085 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795590.84-185529059500085 && echo $HOME/.ansible/tmp/ansible-tmp-1410795590.84-185529059500085'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpTOqYIv TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795590.84-185529059500085/lineinfile | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yvscnqfddfutpauowidziftufgqwqpuo] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yvscnqfddfutpauowidziftufgqwqpuo; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795590.84-185529059500085/lineinfile; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795590.84-185529059500085/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"backup": "", "changed": false, "msg": ""} | |
TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jakdxhzrnjubgnlnzijxmlfatxtadjrf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jakdxhzrnjubgnlnzijxmlfatxtadjrf; rc=0; [ -r "/etc/sudoers.d/edxadmin" ] || rc=2; [ -f "/etc/sudoers.d/edxadmin" ] || rc=1; [ -d "/etc/sudoers.d/edxadmin" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/edxadmin 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/edxadmin 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/edxadmin 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/edxadmin 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/edxadmin 2>/dev/null) || (echo "${rc} /etc/sudoers.d/edxadmin")\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795591.02-83581692298521 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795591.02-83581692298521 && echo $HOME/.ansible/tmp/ansible-tmp-1410795591.02-83581692298521'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmppGESlk TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.02-83581692298521/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpBx7Rde TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.02-83581692298521/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rptlxsfxrlkjnkvnadvscrhhfmfhspfn] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rptlxsfxrlkjnkvnadvscrhhfmfhspfn; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.02-83581692298521/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.02-83581692298521/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/sudoers.d/edxadmin", "gid": 0, "group": "root", "md5sum": "44aadaff836d80e7cbd042bd9f07a230", "mode": "0440", "owner": "root", "size": 32, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795591.02-83581692298521/source", "state": "file", "uid": 0} | |
TASK: [user | create the users] *********************************************** | |
skipping: [default] | |
TASK: [user | create .ssh directory] ****************************************** | |
skipping: [default] | |
TASK: [user | assign admin role to admin users] ******************************* | |
skipping: [default] | |
TASK: [user | copy github key[s] to .ssh/authorized_keys2] ******************** | |
skipping: [default] | |
TASK: [user | copy additional authorized keys] ******************************** | |
skipping: [default] | |
TASK: [user | create bashrc file for normal users] **************************** | |
skipping: [default] | |
TASK: [user | create .profile for all users] ********************************** | |
skipping: [default] | |
TASK: [user | modify shell for restricted users] ****************************** | |
skipping: [default] | |
TASK: [user | create bashrc file for restricted users] ************************ | |
skipping: [default] | |
TASK: [user | create sudoers file from template] ****************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795591.35-91469327282886 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795591.35-91469327282886 && echo $HOME/.ansible/tmp/ansible-tmp-1410795591.35-91469327282886'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kmknjdudaxukhbupgolbbadaosxozjmo] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kmknjdudaxukhbupgolbbadaosxozjmo; rc=0; [ -r "/etc/sudoers.d/99-restricted" ] || rc=2; [ -f "/etc/sudoers.d/99-restricted" ] || rc=1; [ -d "/etc/sudoers.d/99-restricted" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/99-restricted 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/99-restricted 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/99-restricted 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/99-restricted 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/99-restricted 2>/dev/null) || (echo "${rc} /etc/sudoers.d/99-restricted")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpp2ftJV TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.35-91469327282886/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp6uLSdJ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.35-91469327282886/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tfabiyexrpvjswdrdabhihrrdpdfcpuh] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tfabiyexrpvjswdrdabhihrrdpdfcpuh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.35-91469327282886/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.35-91469327282886/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/sudoers.d/99-restricted", "gid": 0, "group": "root", "md5sum": "68b329da9893e34099c7d8ad5cb9c940", "mode": "0440", "owner": "root", "size": 1, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795591.35-91469327282886/source", "state": "file", "uid": 0} | |
TASK: [user | change home directory ownership to root for restricted users] *** | |
skipping: [default] | |
TASK: [user | create ~/bin directory] ***************************************** | |
skipping: [default] | |
TASK: [user | create allowed command links] *********************************** | |
skipping: [default] | |
TASK: [common | Add user www-data] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name="www-data" shell=/bin/false | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795591.64-250070838035779 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795591.64-250070838035779 && echo $HOME/.ansible/tmp/ansible-tmp-1410795591.64-250070838035779'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp33n2oW TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.64-250070838035779/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=nbzpcnumbrxstffxjpkcgicjzmheuioa] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-nbzpcnumbrxstffxjpkcgicjzmheuioa; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.64-250070838035779/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.64-250070838035779/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"append": false, "changed": true, "comment": "www-data", "group": 33, "home": "/var/www", "move_home": false, "name": "www-data", "shell": "/bin/false", "state": "present", "uid": 33} | |
TASK: [common | Create common directories] ************************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795591.85-208489858161015 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795591.85-208489858161015 && echo $HOME/.ansible/tmp/ansible-tmp-1410795591.85-208489858161015'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpOwe16U TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.85-208489858161015/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rdrwbfcgpayhbthfvhkxqksawnhzhrsw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rdrwbfcgpayhbthfvhkxqksawnhzhrsw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.85-208489858161015/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.85-208489858161015/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var", "mode": "0755", "owner": "root", "path": "/edx/var", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/app state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795591.98-13459758052698 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795591.98-13459758052698 && echo $HOME/.ansible/tmp/ansible-tmp-1410795591.98-13459758052698'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpCX_yqb TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.98-13459758052698/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=galtkmjzcknkjlftgtqmvhlqlwjdoxvj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-galtkmjzcknkjlftgtqmvhlqlwjdoxvj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.98-13459758052698/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795591.98-13459758052698/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/app", "mode": "0755", "owner": "root", "path": "/edx/app", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/bin state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795592.12-254883211872083 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795592.12-254883211872083 && echo $HOME/.ansible/tmp/ansible-tmp-1410795592.12-254883211872083'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpDEPu0e TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.12-254883211872083/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qhzmuejytifublsjbljyinxrvhsgzapu] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qhzmuejytifublsjbljyinxrvhsgzapu; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.12-254883211872083/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.12-254883211872083/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/bin) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/bin", "mode": "0755", "owner": "root", "path": "/edx/bin", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/etc state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795592.26-205371604787086 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795592.26-205371604787086 && echo $HOME/.ansible/tmp/ansible-tmp-1410795592.26-205371604787086'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp4oWAz4 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.26-205371604787086/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xmwtydighntpwyccnxaraqbdumqkyxlc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xmwtydighntpwyccnxaraqbdumqkyxlc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.26-205371604787086/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.26-205371604787086/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/etc) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/etc", "mode": "0755", "owner": "root", "path": "/edx/etc", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [common | check if instance is vagrant] ********************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE stat path=/home/vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795592.41-87861429876271 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795592.41-87861429876271 && echo $HOME/.ansible/tmp/ansible-tmp-1410795592.41-87861429876271'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpqWsBdn TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.41-87861429876271/stat | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=dpdacxfpzitpnlnzqmihrqjdjmbfypfi] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-dpdacxfpzitpnlnzqmihrqjdjmbfypfi; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.41-87861429876271/stat; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.41-87861429876271/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "stat": {"atime": 1347603168.2010481, "ctime": 1410795589.0476022, "dev": 64512, "exists": true, "gid": 1000, "inode": 2884992, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mode": "0755", "mtime": 1410795589.0476022, "nlink": 5, "pw_name": "vagrant", "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 1000, "wgrp": false, "woth": false, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} | |
TASK: [common | Install python-pycurl] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=python-pycurl state=present update_cache=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795592.58-4648923385009 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795592.58-4648923385009 && echo $HOME/.ansible/tmp/ansible-tmp-1410795592.58-4648923385009'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp4Wastg TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.58-4648923385009/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=twqrynzicbqwjcotecdluswqpupnmgah] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-twqrynzicbqwjcotecdluswqpupnmgah; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.58-4648923385009/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795592.58-4648923385009/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSuggested packages:\n libcurl4-gnutls-dev python-pycurl-dbg\nThe following NEW packages will be installed:\n python-pycurl\n0 upgraded, 1 newly installed, 0 to remove and 171 not upgraded.\nNeed to get 49.2 kB of archives.\nAfter this operation, 215 kB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise/main python-pycurl amd64 7.19.0-4ubuntu3 [49.2 kB]\nFetched 49.2 kB in 0s (1,244 kB/s)\nSelecting previously unselected package python-pycurl.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 73195 files and directories currently installed.)\r\nUnpacking python-pycurl (from .../python-pycurl_7.19.0-4ubuntu3_amd64.deb) ...\r\nSetting up python-pycurl (7.19.0-4ubuntu3) ...\r\n"} | |
TASK: [common | Add git apt repository] *************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt_repository repo="ppa:git-core/ppa" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795600.66-192215863418094 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795600.66-192215863418094 && echo $HOME/.ansible/tmp/ansible-tmp-1410795600.66-192215863418094'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpkUFsGM TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795600.66-192215863418094/apt_repository | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jbuyhfygpqqhokifsleimmisvvnraxyz] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jbuyhfygpqqhokifsleimmisvvnraxyz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795600.66-192215863418094/apt_repository; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795600.66-192215863418094/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "repo": "ppa:git-core/ppa", "state": "present"} | |
TASK: [common | Install role-independent useful system packages] ************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=ntp,ack-grep,lynx-cur,logrotate,mosh,rsyslog,screen,tree,git,unzip,python2.7,python-pip,python2.7-dev,curl install_recommends=yes state=present update_cache=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795606.87-209095044018226 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795606.87-209095044018226 && echo $HOME/.ansible/tmp/ansible-tmp-1410795606.87-209095044018226'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpVHvaW0 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795606.87-209095044018226/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tbfpbgekyyljgfmmljvksqgfdinrqxto] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tbfpbgekyyljgfmmljvksqgfdinrqxto; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795606.87-209095044018226/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795606.87-209095044018226/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n git-man libcurl3 liberror-perl libexpat1 libexpat1-dev libfile-next-perl\n libio-pty-perl libprotobuf7 libpython2.7 libutempter0 python-pkg-resources\n python-setuptools python2.7 python2.7-minimal\nSuggested packages:\n git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk\n gitweb git-arch git-cvs git-mediawiki git-svn python-distribute\n python-distribute-doc python2.7-doc binfmt-support byobu zip\nThe following NEW packages will be installed:\n ack-grep curl git git-man libcurl3 liberror-perl libexpat1-dev\n libfile-next-perl libio-pty-perl libprotobuf7 libpython2.7 libutempter0\n lynx-cur mosh python-pip python-pkg-resources python-setuptools\n python2.7-dev screen tree unzip\nThe following packages will be upgraded:\n libexpat1 python2.7 python2.7-minimal\n3 upgraded, 21 newly installed, 0 to remove and 168 not upgraded.\nNeed to get 50.8 MB of archives.\nAfter this operation, 74.9 MB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libcurl3 amd64 7.22.0-3ubuntu4.10 [237 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libexpat1 amd64 2.0.1-7.2ubuntu1.1 [131 kB]\nGet:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7 amd64 2.7.3-0ubuntu3.5 [2,675 kB]\nGet:4 http://ppa.launchpad.net/git-core/ppa/ubuntu/ precise/main git-man all 1:2.1.0-1~ppa0~ubuntu12.04.1 [1,260 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-minimal amd64 2.7.3-0ubuntu3.5 [1,743 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu/ precise/universe libfile-next-perl all 1.06-2 [16.0 kB]\nGet:7 http://us.archive.ubuntu.com/ubuntu/ precise/universe ack-grep all 1.92-1 [54.9 kB]\nGet:8 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main curl amd64 7.22.0-3ubuntu4.10 [138 kB]\nGet:9 http://us.archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB]\nGet:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libexpat1-dev amd64 2.0.1-7.2ubuntu1.1 [216 kB]\nGet:11 http://us.archive.ubuntu.com/ubuntu/ precise/main libio-pty-perl amd64 1:1.08-1build2 [36.7 kB]\nGet:12 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libpython2.7 amd64 2.7.3-0ubuntu3.5 [1,188 kB]\nGet:13 http://us.archive.ubuntu.com/ubuntu/ precise/main libutempter0 amd64 1.1.5-4 [8,060 B]\nGet:14 http://us.archive.ubuntu.com/ubuntu/ precise/main libprotobuf7 amd64 2.4.1-1ubuntu2 [352 kB]\nGet:15 http://us.archive.ubuntu.com/ubuntu/ precise/universe mosh amd64 1.1.3-1 [297 kB]\nGet:16 http://us.archive.ubuntu.com/ubuntu/ precise/main python-pkg-resources all 0.6.24-1ubuntu1 [63.1 kB]\nGet:17 http://us.archive.ubuntu.com/ubuntu/ precise/main python-setuptools all 0.6.24-1ubuntu1 [441 kB]\nGet:18 http://us.archive.ubuntu.com/ubuntu/ precise/universe python-pip all 1.0-1build1 [95.1 kB]\nGet:19 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-dev amd64 2.7.3-0ubuntu3.5 [29.5 MB]\nGet:20 http://ppa.launchpad.net/git-core/ppa/ubuntu/ precise/main git amd64 1:2.1.0-1~ppa0~ubuntu12.04.1 [10.4 MB]\nGet:21 http://us.archive.ubuntu.com/ubuntu/ precise/main screen amd64 4.0.3-14ubuntu8 [611 kB]\nGet:22 http://us.archive.ubuntu.com/ubuntu/ precise/universe tree amd64 1.5.3-2 [28.4 kB]\nGet:23 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main unzip amd64 6.0-4ubuntu2 [193 kB]\nGet:24 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main lynx-cur amd64 2.8.8dev.9-2ubuntu0.12.04.1 [1,061 kB]\nFetched 50.8 MB in 5s (8,555 kB/s)\nSelecting previously unselected package libcurl3.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 73223 files and directories currently installed.)\r\nUnpacking libcurl3 (from .../libcurl3_7.22.0-3ubuntu4.10_amd64.deb) ...\r\nPreparing to replace libexpat1 2.0.1-7.2ubuntu1 (using .../libexpat1_2.0.1-7.2ubuntu1.1_amd64.deb) ...\r\nUnpacking replacement libexpat1 ...\r\nPreparing to replace python2.7 2.7.3-0ubuntu3 (using .../python2.7_2.7.3-0ubuntu3.5_amd64.deb) ...\r\nUnpacking replacement python2.7 ...\r\nPreparing to replace python2.7-minimal 2.7.3-0ubuntu3 (using .../python2.7-minimal_2.7.3-0ubuntu3.5_amd64.deb) ...\r\nUnpacking replacement python2.7-minimal ...\r\nProcessing triggers for man-db ...\r\nSetting up python2.7-minimal (2.7.3-0ubuntu3.5) ...\r\nSelecting previously unselected package libfile-next-perl.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 73238 files and directories currently installed.)\r\nUnpacking libfile-next-perl (from .../libfile-next-perl_1.06-2_all.deb) ...\r\nSelecting previously unselected package ack-grep.\r\nUnpacking ack-grep (from .../ack-grep_1.92-1_all.deb) ...\r\nSelecting previously unselected package curl.\r\nUnpacking curl (from .../curl_7.22.0-3ubuntu4.10_amd64.deb) ...\r\nSelecting previously unselected package liberror-perl.\r\nUnpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...\r\nSelecting previously unselected package git-man.\r\nUnpacking git-man (from .../git-man_1%3a2.1.0-1~ppa0~ubuntu12.04.1_all.deb) ...\r\nSelecting previously unselected package git.\r\nUnpacking git (from .../git_1%3a2.1.0-1~ppa0~ubuntu12.04.1_amd64.deb) ...\r\nSelecting previously unselected package libexpat1-dev.\r\nUnpacking libexpat1-dev (from .../libexpat1-dev_2.0.1-7.2ubuntu1.1_amd64.deb) ...\r\nSelecting previously unselected package libio-pty-perl.\r\nUnpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.08-1build2_amd64.deb) ...\r\nSelecting previously unselected package libpython2.7.\r\nUnpacking libpython2.7 (from .../libpython2.7_2.7.3-0ubuntu3.5_amd64.deb) ...\r\nSelecting previously unselected package libutempter0.\r\nUnpacking libutempter0 (from .../libutempter0_1.1.5-4_amd64.deb) ...\r\nSelecting previously unselected package libprotobuf7.\r\nUnpacking libprotobuf7 (from .../libprotobuf7_2.4.1-1ubuntu2_amd64.deb) ...\r\nSelecting previously unselected package mosh.\r\nUnpacking mosh (from .../mosh_1.1.3-1_amd64.deb) ...\r\nSelecting previously unselected package python-pkg-resources.\r\nUnpacking python-pkg-resources (from .../python-pkg-resources_0.6.24-1ubuntu1_all.deb) ...\r\nSelecting previously unselected package python-setuptools.\r\nUnpacking python-setuptools (from .../python-setuptools_0.6.24-1ubuntu1_all.deb) ...\r\nSelecting previously unselected package python-pip.\r\nUnpacking python-pip (from .../python-pip_1.0-1build1_all.deb) ...\r\nSelecting previously unselected package python2.7-dev.\r\nUnpacking python2.7-dev (from .../python2.7-dev_2.7.3-0ubuntu3.5_amd64.deb) ...\r\nSelecting previously unselected package screen.\r\nUnpacking screen (from .../screen_4.0.3-14ubuntu8_amd64.deb) ...\r\nSelecting previously unselected package tree.\r\nUnpacking tree (from .../tree_1.5.3-2_amd64.deb) ...\r\nSelecting previously unselected package unzip.\r\nUnpacking unzip (from .../unzip_6.0-4ubuntu2_amd64.deb) ...\r\nSelecting previously unselected package lynx-cur.\r\nUnpacking lynx-cur (from .../lynx-cur_2.8.8dev.9-2ubuntu0.12.04.1_amd64.deb) ...\r\nProcessing triggers for man-db ...\r\nProcessing triggers for ureadahead ...\r\nureadahead will be reprofiled on next reboot\r\nProcessing triggers for install-info ...\r\nSetting up libcurl3 (7.22.0-3ubuntu4.10) ...\r\nSetting up libexpat1 (2.0.1-7.2ubuntu1.1) ...\r\nSetting up python2.7 (2.7.3-0ubuntu3.5) ...\r\nSetting up libfile-next-perl (1.06-2) ...\r\nSetting up ack-grep (1.92-1) ...\r\nSetting up curl (7.22.0-3ubuntu4.10) ...\r\nSetting up liberror-perl (0.17-1) ...\r\nSetting up git-man (1:2.1.0-1~ppa0~ubuntu12.04.1) ...\r\nSetting up git (1:2.1.0-1~ppa0~ubuntu12.04.1) ...\r\nInstalling new version of config file /etc/bash_completion.d/git ...\r\nSetting up libexpat1-dev (2.0.1-7.2ubuntu1.1) ...\r\nSetting up libio-pty-perl (1:1.08-1build2) ...\r\nSetting up libpython2.7 (2.7.3-0ubuntu3.5) ...\r\nSetting up libutempter0 (1.1.5-4) ...\r\nCreating utempter group...\r\nSetting up libprotobuf7 (2.4.1-1ubuntu2) ...\r\nSetting up mosh (1.1.3-1) ...\r\nSetting up python-pkg-resources (0.6.24-1ubuntu1) ...\r\nSetting up python-setuptools (0.6.24-1ubuntu1) ...\r\nSetting up python-pip (1.0-1build1) ...\r\nSetting up python2.7-dev (2.7.3-0ubuntu3.5) ...\r\nSetting up screen (4.0.3-14ubuntu8) ...\r\nSetting up tree (1.5.3-2) ...\r\nSetting up unzip (6.0-4ubuntu2) ...\r\nSetting up lynx-cur (2.8.8dev.9-2ubuntu0.12.04.1) ...\r\nupdate-alternatives: using /usr/bin/lynx to provide /usr/bin/www-browser (www-browser) in auto mode.\r\nProcessing triggers for libc-bin ...\r\nldconfig deferred processing now taking place\r\n"} | |
TASK: [common | Create common log directory] ********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var/log state=directory owner=syslog group=syslog mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795629.67-178443698823236 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795629.67-178443698823236 && echo $HOME/.ansible/tmp/ansible-tmp-1410795629.67-178443698823236'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpO7CjZj TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795629.67-178443698823236/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=httkskrlqyuqlzkhifrhwcxfqpjqjnoh] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-httkskrlqyuqlzkhifrhwcxfqpjqjnoh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795629.67-178443698823236/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795629.67-178443698823236/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "gid": 103, "group": "syslog", "mode": "0755", "owner": "syslog", "path": "/edx/var/log", "size": 4096, "state": "directory", "uid": 101} | |
TASK: [common | upload sudo config for key forwarding as root] **************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ndbzermflbbwtyfgkdyxmswrvzxaoann] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ndbzermflbbwtyfgkdyxmswrvzxaoann; rc=0; [ -r "/etc/sudoers.d/ssh_key_forward" ] || rc=2; [ -f "/etc/sudoers.d/ssh_key_forward" ] || rc=1; [ -d "/etc/sudoers.d/ssh_key_forward" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (echo "${rc} /etc/sudoers.d/ssh_key_forward")\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795629.85-277891081196311 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795629.85-277891081196311 && echo $HOME/.ansible/tmp/ansible-tmp-1410795629.85-277891081196311'"] | |
<127.0.0.1> PUT /Users/db/dev/configuration/playbooks/roles/common/files/ssh_key_forward TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795629.85-277891081196311/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpuGLoW6 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795629.85-277891081196311/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=emkfdomzciqhyonxchkljtyzhqgzkgsl] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-emkfdomzciqhyonxchkljtyzhqgzkgsl; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795629.85-277891081196311/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795629.85-277891081196311/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/sudoers.d/ssh_key_forward", "gid": 0, "group": "root", "md5sum": "b210117920cdf1023b3db7be16505a5a", "mode": "0440", "owner": "root", "size": 40, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795629.85-277891081196311/source", "state": "file", "uid": 0} | |
TASK: [common | pip install virtualenv] *************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="pip==1.5.6" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795630.04-52464111612256 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795630.04-52464111612256 && echo $HOME/.ansible/tmp/ansible-tmp-1410795630.04-52464111612256'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpcn2k7N TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795630.04-52464111612256/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=epirnojhuiiosjizuiogmplslvtjnwng] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-epirnojhuiiosjizuiogmplslvtjnwng; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795630.04-52464111612256/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795630.04-52464111612256/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=pip==1.5.6) => {"changed": true, "cmd": "/usr/bin/pip install -i https://pypi.python.org/simple pip==1.5.6", "item": "pip==1.5.6", "name": "pip==1.5.6", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking pip==1.5.6\n Running setup.py egg_info for package pip\n \n warning: no files found matching 'pip/cacert.pem'\n warning: no files found matching '*.html' under directory 'docs'\n warning: no previously-included files matching '*.rst' found under directory 'docs/_build'\n no previously-included directories found matching 'docs/_build/_sources'\nInstalling collected packages: pip\n Found existing installation: pip 1.0\n Uninstalling pip:\n Successfully uninstalled pip\n Running setup.py install for pip\n \n warning: no files found matching 'pip/cacert.pem'\n warning: no files found matching '*.html' under directory 'docs'\n warning: no previously-included files matching '*.rst' found under directory 'docs/_build'\n no previously-included directories found matching 'docs/_build/_sources'\n Installing pip script to /usr/local/bin\n Installing pip2.7 script to /usr/local/bin\n Installing pip2 script to /usr/local/bin\nSuccessfully installed pip\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="setuptools==3.6" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795631.57-50616177054462 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795631.57-50616177054462 && echo $HOME/.ansible/tmp/ansible-tmp-1410795631.57-50616177054462'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpD9Frzk TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795631.57-50616177054462/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=pjgbedglatxlsbdencanaenscpdlxbvi] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-pjgbedglatxlsbdencanaenscpdlxbvi; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795631.57-50616177054462/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795631.57-50616177054462/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=setuptools==3.6) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple setuptools==3.6", "item": "setuptools==3.6", "name": "setuptools==3.6", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking setuptools==3.6\nInstalling collected packages: setuptools\n Found existing installation: distribute 0.6.24dev-r0\n Uninstalling distribute:\n Successfully uninstalled distribute\nSuccessfully installed setuptools\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="virtualenv==1.11.6" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795634.18-19722208896918 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795634.18-19722208896918 && echo $HOME/.ansible/tmp/ansible-tmp-1410795634.18-19722208896918'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpUw7eWq TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795634.18-19722208896918/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ynriostqaizzokqdmshcplzwaaaqfslb] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ynriostqaizzokqdmshcplzwaaaqfslb; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795634.18-19722208896918/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795634.18-19722208896918/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=virtualenv==1.11.6) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple virtualenv==1.11.6", "item": "virtualenv==1.11.6", "name": "virtualenv==1.11.6", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking virtualenv==1.11.6\nInstalling collected packages: virtualenv\nSuccessfully installed virtualenv\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="virtualenvwrapper" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795634.94-174102937561388 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795634.94-174102937561388 && echo $HOME/.ansible/tmp/ansible-tmp-1410795634.94-174102937561388'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpVFiiE1 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795634.94-174102937561388/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=pzmjytwdbkjonyatqrnadptqiapippnk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-pzmjytwdbkjonyatqrnadptqiapippnk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795634.94-174102937561388/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795634.94-174102937561388/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=virtualenvwrapper) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple virtualenvwrapper", "item": "virtualenvwrapper", "name": "virtualenvwrapper", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking virtualenvwrapper\n Running setup.py (path:/tmp/pip_build_root/virtualenvwrapper/setup.py) egg_info for package virtualenvwrapper\n \n Installed /tmp/pip_build_root/virtualenvwrapper/pbr-0.10.0-py2.7.egg\n [pbr] Processing SOURCES.txt\n warning: LocalManifestMaker: standard file '-c' not found\n \n warning: no previously-included files found matching '.gitignore'\n warning: no previously-included files found matching '.gitreview'\n warning: no previously-included files matching '*.pyc' found anywhere in distribution\n warning: no files found matching '*.html' under directory 'docs'\n warning: no files found matching '*.css' under directory 'docs'\n warning: no files found matching '*.js' under directory 'docs'\n warning: no files found matching '*.png' under directory 'docs'\nRequirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/local/lib/python2.7/dist-packages (from virtualenvwrapper)\nDownloading/unpacking virtualenv-clone (from virtualenvwrapper)\n Downloading virtualenv-clone-0.2.5.tar.gz\n Running setup.py (path:/tmp/pip_build_root/virtualenv-clone/setup.py) egg_info for package virtualenv-clone\n \nDownloading/unpacking stevedore (from virtualenvwrapper)\n Running setup.py (path:/tmp/pip_build_root/stevedore/setup.py) egg_info for package stevedore\n \n Installed /tmp/pip_build_root/stevedore/pbr-0.10.0-py2.7.egg\n [pbr] Processing SOURCES.txt\n warning: LocalManifestMaker: standard file '-c' not found\n \n warning: no previously-included files found matching '.gitignore'\n warning: no previously-included files found matching '.gitreview'\n warning: no previously-included files matching '*.pyc' found anywhere in distribution\n warning: no files found matching '*.html' under directory 'docs'\n warning: no files found matching '*.css' under directory 'docs'\n warning: no files found matching '*.js' under directory 'docs'\n warning: no files found matching '*.png' under directory 'docs'\n warning: no files found matching '*.py' under directory 'tests'\nRequirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from stevedore->virtualenvwrapper)\nInstalling collected packages: virtualenvwrapper, virtualenv-clone, stevedore\n Running setup.py install for virtualenvwrapper\n [pbr] Reusing existing SOURCES.txt\n changing mode of build/scripts-2.7/virtualenvwrapper.sh from 644 to 755\n changing mode of build/scripts-2.7/virtualenvwrapper_lazy.sh from 644 to 755\n Skipping installation of /usr/local/lib/python2.7/dist-packages/virtualenvwrapper/__init__.py (namespace package)\n Installing /usr/local/lib/python2.7/dist-packages/virtualenvwrapper-4.3.1-py2.7-nspkg.pth\n changing mode of /usr/local/bin/virtualenvwrapper_lazy.sh to 755\n changing mode of /usr/local/bin/virtualenvwrapper.sh to 755\n Running setup.py install for virtualenv-clone\n \n Installing virtualenv-clone script to /usr/local/bin\n Running setup.py install for stevedore\n [pbr] Reusing existing SOURCES.txt\nSuccessfully installed virtualenvwrapper virtualenv-clone stevedore\nCleaning up...\n", "version": null, "virtualenv": null} | |
TASK: [common | Install rsyslog configuration for edX] ************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795637.35-134814010683185 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795637.35-134814010683185 && echo $HOME/.ansible/tmp/ansible-tmp-1410795637.35-134814010683185'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jtfntvrwsbpamvvoliycqmjefjqhsaol] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jtfntvrwsbpamvvoliycqmjefjqhsaol; rc=0; [ -r "/etc/rsyslog.d/99-edx.conf" ] || rc=2; [ -f "/etc/rsyslog.d/99-edx.conf" ] || rc=1; [ -d "/etc/rsyslog.d/99-edx.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/sbin/md5sum -q /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/usr/bin/digest -a md5 /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/sbin/md5 -q /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/usr/bin/md5 -n /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/bin/md5 -q /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/bin/csum -h MD5 /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (echo "${rc} /etc/rsyslog.d/99-edx.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp3L8U9n TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.35-134814010683185/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp7Q4Pcp TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.35-134814010683185/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=sbjqlihvnidrclkzttywvondoozenfsk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-sbjqlihvnidrclkzttywvondoozenfsk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.35-134814010683185/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.35-134814010683185/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/rsyslog.d/99-edx.conf", "gid": 0, "group": "root", "md5sum": "9ad2b988c420944c0e73c209722cdc69", "mode": "0644", "owner": "root", "size": 3023, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795637.35-134814010683185/source", "state": "file", "uid": 0} | |
TASK: [common | Remove the default rsyslog configuration] ********************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/etc/rsyslog.d/50-default.conf state=absent | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795637.58-123217727036215 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795637.58-123217727036215 && echo $HOME/.ansible/tmp/ansible-tmp-1410795637.58-123217727036215'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpdSc6yt TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.58-123217727036215/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zbrquaogcpfasyainyfdbrdswhjgppqk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zbrquaogcpfasyainyfdbrdswhjgppqk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.58-123217727036215/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.58-123217727036215/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "path": "/etc/rsyslog.d/50-default.conf", "state": "absent"} | |
TASK: [common | Create hourly subdirectory in logrotate.d] ******************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/etc/logrotate.d/hourly state=directory | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795637.72-55506118550180 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795637.72-55506118550180 && echo $HOME/.ansible/tmp/ansible-tmp-1410795637.72-55506118550180'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpaRzy63 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.72-55506118550180/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hkzsrepggqnbidqwvijufovcnbxfvpkd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hkzsrepggqnbidqwvijufovcnbxfvpkd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.72-55506118550180/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.72-55506118550180/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/logrotate.d/hourly", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [common | Install logrotate configuration for edX] ********************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795637.88-79913511210768 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795637.88-79913511210768 && echo $HOME/.ansible/tmp/ansible-tmp-1410795637.88-79913511210768'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ekljeqjjwincqvrklfwuwkcjznmbwnig] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ekljeqjjwincqvrklfwuwkcjznmbwnig; rc=0; [ -r "/etc/logrotate.d/hourly/edx-services" ] || rc=2; [ -f "/etc/logrotate.d/hourly/edx-services" ] || rc=1; [ -d "/etc/logrotate.d/hourly/edx-services" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/sbin/md5sum -q /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/usr/bin/digest -a md5 /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/sbin/md5 -q /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/usr/bin/md5 -n /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/bin/md5 -q /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/bin/csum -h MD5 /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (echo "${rc} /etc/logrotate.d/hourly/edx-services")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpyfdtby TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.88-79913511210768/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmps1YgL1 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.88-79913511210768/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vejhdwkknusevpjnrbsliiqelftlcwvx] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vejhdwkknusevpjnrbsliiqelftlcwvx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.88-79913511210768/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795637.88-79913511210768/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/logrotate.d/hourly/edx-services", "gid": 0, "group": "root", "md5sum": "81e273c087471a6f448270382f6a3bd2", "mode": "0644", "owner": "root", "size": 227, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795637.88-79913511210768/source", "state": "file", "uid": 0} | |
TASK: [common | Install logrotate configuration for tracking file] ************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795638.1-14612047986932 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795638.1-14612047986932 && echo $HOME/.ansible/tmp/ansible-tmp-1410795638.1-14612047986932'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rygkwejbayjqjcetqtfsyejyvgvhqrih] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rygkwejbayjqjcetqtfsyejyvgvhqrih; rc=0; [ -r "/etc/logrotate.d/hourly/tracking.log" ] || rc=2; [ -f "/etc/logrotate.d/hourly/tracking.log" ] || rc=1; [ -d "/etc/logrotate.d/hourly/tracking.log" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/sbin/md5sum -q /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/usr/bin/digest -a md5 /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/sbin/md5 -q /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/usr/bin/md5 -n /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/bin/md5 -q /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/bin/csum -h MD5 /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (echo "${rc} /etc/logrotate.d/hourly/tracking.log")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpCKqAtz TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.1-14612047986932/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpm0AlCf TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.1-14612047986932/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=skwuxlthsedkpoxhdhmxchcmroeylzhz] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-skwuxlthsedkpoxhdhmxchcmroeylzhz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.1-14612047986932/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.1-14612047986932/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/logrotate.d/hourly/tracking.log", "gid": 0, "group": "root", "md5sum": "4786b4574d90f8787b9997a64d97e8de", "mode": "0644", "owner": "root", "size": 248, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795638.1-14612047986932/source", "state": "file", "uid": 0} | |
TASK: [common | Add logrotate for tracking.log to cron.hourly] **************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bhrguddujiylemfwxagsnqasrapyaiyw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bhrguddujiylemfwxagsnqasrapyaiyw; rc=0; [ -r "/etc/cron.hourly/logrotate" ] || rc=2; [ -f "/etc/cron.hourly/logrotate" ] || rc=1; [ -d "/etc/cron.hourly/logrotate" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/cron.hourly/logrotate 2>/dev/null) || (/sbin/md5sum -q /etc/cron.hourly/logrotate 2>/dev/null) || (/usr/bin/digest -a md5 /etc/cron.hourly/logrotate 2>/dev/null) || (/sbin/md5 -q /etc/cron.hourly/logrotate 2>/dev/null) || (/usr/bin/md5 -n /etc/cron.hourly/logrotate 2>/dev/null) || (/bin/md5 -q /etc/cron.hourly/logrotate 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/cron.hourly/logrotate 2>/dev/null) || (/bin/csum -h MD5 /etc/cron.hourly/logrotate 2>/dev/null) || (echo "${rc} /etc/cron.hourly/logrotate")\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795638.35-79819264704378 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795638.35-79819264704378 && echo $HOME/.ansible/tmp/ansible-tmp-1410795638.35-79819264704378'"] | |
<127.0.0.1> PUT /Users/db/dev/configuration/playbooks/roles/common/files/etc/cron.hourly/logrotate TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.35-79819264704378/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpWwPyPK TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.35-79819264704378/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bfbuxcxgqkkhedamcpiyefoflpouaiig] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bfbuxcxgqkkhedamcpiyefoflpouaiig; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.35-79819264704378/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.35-79819264704378/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/cron.hourly/logrotate", "gid": 0, "group": "root", "md5sum": "2cbae94e7423eae1e57fbb92e93aa645", "mode": "0555", "owner": "root", "size": 93, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795638.35-79819264704378/source", "state": "file", "uid": 0} | |
TASK: [common | update /etc/hosts] ******************************************** | |
skipping: [default] | |
TASK: [common | update /etc/hostname] ***************************************** | |
skipping: [default] | |
TASK: [common | run hostname] ************************************************* | |
skipping: [default] | |
TASK: [common | update /etc/dhcp/dhclient.conf] ******************************* | |
skipping: [default] | |
TASK: [common | update the ssh motd on Ubuntu] ******************************** | |
skipping: [default] => (item=/etc/update-motd.d/10-help-text) | |
skipping: [default] => (item=/usr/share/landscape/landscape-sysinfo.wrapper) | |
skipping: [default] => (item=/etc/update-motd.d/51-cloudguest) | |
skipping: [default] => (item=/etc/update-motd.d/91-release-upgrade) | |
TASK: [common | add ssh-warning banner motd] ********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795638.61-256275436248404 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795638.61-256275436248404 && echo $HOME/.ansible/tmp/ansible-tmp-1410795638.61-256275436248404'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=scomkiabjiqwnjdnkkefsksiqypgyssg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-scomkiabjiqwnjdnkkefsksiqypgyssg; rc=0; [ -r "/etc/motd.tail" ] || rc=2; [ -f "/etc/motd.tail" ] || rc=1; [ -d "/etc/motd.tail" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/motd.tail 2>/dev/null) || (/sbin/md5sum -q /etc/motd.tail 2>/dev/null) || (/usr/bin/digest -a md5 /etc/motd.tail 2>/dev/null) || (/sbin/md5 -q /etc/motd.tail 2>/dev/null) || (/usr/bin/md5 -n /etc/motd.tail 2>/dev/null) || (/bin/md5 -q /etc/motd.tail 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/motd.tail 2>/dev/null) || (/bin/csum -h MD5 /etc/motd.tail 2>/dev/null) || (echo "${rc} /etc/motd.tail")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpgNlpPu TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.61-256275436248404/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp7Gf48R TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.61-256275436248404/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=iwppmxzsxmtgbhbcornlhrhlxjrynjhz] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-iwppmxzsxmtgbhbcornlhrhlxjrynjhz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.61-256275436248404/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.61-256275436248404/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/motd.tail", "gid": 0, "group": "root", "md5sum": "64785d784f4576ac54b30fddac503eda", "mode": "0755", "owner": "root", "size": 820, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795638.61-256275436248404/source", "state": "file", "uid": 0} | |
TASK: [common | update ssh config] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795638.82-171229305467658 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795638.82-171229305467658 && echo $HOME/.ansible/tmp/ansible-tmp-1410795638.82-171229305467658'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kshcpzxwkntepurblcfnvanmgmdlliqe] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kshcpzxwkntepurblcfnvanmgmdlliqe; rc=0; [ -r "/etc/ssh/sshd_config" ] || rc=2; [ -f "/etc/ssh/sshd_config" ] || rc=1; [ -d "/etc/ssh/sshd_config" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/ssh/sshd_config 2>/dev/null) || (/sbin/md5sum -q /etc/ssh/sshd_config 2>/dev/null) || (/usr/bin/digest -a md5 /etc/ssh/sshd_config 2>/dev/null) || (/sbin/md5 -q /etc/ssh/sshd_config 2>/dev/null) || (/usr/bin/md5 -n /etc/ssh/sshd_config 2>/dev/null) || (/bin/md5 -q /etc/ssh/sshd_config 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/ssh/sshd_config 2>/dev/null) || (/bin/csum -h MD5 /etc/ssh/sshd_config 2>/dev/null) || (echo "${rc} /etc/ssh/sshd_config")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpb5vuF3 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.82-171229305467658/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpdZGXZ9 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.82-171229305467658/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=phlndodtcwerulaezautokagyjfyvcmj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-phlndodtcwerulaezautokagyjfyvcmj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.82-171229305467658/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795638.82-171229305467658/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/ssh/sshd_config", "gid": 0, "group": "root", "md5sum": "7cb4447296737c019e18366965dea529", "mode": "0644", "owner": "root", "size": 2636, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795638.82-171229305467658/source", "state": "file", "uid": 0} | |
TASK: [aws | create data directories] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var/aws state=directory owner=root group=root mode=0700 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795639.05-41998297220296 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795639.05-41998297220296 && echo $HOME/.ansible/tmp/ansible-tmp-1410795639.05-41998297220296'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpKbcap3 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.05-41998297220296/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rywjtcjcqckwlbvzhixvqoenbyizssfu] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rywjtcjcqckwlbvzhixvqoenbyizssfu; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.05-41998297220296/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.05-41998297220296/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/aws) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var/aws", "mode": "0700", "owner": "root", "path": "/edx/var/aws", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var/log/aws state=directory owner=root group=root mode=0700 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795639.18-7296643384316 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795639.18-7296643384316 && echo $HOME/.ansible/tmp/ansible-tmp-1410795639.18-7296643384316'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpgtdYqM TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.18-7296643384316/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zsfgflfwoikvyhomanpevkmgejpuetao] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zsfgflfwoikvyhomanpevkmgejpuetao; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.18-7296643384316/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.18-7296643384316/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/log/aws) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var/log/aws", "mode": "0700", "owner": "root", "path": "/edx/var/log/aws", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [aws | create app directory] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/app/aws state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795639.33-59877407370071 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795639.33-59877407370071 && echo $HOME/.ansible/tmp/ansible-tmp-1410795639.33-59877407370071'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpjRMrv_ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.33-59877407370071/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ccazdhzbbvpifgtjblsmdjwvfcjvwgjf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ccazdhzbbvpifgtjblsmdjwvfcjvwgjf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.33-59877407370071/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.33-59877407370071/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/aws) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/app/aws", "mode": "0755", "owner": "root", "path": "/edx/app/aws", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [aws | install system packages] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=python-setuptools state=present update_cache=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795639.49-57474416842916 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795639.49-57474416842916 && echo $HOME/.ansible/tmp/ansible-tmp-1410795639.49-57474416842916'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpGcrYJ3 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.49-57474416842916/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gmmnoubiuguukjmrlkscexkqmzpgnhqx] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gmmnoubiuguukjmrlkscexkqmzpgnhqx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.49-57474416842916/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795639.49-57474416842916/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false} | |
TASK: [aws | install aws python packages] ************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795642.05-33456065017719 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795642.05-33456065017719 && echo $HOME/.ansible/tmp/ansible-tmp-1410795642.05-33456065017719'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmplDPO2_ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795642.05-33456065017719/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=neydiatqsshpdzmswcrrmmfcawyxhjge] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-neydiatqsshpdzmswcrrmmfcawyxhjge; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795642.05-33456065017719/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795642.05-33456065017719/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz", "item": "https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz", "name": "https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz\n Running setup.py (path:/tmp/pip-x_9xxe-build/setup.py) egg_info for package from https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz\n \nDownloading/unpacking python-daemon>=1.5.2 (from aws-cfn-bootstrap==1.4)\n Running setup.py (path:/tmp/pip_build_root/python-daemon/setup.py) egg_info for package python-daemon\n \nDownloading/unpacking pystache>=0.4.0 (from aws-cfn-bootstrap==1.4)\n Running setup.py (path:/tmp/pip_build_root/pystache/setup.py) egg_info for package pystache\n pystache: using: version '3.6' of <module 'setuptools' from '/usr/local/lib/python2.7/dist-packages/setuptools/__init__.pyc'>\n \nRequirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages (from python-daemon>=1.5.2->aws-cfn-bootstrap==1.4)\nDownloading/unpacking lockfile>=0.9 (from python-daemon>=1.5.2->aws-cfn-bootstrap==1.4)\n Downloading lockfile-0.9.1.tar.gz\n Running setup.py (path:/tmp/pip_build_root/lockfile/setup.py) egg_info for package lockfile\n \nInstalling collected packages: python-daemon, pystache, aws-cfn-bootstrap, lockfile\n Running setup.py install for python-daemon\n \n Running setup.py install for pystache\n pystache: using: version '3.6' of <module 'setuptools' from '/usr/local/lib/python2.7/dist-packages/setuptools/__init__.pyc'>\n \n Installing pystache script to /usr/local/bin\n Installing pystache-test script to /usr/local/bin\n Running setup.py install for aws-cfn-bootstrap\n changing mode of build/scripts-2.7/cfn-init from 644 to 755\n changing mode of build/scripts-2.7/cfn-signal from 644 to 755\n changing mode of build/scripts-2.7/cfn-get-metadata from 644 to 755\n changing mode of build/scripts-2.7/cfn-hup from 644 to 755\n changing mode of build/scripts-2.7/cfn-elect-cmd-leader from 644 to 755\n changing mode of build/scripts-2.7/cfn-send-cmd-result from 644 to 755\n changing mode of build/scripts-2.7/cfn-send-cmd-event from 644 to 755\n /usr/bin/python -O /tmp/tmp_UiCiH.py\n removing /tmp/tmp_UiCiH.py\n \n changing mode of /usr/local/bin/cfn-get-metadata to 755\n changing mode of /usr/local/bin/cfn-init to 755\n changing mode of /usr/local/bin/cfn-send-cmd-result to 755\n changing mode of /usr/local/bin/cfn-elect-cmd-leader to 755\n changing mode of /usr/local/bin/cfn-send-cmd-event to 755\n changing mode of /usr/local/bin/cfn-signal to 755\n changing mode of /usr/local/bin/cfn-hup to 755\n Running setup.py install for lockfile\n \nSuccessfully installed python-daemon pystache aws-cfn-bootstrap lockfile\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="awscli==1.4.2" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795645.79-89146607551675 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795645.79-89146607551675 && echo $HOME/.ansible/tmp/ansible-tmp-1410795645.79-89146607551675'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpCmqIw4 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795645.79-89146607551675/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jogdjzwfnfzlwahrimzzvgrjmyfaovce] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jogdjzwfnfzlwahrimzzvgrjmyfaovce; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795645.79-89146607551675/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795645.79-89146607551675/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=awscli==1.4.2) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple awscli==1.4.2", "item": "awscli==1.4.2", "name": "awscli==1.4.2", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking awscli==1.4.2\n Running setup.py (path:/tmp/pip_build_root/awscli/setup.py) egg_info for package awscli\n \nDownloading/unpacking botocore>=0.62.0,<0.63.0 (from awscli==1.4.2)\n Running setup.py (path:/tmp/pip_build_root/botocore/setup.py) egg_info for package botocore\n \nDownloading/unpacking bcdoc>=0.12.0,<0.13.0 (from awscli==1.4.2)\n Downloading bcdoc-0.12.2.tar.gz\n Running setup.py (path:/tmp/pip_build_root/bcdoc/setup.py) egg_info for package bcdoc\n \n warning: no files found matching 'README.md'\nDownloading/unpacking six>=1.1.0 (from awscli==1.4.2)\n Downloading six-1.8.0-py2.py3-none-any.whl\nDownloading/unpacking colorama==0.2.5 (from awscli==1.4.2)\n Downloading colorama-0.2.5.tar.gz\n Running setup.py (path:/tmp/pip_build_root/colorama/setup.py) egg_info for package colorama\n \nDownloading/unpacking docutils>=0.10 (from awscli==1.4.2)\n Running setup.py (path:/tmp/pip_build_root/docutils/setup.py) egg_info for package docutils\n \n warning: no files found matching 'MANIFEST'\n warning: no files found matching '*' under directory 'extras'\n warning: no previously-included files matching '.cvsignore' found under directory '*'\n warning: no previously-included files matching '*.pyc' found under directory '*'\n warning: no previously-included files matching '*~' found under directory '*'\n warning: no previously-included files matching '.DS_Store' found under directory '*'\nDownloading/unpacking rsa==3.1.2 (from awscli==1.4.2)\n Downloading rsa-3.1.2.tar.gz\n Running setup.py (path:/tmp/pip_build_root/rsa/setup.py) egg_info for package rsa\n \n warning: no files found matching 'README'\nDownloading/unpacking jmespath==0.4.1 (from botocore>=0.62.0,<0.63.0->awscli==1.4.2)\n Downloading jmespath-0.4.1.tar.gz\n Running setup.py (path:/tmp/pip_build_root/jmespath/setup.py) egg_info for package jmespath\n \nDownloading/unpacking python-dateutil>=2.1 (from botocore>=0.62.0,<0.63.0->awscli==1.4.2)\n Running setup.py (path:/tmp/pip_build_root/python-dateutil/setup.py) egg_info for package python-dateutil\n \nDownloading/unpacking pyasn1>=0.1.3 (from rsa==3.1.2->awscli==1.4.2)\n Running setup.py (path:/tmp/pip_build_root/pyasn1/setup.py) egg_info for package pyasn1\n \nInstalling collected packages: awscli, botocore, bcdoc, six, colorama, docutils, rsa, jmespath, python-dateutil, pyasn1\n Running setup.py install for awscli\n changing mode of build/scripts-2.7/aws from 644 to 755\n changing mode of build/scripts-2.7/aws.cmd from 644 to 755\n changing mode of build/scripts-2.7/aws_completer from 644 to 755\n changing mode of build/scripts-2.7/aws_zsh_completer.sh from 644 to 755\n \n changing mode of /usr/local/bin/aws_zsh_completer.sh to 755\n changing mode of /usr/local/bin/aws to 755\n changing mode of /usr/local/bin/aws.cmd to 755\n changing mode of /usr/local/bin/aws_completer to 755\n Running setup.py install for botocore\n \n Running setup.py install for bcdoc\n \n warning: no files found matching 'README.md'\n Running setup.py install for colorama\n \n Running setup.py install for docutils\n changing mode of build/scripts-2.7/rst2html.py from 644 to 755\n changing mode of build/scripts-2.7/rst2s5.py from 644 to 755\n changing mode of build/scripts-2.7/rst2latex.py from 644 to 755\n changing mode of build/scripts-2.7/rst2xetex.py from 644 to 755\n changing mode of build/scripts-2.7/rst2man.py from 644 to 755\n changing mode of build/scripts-2.7/rst2xml.py from 644 to 755\n changing mode of build/scripts-2.7/rst2pseudoxml.py from 644 to 755\n changing mode of build/scripts-2.7/rstpep2html.py from 644 to 755\n changing mode of build/scripts-2.7/rst2odt.py from 644 to 755\n changing mode of build/scripts-2.7/rst2odt_prepstyles.py from 644 to 755\n \n warning: no files found matching 'MANIFEST'\n warning: no files found matching '*' under directory 'extras'\n warning: no previously-included files matching '.cvsignore' found under directory '*'\n warning: no previously-included files matching '*.pyc' found under directory '*'\n warning: no previously-included files matching '*~' found under directory '*'\n warning: no previously-included files matching '.DS_Store' found under directory '*'\n changing mode of /usr/local/bin/rst2man.py to 755\n changing mode of /usr/local/bin/rst2odt.py to 755\n changing mode of /usr/local/bin/rst2xml.py to 755\n changing mode of /usr/local/bin/rst2latex.py to 755\n changing mode of /usr/local/bin/rst2pseudoxml.py to 755\n changing mode of /usr/local/bin/rst2odt_prepstyles.py to 755\n changing mode of /usr/local/bin/rst2s5.py to 755\n changing mode of /usr/local/bin/rst2xetex.py to 755\n changing mode of /usr/local/bin/rst2html.py to 755\n changing mode of /usr/local/bin/rstpep2html.py to 755\n Running setup.py install for rsa\n \n warning: no files found matching 'README'\n Installing pyrsa-encrypt-bigfile script to /usr/local/bin\n Installing pyrsa-encrypt script to /usr/local/bin\n Installing pyrsa-verify script to /usr/local/bin\n Installing pyrsa-sign script to /usr/local/bin\n Installing pyrsa-priv2pub script to /usr/local/bin\n Installing pyrsa-decrypt script to /usr/local/bin\n Installing pyrsa-decrypt-bigfile script to /usr/local/bin\n Installing pyrsa-keygen script to /usr/local/bin\n Running setup.py install for jmespath\n changing mode of build/scripts-2.7/jp from 644 to 755\n \n changing mode of /usr/local/bin/jp to 755\n Running setup.py install for python-dateutil\n \n Running setup.py install for pyasn1\n \nSuccessfully installed awscli botocore bcdoc six colorama docutils rsa jmespath python-dateutil pyasn1\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="boto==2.32.0" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795652.15-106266550639430 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795652.15-106266550639430 && echo $HOME/.ansible/tmp/ansible-tmp-1410795652.15-106266550639430'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpxUbrf_ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795652.15-106266550639430/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vostzhkvvclzudtvxnwesnoysvcdyara] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vostzhkvvclzudtvxnwesnoysvcdyara; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795652.15-106266550639430/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795652.15-106266550639430/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=boto==2.32.0) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple boto==2.32.0", "item": "boto==2.32.0", "name": "boto==2.32.0", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking boto==2.32.0\nInstalling collected packages: boto\nSuccessfully installed boto\nCleaning up...\n", "version": null, "virtualenv": null} | |
TASK: [aws | get s3cmd] ******************************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE get_url url=http://files.edx.org/s3cmd/s3cmd-1.5.0-beta1.tar.gz dest=/edx/var/aws/ | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795653.44-214336891513513 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795653.44-214336891513513 && echo $HOME/.ansible/tmp/ansible-tmp-1410795653.44-214336891513513'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpE9q75n TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795653.44-214336891513513/get_url | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=uaqqaqxjnatugkxueefqviengesgeevf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-uaqqaqxjnatugkxueefqviengesgeevf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795653.44-214336891513513/get_url; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795653.44-214336891513513/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/var/aws/s3cmd-1.5.0-beta1.tar.gz", "gid": 0, "group": "root", "md5sum": "50e89e79b5c9266dee2e402214ef1c21", "mode": "0644", "msg": "OK (887718 bytes)", "owner": "root", "sha256sum": "", "size": 887718, "src": "/tmp/tmpq3h9cW", "state": "file", "uid": 0, "url": "http://files.edx.org/s3cmd/s3cmd-1.5.0-beta1.tar.gz"} | |
TASK: [aws | untar s3cmd] ***************************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command tar xf /edx/var/aws/s3cmd-1.5.0-beta1.tar.gz creates=/edx/app/aws/s3cmd-1.5.0-beta1/s3cmd chdir=/edx/app/aws #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795654.0-38752281026194 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795654.0-38752281026194 && echo $HOME/.ansible/tmp/ansible-tmp-1410795654.0-38752281026194'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpSxxtW9 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.0-38752281026194/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mrmibwigwzkbcutndhbzftkzypjxuopj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mrmibwigwzkbcutndhbzftkzypjxuopj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.0-38752281026194/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.0-38752281026194/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "cmd": "tar xf /edx/var/aws/s3cmd-1.5.0-beta1.tar.gz", "delta": "0:00:00.027852", "end": "2014-09-15 15:40:54.027660", "rc": 0, "start": "2014-09-15 15:40:53.999808", "stderr": "", "stdout": ""} | |
TASK: [aws | create symlink for s3cmd] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/aws/s3cmd-1.5.0-beta1/s3cmd dest=/edx/bin/s3cmd state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795654.18-152867935541008 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795654.18-152867935541008 && echo $HOME/.ansible/tmp/ansible-tmp-1410795654.18-152867935541008'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpapWOIu TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.18-152867935541008/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=agvlwqhqbsnnszypfjcsgeidthsrilvo] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-agvlwqhqbsnnszypfjcsgeidthsrilvo; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.18-152867935541008/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.18-152867935541008/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/bin/s3cmd", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 36, "src": "/edx/app/aws/s3cmd-1.5.0-beta1/s3cmd", "state": "link", "uid": 0} | |
TASK: [aws | create s3 log sync script] *************************************** | |
skipping: [default] | |
TASK: [aws | create symlink for s3 log sync script] *************************** | |
skipping: [default] | |
TASK: [aws | force logrotate on supervisor stop] ****************************** | |
skipping: [default] | |
TASK: [aws | cronjob for s3 log sync] ***************************************** | |
skipping: [default] | |
TASK: [edx_ansible | create application user] ********************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name="edx-ansible" home="/edx/app/edx_ansible" createhome=no shell=/bin/false | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795654.4-111974255742191 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795654.4-111974255742191 && echo $HOME/.ansible/tmp/ansible-tmp-1410795654.4-111974255742191'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpTNcinc TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.4-111974255742191/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gllytuhhjoxaqniuegmwkbdqhtuppqoy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gllytuhhjoxaqniuegmwkbdqhtuppqoy; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.4-111974255742191/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.4-111974255742191/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "comment": "", "createhome": false, "group": 1004, "home": "/edx/app/edx_ansible", "name": "edx-ansible", "shell": "/bin/false", "state": "present", "system": false, "uid": 1001} | |
TASK: [edx_ansible | create edx_ansible app and venv dir] ********************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/edx_ansible" state=directory owner="edx-ansible" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795654.63-221280299919786 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795654.63-221280299919786 && echo $HOME/.ansible/tmp/ansible-tmp-1410795654.63-221280299919786'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp2W0MaY TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.63-221280299919786/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=uxfgtrzieeazklpsjxizaajlsnaeojen] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-uxfgtrzieeazklpsjxizaajlsnaeojen; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.63-221280299919786/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.63-221280299919786/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/edx_ansible) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/edx_ansible", "mode": "0755", "owner": "edx-ansible", "path": "/edx/app/edx_ansible", "size": 4096, "state": "directory", "uid": 1001} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/edx_ansible" state=directory owner="edx-ansible" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795654.77-60973871865839 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795654.77-60973871865839 && echo $HOME/.ansible/tmp/ansible-tmp-1410795654.77-60973871865839'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpF0mJsA TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.77-60973871865839/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mzwnnjckwrijrpvfqzfrkjrqdzpalayd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mzwnnjckwrijrpvfqzfrkjrqdzpalayd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.77-60973871865839/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.77-60973871865839/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/edx_ansible) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/var/edx_ansible", "mode": "0755", "owner": "edx-ansible", "path": "/edx/var/edx_ansible", "size": 4096, "state": "directory", "uid": 1001} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/edx_ansible/venvs" state=directory owner="edx-ansible" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795654.91-34509912518857 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795654.91-34509912518857 && echo $HOME/.ansible/tmp/ansible-tmp-1410795654.91-34509912518857'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp6lv2GB TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.91-34509912518857/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tuyolcgdqzjpldnbypyiayghkvhhlaqc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tuyolcgdqzjpldnbypyiayghkvhhlaqc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.91-34509912518857/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795654.91-34509912518857/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/edx_ansible/venvs) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/edx_ansible/venvs", "mode": "0755", "owner": "edx-ansible", "path": "/edx/app/edx_ansible/venvs", "size": 4096, "state": "directory", "uid": 1001} | |
TASK: [edx_ansible | install a bunch of system packages on which edx_ansible relies] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=python-pip,python-apt,git-core,build-essential,python-dev,libxml2-dev,libxslt1-dev,curl,python-yaml state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795655.06-168226163139162 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795655.06-168226163139162 && echo $HOME/.ansible/tmp/ansible-tmp-1410795655.06-168226163139162'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpMDfIXQ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795655.06-168226163139162/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kcaszlnxbhsojgzpjnfxzchqsvxabgun] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kcaszlnxbhsojgzpjnfxzchqsvxabgun; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795655.06-168226163139162/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795655.06-168226163139162/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n dpkg-dev g++ g++-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl\n libalgorithm-merge-perl libdpkg-perl libstdc++6-4.6-dev libxml2 libxslt1.1\n libyaml-0-2 python python-minimal\nSuggested packages:\n debian-keyring g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg\n libstdc++6-4.6-doc python-doc python-tk\nThe following NEW packages will be installed:\n build-essential dpkg-dev g++ g++-4.6 git-core libalgorithm-diff-perl\n libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl\n libstdc++6-4.6-dev libxml2-dev libxslt1-dev libxslt1.1 libyaml-0-2\n python-dev python-yaml\nThe following packages will be upgraded:\n libxml2 python python-minimal\n3 upgraded, 16 newly installed, 0 to remove and 165 not upgraded.\nNeed to get 11.9 MB of archives.\nAfter this operation, 34.6 MB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python-minimal amd64 2.7.3-0ubuntu2.2 [29.7 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python amd64 2.7.3-0ubuntu2.2 [168 kB]\nGet:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxml2 amd64 2.7.8.dfsg-5.1ubuntu4.9 [673 kB]\nGet:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxslt1.1 amd64 1.1.26-8ubuntu1.3 [167 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libyaml-0-2 amd64 0.1.4-2ubuntu0.12.04.3 [57.8 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.6-dev amd64 4.6.3-1ubuntu5 [1,660 kB]\nGet:7 http://ppa.launchpad.net/git-core/ppa/ubuntu/ precise/main git-core all 1:2.1.0-1~ppa0~ubuntu12.04.1 [1,358 B]\nGet:8 http://us.archive.ubuntu.com/ubuntu/ precise/main g++-4.6 amd64 4.6.3-1ubuntu5 [6,954 kB]\nGet:9 http://us.archive.ubuntu.com/ubuntu/ precise/main g++ amd64 4:4.6.3-1ubuntu5 [1,442 B]\nGet:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libdpkg-perl all 1.16.1.2ubuntu7.5 [182 kB]\nGet:11 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main dpkg-dev all 1.16.1.2ubuntu7.5 [468 kB]\nGet:12 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main build-essential amd64 11.5ubuntu2.1 [5,816 B]\nGet:13 http://us.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB]\nGet:14 http://us.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-xs-perl amd64 0.04-2build2 [12.4 kB]\nGet:15 http://us.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]\nGet:16 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxml2-dev amd64 2.7.8.dfsg-5.1ubuntu4.9 [804 kB]\nGet:17 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxslt1-dev amd64 1.1.26-8ubuntu1.3 [564 kB]\nGet:18 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python-dev amd64 2.7.3-0ubuntu2.2 [1,090 B]\nGet:19 http://us.archive.ubuntu.com/ubuntu/ precise/main python-yaml amd64 3.10-2 [122 kB]\nFetched 11.9 MB in 1s (10.0 MB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 74602 files and directories currently installed.)\r\nPreparing to replace python-minimal 2.7.3-0ubuntu2 (using .../python-minimal_2.7.3-0ubuntu2.2_amd64.deb) ...\r\nUnpacking replacement python-minimal ...\r\nProcessing triggers for man-db ...\r\nSetting up python-minimal (2.7.3-0ubuntu2.2) ...\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 74602 files and directories currently installed.)\r\nPreparing to replace python 2.7.3-0ubuntu2 (using .../python_2.7.3-0ubuntu2.2_amd64.deb) ...\r\nUnpacking replacement python ...\r\nPreparing to replace libxml2 2.7.8.dfsg-5.1ubuntu4 (using .../libxml2_2.7.8.dfsg-5.1ubuntu4.9_amd64.deb) ...\r\nUnpacking replacement libxml2 ...\r\nSelecting previously unselected package libxslt1.1.\r\nUnpacking libxslt1.1 (from .../libxslt1.1_1.1.26-8ubuntu1.3_amd64.deb) ...\r\nSelecting previously unselected package libyaml-0-2.\r\nUnpacking libyaml-0-2 (from .../libyaml-0-2_0.1.4-2ubuntu0.12.04.3_amd64.deb) ...\r\nSelecting previously unselected package libstdc++6-4.6-dev.\r\nUnpacking libstdc++6-4.6-dev (from .../libstdc++6-4.6-dev_4.6.3-1ubuntu5_amd64.deb) ...\r\nSelecting previously unselected package g++-4.6.\r\nUnpacking g++-4.6 (from .../g++-4.6_4.6.3-1ubuntu5_amd64.deb) ...\r\nSelecting previously unselected package g++.\r\nUnpacking g++ (from .../g++_4%3a4.6.3-1ubuntu5_amd64.deb) ...\r\nSelecting previously unselected package libdpkg-perl.\r\nUnpacking libdpkg-perl (from .../libdpkg-perl_1.16.1.2ubuntu7.5_all.deb) ...\r\nSelecting previously unselected package dpkg-dev.\r\nUnpacking dpkg-dev (from .../dpkg-dev_1.16.1.2ubuntu7.5_all.deb) ...\r\nSelecting previously unselected package build-essential.\r\nUnpacking build-essential (from .../build-essential_11.5ubuntu2.1_amd64.deb) ...\r\nSelecting previously unselected package git-core.\r\nUnpacking git-core (from .../git-core_1%3a2.1.0-1~ppa0~ubuntu12.04.1_all.deb) ...\r\nSelecting previously unselected package libalgorithm-diff-perl.\r\nUnpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...\r\nSelecting previously unselected package libalgorithm-diff-xs-perl.\r\nUnpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2build2_amd64.deb) ...\r\nSelecting previously unselected package libalgorithm-merge-perl.\r\nUnpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...\r\nSelecting previously unselected package libxml2-dev.\r\nUnpacking libxml2-dev (from .../libxml2-dev_2.7.8.dfsg-5.1ubuntu4.9_amd64.deb) ...\r\nSelecting previously unselected package libxslt1-dev.\r\nUnpacking libxslt1-dev (from .../libxslt1-dev_1.1.26-8ubuntu1.3_amd64.deb) ...\r\nSelecting previously unselected package python-dev.\r\nUnpacking python-dev (from .../python-dev_2.7.3-0ubuntu2.2_amd64.deb) ...\r\nSelecting previously unselected package python-yaml.\r\nUnpacking python-yaml (from .../python-yaml_3.10-2_amd64.deb) ...\r\nProcessing triggers for man-db ...\r\nSetting up python (2.7.3-0ubuntu2.2) ...\r\nSetting up libxml2 (2.7.8.dfsg-5.1ubuntu4.9) ...\r\nSetting up libxslt1.1 (1.1.26-8ubuntu1.3) ...\r\nSetting up libyaml-0-2 (0.1.4-2ubuntu0.12.04.3) ...\r\nSetting up libdpkg-perl (1.16.1.2ubuntu7.5) ...\r\nSetting up dpkg-dev (1.16.1.2ubuntu7.5) ...\r\nSetting up git-core (1:2.1.0-1~ppa0~ubuntu12.04.1) ...\r\nSetting up libalgorithm-diff-perl (1.19.02-2) ...\r\nSetting up libalgorithm-diff-xs-perl (0.04-2build2) ...\r\nSetting up libalgorithm-merge-perl (0.08-2) ...\r\nSetting up libxml2-dev (2.7.8.dfsg-5.1ubuntu4.9) ...\r\nSetting up libxslt1-dev (1.1.26-8ubuntu1.3) ...\r\nSetting up python-dev (2.7.3-0ubuntu2.2) ...\r\nSetting up python-yaml (3.10-2) ...\r\nSetting up libstdc++6-4.6-dev (4.6.3-1ubuntu5) ...\r\nSetting up g++-4.6 (4.6.3-1ubuntu5) ...\r\nSetting up g++ (4:4.6.3-1ubuntu5) ...\r\nupdate-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.\r\nSetting up build-essential (11.5ubuntu2.1) ...\r\nProcessing triggers for libc-bin ...\r\nldconfig deferred processing now taking place\r\n"} | |
TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE git dest=/edx/app/edx_ansible/edx_ansible repo=https://github.com/edx/configuration.git version=release accept_hostkey=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410795665.24-229259373663474 && chmod a+rx /tmp/ansible-tmp-1410795665.24-229259373663474 && echo /tmp/ansible-tmp-1410795665.24-229259373663474'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpxkdZ9M TO /tmp/ansible-tmp-1410795665.24-229259373663474/git | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410795665.24-229259373663474/git'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=iltxogrbadexrhdjuaoeflykxrgmajmx] password: " -u edx-ansible /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-iltxogrbadexrhdjuaoeflykxrgmajmx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410795665.24-229259373663474/git\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410795665.24-229259373663474/ >/dev/null 2>&1'"] | |
changed: [default] => {"after": "2430f1fdae7937e65a7c718b5c07389f3fb87574", "before": null, "changed": true} | |
TASK: [edx_ansible | install edx_ansible venv requirements] ******************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip requirements="/edx/app/edx_ansible/edx_ansible/requirements.txt" virtualenv="/edx/app/edx_ansible/venvs/edx_ansible" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410795670.84-105535243115336 && chmod a+rx /tmp/ansible-tmp-1410795670.84-105535243115336 && echo /tmp/ansible-tmp-1410795670.84-105535243115336'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpSL8Ppf TO /tmp/ansible-tmp-1410795670.84-105535243115336/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410795670.84-105535243115336/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=utickhcswcuztyjckchhwhfwtnftxlpz] password: " -u edx-ansible /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-utickhcswcuztyjckchhwhfwtnftxlpz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410795670.84-105535243115336/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410795670.84-105535243115336/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": "/edx/app/edx_ansible/venvs/edx_ansible/bin/pip install -i https://pypi.python.org/simple -r /edx/app/edx_ansible/edx_ansible/requirements.txt", "name": null, "requirements": "/edx/app/edx_ansible/edx_ansible/requirements.txt", "state": "present", "stderr": "", "stdout": "New python executable in /edx/app/edx_ansible/venvs/edx_ansible/bin/python\nInstalling setuptools, pip...done.\nDownloading/unpacking ansible==1.5.5 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 1))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/ansible/setup.py) egg_info for package ansible\n \nDownloading/unpacking PyYAML==3.11 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 2))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/PyYAML/setup.py) egg_info for package PyYAML\n \nDownloading/unpacking Jinja2==2.7.2 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 3))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/Jinja2/setup.py) egg_info for package Jinja2\n \n warning: no files found matching '*' under directory 'custom_fixers'\n warning: no previously-included files matching '*' found under directory 'docs/_build'\n warning: no previously-included files matching '*.pyc' found under directory 'jinja2'\n warning: no previously-included files matching '*.pyc' found under directory 'docs'\n warning: no previously-included files matching '*.pyo' found under directory 'jinja2'\n warning: no previously-included files matching '*.pyo' found under directory 'docs'\nDownloading/unpacking MarkupSafe==0.23 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 4))\n Downloading MarkupSafe-0.23.tar.gz\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/MarkupSafe/setup.py) egg_info for package MarkupSafe\n \nRequirement already satisfied (use --upgrade to upgrade): argparse==1.2.1 in /usr/lib/python2.7 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 5))\nDownloading/unpacking boto==2.29.1 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 6))\nDownloading/unpacking ecdsa==0.11 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 7))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/ecdsa/setup.py) egg_info for package ecdsa\n \nDownloading/unpacking paramiko==1.14.0 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 8))\nDownloading/unpacking pycrypto==2.6.1 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 9))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/pycrypto/setup.py) egg_info for package pycrypto\n \nRequirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/lib/python2.7 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 10))\nDownloading/unpacking docopt==0.6.1 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 11))\n Downloading docopt-0.6.1.tar.gz\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/docopt/setup.py) egg_info for package docopt\n \nDownloading/unpacking python-simple-hipchat==0.2 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 12))\n Downloading python-simple-hipchat-0.2.tar.gz\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/python-simple-hipchat/setup.py) egg_info for package python-simple-hipchat\n \nDownloading/unpacking prettytable==0.7.2 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 13))\n Downloading prettytable-0.7.2.tar.bz2\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/prettytable/setup.py) egg_info for package prettytable\n \nInstalling collected packages: ansible, PyYAML, Jinja2, MarkupSafe, boto, ecdsa, paramiko, pycrypto, docopt, python-simple-hipchat, prettytable\n Running setup.py install for ansible\n changing mode of build/scripts-2.7/ansible from 644 to 755\n changing mode of build/scripts-2.7/ansible-playbook from 644 to 755\n changing mode of build/scripts-2.7/ansible-pull from 644 to 755\n changing mode of build/scripts-2.7/ansible-doc from 644 to 755\n changing mode of build/scripts-2.7/ansible-galaxy from 644 to 755\n changing mode of build/scripts-2.7/ansible-vault from 644 to 755\n \n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-galaxy to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-vault to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-doc to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-pull to 755\n Running setup.py install for PyYAML\n checking if libyaml is compilable\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o\n build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory\n compilation terminated.\n \n libyaml is not found or a compiler error: forcing --without-libyaml\n (if libyaml is installed correctly, you may need to\n specify the option --include-dirs or uncomment and\n modify the parameter include_dirs in setup.cfg)\n \n Running setup.py install for Jinja2\n \n warning: no files found matching '*' under directory 'custom_fixers'\n warning: no previously-included files matching '*' found under directory 'docs/_build'\n warning: no previously-included files matching '*.pyc' found under directory 'jinja2'\n warning: no previously-included files matching '*.pyc' found under directory 'docs'\n warning: no previously-included files matching '*.pyo' found under directory 'jinja2'\n warning: no previously-included files matching '*.pyo' found under directory 'docs'\n Running setup.py install for MarkupSafe\n \n building 'markupsafe._speedups' extension\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c markupsafe/_speedups.c -o build/temp.linux-x86_64-2.7/markupsafe/_speedups.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/markupsafe/_speedups.o -o build/lib.linux-x86_64-2.7/markupsafe/_speedups.so\n Running setup.py install for ecdsa\n \n Running setup.py install for pycrypto\n checking for gcc... gcc\n checking whether the C compiler works... yes\n checking for C compiler default output file name... a.out\n checking for suffix of executables...\n checking whether we are cross compiling... no\n checking for suffix of object files... o\n checking whether we are using the GNU C compiler... yes\n checking whether gcc accepts -g... yes\n checking for gcc option to accept ISO C89... none needed\n checking for __gmpz_init in -lgmp... no\n checking for __gmpz_init in -lmpir... no\n checking whether mpz_powm is declared... no\n checking whether mpz_powm_sec is declared... no\n checking how to run the C preprocessor... gcc -E\n checking for grep that handles long lines and -e... /bin/grep\n checking for egrep... /bin/grep -E\n checking for ANSI C header files... yes\n checking for sys/types.h... yes\n checking for sys/stat.h... yes\n checking for stdlib.h... yes\n checking for string.h... yes\n checking for memory.h... yes\n checking for strings.h... yes\n checking for inttypes.h... yes\n checking for stdint.h... yes\n checking for unistd.h... yes\n checking for inttypes.h... (cached) yes\n checking limits.h usability... yes\n checking limits.h presence... yes\n checking for limits.h... yes\n checking stddef.h usability... yes\n checking stddef.h presence... yes\n checking for stddef.h... yes\n checking for stdint.h... (cached) yes\n checking for stdlib.h... (cached) yes\n checking for string.h... (cached) yes\n checking wchar.h usability... yes\n checking wchar.h presence... yes\n checking for wchar.h... yes\n checking for inline... inline\n checking for int16_t... yes\n checking for int32_t... yes\n checking for int64_t... yes\n checking for int8_t... yes\n checking for size_t... yes\n checking for uint16_t... yes\n checking for uint32_t... yes\n checking for uint64_t... yes\n checking for uint8_t... yes\n checking for stdlib.h... (cached) yes\n checking for GNU libc compatible malloc... yes\n checking for memmove... yes\n checking for memset... yes\n configure: creating ./config.status\n config.status: creating src/config.h\n warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.\n building 'Crypto.Hash._MD2' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/MD2.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_MD2.so\n building 'Crypto.Hash._MD4' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD4.c -o build/temp.linux-x86_64-2.7/src/MD4.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/MD4.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_MD4.so\n building 'Crypto.Hash._SHA256' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA256.c -o build/temp.linux-x86_64-2.7/src/SHA256.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA256.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA256.so\n building 'Crypto.Hash._SHA224' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA224.c -o build/temp.linux-x86_64-2.7/src/SHA224.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA224.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA224.so\n building 'Crypto.Hash._SHA384' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA384.c -o build/temp.linux-x86_64-2.7/src/SHA384.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA384.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA384.so\n building 'Crypto.Hash._SHA512' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA512.c -o build/temp.linux-x86_64-2.7/src/SHA512.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA512.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA512.so\n building 'Crypto.Hash._RIPEMD160' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -DPCT_LITTLE_ENDIAN=1 -Isrc/ -I/usr/include/python2.7 -c src/RIPEMD160.c -o build/temp.linux-x86_64-2.7/src/RIPEMD160.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/RIPEMD160.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_RIPEMD160.so\n building 'Crypto.Cipher._AES' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/AES.c -o build/temp.linux-x86_64-2.7/src/AES.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/AES.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_AES.so\n building 'Crypto.Cipher._ARC2' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC2.c -o build/temp.linux-x86_64-2.7/src/ARC2.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/ARC2.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC2.so\n building 'Crypto.Cipher._Blowfish' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/Blowfish.c -o build/temp.linux-x86_64-2.7/src/Blowfish.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/Blowfish.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_Blowfish.so\n building 'Crypto.Cipher._CAST' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/CAST.c -o build/temp.linux-x86_64-2.7/src/CAST.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/CAST.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_CAST.so\n building 'Crypto.Cipher._DES' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES.c -o build/temp.linux-x86_64-2.7/src/DES.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/DES.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES.so\n building 'Crypto.Cipher._DES3' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES3.c -o build/temp.linux-x86_64-2.7/src/DES3.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/DES3.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES3.so\n building 'Crypto.Cipher._ARC4' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC4.c -o build/temp.linux-x86_64-2.7/src/ARC4.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/ARC4.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC4.so\n building 'Crypto.Cipher._XOR' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/XOR.c -o build/temp.linux-x86_64-2.7/src/XOR.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/XOR.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_XOR.so\n building 'Crypto.Util.strxor' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/strxor.c -o build/temp.linux-x86_64-2.7/src/strxor.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/strxor.o -o build/lib.linux-x86_64-2.7/Crypto/Util/strxor.so\n building 'Crypto.Util._counter' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/_counter.c -o build/temp.linux-x86_64-2.7/src/_counter.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/_counter.o -o build/lib.linux-x86_64-2.7/Crypto/Util/_counter.so\n \n Running setup.py install for docopt\n \n Running setup.py install for python-simple-hipchat\n \n Running setup.py install for prettytable\n \nSuccessfully installed ansible PyYAML Jinja2 MarkupSafe boto ecdsa paramiko pycrypto docopt python-simple-hipchat prettytable\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/edx_ansible/venvs/edx_ansible"} | |
TASK: [edx_ansible | create update script] ************************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795691.83-180357261837241 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795691.83-180357261837241 && echo $HOME/.ansible/tmp/ansible-tmp-1410795691.83-180357261837241'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kmzbpphhyjyufhlubsybxutywldtwpwx] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kmzbpphhyjyufhlubsybxutywldtwpwx; rc=0; [ -r "/edx/app/edx_ansible/update" ] || rc=2; [ -f "/edx/app/edx_ansible/update" ] || rc=1; [ -d "/edx/app/edx_ansible/update" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/edx_ansible/update 2>/dev/null) || (/sbin/md5sum -q /edx/app/edx_ansible/update 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/edx_ansible/update 2>/dev/null) || (/sbin/md5 -q /edx/app/edx_ansible/update 2>/dev/null) || (/usr/bin/md5 -n /edx/app/edx_ansible/update 2>/dev/null) || (/bin/md5 -q /edx/app/edx_ansible/update 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/edx_ansible/update 2>/dev/null) || (/bin/csum -h MD5 /edx/app/edx_ansible/update 2>/dev/null) || (echo "${rc} /edx/app/edx_ansible/update")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpUBLXuR TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795691.83-180357261837241/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpBQXYkK TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795691.83-180357261837241/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=nytgmwerjbnkndxruqdjihgolgqokihg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-nytgmwerjbnkndxruqdjihgolgqokihg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795691.83-180357261837241/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795691.83-180357261837241/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/edx_ansible/update", "gid": 1004, "group": "edx-ansible", "md5sum": "16dc49ef83f42fbbbd7f347ad491c8a4", "mode": "0755", "owner": "edx-ansible", "size": 2121, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795691.83-180357261837241/source", "state": "file", "uid": 1001} | |
TASK: [edx_ansible | create a symlink for update.sh] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/edx_ansible/update dest=/edx/bin/update state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795692.07-196722709821589 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795692.07-196722709821589 && echo $HOME/.ansible/tmp/ansible-tmp-1410795692.07-196722709821589'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpeJheqs TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.07-196722709821589/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wqueqmampayetwninfgjeskghckvvmkh] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wqueqmampayetwninfgjeskghckvvmkh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.07-196722709821589/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.07-196722709821589/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/bin/update", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 27, "src": "/edx/app/edx_ansible/update", "state": "link", "uid": 0} | |
TASK: [edx_ansible | create a symlink for ansible-playbook] ******************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook dest=/edx/bin/ansible-playbook state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795692.21-3897084494247 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795692.21-3897084494247 && echo $HOME/.ansible/tmp/ansible-tmp-1410795692.21-3897084494247'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpTJYLDt TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.21-3897084494247/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jpsnaugpydklutlhuhhlvyexzpnuurob] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jpsnaugpydklutlhuhhlvyexzpnuurob; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.21-3897084494247/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.21-3897084494247/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/bin/ansible-playbook", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 59, "src": "/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook", "state": "link", "uid": 0} | |
TASK: [edx_ansible | create a symlink for the playbooks dir] ****************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/edx_ansible/edx_ansible/playbooks dest=/edx/etc/playbooks state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795692.37-85474859529932 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795692.37-85474859529932 && echo $HOME/.ansible/tmp/ansible-tmp-1410795692.37-85474859529932'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpH2ohqC TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.37-85474859529932/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=nbhiaotokachxxzdtmmjdhzaodcizpja] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-nbhiaotokachxxzdtmmjdhzaodcizpja; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.37-85474859529932/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.37-85474859529932/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/etc/playbooks", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 42, "src": "/edx/app/edx_ansible/edx_ansible/playbooks", "state": "link", "uid": 0} | |
TASK: [edx_ansible | dump all vars to yaml] *********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795692.52-272001621363143 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795692.52-272001621363143 && echo $HOME/.ansible/tmp/ansible-tmp-1410795692.52-272001621363143'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mjyyrelurrkendnxxnynoluqfftfgjbi] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mjyyrelurrkendnxxnynoluqfftfgjbi; rc=0; [ -r "/edx/app/edx_ansible/server-vars.yml" ] || rc=2; [ -f "/edx/app/edx_ansible/server-vars.yml" ] || rc=1; [ -d "/edx/app/edx_ansible/server-vars.yml" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/sbin/md5sum -q /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/sbin/md5 -q /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/usr/bin/md5 -n /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/bin/md5 -q /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/bin/csum -h MD5 /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (echo "${rc} /edx/app/edx_ansible/server-vars.yml")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpLUMSQd TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.52-272001621363143/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpjj4Cbd TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.52-272001621363143/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vkalzcekcbqhseofxydxojqjiodjcvls] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vkalzcekcbqhseofxydxojqjiodjcvls; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.52-272001621363143/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.52-272001621363143/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/edx_ansible/server-vars.yml", "gid": 0, "group": "root", "md5sum": "e71686bc1bcc37d61be56609d9f62302", "mode": "0600", "owner": "root", "size": 1401, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795692.52-272001621363143/source", "state": "file", "uid": 0} | |
TASK: [edx_ansible | create symlink for config file] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/edx_ansible/server-vars.yml dest=/edx/etc/server-vars.yml state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795692.76-156958425832677 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795692.76-156958425832677 && echo $HOME/.ansible/tmp/ansible-tmp-1410795692.76-156958425832677'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpbaV7DE TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.76-156958425832677/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jctzqaeydeqlkcmcclkkbjvnlvalcrwe] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jctzqaeydeqlkcmcclkkbjvnlvalcrwe; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.76-156958425832677/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.76-156958425832677/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/etc/server-vars.yml", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 36, "src": "/edx/app/edx_ansible/server-vars.yml", "state": "link", "uid": 0} | |
TASK: [edx_ansible | clean up var file, removing all version vars and internal ansible vars (anything not caps)] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command python -c "import yaml; y=yaml.load(open('/edx/app/edx_ansible/server-vars.yml')); f=open('/edx/app/edx_ansible/server-vars.yml', 'wb'); f.write(yaml.safe_dump({key:value for key,value in y.iteritems() if key.isupper()}, default_flow_style=False)); f.close();" #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795692.92-175634305706917 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795692.92-175634305706917 && echo $HOME/.ansible/tmp/ansible-tmp-1410795692.92-175634305706917'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp2n54w_ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.92-175634305706917/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=uacpzgojpbtfuppeoizaiarfjxatjtpw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-uacpzgojpbtfuppeoizaiarfjxatjtpw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.92-175634305706917/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795692.92-175634305706917/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "cmd": "python -c \"import yaml; y=yaml.load(open('/edx/app/edx_ansible/server-vars.yml')); f=open('/edx/app/edx_ansible/server-vars.yml', 'wb'); f.write(yaml.safe_dump({key:value for key,value in y.iteritems() if key.isupper()}, default_flow_style=False)); f.close();\"", "delta": "0:00:00.056589", "end": "2014-09-15 15:41:33.015240", "rc": 0, "start": "2014-09-15 15:41:32.958651", "stderr": "", "stdout": ""} | |
TASK: [user | debug var=user_info] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
ok: [default] => { | |
"user_info": [] | |
} | |
TASK: [user | create the edxadmin group] ************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE group name=edxadmin state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795693.15-131899752654062 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795693.15-131899752654062 && echo $HOME/.ansible/tmp/ansible-tmp-1410795693.15-131899752654062'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpT4zIqO TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.15-131899752654062/group | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kwxlabulqpuzjlsgssaytdzkrtjsfyxu] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kwxlabulqpuzjlsgssaytdzkrtjsfyxu; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.15-131899752654062/group; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.15-131899752654062/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "gid": 1003, "name": "edxadmin", "state": "present", "system": false} | |
TASK: [user | ensure sudoers.d is read] *************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE lineinfile dest=/etc/sudoers state=present regexp='^#includedir /etc/sudoers.d' line='#includedir /etc/sudoers.d' validate='visudo -cf %s' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795693.3-268168130517497 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795693.3-268168130517497 && echo $HOME/.ansible/tmp/ansible-tmp-1410795693.3-268168130517497'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpw2IGNd TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.3-268168130517497/lineinfile | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vnfvzosgcmayidvpxnmhqsptywoampuj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vnfvzosgcmayidvpxnmhqsptywoampuj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.3-268168130517497/lineinfile; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.3-268168130517497/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"backup": "", "changed": false, "msg": ""} | |
TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=lklvmqrtkbbweavjuannliegbaojlwgv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-lklvmqrtkbbweavjuannliegbaojlwgv; rc=0; [ -r "/etc/sudoers.d/edxadmin" ] || rc=2; [ -f "/etc/sudoers.d/edxadmin" ] || rc=1; [ -d "/etc/sudoers.d/edxadmin" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/edxadmin 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/edxadmin 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/edxadmin 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/edxadmin 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/edxadmin 2>/dev/null) || (echo "${rc} /etc/sudoers.d/edxadmin")\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795693.48-105644605282497 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795693.48-105644605282497 && echo $HOME/.ansible/tmp/ansible-tmp-1410795693.48-105644605282497'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpCq_6q6 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.48-105644605282497/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gkmrmiifrtgdxsstlapueqvscjpdkrid] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gkmrmiifrtgdxsstlapueqvscjpdkrid; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.48-105644605282497/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.48-105644605282497/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "dest": "/etc/sudoers.d/edxadmin", "gid": 0, "group": "root", "md5sum": "44aadaff836d80e7cbd042bd9f07a230", "mode": "0440", "owner": "root", "path": "/etc/sudoers.d/edxadmin", "size": 32, "state": "file", "uid": 0} | |
TASK: [user | create the users] *********************************************** | |
skipping: [default] | |
TASK: [user | create .ssh directory] ****************************************** | |
skipping: [default] | |
TASK: [user | assign admin role to admin users] ******************************* | |
skipping: [default] | |
TASK: [user | copy github key[s] to .ssh/authorized_keys2] ******************** | |
skipping: [default] | |
TASK: [user | copy additional authorized keys] ******************************** | |
skipping: [default] | |
TASK: [user | create bashrc file for normal users] **************************** | |
skipping: [default] | |
TASK: [user | create .profile for all users] ********************************** | |
skipping: [default] | |
TASK: [user | modify shell for restricted users] ****************************** | |
skipping: [default] | |
TASK: [user | create bashrc file for restricted users] ************************ | |
skipping: [default] | |
TASK: [user | create sudoers file from template] ****************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795693.76-16897327608740 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795693.76-16897327608740 && echo $HOME/.ansible/tmp/ansible-tmp-1410795693.76-16897327608740'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wxbsmignqksvxbmrhhlevjfsatqlcber] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wxbsmignqksvxbmrhhlevjfsatqlcber; rc=0; [ -r "/etc/sudoers.d/99-restricted" ] || rc=2; [ -f "/etc/sudoers.d/99-restricted" ] || rc=1; [ -d "/etc/sudoers.d/99-restricted" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/99-restricted 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/99-restricted 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/99-restricted 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/99-restricted 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/99-restricted 2>/dev/null) || (echo "${rc} /etc/sudoers.d/99-restricted")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpbZ0Jce TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.76-16897327608740/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=fbwxealvsruppwnadwiwamkunzazouyk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-fbwxealvsruppwnadwiwamkunzazouyk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.76-16897327608740/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795693.76-16897327608740/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "gid": 0, "group": "root", "mode": "0440", "owner": "root", "path": "/etc/sudoers.d/99-restricted", "size": 1, "state": "file", "uid": 0} | |
TASK: [user | change home directory ownership to root for restricted users] *** | |
skipping: [default] | |
TASK: [user | create ~/bin directory] ***************************************** | |
skipping: [default] | |
TASK: [user | create allowed command links] *********************************** | |
skipping: [default] | |
TASK: [nginx | create nginx app dirs] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/nginx" state=directory owner="root" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795694.0-217124844847565 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795694.0-217124844847565 && echo $HOME/.ansible/tmp/ansible-tmp-1410795694.0-217124844847565'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpV3lC0W TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.0-217124844847565/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zbeueiejksomxopjhdwkrsvhhyeisnei] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zbeueiejksomxopjhdwkrsvhhyeisnei; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.0-217124844847565/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.0-217124844847565/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/nginx) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/nginx", "mode": "0755", "owner": "root", "path": "/edx/app/nginx", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/nginx/sites-available" state=directory owner="root" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795694.14-55084496379622 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795694.14-55084496379622 && echo $HOME/.ansible/tmp/ansible-tmp-1410795694.14-55084496379622'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpkRyKLU TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.14-55084496379622/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zzpeckriifashmjeqqxbtcycdpaxlaqd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zzpeckriifashmjeqqxbtcycdpaxlaqd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.14-55084496379622/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.14-55084496379622/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/nginx/sites-available) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/nginx/sites-available", "mode": "0755", "owner": "root", "path": "/edx/app/nginx/sites-available", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/nginx/sites-enabled" state=directory owner="root" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795694.29-266974990100814 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795694.29-266974990100814 && echo $HOME/.ansible/tmp/ansible-tmp-1410795694.29-266974990100814'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmplE3waK TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.29-266974990100814/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qjvusvjmpgzyxcyaweudafsiarjzxefd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qjvusvjmpgzyxcyaweudafsiarjzxefd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.29-266974990100814/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.29-266974990100814/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/nginx/sites-enabled) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/nginx/sites-enabled", "mode": "0755", "owner": "root", "path": "/edx/app/nginx/sites-enabled", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/nginx/conf.d" state=directory owner="root" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795694.43-194872625017436 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795694.43-194872625017436 && echo $HOME/.ansible/tmp/ansible-tmp-1410795694.43-194872625017436'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpuxeV1g TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.43-194872625017436/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=muxmwcttwcuypusvtjrtqhzvjpomtgiy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-muxmwcttwcuypusvtjrtqhzvjpomtgiy; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.43-194872625017436/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.43-194872625017436/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/nginx/conf.d) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/nginx/conf.d", "mode": "0755", "owner": "root", "path": "/edx/app/nginx/conf.d", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [nginx | create nginx data dirs] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/nginx" state=directory owner="www-data" group="root" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795694.59-104777226972338 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795694.59-104777226972338 && echo $HOME/.ansible/tmp/ansible-tmp-1410795694.59-104777226972338'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmprMnV6V TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.59-104777226972338/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=iwwepekekjzezpcprdqzbdwlymmnhgtq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-iwwepekekjzezpcprdqzbdwlymmnhgtq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.59-104777226972338/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.59-104777226972338/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/nginx) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var/nginx", "mode": "0755", "owner": "www-data", "path": "/edx/var/nginx", "size": 4096, "state": "directory", "uid": 33} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/log/nginx" state=directory owner="www-data" group="root" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795694.74-239058603545026 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795694.74-239058603545026 && echo $HOME/.ansible/tmp/ansible-tmp-1410795694.74-239058603545026'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpqvS5I6 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.74-239058603545026/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mbzezbunrhcwbmznkbojxemjergidgtf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mbzezbunrhcwbmznkbojxemjergidgtf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.74-239058603545026/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.74-239058603545026/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/log/nginx) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var/log/nginx", "mode": "0755", "owner": "www-data", "path": "/edx/var/log/nginx", "size": 4096, "state": "directory", "uid": 33} | |
TASK: [nginx | Install nginx packages] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=nginx,python-passlib state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795694.89-213039724848421 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795694.89-213039724848421 && echo $HOME/.ansible/tmp/ansible-tmp-1410795694.89-213039724848421'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpFP41U4 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.89-213039724848421/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yjdywbihbcvlibqnpmvdbdnvseezpnbh] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yjdywbihbcvlibqnpmvdbdnvseezpnbh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.89-213039724848421/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795694.89-213039724848421/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n libgd2-noxpm libjpeg-turbo8 libjpeg8 nginx-common nginx-full\nSuggested packages:\n libgd-tools\nThe following NEW packages will be installed:\n libgd2-noxpm libjpeg-turbo8 libjpeg8 nginx nginx-common nginx-full\n python-passlib\n0 upgraded, 7 newly installed, 0 to remove and 165 not upgraded.\nNeed to get 867 kB of archives.\nAfter this operation, 2,975 kB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libjpeg-turbo8 amd64 1.1.90+svn733-0ubuntu4.4 [112 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu/ precise/main libjpeg8 amd64 8c-2ubuntu7 [2,112 B]\nGet:3 http://us.archive.ubuntu.com/ubuntu/ precise/main libgd2-noxpm amd64 2.0.36~rc1~dfsg-6ubuntu2 [200 kB]\nGet:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe nginx-common all 1.1.19-1ubuntu0.6 [17.0 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe nginx-full amd64 1.1.19-1ubuntu0.6 [379 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe nginx all 1.1.19-1ubuntu0.6 [5,886 B]\nGet:7 http://us.archive.ubuntu.com/ubuntu/ precise/main python-passlib all 1.5.3-0ubuntu1 [152 kB]\nFetched 867 kB in 0s (9,109 kB/s)\nSelecting previously unselected package libjpeg-turbo8.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 75975 files and directories currently installed.)\r\nUnpacking libjpeg-turbo8 (from .../libjpeg-turbo8_1.1.90+svn733-0ubuntu4.4_amd64.deb) ...\r\nSelecting previously unselected package libjpeg8.\r\nUnpacking libjpeg8 (from .../libjpeg8_8c-2ubuntu7_amd64.deb) ...\r\nSelecting previously unselected package libgd2-noxpm.\r\nUnpacking libgd2-noxpm (from .../libgd2-noxpm_2.0.36~rc1~dfsg-6ubuntu2_amd64.deb) ...\r\nSelecting previously unselected package nginx-common.\r\nUnpacking nginx-common (from .../nginx-common_1.1.19-1ubuntu0.6_all.deb) ...\r\nSelecting previously unselected package nginx-full.\r\nUnpacking nginx-full (from .../nginx-full_1.1.19-1ubuntu0.6_amd64.deb) ...\r\nSelecting previously unselected package nginx.\r\nUnpacking nginx (from .../nginx_1.1.19-1ubuntu0.6_all.deb) ...\r\nSelecting previously unselected package python-passlib.\r\nUnpacking python-passlib (from .../python-passlib_1.5.3-0ubuntu1_all.deb) ...\r\nProcessing triggers for man-db ...\r\nProcessing triggers for ufw ...\r\nProcessing triggers for ureadahead ...\r\nSetting up libjpeg-turbo8 (1.1.90+svn733-0ubuntu4.4) ...\r\nSetting up libjpeg8 (8c-2ubuntu7) ...\r\nSetting up libgd2-noxpm (2.0.36~rc1~dfsg-6ubuntu2) ...\r\nSetting up nginx-common (1.1.19-1ubuntu0.6) ...\r\nSetting up nginx-full (1.1.19-1ubuntu0.6) ...\r\nSetting up nginx (1.1.19-1ubuntu0.6) ...\r\nSetting up python-passlib (1.5.3-0ubuntu1) ...\r\nProcessing triggers for libc-bin ...\r\nldconfig deferred processing now taking place\r\n"} | |
TASK: [nginx | Server configuration file] ************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795699.3-277981046571831 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795699.3-277981046571831 && echo $HOME/.ansible/tmp/ansible-tmp-1410795699.3-277981046571831'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xrurnndknshxnlipjfsqhsubnastnxjf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xrurnndknshxnlipjfsqhsubnastnxjf; rc=0; [ -r "/etc/nginx/nginx.conf" ] || rc=2; [ -f "/etc/nginx/nginx.conf" ] || rc=1; [ -d "/etc/nginx/nginx.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/nginx/nginx.conf 2>/dev/null) || (/sbin/md5sum -q /etc/nginx/nginx.conf 2>/dev/null) || (/usr/bin/digest -a md5 /etc/nginx/nginx.conf 2>/dev/null) || (/sbin/md5 -q /etc/nginx/nginx.conf 2>/dev/null) || (/usr/bin/md5 -n /etc/nginx/nginx.conf 2>/dev/null) || (/bin/md5 -q /etc/nginx/nginx.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/nginx/nginx.conf 2>/dev/null) || (/bin/csum -h MD5 /etc/nginx/nginx.conf 2>/dev/null) || (echo "${rc} /etc/nginx/nginx.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpf5_d0I TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.3-277981046571831/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpNey1kS TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.3-277981046571831/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=oujbuviquriokrlkdqmiwwkvtfeysqfc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-oujbuviquriokrlkdqmiwwkvtfeysqfc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.3-277981046571831/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.3-277981046571831/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/nginx/nginx.conf", "gid": 33, "group": "www-data", "md5sum": "980a8a16417b1d3e10333e514f63d33e", "mode": "0644", "owner": "root", "size": 1929, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795699.3-277981046571831/source", "state": "file", "uid": 0} | |
TASK: [nginx | Creating common nginx configuration] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795699.55-187649937512773 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795699.55-187649937512773 && echo $HOME/.ansible/tmp/ansible-tmp-1410795699.55-187649937512773'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xmhzdgwoufeedochnqpmdirjnjfhwkjv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xmhzdgwoufeedochnqpmdirjnjfhwkjv; rc=0; [ -r "/edx/app/nginx/sites-available/edx-release" ] || rc=2; [ -f "/edx/app/nginx/sites-available/edx-release" ] || rc=1; [ -d "/edx/app/nginx/sites-available/edx-release" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/sbin/md5sum -q /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/sbin/md5 -q /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/usr/bin/md5 -n /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/bin/md5 -q /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/bin/csum -h MD5 /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (echo "${rc} /edx/app/nginx/sites-available/edx-release")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpNbIUUf TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.55-187649937512773/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpe_rGYS TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.55-187649937512773/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kozkgcvqkneokopjbxtfxomfpnytqkyp] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kozkgcvqkneokopjbxtfxomfpnytqkyp; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.55-187649937512773/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.55-187649937512773/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/nginx/sites-available/edx-release", "gid": 0, "group": "root", "md5sum": "1f5b4956b7c61670bd70084cc221eda6", "mode": "0600", "owner": "root", "size": 209, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795699.55-187649937512773/source", "state": "file", "uid": 0} | |
TASK: [nginx | Create robot rules] ******************************************** | |
skipping: [default] | |
TASK: [nginx | Creating link for common nginx configuration] ****************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/nginx/sites-available/edx-release dest=/edx/app/nginx/sites-enabled/edx-release state=link owner=root group=root | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795699.92-277204945486425 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795699.92-277204945486425 && echo $HOME/.ansible/tmp/ansible-tmp-1410795699.92-277204945486425'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpM2F8Dh TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.92-277204945486425/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tnlobbikjjwiqhhhgtzxxuvgyaisyfzj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tnlobbikjjwiqhhhgtzxxuvgyaisyfzj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.92-277204945486425/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795699.92-277204945486425/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/nginx/sites-enabled/edx-release", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 42, "src": "/edx/app/nginx/sites-available/edx-release", "state": "link", "uid": 0} | |
TASK: [nginx | Copying nginx configs for ['cms', 'lms', 'ora', 'forum', 'xqueue', 'certs']] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795700.11-207564280253860 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795700.11-207564280253860 && echo $HOME/.ansible/tmp/ansible-tmp-1410795700.11-207564280253860'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=cpwwpafzdnwdyauklpukfpsnpbscbavn] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-cpwwpafzdnwdyauklpukfpsnpbscbavn; rc=0; [ -r "/edx/app/nginx/sites-available/cms" ] || rc=2; [ -f "/edx/app/nginx/sites-available/cms" ] || rc=1; [ -d "/edx/app/nginx/sites-available/cms" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/nginx/sites-available/cms 2>/dev/null) || (/sbin/md5sum -q /edx/app/nginx/sites-available/cms 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/nginx/sites-available/cms 2>/dev/null) || (/sbin/md5 -q /edx/app/nginx/sites-available/cms 2>/dev/null) || (/usr/bin/md5 -n /edx/app/nginx/sites-available/cms 2>/dev/null) || (/bin/md5 -q /edx/app/nginx/sites-available/cms 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/nginx/sites-available/cms 2>/dev/null) || (/bin/csum -h MD5 /edx/app/nginx/sites-available/cms 2>/dev/null) || (echo "${rc} /edx/app/nginx/sites-available/cms")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp74VUFk TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795700.11-207564280253860/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpCrnDaL TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795700.11-207564280253860/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zswzyxorbbymkmidzcuwizfkzieyqque] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zswzyxorbbymkmidzcuwizfkzieyqque; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795700.11-207564280253860/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795700.11-207564280253860/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=cms) => {"changed": true, "dest": "/edx/app/nginx/sites-available/cms", "gid": 33, "group": "www-data", "item": "cms", "md5sum": "2962318931d2621807ff8f388806cfd8", "mode": "0640", "owner": "root", "size": 2913, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795700.11-207564280253860/source", "state": "file", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795700.35-195125277608078 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795700.35-195125277608078 && echo $HOME/.ansible/tmp/ansible-tmp-1410795700.35-195125277608078'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qxpxpspgqtzfgmkgjezjbgzlfftwnznv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qxpxpspgqtzfgmkgjezjbgzlfftwnznv; rc=0; [ -r "/edx/app/nginx/sites-available/lms" ] || rc=2; [ -f "/edx/app/nginx/sites-available/lms" ] || rc=1; [ -d "/edx/app/nginx/sites-available/lms" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/nginx/sites-available/lms 2>/dev/null) || (/sbin/md5sum -q /edx/app/nginx/sites-available/lms 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/nginx/sites-available/lms 2>/dev/null) || (/sbin/md5 -q /edx/app/nginx/sites-available/lms 2>/dev/null) || (/usr/bin/md5 -n /edx/app/nginx/sites-available/lms 2>/dev/null) || (/bin/md5 -q /edx/app/nginx/sites-available/lms 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/nginx/sites-available/lms 2>/dev/null) || (/bin/csum -h MD5 /edx/app/nginx/sites-available/lms 2>/dev/null) || (echo "${rc} /edx/app/nginx/sites-available/lms")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpRK3od6 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795700.35-195125277608078/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpZSK2_f TO /home/vagrant/.ansible/tmp/ansible-tmp-1410795700.35-195125277608078/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=lhpgkmvkwzewugoqkerdoicxuzuagqfs] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-lhpgkmvkwzewugoqkerdoicxuzuagqfs; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410795700.35-195125277608078/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410795700.35-195125277608078/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=lms) => {"changed": true, "dest": "/edx/app/nginx/sites-available/lms", "gid": 33, "group": "www-data", "item": "lms", "md5sum": "ffa31fad839a995b4aec1ef3d2615bc8", "mode": "0640", "owner": "root", "size": 2915, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410795700.35-195125277608078/source", "state": "file", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410795700.6-37123570106123 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410795700.6-37123570106123 && echo $HOME/.ansible/tmp/ansible-tmp-1410795700.6-37123570106123'"] | |
fatal: [default] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'ora_gunicorn_port' is undefined", 'failed': True} | |
fatal: [default] => {'msg': 'One or more items failed.', 'failed': True, 'changed': True, 'results': [{u'src': u'/home/vagrant/.ansible/tmp/ansible-tmp-1410795700.11-207564280253860/source', u'md5sum': u'2962318931d2621807ff8f388806cfd8', u'group': u'www-data', u'uid': 0, u'dest': u'/edx/app/nginx/sites-available/cms', u'changed': True, 'item': 'cms', u'state': u'file', u'gid': 33, u'mode': u'0640', 'invocation': {'module_name': u'template', 'module_args': u'src=edx/app/nginx/sites-available/cms.j2 dest=/edx/app/nginx/sites-available/cms owner=root group=www-data mode=0640'}, u'owner': u'root', u'size': 2913}, {u'src': u'/home/vagrant/.ansible/tmp/ansible-tmp-1410795700.35-195125277608078/source', u'md5sum': u'ffa31fad839a995b4aec1ef3d2615bc8', u'group': u'www-data', u'uid': 0, u'dest': u'/edx/app/nginx/sites-available/lms', u'changed': True, 'item': 'lms', u'state': u'file', u'gid': 33, u'mode': u'0640', 'invocation': {'module_name': u'template', 'module_args': u'src=edx/app/nginx/sites-available/lms.j2 dest=/edx/app/nginx/sites-available/lms owner=root group=www-data mode=0640'}, u'owner': u'root', u'size': 2915}, {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'ora_gunicorn_port' is undefined", 'failed': True}]} | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/Users/db/vagrant-aspen.retry | |
default : ok=54 changed=43 unreachable=1 failed=0 | |
Ansible failed to complete successfully. Any error output should be | |
visible above. Please fix these errors and try again. | |
db ~/dev/configuration/vagrant/release/aspen (git)-[import-later] mastodon | |
% vagrant destroy | |
default: Are you sure you want to destroy the 'default' VM? [y/N] y | |
==> default: Forcing shutdown of VM... | |
==> default: Destroying VM and associated drives... | |
==> default: Removing hosts | |
==> default: Running cleanup tasks for 'shell' provisioner... | |
==> default: Running cleanup tasks for 'ansible' provisioner... | |
db ~/dev/configuration/vagrant/release/aspen (git)-[import-later] mastodon | |
% vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'precise64'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: aspen_default_1410795780812_87412 | |
==> default: Fixed port collision for 22 => 2222. Now on port 2200. | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 22 => 2200 (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: SSH address: 127.0.0.1:2200 | |
default: SSH username: vagrant | |
default: SSH auth method: private key | |
default: Warning: Connection timeout. Retrying... | |
==> default: Machine booted and ready! | |
GuestAdditions versions on your host (4.3.14) and guest (4.2.0) do not match. | |
stdin: is not a tty | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
fakeroot linux-headers-3.2.0-23 make patch | |
Suggested packages: | |
make-doc diffutils-doc | |
The following NEW packages will be installed: | |
dkms fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic make | |
patch | |
0 upgraded, 6 newly installed, 0 to remove and 66 not upgraded. | |
Need to get 12.7 MB of archives. | |
After this operation, 68.5 MB of additional disk space will be used. | |
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main make amd64 3.81-8.1ubuntu1 [118 kB] | |
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB] | |
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main dkms all 2.2.0.3-1ubuntu3 [73.1 kB] | |
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] | |
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23 all 3.2.0-23.36 [11.4 MB] | |
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23-generic amd64 3.2.0-23.36 [947 kB] | |
dpkg-preconfigure: unable to re-open stdin: No such file or directory | |
Fetched 12.7 MB in 0s (21.6 MB/s) | |
Selecting previously unselected package make. | |
(Reading database ... 51095 files and directories currently installed.) | |
Unpacking make (from .../make_3.81-8.1ubuntu1_amd64.deb) ... | |
Selecting previously unselected package patch. | |
Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ... | |
Selecting previously unselected package dkms. | |
Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3_all.deb) ... | |
Selecting previously unselected package fakeroot. | |
Unpacking fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ... | |
Selecting previously unselected package linux-headers-3.2.0-23. | |
Unpacking linux-headers-3.2.0-23 (from .../linux-headers-3.2.0-23_3.2.0-23.36_all.deb) ... | |
Selecting previously unselected package linux-headers-3.2.0-23-generic. | |
Unpacking linux-headers-3.2.0-23-generic (from .../linux-headers-3.2.0-23-generic_3.2.0-23.36_amd64.deb) ... | |
Processing triggers for man-db ... | |
Setting up make (3.81-8.1ubuntu1) ... | |
Setting up patch (2.6.1-3) ... | |
Setting up dkms (2.2.0.3-1ubuntu3) ... | |
Setting up fakeroot (1.18.2-1) ... | |
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode. | |
Setting up linux-headers-3.2.0-23 (3.2.0-23.36) ... | |
Setting up linux-headers-3.2.0-23-generic (3.2.0-23.36) ... | |
Examining /etc/kernel/header_postinst.d. | |
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic | |
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso | |
stdin: is not a tty | |
mount: warning: /mnt seems to be mounted read-only. | |
Installing Virtualbox Guest Additions 4.3.14 - guest version is 4.2.0 | |
stdin: is not a tty | |
Verifying archive integrity... All good. | |
Uncompressing VirtualBox 4.3.14 Guest Additions for Linux............ | |
VirtualBox Guest Additions installer | |
Removing installed version 4.2.0 of VirtualBox Guest Additions... | |
Copying additional installer modules ... | |
Installing additional modules ... | |
Removing existing VirtualBox DKMS kernel modules ...done. | |
Removing existing VirtualBox non-DKMS kernel modules ...done. | |
Building the VirtualBox Guest Additions kernel modules ...done. | |
Doing non-kernel setup of the Guest Additions ...done. | |
You should restart your guest to make sure the new modules are actually used | |
Installing the Window System drivers | |
Could not find the X.Org or XFree86 Window System, skipping. | |
An error occurred during installation of VirtualBox Guest Additions 4.3.14. Some functionality may not work as intended. | |
In most cases it is OK that the "Window System drivers" installation failed. | |
stdin: is not a tty | |
==> default: Checking for guest additions in VM... | |
==> default: Checking for host entries | |
==> default: Configuring and enabling network interfaces... | |
==> default: Running provisioner: shell... | |
default: Running: inline script | |
==> default: stdin: is not a tty | |
==> default: Running provisioner: ansible... | |
ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false PYTHONUNBUFFERED=1 ansible-playbook --private-key=/Users/db/.vagrant.d/insecure_private_key --user=vagrant --limit='default' --inventory-file=/Users/db/dev/configuration/vagrant/release/aspen/.vagrant/provisioners/ansible/inventory -vvvv ../../../playbooks/vagrant-aspen.yml | |
Traceback (most recent call last): | |
File "/usr/local/Cellar/ansible/1.7.1/libexec/bin/ansible-playbook", line 5, in <module> | |
pkg_resources.run_script('ansible==1.7.1', 'ansible-playbook') | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 489, in run_script | |
self.require(requires)[0].run_script(script_name, ns) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1207, in run_script | |
execfile(script_filename, namespace, namespace) | |
File "/usr/local/Cellar/ansible/1.7.1/lib/python2.7/site-packages/ansible-1.7.1-py2.7.egg/EGG-INFO/scripts/ansible-playbook", line 309, in <module> | |
sys.exit(main(sys.argv[1:])) | |
File "/usr/local/Cellar/ansible/1.7.1/lib/python2.7/site-packages/ansible-1.7.1-py2.7.egg/EGG-INFO/scripts/ansible-playbook", line 191, in main | |
force_handlers=options.force_handlers | |
File "/usr/local/Cellar/ansible/1.7.1/lib/python2.7/site-packages/ansible-1.7.1-py2.7.egg/ansible/playbook/__init__.py", line 181, in __init__ | |
ansible.callbacks.load_callback_plugins() | |
File "/usr/local/Cellar/ansible/1.7.1/lib/python2.7/site-packages/ansible-1.7.1-py2.7.egg/ansible/callbacks.py", line 48, in load_callback_plugins | |
callback_plugins = [x for x in utils.plugins.callback_loader.all()] | |
File "/usr/local/Cellar/ansible/1.7.1/lib/python2.7/site-packages/ansible-1.7.1-py2.7.egg/ansible/utils/plugins.py", line 194, in all | |
self._module_cache[path] = imp.load_source('.'.join([self.package, name]), path) | |
File "/Users/db/dev/configuration/playbooks/callback_plugins/hipchat_plugin.py", line 3, in <module> | |
import hipchat | |
ImportError: No module named hipchat | |
Ansible failed to complete successfully. Any error output should be | |
visible above. Please fix these errors and try again. | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% git cherry-pick 0965bde | |
[vagrant-aspen 25ad139] Hipchat plugin: ignore import errors until we care about them | |
Date: Mon Sep 15 11:29:30 2014 -0400 | |
1 file changed, 43 insertions(+), 28 deletions(-) | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% git cherry-pick 43a9800 | |
[vagrant-aspen 9c471c3] SQS plugin: ignore import errors until we care about them | |
Date: Mon Sep 15 11:36:55 2014 -0400 | |
1 file changed, 36 insertions(+), 29 deletions(-) | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% vagrant destroy | |
default: Are you sure you want to destroy the 'default' VM? [y/N] y | |
==> default: Forcing shutdown of VM... | |
v==> default: Destroying VM and associated drives... | |
==> default: Removing hosts | |
==> default: Running cleanup tasks for 'shell' provisioner... | |
==> default: Running cleanup tasks for 'ansible' provisioner... | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'precise64'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: aspen_default_1410795937621_41534 | |
==> default: Fixed port collision for 22 => 2222. Now on port 2200. | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 22 => 2200 (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: SSH address: 127.0.0.1:2200 | |
default: SSH username: vagrant | |
default: SSH auth method: private key | |
default: Warning: Connection timeout. Retrying... | |
==> default: Machine booted and ready! | |
GuestAdditions versions on your host (4.3.14) and guest (4.2.0) do not match. | |
stdin: is not a tty | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
fakeroot linux-headers-3.2.0-23 make patch | |
Suggested packages: | |
make-doc diffutils-doc | |
The following NEW packages will be installed: | |
dkms fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic make | |
patch | |
0 upgraded, 6 newly installed, 0 to remove and 66 not upgraded. | |
Need to get 12.7 MB of archives. | |
After this operation, 68.5 MB of additional disk space will be used. | |
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main make amd64 3.81-8.1ubuntu1 [118 kB] | |
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB] | |
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main dkms all 2.2.0.3-1ubuntu3 [73.1 kB] | |
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] | |
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23 all 3.2.0-23.36 [11.4 MB] | |
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23-generic amd64 3.2.0-23.36 [947 kB] | |
dpkg-preconfigure: unable to re-open stdin: No such file or directory | |
Fetched 12.7 MB in 0s (16.4 MB/s) | |
Selecting previously unselected package make. | |
(Reading database ... 51095 files and directories currently installed.) | |
Unpacking make (from .../make_3.81-8.1ubuntu1_amd64.deb) ... | |
Selecting previously unselected package patch. | |
Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ... | |
Selecting previously unselected package dkms. | |
Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3_all.deb) ... | |
Selecting previously unselected package fakeroot. | |
Unpacking fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ... | |
Selecting previously unselected package linux-headers-3.2.0-23. | |
Unpacking linux-headers-3.2.0-23 (from .../linux-headers-3.2.0-23_3.2.0-23.36_all.deb) ... | |
Selecting previously unselected package linux-headers-3.2.0-23-generic. | |
Unpacking linux-headers-3.2.0-23-generic (from .../linux-headers-3.2.0-23-generic_3.2.0-23.36_amd64.deb) ... | |
Processing triggers for man-db ... | |
Setting up make (3.81-8.1ubuntu1) ... | |
Setting up patch (2.6.1-3) ... | |
Setting up dkms (2.2.0.3-1ubuntu3) ... | |
Setting up fakeroot (1.18.2-1) ... | |
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode. | |
Setting up linux-headers-3.2.0-23 (3.2.0-23.36) ... | |
Setting up linux-headers-3.2.0-23-generic (3.2.0-23.36) ... | |
Examining /etc/kernel/header_postinst.d. | |
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic | |
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso | |
stdin: is not a tty | |
mount: warning: /mnt seems to be mounted read-only. | |
Installing Virtualbox Guest Additions 4.3.14 - guest version is 4.2.0 | |
stdin: is not a tty | |
Verifying archive integrity... All good. | |
Uncompressing VirtualBox 4.3.14 Guest Additions for Linux............ | |
VirtualBox Guest Additions installer | |
Removing installed version 4.2.0 of VirtualBox Guest Additions... | |
Copying additional installer modules ... | |
Installing additional modules ... | |
Removing existing VirtualBox DKMS kernel modules ...done. | |
Removing existing VirtualBox non-DKMS kernel modules ...done. | |
Building the VirtualBox Guest Additions kernel modules ...done. | |
Doing non-kernel setup of the Guest Additions ...done. | |
You should restart your guest to make sure the new modules are actually used | |
Installing the Window System drivers | |
Could not find the X.Org or XFree86 Window System, skipping. | |
An error occurred during installation of VirtualBox Guest Additions 4.3.14. Some functionality may not work as intended. | |
In most cases it is OK that the "Window System drivers" installation failed. | |
stdin: is not a tty | |
==> default: Checking for guest additions in VM... | |
==> default: Checking for host entries | |
==> default: Configuring and enabling network interfaces... | |
==> default: Running provisioner: shell... | |
default: Running: inline script | |
==> default: stdin: is not a tty | |
==> default: Running provisioner: ansible... | |
ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false PYTHONUNBUFFERED=1 ansible-playbook --private-key=/Users/db/.vagrant.d/insecure_private_key --user=vagrant --limit='default' --inventory-file=/Users/db/dev/configuration/vagrant/release/aspen/.vagrant/provisioners/ansible/inventory -vvvv ../../../playbooks/vagrant-aspen.yml | |
[WARNING]: It is unnecessary to use '{{' in loops, leave variables in loop | |
expressions bare. | |
PLAY [Configure instance(s)] ************************************************** | |
GATHERING FACTS *************************************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE setup | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796028.6-281239871960242 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796028.6-281239871960242 && echo $HOME/.ansible/tmp/ansible-tmp-1410796028.6-281239871960242'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpfPrU5C TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796028.6-281239871960242/setup | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ruqjvkfmcbyjauptbcohypzdrjkmelfr] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ruqjvkfmcbyjauptbcohypzdrjkmelfr; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796028.6-281239871960242/setup; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796028.6-281239871960242/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] | |
TASK: [user | debug var=user_info] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
ok: [default] => { | |
"user_info": [] | |
} | |
TASK: [user | create the edxadmin group] ************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE group name=edxadmin state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796030.23-43275077639607 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796030.23-43275077639607 && echo $HOME/.ansible/tmp/ansible-tmp-1410796030.23-43275077639607'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpFGvLX0 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.23-43275077639607/group | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=uszlytorgbxngdmlmdncjpaghvhujwxk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-uszlytorgbxngdmlmdncjpaghvhujwxk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.23-43275077639607/group; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.23-43275077639607/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "gid": 1003, "name": "edxadmin", "state": "present", "system": false} | |
TASK: [user | ensure sudoers.d is read] *************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE lineinfile dest=/etc/sudoers state=present regexp='^#includedir /etc/sudoers.d' line='#includedir /etc/sudoers.d' validate='visudo -cf %s' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796030.41-250710389337039 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796030.41-250710389337039 && echo $HOME/.ansible/tmp/ansible-tmp-1410796030.41-250710389337039'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpamPQpk TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.41-250710389337039/lineinfile | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kwlmhybqwndisxcsfaaqixdtukymwavj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kwlmhybqwndisxcsfaaqixdtukymwavj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.41-250710389337039/lineinfile; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.41-250710389337039/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"backup": "", "changed": false, "msg": ""} | |
TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=dclmgplupfbgttxvwdyxbqpbvbvzoyxb] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-dclmgplupfbgttxvwdyxbqpbvbvzoyxb; rc=0; [ -r "/etc/sudoers.d/edxadmin" ] || rc=2; [ -f "/etc/sudoers.d/edxadmin" ] || rc=1; [ -d "/etc/sudoers.d/edxadmin" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/edxadmin 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/edxadmin 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/edxadmin 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/edxadmin 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/edxadmin 2>/dev/null) || (echo "${rc} /etc/sudoers.d/edxadmin")\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796030.59-83977028815312 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796030.59-83977028815312 && echo $HOME/.ansible/tmp/ansible-tmp-1410796030.59-83977028815312'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp4wwGeU TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.59-83977028815312/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpTZqawz TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.59-83977028815312/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mpnwjiwrnkhvqmccacizdvhnsgqejsfz] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mpnwjiwrnkhvqmccacizdvhnsgqejsfz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.59-83977028815312/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.59-83977028815312/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/sudoers.d/edxadmin", "gid": 0, "group": "root", "md5sum": "44aadaff836d80e7cbd042bd9f07a230", "mode": "0440", "owner": "root", "size": 32, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796030.59-83977028815312/source", "state": "file", "uid": 0} | |
TASK: [user | create the users] *********************************************** | |
skipping: [default] | |
TASK: [user | create .ssh directory] ****************************************** | |
skipping: [default] | |
TASK: [user | assign admin role to admin users] ******************************* | |
skipping: [default] | |
TASK: [user | copy github key[s] to .ssh/authorized_keys2] ******************** | |
skipping: [default] | |
TASK: [user | copy additional authorized keys] ******************************** | |
skipping: [default] | |
TASK: [user | create bashrc file for normal users] **************************** | |
skipping: [default] | |
TASK: [user | create .profile for all users] ********************************** | |
skipping: [default] | |
TASK: [user | modify shell for restricted users] ****************************** | |
skipping: [default] | |
TASK: [user | create bashrc file for restricted users] ************************ | |
skipping: [default] | |
TASK: [user | create sudoers file from template] ****************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796030.91-251377670202286 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796030.91-251377670202286 && echo $HOME/.ansible/tmp/ansible-tmp-1410796030.91-251377670202286'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=idasxzorrnnttkqrxvlagekjetourlub] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-idasxzorrnnttkqrxvlagekjetourlub; rc=0; [ -r "/etc/sudoers.d/99-restricted" ] || rc=2; [ -f "/etc/sudoers.d/99-restricted" ] || rc=1; [ -d "/etc/sudoers.d/99-restricted" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/99-restricted 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/99-restricted 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/99-restricted 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/99-restricted 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/99-restricted 2>/dev/null) || (echo "${rc} /etc/sudoers.d/99-restricted")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpZurQZB TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.91-251377670202286/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpxJNxyP TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.91-251377670202286/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wgwjgxvrqfokjilsxarylzoodqclrnwd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wgwjgxvrqfokjilsxarylzoodqclrnwd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.91-251377670202286/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796030.91-251377670202286/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/sudoers.d/99-restricted", "gid": 0, "group": "root", "md5sum": "68b329da9893e34099c7d8ad5cb9c940", "mode": "0440", "owner": "root", "size": 1, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796030.91-251377670202286/source", "state": "file", "uid": 0} | |
TASK: [user | change home directory ownership to root for restricted users] *** | |
skipping: [default] | |
TASK: [user | create ~/bin directory] ***************************************** | |
skipping: [default] | |
TASK: [user | create allowed command links] *********************************** | |
skipping: [default] | |
TASK: [common | Add user www-data] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name="www-data" shell=/bin/false | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796031.18-17864915737821 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796031.18-17864915737821 && echo $HOME/.ansible/tmp/ansible-tmp-1410796031.18-17864915737821'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp8bvcuN TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.18-17864915737821/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=sjlgkytmgwhjeocshornllawhfkqjlvf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-sjlgkytmgwhjeocshornllawhfkqjlvf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.18-17864915737821/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.18-17864915737821/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"append": false, "changed": true, "comment": "www-data", "group": 33, "home": "/var/www", "move_home": false, "name": "www-data", "shell": "/bin/false", "state": "present", "uid": 33} | |
TASK: [common | Create common directories] ************************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796031.39-209953549352160 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796031.39-209953549352160 && echo $HOME/.ansible/tmp/ansible-tmp-1410796031.39-209953549352160'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmphFthm_ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.39-209953549352160/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ogesmdoexhweemrxvkbxplrsjwgkxzwq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ogesmdoexhweemrxvkbxplrsjwgkxzwq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.39-209953549352160/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.39-209953549352160/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var", "mode": "0755", "owner": "root", "path": "/edx/var", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/app state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796031.54-157525988065041 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796031.54-157525988065041 && echo $HOME/.ansible/tmp/ansible-tmp-1410796031.54-157525988065041'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpN_NZfb TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.54-157525988065041/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kfytyzjptbaebgqkbutnprcunwybrjmk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kfytyzjptbaebgqkbutnprcunwybrjmk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.54-157525988065041/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.54-157525988065041/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/app", "mode": "0755", "owner": "root", "path": "/edx/app", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/bin state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796031.68-136138716370260 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796031.68-136138716370260 && echo $HOME/.ansible/tmp/ansible-tmp-1410796031.68-136138716370260'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpfyfcjC TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.68-136138716370260/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wnuwwqzbecspyvmuleqzuxjrlzvxcsyu] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wnuwwqzbecspyvmuleqzuxjrlzvxcsyu; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.68-136138716370260/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.68-136138716370260/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/bin) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/bin", "mode": "0755", "owner": "root", "path": "/edx/bin", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/etc state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796031.82-119575612055877 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796031.82-119575612055877 && echo $HOME/.ansible/tmp/ansible-tmp-1410796031.82-119575612055877'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpJsfsdK TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.82-119575612055877/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=piqwragcqpuvhszlxunfqcbqifvjjfdr] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-piqwragcqpuvhszlxunfqcbqifvjjfdr; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.82-119575612055877/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.82-119575612055877/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/etc) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/etc", "mode": "0755", "owner": "root", "path": "/edx/etc", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [common | check if instance is vagrant] ********************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE stat path=/home/vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796031.97-77091313577998 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796031.97-77091313577998 && echo $HOME/.ansible/tmp/ansible-tmp-1410796031.97-77091313577998'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpQHPMKb TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.97-77091313577998/stat | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=pstpeysoszukktxqqoisqkhthqcahdef] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-pstpeysoszukktxqqoisqkhthqcahdef; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.97-77091313577998/stat; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796031.97-77091313577998/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "stat": {"atime": 1347603168.2010481, "ctime": 1410796028.6296043, "dev": 64512, "exists": true, "gid": 1000, "inode": 2884992, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mode": "0755", "mtime": 1410796028.6296043, "nlink": 5, "pw_name": "vagrant", "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 1000, "wgrp": false, "woth": false, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} | |
TASK: [common | Install python-pycurl] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=python-pycurl state=present update_cache=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796032.12-227260138162457 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796032.12-227260138162457 && echo $HOME/.ansible/tmp/ansible-tmp-1410796032.12-227260138162457'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpS2w8I6 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796032.12-227260138162457/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gbsbztdwtctumsavzifchxgpkmglwuhs] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gbsbztdwtctumsavzifchxgpkmglwuhs; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796032.12-227260138162457/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796032.12-227260138162457/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSuggested packages:\n libcurl4-gnutls-dev python-pycurl-dbg\nThe following NEW packages will be installed:\n python-pycurl\n0 upgraded, 1 newly installed, 0 to remove and 171 not upgraded.\nNeed to get 49.2 kB of archives.\nAfter this operation, 215 kB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise/main python-pycurl amd64 7.19.0-4ubuntu3 [49.2 kB]\nFetched 49.2 kB in 0s (1,702 kB/s)\nSelecting previously unselected package python-pycurl.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 73195 files and directories currently installed.)\r\nUnpacking python-pycurl (from .../python-pycurl_7.19.0-4ubuntu3_amd64.deb) ...\r\nSetting up python-pycurl (7.19.0-4ubuntu3) ...\r\n"} | |
TASK: [common | Add git apt repository] *************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt_repository repo="ppa:git-core/ppa" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796040.73-45289321627226 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796040.73-45289321627226 && echo $HOME/.ansible/tmp/ansible-tmp-1410796040.73-45289321627226'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpvBsZ2D TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796040.73-45289321627226/apt_repository | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=fdvcuopuyvtkpuurjjebmacsqjsycihu] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-fdvcuopuyvtkpuurjjebmacsqjsycihu; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796040.73-45289321627226/apt_repository; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796040.73-45289321627226/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "repo": "ppa:git-core/ppa", "state": "present"} | |
TASK: [common | Install role-independent useful system packages] ************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=ntp,ack-grep,lynx-cur,logrotate,mosh,rsyslog,screen,tree,git,unzip,python2.7,python-pip,python2.7-dev,curl install_recommends=yes state=present update_cache=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796046.88-236880981889494 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796046.88-236880981889494 && echo $HOME/.ansible/tmp/ansible-tmp-1410796046.88-236880981889494'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpGskJTD TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796046.88-236880981889494/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xqvcgvlaorknxewjxnyminsonzdpkwwk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xqvcgvlaorknxewjxnyminsonzdpkwwk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796046.88-236880981889494/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796046.88-236880981889494/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n git-man libcurl3 liberror-perl libexpat1 libexpat1-dev libfile-next-perl\n libio-pty-perl libprotobuf7 libpython2.7 libutempter0 python-pkg-resources\n python-setuptools python2.7 python2.7-minimal\nSuggested packages:\n git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk\n gitweb git-arch git-cvs git-mediawiki git-svn python-distribute\n python-distribute-doc python2.7-doc binfmt-support byobu zip\nThe following NEW packages will be installed:\n ack-grep curl git git-man libcurl3 liberror-perl libexpat1-dev\n libfile-next-perl libio-pty-perl libprotobuf7 libpython2.7 libutempter0\n lynx-cur mosh python-pip python-pkg-resources python-setuptools\n python2.7-dev screen tree unzip\nThe following packages will be upgraded:\n libexpat1 python2.7 python2.7-minimal\n3 upgraded, 21 newly installed, 0 to remove and 168 not upgraded.\nNeed to get 50.8 MB of archives.\nAfter this operation, 74.9 MB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libcurl3 amd64 7.22.0-3ubuntu4.10 [237 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libexpat1 amd64 2.0.1-7.2ubuntu1.1 [131 kB]\nGet:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7 amd64 2.7.3-0ubuntu3.5 [2,675 kB]\nGet:4 http://ppa.launchpad.net/git-core/ppa/ubuntu/ precise/main git-man all 1:2.1.0-1~ppa0~ubuntu12.04.1 [1,260 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-minimal amd64 2.7.3-0ubuntu3.5 [1,743 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu/ precise/universe libfile-next-perl all 1.06-2 [16.0 kB]\nGet:7 http://us.archive.ubuntu.com/ubuntu/ precise/universe ack-grep all 1.92-1 [54.9 kB]\nGet:8 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main curl amd64 7.22.0-3ubuntu4.10 [138 kB]\nGet:9 http://us.archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB]\nGet:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libexpat1-dev amd64 2.0.1-7.2ubuntu1.1 [216 kB]\nGet:11 http://us.archive.ubuntu.com/ubuntu/ precise/main libio-pty-perl amd64 1:1.08-1build2 [36.7 kB]\nGet:12 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libpython2.7 amd64 2.7.3-0ubuntu3.5 [1,188 kB]\nGet:13 http://us.archive.ubuntu.com/ubuntu/ precise/main libutempter0 amd64 1.1.5-4 [8,060 B]\nGet:14 http://us.archive.ubuntu.com/ubuntu/ precise/main libprotobuf7 amd64 2.4.1-1ubuntu2 [352 kB]\nGet:15 http://us.archive.ubuntu.com/ubuntu/ precise/universe mosh amd64 1.1.3-1 [297 kB]\nGet:16 http://us.archive.ubuntu.com/ubuntu/ precise/main python-pkg-resources all 0.6.24-1ubuntu1 [63.1 kB]\nGet:17 http://us.archive.ubuntu.com/ubuntu/ precise/main python-setuptools all 0.6.24-1ubuntu1 [441 kB]\nGet:18 http://us.archive.ubuntu.com/ubuntu/ precise/universe python-pip all 1.0-1build1 [95.1 kB]\nGet:19 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-dev amd64 2.7.3-0ubuntu3.5 [29.5 MB]\nGet:20 http://us.archive.ubuntu.com/ubuntu/ precise/main screen amd64 4.0.3-14ubuntu8 [611 kB]\nGet:21 http://us.archive.ubuntu.com/ubuntu/ precise/universe tree amd64 1.5.3-2 [28.4 kB]\nGet:22 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main unzip amd64 6.0-4ubuntu2 [193 kB]\nGet:23 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main lynx-cur amd64 2.8.8dev.9-2ubuntu0.12.04.1 [1,061 kB]\nGet:24 http://ppa.launchpad.net/git-core/ppa/ubuntu/ precise/main git amd64 1:2.1.0-1~ppa0~ubuntu12.04.1 [10.4 MB]\nFetched 50.8 MB in 5s (8,868 kB/s)\nSelecting previously unselected package libcurl3.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 73223 files and directories currently installed.)\r\nUnpacking libcurl3 (from .../libcurl3_7.22.0-3ubuntu4.10_amd64.deb) ...\r\nPreparing to replace libexpat1 2.0.1-7.2ubuntu1 (using .../libexpat1_2.0.1-7.2ubuntu1.1_amd64.deb) ...\r\nUnpacking replacement libexpat1 ...\r\nPreparing to replace python2.7 2.7.3-0ubuntu3 (using .../python2.7_2.7.3-0ubuntu3.5_amd64.deb) ...\r\nUnpacking replacement python2.7 ...\r\nPreparing to replace python2.7-minimal 2.7.3-0ubuntu3 (using .../python2.7-minimal_2.7.3-0ubuntu3.5_amd64.deb) ...\r\nUnpacking replacement python2.7-minimal ...\r\nProcessing triggers for man-db ...\r\nSetting up python2.7-minimal (2.7.3-0ubuntu3.5) ...\r\nSelecting previously unselected package libfile-next-perl.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 73238 files and directories currently installed.)\r\nUnpacking libfile-next-perl (from .../libfile-next-perl_1.06-2_all.deb) ...\r\nSelecting previously unselected package ack-grep.\r\nUnpacking ack-grep (from .../ack-grep_1.92-1_all.deb) ...\r\nSelecting previously unselected package curl.\r\nUnpacking curl (from .../curl_7.22.0-3ubuntu4.10_amd64.deb) ...\r\nSelecting previously unselected package liberror-perl.\r\nUnpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...\r\nSelecting previously unselected package git-man.\r\nUnpacking git-man (from .../git-man_1%3a2.1.0-1~ppa0~ubuntu12.04.1_all.deb) ...\r\nSelecting previously unselected package git.\r\nUnpacking git (from .../git_1%3a2.1.0-1~ppa0~ubuntu12.04.1_amd64.deb) ...\r\nSelecting previously unselected package libexpat1-dev.\r\nUnpacking libexpat1-dev (from .../libexpat1-dev_2.0.1-7.2ubuntu1.1_amd64.deb) ...\r\nSelecting previously unselected package libio-pty-perl.\r\nUnpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.08-1build2_amd64.deb) ...\r\nSelecting previously unselected package libpython2.7.\r\nUnpacking libpython2.7 (from .../libpython2.7_2.7.3-0ubuntu3.5_amd64.deb) ...\r\nSelecting previously unselected package libutempter0.\r\nUnpacking libutempter0 (from .../libutempter0_1.1.5-4_amd64.deb) ...\r\nSelecting previously unselected package libprotobuf7.\r\nUnpacking libprotobuf7 (from .../libprotobuf7_2.4.1-1ubuntu2_amd64.deb) ...\r\nSelecting previously unselected package mosh.\r\nUnpacking mosh (from .../mosh_1.1.3-1_amd64.deb) ...\r\nSelecting previously unselected package python-pkg-resources.\r\nUnpacking python-pkg-resources (from .../python-pkg-resources_0.6.24-1ubuntu1_all.deb) ...\r\nSelecting previously unselected package python-setuptools.\r\nUnpacking python-setuptools (from .../python-setuptools_0.6.24-1ubuntu1_all.deb) ...\r\nSelecting previously unselected package python-pip.\r\nUnpacking python-pip (from .../python-pip_1.0-1build1_all.deb) ...\r\nSelecting previously unselected package python2.7-dev.\r\nUnpacking python2.7-dev (from .../python2.7-dev_2.7.3-0ubuntu3.5_amd64.deb) ...\r\nSelecting previously unselected package screen.\r\nUnpacking screen (from .../screen_4.0.3-14ubuntu8_amd64.deb) ...\r\nSelecting previously unselected package tree.\r\nUnpacking tree (from .../tree_1.5.3-2_amd64.deb) ...\r\nSelecting previously unselected package unzip.\r\nUnpacking unzip (from .../unzip_6.0-4ubuntu2_amd64.deb) ...\r\nSelecting previously unselected package lynx-cur.\r\nUnpacking lynx-cur (from .../lynx-cur_2.8.8dev.9-2ubuntu0.12.04.1_amd64.deb) ...\r\nProcessing triggers for man-db ...\r\nProcessing triggers for ureadahead ...\r\nureadahead will be reprofiled on next reboot\r\nProcessing triggers for install-info ...\r\nSetting up libcurl3 (7.22.0-3ubuntu4.10) ...\r\nSetting up libexpat1 (2.0.1-7.2ubuntu1.1) ...\r\nSetting up python2.7 (2.7.3-0ubuntu3.5) ...\r\nSetting up libfile-next-perl (1.06-2) ...\r\nSetting up ack-grep (1.92-1) ...\r\nSetting up curl (7.22.0-3ubuntu4.10) ...\r\nSetting up liberror-perl (0.17-1) ...\r\nSetting up git-man (1:2.1.0-1~ppa0~ubuntu12.04.1) ...\r\nSetting up git (1:2.1.0-1~ppa0~ubuntu12.04.1) ...\r\nInstalling new version of config file /etc/bash_completion.d/git ...\r\nSetting up libexpat1-dev (2.0.1-7.2ubuntu1.1) ...\r\nSetting up libio-pty-perl (1:1.08-1build2) ...\r\nSetting up libpython2.7 (2.7.3-0ubuntu3.5) ...\r\nSetting up libutempter0 (1.1.5-4) ...\r\nCreating utempter group...\r\nSetting up libprotobuf7 (2.4.1-1ubuntu2) ...\r\nSetting up mosh (1.1.3-1) ...\r\nSetting up python-pkg-resources (0.6.24-1ubuntu1) ...\r\nSetting up python-setuptools (0.6.24-1ubuntu1) ...\r\nSetting up python-pip (1.0-1build1) ...\r\nSetting up python2.7-dev (2.7.3-0ubuntu3.5) ...\r\nSetting up screen (4.0.3-14ubuntu8) ...\r\nSetting up tree (1.5.3-2) ...\r\nSetting up unzip (6.0-4ubuntu2) ...\r\nSetting up lynx-cur (2.8.8dev.9-2ubuntu0.12.04.1) ...\r\nupdate-alternatives: using /usr/bin/lynx to provide /usr/bin/www-browser (www-browser) in auto mode.\r\nProcessing triggers for libc-bin ...\r\nldconfig deferred processing now taking place\r\n"} | |
TASK: [common | Create common log directory] ********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var/log state=directory owner=syslog group=syslog mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796069.99-69337693439817 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796069.99-69337693439817 && echo $HOME/.ansible/tmp/ansible-tmp-1410796069.99-69337693439817'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpVuYaew TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796069.99-69337693439817/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=laizwkhxvynededcrqmkobtalbrgrhjh] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-laizwkhxvynededcrqmkobtalbrgrhjh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796069.99-69337693439817/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796069.99-69337693439817/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "gid": 103, "group": "syslog", "mode": "0755", "owner": "syslog", "path": "/edx/var/log", "size": 4096, "state": "directory", "uid": 101} | |
TASK: [common | upload sudo config for key forwarding as root] **************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bfyiurmhbotjrghwzbynizafuyesryxm] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bfyiurmhbotjrghwzbynizafuyesryxm; rc=0; [ -r "/etc/sudoers.d/ssh_key_forward" ] || rc=2; [ -f "/etc/sudoers.d/ssh_key_forward" ] || rc=1; [ -d "/etc/sudoers.d/ssh_key_forward" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/ssh_key_forward 2>/dev/null) || (echo "${rc} /etc/sudoers.d/ssh_key_forward")\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796070.18-1690776653167 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796070.18-1690776653167 && echo $HOME/.ansible/tmp/ansible-tmp-1410796070.18-1690776653167'"] | |
<127.0.0.1> PUT /Users/db/dev/configuration/playbooks/roles/common/files/ssh_key_forward TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796070.18-1690776653167/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpEBNPCd TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796070.18-1690776653167/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kbsznhhqwvwfzicqvgbjwwhkenxcmecp] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kbsznhhqwvwfzicqvgbjwwhkenxcmecp; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796070.18-1690776653167/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796070.18-1690776653167/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/sudoers.d/ssh_key_forward", "gid": 0, "group": "root", "md5sum": "b210117920cdf1023b3db7be16505a5a", "mode": "0440", "owner": "root", "size": 40, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796070.18-1690776653167/source", "state": "file", "uid": 0} | |
TASK: [common | pip install virtualenv] *************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="pip==1.5.6" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796070.36-87134717237110 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796070.36-87134717237110 && echo $HOME/.ansible/tmp/ansible-tmp-1410796070.36-87134717237110'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpN363qw TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796070.36-87134717237110/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hsgorptzsknsbbiiribawygcjnydyrbn] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hsgorptzsknsbbiiribawygcjnydyrbn; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796070.36-87134717237110/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796070.36-87134717237110/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=pip==1.5.6) => {"changed": true, "cmd": "/usr/bin/pip install -i https://pypi.python.org/simple pip==1.5.6", "item": "pip==1.5.6", "name": "pip==1.5.6", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking pip==1.5.6\n Running setup.py egg_info for package pip\n \n warning: no files found matching 'pip/cacert.pem'\n warning: no files found matching '*.html' under directory 'docs'\n warning: no previously-included files matching '*.rst' found under directory 'docs/_build'\n no previously-included directories found matching 'docs/_build/_sources'\nInstalling collected packages: pip\n Found existing installation: pip 1.0\n Uninstalling pip:\n Successfully uninstalled pip\n Running setup.py install for pip\n \n warning: no files found matching 'pip/cacert.pem'\n warning: no files found matching '*.html' under directory 'docs'\n warning: no previously-included files matching '*.rst' found under directory 'docs/_build'\n no previously-included directories found matching 'docs/_build/_sources'\n Installing pip script to /usr/local/bin\n Installing pip2.7 script to /usr/local/bin\n Installing pip2 script to /usr/local/bin\nSuccessfully installed pip\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="setuptools==3.6" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796071.89-106416053208859 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796071.89-106416053208859 && echo $HOME/.ansible/tmp/ansible-tmp-1410796071.89-106416053208859'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpZyv_j3 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796071.89-106416053208859/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xaprtmzzypkdpichthvknsoxagdehkbm] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xaprtmzzypkdpichthvknsoxagdehkbm; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796071.89-106416053208859/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796071.89-106416053208859/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=setuptools==3.6) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple setuptools==3.6", "item": "setuptools==3.6", "name": "setuptools==3.6", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking setuptools==3.6\nInstalling collected packages: setuptools\n Found existing installation: distribute 0.6.24dev-r0\n Uninstalling distribute:\n Successfully uninstalled distribute\nSuccessfully installed setuptools\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="virtualenv==1.11.6" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796074.65-256916361541160 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796074.65-256916361541160 && echo $HOME/.ansible/tmp/ansible-tmp-1410796074.65-256916361541160'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp3xsG5W TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796074.65-256916361541160/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=objrhwjyokvdkyorycvhvoqqwtcvdorg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-objrhwjyokvdkyorycvhvoqqwtcvdorg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796074.65-256916361541160/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796074.65-256916361541160/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=virtualenv==1.11.6) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple virtualenv==1.11.6", "item": "virtualenv==1.11.6", "name": "virtualenv==1.11.6", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking virtualenv==1.11.6\nInstalling collected packages: virtualenv\nSuccessfully installed virtualenv\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="virtualenvwrapper" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796075.47-189970091382157 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796075.47-189970091382157 && echo $HOME/.ansible/tmp/ansible-tmp-1410796075.47-189970091382157'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpe2ZGY3 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796075.47-189970091382157/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=okrzkodgzrjoreobjjuphnjlxydnrlwi] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-okrzkodgzrjoreobjjuphnjlxydnrlwi; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796075.47-189970091382157/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796075.47-189970091382157/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=virtualenvwrapper) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple virtualenvwrapper", "item": "virtualenvwrapper", "name": "virtualenvwrapper", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking virtualenvwrapper\n Running setup.py (path:/tmp/pip_build_root/virtualenvwrapper/setup.py) egg_info for package virtualenvwrapper\n \n Installed /tmp/pip_build_root/virtualenvwrapper/pbr-0.10.0-py2.7.egg\n [pbr] Processing SOURCES.txt\n warning: LocalManifestMaker: standard file '-c' not found\n \n warning: no previously-included files found matching '.gitignore'\n warning: no previously-included files found matching '.gitreview'\n warning: no previously-included files matching '*.pyc' found anywhere in distribution\n warning: no files found matching '*.html' under directory 'docs'\n warning: no files found matching '*.css' under directory 'docs'\n warning: no files found matching '*.js' under directory 'docs'\n warning: no files found matching '*.png' under directory 'docs'\nRequirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/local/lib/python2.7/dist-packages (from virtualenvwrapper)\nDownloading/unpacking virtualenv-clone (from virtualenvwrapper)\n Downloading virtualenv-clone-0.2.5.tar.gz\n Running setup.py (path:/tmp/pip_build_root/virtualenv-clone/setup.py) egg_info for package virtualenv-clone\n \nDownloading/unpacking stevedore (from virtualenvwrapper)\n Running setup.py (path:/tmp/pip_build_root/stevedore/setup.py) egg_info for package stevedore\n \n Installed /tmp/pip_build_root/stevedore/pbr-0.10.0-py2.7.egg\n [pbr] Processing SOURCES.txt\n warning: LocalManifestMaker: standard file '-c' not found\n \n warning: no previously-included files found matching '.gitignore'\n warning: no previously-included files found matching '.gitreview'\n warning: no previously-included files matching '*.pyc' found anywhere in distribution\n warning: no files found matching '*.html' under directory 'docs'\n warning: no files found matching '*.css' under directory 'docs'\n warning: no files found matching '*.js' under directory 'docs'\n warning: no files found matching '*.png' under directory 'docs'\n warning: no files found matching '*.py' under directory 'tests'\nRequirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from stevedore->virtualenvwrapper)\nInstalling collected packages: virtualenvwrapper, virtualenv-clone, stevedore\n Running setup.py install for virtualenvwrapper\n [pbr] Reusing existing SOURCES.txt\n changing mode of build/scripts-2.7/virtualenvwrapper.sh from 644 to 755\n changing mode of build/scripts-2.7/virtualenvwrapper_lazy.sh from 644 to 755\n Skipping installation of /usr/local/lib/python2.7/dist-packages/virtualenvwrapper/__init__.py (namespace package)\n Installing /usr/local/lib/python2.7/dist-packages/virtualenvwrapper-4.3.1-py2.7-nspkg.pth\n changing mode of /usr/local/bin/virtualenvwrapper_lazy.sh to 755\n changing mode of /usr/local/bin/virtualenvwrapper.sh to 755\n Running setup.py install for virtualenv-clone\n \n Installing virtualenv-clone script to /usr/local/bin\n Running setup.py install for stevedore\n [pbr] Reusing existing SOURCES.txt\nSuccessfully installed virtualenvwrapper virtualenv-clone stevedore\nCleaning up...\n", "version": null, "virtualenv": null} | |
TASK: [common | Install rsyslog configuration for edX] ************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796077.91-269515738717194 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796077.91-269515738717194 && echo $HOME/.ansible/tmp/ansible-tmp-1410796077.91-269515738717194'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ypjqtxftdqarcoehaxvqvoyntinbyomd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ypjqtxftdqarcoehaxvqvoyntinbyomd; rc=0; [ -r "/etc/rsyslog.d/99-edx.conf" ] || rc=2; [ -f "/etc/rsyslog.d/99-edx.conf" ] || rc=1; [ -d "/etc/rsyslog.d/99-edx.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/sbin/md5sum -q /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/usr/bin/digest -a md5 /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/sbin/md5 -q /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/usr/bin/md5 -n /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/bin/md5 -q /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (/bin/csum -h MD5 /etc/rsyslog.d/99-edx.conf 2>/dev/null) || (echo "${rc} /etc/rsyslog.d/99-edx.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpLecIyJ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796077.91-269515738717194/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpNVo8Et TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796077.91-269515738717194/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tmfhndmxapyarkizomomcoaobfakpksv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tmfhndmxapyarkizomomcoaobfakpksv; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796077.91-269515738717194/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796077.91-269515738717194/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/rsyslog.d/99-edx.conf", "gid": 0, "group": "root", "md5sum": "9ad2b988c420944c0e73c209722cdc69", "mode": "0644", "owner": "root", "size": 3023, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796077.91-269515738717194/source", "state": "file", "uid": 0} | |
TASK: [common | Remove the default rsyslog configuration] ********************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/etc/rsyslog.d/50-default.conf state=absent | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796078.13-92631858068552 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796078.13-92631858068552 && echo $HOME/.ansible/tmp/ansible-tmp-1410796078.13-92631858068552'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpVIP_11 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.13-92631858068552/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=djfkzzeylumvwihspydnmlembdfcvtmv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-djfkzzeylumvwihspydnmlembdfcvtmv; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.13-92631858068552/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.13-92631858068552/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "path": "/etc/rsyslog.d/50-default.conf", "state": "absent"} | |
TASK: [common | Create hourly subdirectory in logrotate.d] ******************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/etc/logrotate.d/hourly state=directory | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796078.27-82044256068628 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796078.27-82044256068628 && echo $HOME/.ansible/tmp/ansible-tmp-1410796078.27-82044256068628'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpxKiAXj TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.27-82044256068628/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ejjoymokzdyranjvfrfcvgxwatfgrkni] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ejjoymokzdyranjvfrfcvgxwatfgrkni; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.27-82044256068628/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.27-82044256068628/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/logrotate.d/hourly", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [common | Install logrotate configuration for edX] ********************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796078.43-269280161836503 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796078.43-269280161836503 && echo $HOME/.ansible/tmp/ansible-tmp-1410796078.43-269280161836503'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xbwtzxqxrnomcgrybsbcxrfpknososfr] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xbwtzxqxrnomcgrybsbcxrfpknososfr; rc=0; [ -r "/etc/logrotate.d/hourly/edx-services" ] || rc=2; [ -f "/etc/logrotate.d/hourly/edx-services" ] || rc=1; [ -d "/etc/logrotate.d/hourly/edx-services" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/sbin/md5sum -q /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/usr/bin/digest -a md5 /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/sbin/md5 -q /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/usr/bin/md5 -n /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/bin/md5 -q /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (/bin/csum -h MD5 /etc/logrotate.d/hourly/edx-services 2>/dev/null) || (echo "${rc} /etc/logrotate.d/hourly/edx-services")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpDO8WdW TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.43-269280161836503/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmptYwL4F TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.43-269280161836503/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=dkthzcfitrgnutrvflsgxkgueikanqol] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-dkthzcfitrgnutrvflsgxkgueikanqol; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.43-269280161836503/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.43-269280161836503/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/logrotate.d/hourly/edx-services", "gid": 0, "group": "root", "md5sum": "81e273c087471a6f448270382f6a3bd2", "mode": "0644", "owner": "root", "size": 227, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796078.43-269280161836503/source", "state": "file", "uid": 0} | |
TASK: [common | Install logrotate configuration for tracking file] ************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796078.64-89698918178684 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796078.64-89698918178684 && echo $HOME/.ansible/tmp/ansible-tmp-1410796078.64-89698918178684'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xpttxzgymjghutktfhkvjeqzlfgnjcan] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xpttxzgymjghutktfhkvjeqzlfgnjcan; rc=0; [ -r "/etc/logrotate.d/hourly/tracking.log" ] || rc=2; [ -f "/etc/logrotate.d/hourly/tracking.log" ] || rc=1; [ -d "/etc/logrotate.d/hourly/tracking.log" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/sbin/md5sum -q /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/usr/bin/digest -a md5 /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/sbin/md5 -q /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/usr/bin/md5 -n /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/bin/md5 -q /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (/bin/csum -h MD5 /etc/logrotate.d/hourly/tracking.log 2>/dev/null) || (echo "${rc} /etc/logrotate.d/hourly/tracking.log")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpodBoPq TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.64-89698918178684/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpSanmVm TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.64-89698918178684/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vlksmqegygeskbkeewuwzrmsywqiwuxx] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vlksmqegygeskbkeewuwzrmsywqiwuxx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.64-89698918178684/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.64-89698918178684/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/logrotate.d/hourly/tracking.log", "gid": 0, "group": "root", "md5sum": "4786b4574d90f8787b9997a64d97e8de", "mode": "0644", "owner": "root", "size": 248, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796078.64-89698918178684/source", "state": "file", "uid": 0} | |
TASK: [common | Add logrotate for tracking.log to cron.hourly] **************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vozjfkavaltuvjqaslupocyserpjcail] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vozjfkavaltuvjqaslupocyserpjcail; rc=0; [ -r "/etc/cron.hourly/logrotate" ] || rc=2; [ -f "/etc/cron.hourly/logrotate" ] || rc=1; [ -d "/etc/cron.hourly/logrotate" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/cron.hourly/logrotate 2>/dev/null) || (/sbin/md5sum -q /etc/cron.hourly/logrotate 2>/dev/null) || (/usr/bin/digest -a md5 /etc/cron.hourly/logrotate 2>/dev/null) || (/sbin/md5 -q /etc/cron.hourly/logrotate 2>/dev/null) || (/usr/bin/md5 -n /etc/cron.hourly/logrotate 2>/dev/null) || (/bin/md5 -q /etc/cron.hourly/logrotate 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/cron.hourly/logrotate 2>/dev/null) || (/bin/csum -h MD5 /etc/cron.hourly/logrotate 2>/dev/null) || (echo "${rc} /etc/cron.hourly/logrotate")\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796078.89-69727339418493 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796078.89-69727339418493 && echo $HOME/.ansible/tmp/ansible-tmp-1410796078.89-69727339418493'"] | |
<127.0.0.1> PUT /Users/db/dev/configuration/playbooks/roles/common/files/etc/cron.hourly/logrotate TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.89-69727339418493/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpQyTCpV TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.89-69727339418493/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kbvumvgqrlajleyvhtjmlnizheqadxtp] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kbvumvgqrlajleyvhtjmlnizheqadxtp; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.89-69727339418493/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796078.89-69727339418493/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/cron.hourly/logrotate", "gid": 0, "group": "root", "md5sum": "2cbae94e7423eae1e57fbb92e93aa645", "mode": "0555", "owner": "root", "size": 93, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796078.89-69727339418493/source", "state": "file", "uid": 0} | |
TASK: [common | update /etc/hosts] ******************************************** | |
skipping: [default] | |
TASK: [common | update /etc/hostname] ***************************************** | |
skipping: [default] | |
TASK: [common | run hostname] ************************************************* | |
skipping: [default] | |
TASK: [common | update /etc/dhcp/dhclient.conf] ******************************* | |
skipping: [default] | |
TASK: [common | update the ssh motd on Ubuntu] ******************************** | |
skipping: [default] => (item=/etc/update-motd.d/10-help-text) | |
skipping: [default] => (item=/usr/share/landscape/landscape-sysinfo.wrapper) | |
skipping: [default] => (item=/etc/update-motd.d/51-cloudguest) | |
skipping: [default] => (item=/etc/update-motd.d/91-release-upgrade) | |
TASK: [common | add ssh-warning banner motd] ********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796079.15-106422169254942 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796079.15-106422169254942 && echo $HOME/.ansible/tmp/ansible-tmp-1410796079.15-106422169254942'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bhbmxpeclcrnnsjeugsofshixhwzynxy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bhbmxpeclcrnnsjeugsofshixhwzynxy; rc=0; [ -r "/etc/motd.tail" ] || rc=2; [ -f "/etc/motd.tail" ] || rc=1; [ -d "/etc/motd.tail" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/motd.tail 2>/dev/null) || (/sbin/md5sum -q /etc/motd.tail 2>/dev/null) || (/usr/bin/digest -a md5 /etc/motd.tail 2>/dev/null) || (/sbin/md5 -q /etc/motd.tail 2>/dev/null) || (/usr/bin/md5 -n /etc/motd.tail 2>/dev/null) || (/bin/md5 -q /etc/motd.tail 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/motd.tail 2>/dev/null) || (/bin/csum -h MD5 /etc/motd.tail 2>/dev/null) || (echo "${rc} /etc/motd.tail")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpIs2TPa TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.15-106422169254942/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpgBenwC TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.15-106422169254942/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ldoscavjhwrpvmqihykfeqzhdpdvcunl] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ldoscavjhwrpvmqihykfeqzhdpdvcunl; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.15-106422169254942/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.15-106422169254942/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/motd.tail", "gid": 0, "group": "root", "md5sum": "64785d784f4576ac54b30fddac503eda", "mode": "0755", "owner": "root", "size": 820, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796079.15-106422169254942/source", "state": "file", "uid": 0} | |
TASK: [common | update ssh config] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796079.38-18310148204635 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796079.38-18310148204635 && echo $HOME/.ansible/tmp/ansible-tmp-1410796079.38-18310148204635'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jzkhebjchiyrhfneqinvfbglgnnegtds] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jzkhebjchiyrhfneqinvfbglgnnegtds; rc=0; [ -r "/etc/ssh/sshd_config" ] || rc=2; [ -f "/etc/ssh/sshd_config" ] || rc=1; [ -d "/etc/ssh/sshd_config" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/ssh/sshd_config 2>/dev/null) || (/sbin/md5sum -q /etc/ssh/sshd_config 2>/dev/null) || (/usr/bin/digest -a md5 /etc/ssh/sshd_config 2>/dev/null) || (/sbin/md5 -q /etc/ssh/sshd_config 2>/dev/null) || (/usr/bin/md5 -n /etc/ssh/sshd_config 2>/dev/null) || (/bin/md5 -q /etc/ssh/sshd_config 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/ssh/sshd_config 2>/dev/null) || (/bin/csum -h MD5 /etc/ssh/sshd_config 2>/dev/null) || (echo "${rc} /etc/ssh/sshd_config")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpOdh0pC TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.38-18310148204635/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp2Fh7Bv TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.38-18310148204635/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tcfltjitqieywzngeqssukrfbmhaljoa] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tcfltjitqieywzngeqssukrfbmhaljoa; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.38-18310148204635/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.38-18310148204635/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/ssh/sshd_config", "gid": 0, "group": "root", "md5sum": "7cb4447296737c019e18366965dea529", "mode": "0644", "owner": "root", "size": 2636, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796079.38-18310148204635/source", "state": "file", "uid": 0} | |
TASK: [aws | create data directories] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var/aws state=directory owner=root group=root mode=0700 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796079.6-153347593518920 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796079.6-153347593518920 && echo $HOME/.ansible/tmp/ansible-tmp-1410796079.6-153347593518920'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpbVmWzX TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.6-153347593518920/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wjooyycujnjmasmmrxejkkijzirubrqv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wjooyycujnjmasmmrxejkkijzirubrqv; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.6-153347593518920/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.6-153347593518920/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/aws) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var/aws", "mode": "0700", "owner": "root", "path": "/edx/var/aws", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var/log/aws state=directory owner=root group=root mode=0700 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796079.74-89039922689322 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796079.74-89039922689322 && echo $HOME/.ansible/tmp/ansible-tmp-1410796079.74-89039922689322'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp77I2EI TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.74-89039922689322/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vnlhzqsdqgdjzcwsdpstwyqvafuozkjw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vnlhzqsdqgdjzcwsdpstwyqvafuozkjw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.74-89039922689322/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.74-89039922689322/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/log/aws) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var/log/aws", "mode": "0700", "owner": "root", "path": "/edx/var/log/aws", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [aws | create app directory] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/app/aws state=directory owner=root group=root mode=0755 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796079.89-184581472969034 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796079.89-184581472969034 && echo $HOME/.ansible/tmp/ansible-tmp-1410796079.89-184581472969034'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpMcle2P TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.89-184581472969034/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qubianyjcmqhcpckzkkobewbmdghbcmk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qubianyjcmqhcpckzkkobewbmdghbcmk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.89-184581472969034/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796079.89-184581472969034/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/aws) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/app/aws", "mode": "0755", "owner": "root", "path": "/edx/app/aws", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [aws | install system packages] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=python-setuptools state=present update_cache=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796080.08-56336191989327 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796080.08-56336191989327 && echo $HOME/.ansible/tmp/ansible-tmp-1410796080.08-56336191989327'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpqclrjn TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796080.08-56336191989327/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=skjtsbuplusjijzyaexspquldxwwushw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-skjtsbuplusjijzyaexspquldxwwushw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796080.08-56336191989327/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796080.08-56336191989327/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false} | |
TASK: [aws | install aws python packages] ************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796082.97-53535620293499 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796082.97-53535620293499 && echo $HOME/.ansible/tmp/ansible-tmp-1410796082.97-53535620293499'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp7e1DdW TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796082.97-53535620293499/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zwljmgucpqyxbeihwmahlslnelrmtqpg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zwljmgucpqyxbeihwmahlslnelrmtqpg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796082.97-53535620293499/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796082.97-53535620293499/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz", "item": "https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz", "name": "https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz\n Running setup.py (path:/tmp/pip-se4_y0-build/setup.py) egg_info for package from https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz\n \nDownloading/unpacking python-daemon>=1.5.2 (from aws-cfn-bootstrap==1.4)\n Running setup.py (path:/tmp/pip_build_root/python-daemon/setup.py) egg_info for package python-daemon\n \nDownloading/unpacking pystache>=0.4.0 (from aws-cfn-bootstrap==1.4)\n Running setup.py (path:/tmp/pip_build_root/pystache/setup.py) egg_info for package pystache\n pystache: using: version '3.6' of <module 'setuptools' from '/usr/local/lib/python2.7/dist-packages/setuptools/__init__.pyc'>\n \nRequirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages (from python-daemon>=1.5.2->aws-cfn-bootstrap==1.4)\nDownloading/unpacking lockfile>=0.9 (from python-daemon>=1.5.2->aws-cfn-bootstrap==1.4)\n Downloading lockfile-0.9.1.tar.gz\n Running setup.py (path:/tmp/pip_build_root/lockfile/setup.py) egg_info for package lockfile\n \nInstalling collected packages: python-daemon, pystache, aws-cfn-bootstrap, lockfile\n Running setup.py install for python-daemon\n \n Running setup.py install for pystache\n pystache: using: version '3.6' of <module 'setuptools' from '/usr/local/lib/python2.7/dist-packages/setuptools/__init__.pyc'>\n \n Installing pystache script to /usr/local/bin\n Installing pystache-test script to /usr/local/bin\n Running setup.py install for aws-cfn-bootstrap\n changing mode of build/scripts-2.7/cfn-init from 644 to 755\n changing mode of build/scripts-2.7/cfn-signal from 644 to 755\n changing mode of build/scripts-2.7/cfn-get-metadata from 644 to 755\n changing mode of build/scripts-2.7/cfn-hup from 644 to 755\n changing mode of build/scripts-2.7/cfn-elect-cmd-leader from 644 to 755\n changing mode of build/scripts-2.7/cfn-send-cmd-result from 644 to 755\n changing mode of build/scripts-2.7/cfn-send-cmd-event from 644 to 755\n /usr/bin/python -O /tmp/tmp39Ejks.py\n removing /tmp/tmp39Ejks.py\n \n changing mode of /usr/local/bin/cfn-get-metadata to 755\n changing mode of /usr/local/bin/cfn-init to 755\n changing mode of /usr/local/bin/cfn-send-cmd-result to 755\n changing mode of /usr/local/bin/cfn-elect-cmd-leader to 755\n changing mode of /usr/local/bin/cfn-send-cmd-event to 755\n changing mode of /usr/local/bin/cfn-signal to 755\n changing mode of /usr/local/bin/cfn-hup to 755\n Running setup.py install for lockfile\n \nSuccessfully installed python-daemon pystache aws-cfn-bootstrap lockfile\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="awscli==1.4.2" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796086.87-84794415445107 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796086.87-84794415445107 && echo $HOME/.ansible/tmp/ansible-tmp-1410796086.87-84794415445107'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpxeBNi0 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796086.87-84794415445107/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tnqycinuwxjsgtufnaotiilnldaiakpr] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tnqycinuwxjsgtufnaotiilnldaiakpr; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796086.87-84794415445107/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796086.87-84794415445107/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=awscli==1.4.2) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple awscli==1.4.2", "item": "awscli==1.4.2", "name": "awscli==1.4.2", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking awscli==1.4.2\n Running setup.py (path:/tmp/pip_build_root/awscli/setup.py) egg_info for package awscli\n \nDownloading/unpacking botocore>=0.62.0,<0.63.0 (from awscli==1.4.2)\n Running setup.py (path:/tmp/pip_build_root/botocore/setup.py) egg_info for package botocore\n \nDownloading/unpacking bcdoc>=0.12.0,<0.13.0 (from awscli==1.4.2)\n Downloading bcdoc-0.12.2.tar.gz\n Running setup.py (path:/tmp/pip_build_root/bcdoc/setup.py) egg_info for package bcdoc\n \n warning: no files found matching 'README.md'\nDownloading/unpacking six>=1.1.0 (from awscli==1.4.2)\n Downloading six-1.8.0-py2.py3-none-any.whl\nDownloading/unpacking colorama==0.2.5 (from awscli==1.4.2)\n Downloading colorama-0.2.5.tar.gz\n Running setup.py (path:/tmp/pip_build_root/colorama/setup.py) egg_info for package colorama\n \nDownloading/unpacking docutils>=0.10 (from awscli==1.4.2)\n Running setup.py (path:/tmp/pip_build_root/docutils/setup.py) egg_info for package docutils\n \n warning: no files found matching 'MANIFEST'\n warning: no files found matching '*' under directory 'extras'\n warning: no previously-included files matching '.cvsignore' found under directory '*'\n warning: no previously-included files matching '*.pyc' found under directory '*'\n warning: no previously-included files matching '*~' found under directory '*'\n warning: no previously-included files matching '.DS_Store' found under directory '*'\nDownloading/unpacking rsa==3.1.2 (from awscli==1.4.2)\n Downloading rsa-3.1.2.tar.gz\n Running setup.py (path:/tmp/pip_build_root/rsa/setup.py) egg_info for package rsa\n \n warning: no files found matching 'README'\nDownloading/unpacking jmespath==0.4.1 (from botocore>=0.62.0,<0.63.0->awscli==1.4.2)\n Downloading jmespath-0.4.1.tar.gz\n Running setup.py (path:/tmp/pip_build_root/jmespath/setup.py) egg_info for package jmespath\n \nDownloading/unpacking python-dateutil>=2.1 (from botocore>=0.62.0,<0.63.0->awscli==1.4.2)\n Running setup.py (path:/tmp/pip_build_root/python-dateutil/setup.py) egg_info for package python-dateutil\n \nDownloading/unpacking pyasn1>=0.1.3 (from rsa==3.1.2->awscli==1.4.2)\n Running setup.py (path:/tmp/pip_build_root/pyasn1/setup.py) egg_info for package pyasn1\n \nInstalling collected packages: awscli, botocore, bcdoc, six, colorama, docutils, rsa, jmespath, python-dateutil, pyasn1\n Running setup.py install for awscli\n changing mode of build/scripts-2.7/aws from 644 to 755\n changing mode of build/scripts-2.7/aws.cmd from 644 to 755\n changing mode of build/scripts-2.7/aws_completer from 644 to 755\n changing mode of build/scripts-2.7/aws_zsh_completer.sh from 644 to 755\n \n changing mode of /usr/local/bin/aws_zsh_completer.sh to 755\n changing mode of /usr/local/bin/aws to 755\n changing mode of /usr/local/bin/aws.cmd to 755\n changing mode of /usr/local/bin/aws_completer to 755\n Running setup.py install for botocore\n \n Running setup.py install for bcdoc\n \n warning: no files found matching 'README.md'\n Running setup.py install for colorama\n \n Running setup.py install for docutils\n changing mode of build/scripts-2.7/rst2html.py from 644 to 755\n changing mode of build/scripts-2.7/rst2s5.py from 644 to 755\n changing mode of build/scripts-2.7/rst2latex.py from 644 to 755\n changing mode of build/scripts-2.7/rst2xetex.py from 644 to 755\n changing mode of build/scripts-2.7/rst2man.py from 644 to 755\n changing mode of build/scripts-2.7/rst2xml.py from 644 to 755\n changing mode of build/scripts-2.7/rst2pseudoxml.py from 644 to 755\n changing mode of build/scripts-2.7/rstpep2html.py from 644 to 755\n changing mode of build/scripts-2.7/rst2odt.py from 644 to 755\n changing mode of build/scripts-2.7/rst2odt_prepstyles.py from 644 to 755\n \n warning: no files found matching 'MANIFEST'\n warning: no files found matching '*' under directory 'extras'\n warning: no previously-included files matching '.cvsignore' found under directory '*'\n warning: no previously-included files matching '*.pyc' found under directory '*'\n warning: no previously-included files matching '*~' found under directory '*'\n warning: no previously-included files matching '.DS_Store' found under directory '*'\n changing mode of /usr/local/bin/rst2man.py to 755\n changing mode of /usr/local/bin/rst2odt.py to 755\n changing mode of /usr/local/bin/rst2xml.py to 755\n changing mode of /usr/local/bin/rst2latex.py to 755\n changing mode of /usr/local/bin/rst2pseudoxml.py to 755\n changing mode of /usr/local/bin/rst2odt_prepstyles.py to 755\n changing mode of /usr/local/bin/rst2s5.py to 755\n changing mode of /usr/local/bin/rst2xetex.py to 755\n changing mode of /usr/local/bin/rst2html.py to 755\n changing mode of /usr/local/bin/rstpep2html.py to 755\n Running setup.py install for rsa\n \n warning: no files found matching 'README'\n Installing pyrsa-encrypt-bigfile script to /usr/local/bin\n Installing pyrsa-encrypt script to /usr/local/bin\n Installing pyrsa-verify script to /usr/local/bin\n Installing pyrsa-sign script to /usr/local/bin\n Installing pyrsa-priv2pub script to /usr/local/bin\n Installing pyrsa-decrypt script to /usr/local/bin\n Installing pyrsa-decrypt-bigfile script to /usr/local/bin\n Installing pyrsa-keygen script to /usr/local/bin\n Running setup.py install for jmespath\n changing mode of build/scripts-2.7/jp from 644 to 755\n \n changing mode of /usr/local/bin/jp to 755\n Running setup.py install for python-dateutil\n \n Running setup.py install for pyasn1\n \nSuccessfully installed awscli botocore bcdoc six colorama docutils rsa jmespath python-dateutil pyasn1\nCleaning up...\n", "version": null, "virtualenv": null} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name="boto==2.32.0" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796094.39-12701328569961 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796094.39-12701328569961 && echo $HOME/.ansible/tmp/ansible-tmp-1410796094.39-12701328569961'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpvy716u TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796094.39-12701328569961/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hnlyxxiltojbkhvwuizsmfdcjmfjotoz] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hnlyxxiltojbkhvwuizsmfdcjmfjotoz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796094.39-12701328569961/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796094.39-12701328569961/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=boto==2.32.0) => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple boto==2.32.0", "item": "boto==2.32.0", "name": "boto==2.32.0", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking boto==2.32.0\nInstalling collected packages: boto\nSuccessfully installed boto\nCleaning up...\n", "version": null, "virtualenv": null} | |
TASK: [aws | get s3cmd] ******************************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE get_url url=http://files.edx.org/s3cmd/s3cmd-1.5.0-beta1.tar.gz dest=/edx/var/aws/ | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796098.71-64329456701287 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796098.71-64329456701287 && echo $HOME/.ansible/tmp/ansible-tmp-1410796098.71-64329456701287'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpieNrPM TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796098.71-64329456701287/get_url | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qbzygckpixmecizabrfukmxqamommnid] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qbzygckpixmecizabrfukmxqamommnid; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796098.71-64329456701287/get_url; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796098.71-64329456701287/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/var/aws/s3cmd-1.5.0-beta1.tar.gz", "gid": 0, "group": "root", "md5sum": "50e89e79b5c9266dee2e402214ef1c21", "mode": "0644", "msg": "OK (887718 bytes)", "owner": "root", "sha256sum": "", "size": 887718, "src": "/tmp/tmphCiPoV", "state": "file", "uid": 0, "url": "http://files.edx.org/s3cmd/s3cmd-1.5.0-beta1.tar.gz"} | |
TASK: [aws | untar s3cmd] ***************************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command tar xf /edx/var/aws/s3cmd-1.5.0-beta1.tar.gz creates=/edx/app/aws/s3cmd-1.5.0-beta1/s3cmd chdir=/edx/app/aws #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796099.16-126182584152560 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796099.16-126182584152560 && echo $HOME/.ansible/tmp/ansible-tmp-1410796099.16-126182584152560'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpWSpbKd TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.16-126182584152560/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zlyedaqeliffozdfppdijxwadbcdxzbh] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zlyedaqeliffozdfppdijxwadbcdxzbh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.16-126182584152560/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.16-126182584152560/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "cmd": "tar xf /edx/var/aws/s3cmd-1.5.0-beta1.tar.gz", "delta": "0:00:00.028337", "end": "2014-09-15 15:48:19.184142", "rc": 0, "start": "2014-09-15 15:48:19.155805", "stderr": "", "stdout": ""} | |
TASK: [aws | create symlink for s3cmd] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/aws/s3cmd-1.5.0-beta1/s3cmd dest=/edx/bin/s3cmd state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796099.34-219581800578755 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796099.34-219581800578755 && echo $HOME/.ansible/tmp/ansible-tmp-1410796099.34-219581800578755'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpLCNdHL TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.34-219581800578755/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=riacyiozsawozpnjknhrrgzkvgmmlxsi] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-riacyiozsawozpnjknhrrgzkvgmmlxsi; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.34-219581800578755/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.34-219581800578755/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/bin/s3cmd", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 36, "src": "/edx/app/aws/s3cmd-1.5.0-beta1/s3cmd", "state": "link", "uid": 0} | |
TASK: [aws | create s3 log sync script] *************************************** | |
skipping: [default] | |
TASK: [aws | create symlink for s3 log sync script] *************************** | |
skipping: [default] | |
TASK: [aws | force logrotate on supervisor stop] ****************************** | |
skipping: [default] | |
TASK: [aws | cronjob for s3 log sync] ***************************************** | |
skipping: [default] | |
TASK: [edx_ansible | create application user] ********************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name="edx-ansible" home="/edx/app/edx_ansible" createhome=no shell=/bin/false | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796099.56-125250005842283 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796099.56-125250005842283 && echo $HOME/.ansible/tmp/ansible-tmp-1410796099.56-125250005842283'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpH6qVJu TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.56-125250005842283/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tqoufsulmqbnrljgmemgebqdkayspotl] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tqoufsulmqbnrljgmemgebqdkayspotl; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.56-125250005842283/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.56-125250005842283/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "comment": "", "createhome": false, "group": 1004, "home": "/edx/app/edx_ansible", "name": "edx-ansible", "shell": "/bin/false", "state": "present", "system": false, "uid": 1001} | |
TASK: [edx_ansible | create edx_ansible app and venv dir] ********************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/edx_ansible" state=directory owner="edx-ansible" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796099.79-232259606012305 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796099.79-232259606012305 && echo $HOME/.ansible/tmp/ansible-tmp-1410796099.79-232259606012305'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp79uhwR TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.79-232259606012305/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=dhrgfjwgewlrqgvbffrkgggofgcqrwvn] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-dhrgfjwgewlrqgvbffrkgggofgcqrwvn; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.79-232259606012305/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.79-232259606012305/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/edx_ansible) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/edx_ansible", "mode": "0755", "owner": "edx-ansible", "path": "/edx/app/edx_ansible", "size": 4096, "state": "directory", "uid": 1001} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/edx_ansible" state=directory owner="edx-ansible" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796099.94-229299648899703 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796099.94-229299648899703 && echo $HOME/.ansible/tmp/ansible-tmp-1410796099.94-229299648899703'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpadVisO TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.94-229299648899703/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=suzbuadcjbbbyddguozpyghopichucxy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-suzbuadcjbbbyddguozpyghopichucxy; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.94-229299648899703/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796099.94-229299648899703/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/edx_ansible) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/var/edx_ansible", "mode": "0755", "owner": "edx-ansible", "path": "/edx/var/edx_ansible", "size": 4096, "state": "directory", "uid": 1001} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/edx_ansible/venvs" state=directory owner="edx-ansible" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796100.1-226299250870130 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796100.1-226299250870130 && echo $HOME/.ansible/tmp/ansible-tmp-1410796100.1-226299250870130'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpfYtbui TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796100.1-226299250870130/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=pygmvebzzfsghcdpnmrslxmknqjwykht] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-pygmvebzzfsghcdpnmrslxmknqjwykht; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796100.1-226299250870130/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796100.1-226299250870130/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/edx_ansible/venvs) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/edx_ansible/venvs", "mode": "0755", "owner": "edx-ansible", "path": "/edx/app/edx_ansible/venvs", "size": 4096, "state": "directory", "uid": 1001} | |
TASK: [edx_ansible | install a bunch of system packages on which edx_ansible relies] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=python-pip,python-apt,git-core,build-essential,python-dev,libxml2-dev,libxslt1-dev,curl,python-yaml state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796100.29-255198546302245 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796100.29-255198546302245 && echo $HOME/.ansible/tmp/ansible-tmp-1410796100.29-255198546302245'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmptbAKZ9 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796100.29-255198546302245/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kancsmopdcjxqwfjzomhxjushnudtqhl] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kancsmopdcjxqwfjzomhxjushnudtqhl; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796100.29-255198546302245/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796100.29-255198546302245/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n dpkg-dev g++ g++-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl\n libalgorithm-merge-perl libdpkg-perl libstdc++6-4.6-dev libxml2 libxslt1.1\n libyaml-0-2 python python-minimal\nSuggested packages:\n debian-keyring g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg\n libstdc++6-4.6-doc python-doc python-tk\nThe following NEW packages will be installed:\n build-essential dpkg-dev g++ g++-4.6 git-core libalgorithm-diff-perl\n libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl\n libstdc++6-4.6-dev libxml2-dev libxslt1-dev libxslt1.1 libyaml-0-2\n python-dev python-yaml\nThe following packages will be upgraded:\n libxml2 python python-minimal\n3 upgraded, 16 newly installed, 0 to remove and 165 not upgraded.\nNeed to get 11.9 MB of archives.\nAfter this operation, 34.6 MB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python-minimal amd64 2.7.3-0ubuntu2.2 [29.7 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python amd64 2.7.3-0ubuntu2.2 [168 kB]\nGet:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxml2 amd64 2.7.8.dfsg-5.1ubuntu4.9 [673 kB]\nGet:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxslt1.1 amd64 1.1.26-8ubuntu1.3 [167 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libyaml-0-2 amd64 0.1.4-2ubuntu0.12.04.3 [57.8 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.6-dev amd64 4.6.3-1ubuntu5 [1,660 kB]\nGet:7 http://us.archive.ubuntu.com/ubuntu/ precise/main g++-4.6 amd64 4.6.3-1ubuntu5 [6,954 kB]\nGet:8 http://ppa.launchpad.net/git-core/ppa/ubuntu/ precise/main git-core all 1:2.1.0-1~ppa0~ubuntu12.04.1 [1,358 B]\nGet:9 http://us.archive.ubuntu.com/ubuntu/ precise/main g++ amd64 4:4.6.3-1ubuntu5 [1,442 B]\nGet:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libdpkg-perl all 1.16.1.2ubuntu7.5 [182 kB]\nGet:11 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main dpkg-dev all 1.16.1.2ubuntu7.5 [468 kB]\nGet:12 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main build-essential amd64 11.5ubuntu2.1 [5,816 B]\nGet:13 http://us.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB]\nGet:14 http://us.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-xs-perl amd64 0.04-2build2 [12.4 kB]\nGet:15 http://us.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]\nGet:16 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxml2-dev amd64 2.7.8.dfsg-5.1ubuntu4.9 [804 kB]\nGet:17 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxslt1-dev amd64 1.1.26-8ubuntu1.3 [564 kB]\nGet:18 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python-dev amd64 2.7.3-0ubuntu2.2 [1,090 B]\nGet:19 http://us.archive.ubuntu.com/ubuntu/ precise/main python-yaml amd64 3.10-2 [122 kB]\nFetched 11.9 MB in 0s (18.2 MB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 74602 files and directories currently installed.)\r\nPreparing to replace python-minimal 2.7.3-0ubuntu2 (using .../python-minimal_2.7.3-0ubuntu2.2_amd64.deb) ...\r\nUnpacking replacement python-minimal ...\r\nProcessing triggers for man-db ...\r\nSetting up python-minimal (2.7.3-0ubuntu2.2) ...\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 74602 files and directories currently installed.)\r\nPreparing to replace python 2.7.3-0ubuntu2 (using .../python_2.7.3-0ubuntu2.2_amd64.deb) ...\r\nUnpacking replacement python ...\r\nPreparing to replace libxml2 2.7.8.dfsg-5.1ubuntu4 (using .../libxml2_2.7.8.dfsg-5.1ubuntu4.9_amd64.deb) ...\r\nUnpacking replacement libxml2 ...\r\nSelecting previously unselected package libxslt1.1.\r\nUnpacking libxslt1.1 (from .../libxslt1.1_1.1.26-8ubuntu1.3_amd64.deb) ...\r\nSelecting previously unselected package libyaml-0-2.\r\nUnpacking libyaml-0-2 (from .../libyaml-0-2_0.1.4-2ubuntu0.12.04.3_amd64.deb) ...\r\nSelecting previously unselected package libstdc++6-4.6-dev.\r\nUnpacking libstdc++6-4.6-dev (from .../libstdc++6-4.6-dev_4.6.3-1ubuntu5_amd64.deb) ...\r\nSelecting previously unselected package g++-4.6.\r\nUnpacking g++-4.6 (from .../g++-4.6_4.6.3-1ubuntu5_amd64.deb) ...\r\nSelecting previously unselected package g++.\r\nUnpacking g++ (from .../g++_4%3a4.6.3-1ubuntu5_amd64.deb) ...\r\nSelecting previously unselected package libdpkg-perl.\r\nUnpacking libdpkg-perl (from .../libdpkg-perl_1.16.1.2ubuntu7.5_all.deb) ...\r\nSelecting previously unselected package dpkg-dev.\r\nUnpacking dpkg-dev (from .../dpkg-dev_1.16.1.2ubuntu7.5_all.deb) ...\r\nSelecting previously unselected package build-essential.\r\nUnpacking build-essential (from .../build-essential_11.5ubuntu2.1_amd64.deb) ...\r\nSelecting previously unselected package git-core.\r\nUnpacking git-core (from .../git-core_1%3a2.1.0-1~ppa0~ubuntu12.04.1_all.deb) ...\r\nSelecting previously unselected package libalgorithm-diff-perl.\r\nUnpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...\r\nSelecting previously unselected package libalgorithm-diff-xs-perl.\r\nUnpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2build2_amd64.deb) ...\r\nSelecting previously unselected package libalgorithm-merge-perl.\r\nUnpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...\r\nSelecting previously unselected package libxml2-dev.\r\nUnpacking libxml2-dev (from .../libxml2-dev_2.7.8.dfsg-5.1ubuntu4.9_amd64.deb) ...\r\nSelecting previously unselected package libxslt1-dev.\r\nUnpacking libxslt1-dev (from .../libxslt1-dev_1.1.26-8ubuntu1.3_amd64.deb) ...\r\nSelecting previously unselected package python-dev.\r\nUnpacking python-dev (from .../python-dev_2.7.3-0ubuntu2.2_amd64.deb) ...\r\nSelecting previously unselected package python-yaml.\r\nUnpacking python-yaml (from .../python-yaml_3.10-2_amd64.deb) ...\r\nProcessing triggers for man-db ...\r\nSetting up python (2.7.3-0ubuntu2.2) ...\r\nSetting up libxml2 (2.7.8.dfsg-5.1ubuntu4.9) ...\r\nSetting up libxslt1.1 (1.1.26-8ubuntu1.3) ...\r\nSetting up libyaml-0-2 (0.1.4-2ubuntu0.12.04.3) ...\r\nSetting up libdpkg-perl (1.16.1.2ubuntu7.5) ...\r\nSetting up dpkg-dev (1.16.1.2ubuntu7.5) ...\r\nSetting up git-core (1:2.1.0-1~ppa0~ubuntu12.04.1) ...\r\nSetting up libalgorithm-diff-perl (1.19.02-2) ...\r\nSetting up libalgorithm-diff-xs-perl (0.04-2build2) ...\r\nSetting up libalgorithm-merge-perl (0.08-2) ...\r\nSetting up libxml2-dev (2.7.8.dfsg-5.1ubuntu4.9) ...\r\nSetting up libxslt1-dev (1.1.26-8ubuntu1.3) ...\r\nSetting up python-dev (2.7.3-0ubuntu2.2) ...\r\nSetting up python-yaml (3.10-2) ...\r\nSetting up libstdc++6-4.6-dev (4.6.3-1ubuntu5) ...\r\nSetting up g++-4.6 (4.6.3-1ubuntu5) ...\r\nSetting up g++ (4:4.6.3-1ubuntu5) ...\r\nupdate-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.\r\nSetting up build-essential (11.5ubuntu2.1) ...\r\nProcessing triggers for libc-bin ...\r\nldconfig deferred processing now taking place\r\n"} | |
TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE git dest=/edx/app/edx_ansible/edx_ansible repo=https://github.com/edx/configuration.git version=release accept_hostkey=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796109.75-137575956789121 && chmod a+rx /tmp/ansible-tmp-1410796109.75-137575956789121 && echo /tmp/ansible-tmp-1410796109.75-137575956789121'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpzjpcP3 TO /tmp/ansible-tmp-1410796109.75-137575956789121/git | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796109.75-137575956789121/git'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tewgagmtfjlcopbgosujouhhueowdeff] password: " -u edx-ansible /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tewgagmtfjlcopbgosujouhhueowdeff; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796109.75-137575956789121/git\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796109.75-137575956789121/ >/dev/null 2>&1'"] | |
changed: [default] => {"after": "2430f1fdae7937e65a7c718b5c07389f3fb87574", "before": null, "changed": true} | |
TASK: [edx_ansible | install edx_ansible venv requirements] ******************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip requirements="/edx/app/edx_ansible/edx_ansible/requirements.txt" virtualenv="/edx/app/edx_ansible/venvs/edx_ansible" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796121.43-96123250594031 && chmod a+rx /tmp/ansible-tmp-1410796121.43-96123250594031 && echo /tmp/ansible-tmp-1410796121.43-96123250594031'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp5QEzmR TO /tmp/ansible-tmp-1410796121.43-96123250594031/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796121.43-96123250594031/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mfroduhkpixwfjxgwipmksjzntkxvzxz] password: " -u edx-ansible /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mfroduhkpixwfjxgwipmksjzntkxvzxz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796121.43-96123250594031/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796121.43-96123250594031/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": "/edx/app/edx_ansible/venvs/edx_ansible/bin/pip install -i https://pypi.python.org/simple -r /edx/app/edx_ansible/edx_ansible/requirements.txt", "name": null, "requirements": "/edx/app/edx_ansible/edx_ansible/requirements.txt", "state": "present", "stderr": "", "stdout": "New python executable in /edx/app/edx_ansible/venvs/edx_ansible/bin/python\nInstalling setuptools, pip...done.\nDownloading/unpacking ansible==1.5.5 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 1))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/ansible/setup.py) egg_info for package ansible\n \nDownloading/unpacking PyYAML==3.11 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 2))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/PyYAML/setup.py) egg_info for package PyYAML\n \nDownloading/unpacking Jinja2==2.7.2 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 3))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/Jinja2/setup.py) egg_info for package Jinja2\n \n warning: no files found matching '*' under directory 'custom_fixers'\n warning: no previously-included files matching '*' found under directory 'docs/_build'\n warning: no previously-included files matching '*.pyc' found under directory 'jinja2'\n warning: no previously-included files matching '*.pyc' found under directory 'docs'\n warning: no previously-included files matching '*.pyo' found under directory 'jinja2'\n warning: no previously-included files matching '*.pyo' found under directory 'docs'\nDownloading/unpacking MarkupSafe==0.23 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 4))\n Downloading MarkupSafe-0.23.tar.gz\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/MarkupSafe/setup.py) egg_info for package MarkupSafe\n \nRequirement already satisfied (use --upgrade to upgrade): argparse==1.2.1 in /usr/lib/python2.7 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 5))\nDownloading/unpacking boto==2.29.1 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 6))\nDownloading/unpacking ecdsa==0.11 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 7))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/ecdsa/setup.py) egg_info for package ecdsa\n \nDownloading/unpacking paramiko==1.14.0 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 8))\nDownloading/unpacking pycrypto==2.6.1 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 9))\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/pycrypto/setup.py) egg_info for package pycrypto\n \nRequirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/lib/python2.7 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 10))\nDownloading/unpacking docopt==0.6.1 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 11))\n Downloading docopt-0.6.1.tar.gz\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/docopt/setup.py) egg_info for package docopt\n \nDownloading/unpacking python-simple-hipchat==0.2 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 12))\n Downloading python-simple-hipchat-0.2.tar.gz\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/python-simple-hipchat/setup.py) egg_info for package python-simple-hipchat\n \nDownloading/unpacking prettytable==0.7.2 (from -r /edx/app/edx_ansible/edx_ansible/requirements.txt (line 13))\n Downloading prettytable-0.7.2.tar.bz2\n Running setup.py (path:/edx/app/edx_ansible/venvs/edx_ansible/build/prettytable/setup.py) egg_info for package prettytable\n \nInstalling collected packages: ansible, PyYAML, Jinja2, MarkupSafe, boto, ecdsa, paramiko, pycrypto, docopt, python-simple-hipchat, prettytable\n Running setup.py install for ansible\n changing mode of build/scripts-2.7/ansible from 644 to 755\n changing mode of build/scripts-2.7/ansible-playbook from 644 to 755\n changing mode of build/scripts-2.7/ansible-pull from 644 to 755\n changing mode of build/scripts-2.7/ansible-doc from 644 to 755\n changing mode of build/scripts-2.7/ansible-galaxy from 644 to 755\n changing mode of build/scripts-2.7/ansible-vault from 644 to 755\n \n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-galaxy to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-vault to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-doc to 755\n changing mode of /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-pull to 755\n Running setup.py install for PyYAML\n checking if libyaml is compilable\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o\n build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory\n compilation terminated.\n \n libyaml is not found or a compiler error: forcing --without-libyaml\n (if libyaml is installed correctly, you may need to\n specify the option --include-dirs or uncomment and\n modify the parameter include_dirs in setup.cfg)\n \n Running setup.py install for Jinja2\n \n warning: no files found matching '*' under directory 'custom_fixers'\n warning: no previously-included files matching '*' found under directory 'docs/_build'\n warning: no previously-included files matching '*.pyc' found under directory 'jinja2'\n warning: no previously-included files matching '*.pyc' found under directory 'docs'\n warning: no previously-included files matching '*.pyo' found under directory 'jinja2'\n warning: no previously-included files matching '*.pyo' found under directory 'docs'\n Running setup.py install for MarkupSafe\n \n building 'markupsafe._speedups' extension\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c markupsafe/_speedups.c -o build/temp.linux-x86_64-2.7/markupsafe/_speedups.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/markupsafe/_speedups.o -o build/lib.linux-x86_64-2.7/markupsafe/_speedups.so\n Running setup.py install for ecdsa\n \n Running setup.py install for pycrypto\n checking for gcc... gcc\n checking whether the C compiler works... yes\n checking for C compiler default output file name... a.out\n checking for suffix of executables...\n checking whether we are cross compiling... no\n checking for suffix of object files... o\n checking whether we are using the GNU C compiler... yes\n checking whether gcc accepts -g... yes\n checking for gcc option to accept ISO C89... none needed\n checking for __gmpz_init in -lgmp... no\n checking for __gmpz_init in -lmpir... no\n checking whether mpz_powm is declared... no\n checking whether mpz_powm_sec is declared... no\n checking how to run the C preprocessor... gcc -E\n checking for grep that handles long lines and -e... /bin/grep\n checking for egrep... /bin/grep -E\n checking for ANSI C header files... yes\n checking for sys/types.h... yes\n checking for sys/stat.h... yes\n checking for stdlib.h... yes\n checking for string.h... yes\n checking for memory.h... yes\n checking for strings.h... yes\n checking for inttypes.h... yes\n checking for stdint.h... yes\n checking for unistd.h... yes\n checking for inttypes.h... (cached) yes\n checking limits.h usability... yes\n checking limits.h presence... yes\n checking for limits.h... yes\n checking stddef.h usability... yes\n checking stddef.h presence... yes\n checking for stddef.h... yes\n checking for stdint.h... (cached) yes\n checking for stdlib.h... (cached) yes\n checking for string.h... (cached) yes\n checking wchar.h usability... yes\n checking wchar.h presence... yes\n checking for wchar.h... yes\n checking for inline... inline\n checking for int16_t... yes\n checking for int32_t... yes\n checking for int64_t... yes\n checking for int8_t... yes\n checking for size_t... yes\n checking for uint16_t... yes\n checking for uint32_t... yes\n checking for uint64_t... yes\n checking for uint8_t... yes\n checking for stdlib.h... (cached) yes\n checking for GNU libc compatible malloc... yes\n checking for memmove... yes\n checking for memset... yes\n configure: creating ./config.status\n config.status: creating src/config.h\n warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.\n building 'Crypto.Hash._MD2' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/MD2.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_MD2.so\n building 'Crypto.Hash._MD4' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD4.c -o build/temp.linux-x86_64-2.7/src/MD4.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/MD4.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_MD4.so\n building 'Crypto.Hash._SHA256' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA256.c -o build/temp.linux-x86_64-2.7/src/SHA256.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA256.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA256.so\n building 'Crypto.Hash._SHA224' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA224.c -o build/temp.linux-x86_64-2.7/src/SHA224.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA224.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA224.so\n building 'Crypto.Hash._SHA384' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA384.c -o build/temp.linux-x86_64-2.7/src/SHA384.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA384.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA384.so\n building 'Crypto.Hash._SHA512' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA512.c -o build/temp.linux-x86_64-2.7/src/SHA512.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA512.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA512.so\n building 'Crypto.Hash._RIPEMD160' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -DPCT_LITTLE_ENDIAN=1 -Isrc/ -I/usr/include/python2.7 -c src/RIPEMD160.c -o build/temp.linux-x86_64-2.7/src/RIPEMD160.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/RIPEMD160.o -o build/lib.linux-x86_64-2.7/Crypto/Hash/_RIPEMD160.so\n building 'Crypto.Cipher._AES' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/AES.c -o build/temp.linux-x86_64-2.7/src/AES.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/AES.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_AES.so\n building 'Crypto.Cipher._ARC2' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC2.c -o build/temp.linux-x86_64-2.7/src/ARC2.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/ARC2.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC2.so\n building 'Crypto.Cipher._Blowfish' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/Blowfish.c -o build/temp.linux-x86_64-2.7/src/Blowfish.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/Blowfish.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_Blowfish.so\n building 'Crypto.Cipher._CAST' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/CAST.c -o build/temp.linux-x86_64-2.7/src/CAST.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/CAST.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_CAST.so\n building 'Crypto.Cipher._DES' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES.c -o build/temp.linux-x86_64-2.7/src/DES.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/DES.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES.so\n building 'Crypto.Cipher._DES3' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES3.c -o build/temp.linux-x86_64-2.7/src/DES3.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/DES3.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES3.so\n building 'Crypto.Cipher._ARC4' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC4.c -o build/temp.linux-x86_64-2.7/src/ARC4.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/ARC4.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC4.so\n building 'Crypto.Cipher._XOR' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/XOR.c -o build/temp.linux-x86_64-2.7/src/XOR.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/XOR.o -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_XOR.so\n building 'Crypto.Util.strxor' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/strxor.c -o build/temp.linux-x86_64-2.7/src/strxor.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/strxor.o -o build/lib.linux-x86_64-2.7/Crypto/Util/strxor.so\n building 'Crypto.Util._counter' extension\n gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/_counter.c -o build/temp.linux-x86_64-2.7/src/_counter.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/_counter.o -o build/lib.linux-x86_64-2.7/Crypto/Util/_counter.so\n \n Running setup.py install for docopt\n \n Running setup.py install for python-simple-hipchat\n \n Running setup.py install for prettytable\n \nSuccessfully installed ansible PyYAML Jinja2 MarkupSafe boto ecdsa paramiko pycrypto docopt python-simple-hipchat prettytable\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/edx_ansible/venvs/edx_ansible"} | |
TASK: [edx_ansible | create update script] ************************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796136.33-261134787829996 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796136.33-261134787829996 && echo $HOME/.ansible/tmp/ansible-tmp-1410796136.33-261134787829996'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gjypgsgjerplbxpwqjcbpbgaglhbbyiy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gjypgsgjerplbxpwqjcbpbgaglhbbyiy; rc=0; [ -r "/edx/app/edx_ansible/update" ] || rc=2; [ -f "/edx/app/edx_ansible/update" ] || rc=1; [ -d "/edx/app/edx_ansible/update" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/edx_ansible/update 2>/dev/null) || (/sbin/md5sum -q /edx/app/edx_ansible/update 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/edx_ansible/update 2>/dev/null) || (/sbin/md5 -q /edx/app/edx_ansible/update 2>/dev/null) || (/usr/bin/md5 -n /edx/app/edx_ansible/update 2>/dev/null) || (/bin/md5 -q /edx/app/edx_ansible/update 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/edx_ansible/update 2>/dev/null) || (/bin/csum -h MD5 /edx/app/edx_ansible/update 2>/dev/null) || (echo "${rc} /edx/app/edx_ansible/update")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpMTw5Zt TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.33-261134787829996/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmplb5RuQ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.33-261134787829996/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=lwkobrhtilocnucjcxjepvaygyyhzvzd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-lwkobrhtilocnucjcxjepvaygyyhzvzd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.33-261134787829996/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.33-261134787829996/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/edx_ansible/update", "gid": 1004, "group": "edx-ansible", "md5sum": "16dc49ef83f42fbbbd7f347ad491c8a4", "mode": "0755", "owner": "edx-ansible", "size": 2121, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796136.33-261134787829996/source", "state": "file", "uid": 1001} | |
TASK: [edx_ansible | create a symlink for update.sh] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/edx_ansible/update dest=/edx/bin/update state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796136.59-36817308329079 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796136.59-36817308329079 && echo $HOME/.ansible/tmp/ansible-tmp-1410796136.59-36817308329079'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpvjnNd5 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.59-36817308329079/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mndyykaykhgvpfwasugprzihmfaorcid] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mndyykaykhgvpfwasugprzihmfaorcid; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.59-36817308329079/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.59-36817308329079/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/bin/update", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 27, "src": "/edx/app/edx_ansible/update", "state": "link", "uid": 0} | |
TASK: [edx_ansible | create a symlink for ansible-playbook] ******************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook dest=/edx/bin/ansible-playbook state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796136.76-103353969277142 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796136.76-103353969277142 && echo $HOME/.ansible/tmp/ansible-tmp-1410796136.76-103353969277142'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpbMhckr TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.76-103353969277142/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rnjfjeizpwtnrwlpuutbidkzazsiwhvq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rnjfjeizpwtnrwlpuutbidkzazsiwhvq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.76-103353969277142/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.76-103353969277142/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/bin/ansible-playbook", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 59, "src": "/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook", "state": "link", "uid": 0} | |
TASK: [edx_ansible | create a symlink for the playbooks dir] ****************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/edx_ansible/edx_ansible/playbooks dest=/edx/etc/playbooks state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796136.92-208671928913577 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796136.92-208671928913577 && echo $HOME/.ansible/tmp/ansible-tmp-1410796136.92-208671928913577'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpb6GXH2 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.92-208671928913577/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yxjyvaioyumxezkahrhmceuakghzmxra] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yxjyvaioyumxezkahrhmceuakghzmxra; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.92-208671928913577/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796136.92-208671928913577/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/etc/playbooks", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 42, "src": "/edx/app/edx_ansible/edx_ansible/playbooks", "state": "link", "uid": 0} | |
TASK: [edx_ansible | dump all vars to yaml] *********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796137.08-185994151868530 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796137.08-185994151868530 && echo $HOME/.ansible/tmp/ansible-tmp-1410796137.08-185994151868530'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=oyvekdggnlwlgappnfuatpmspvbkeemc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-oyvekdggnlwlgappnfuatpmspvbkeemc; rc=0; [ -r "/edx/app/edx_ansible/server-vars.yml" ] || rc=2; [ -f "/edx/app/edx_ansible/server-vars.yml" ] || rc=1; [ -d "/edx/app/edx_ansible/server-vars.yml" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/sbin/md5sum -q /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/sbin/md5 -q /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/usr/bin/md5 -n /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/bin/md5 -q /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (/bin/csum -h MD5 /edx/app/edx_ansible/server-vars.yml 2>/dev/null) || (echo "${rc} /edx/app/edx_ansible/server-vars.yml")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpvYjOdH TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.08-185994151868530/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp1QU_2a TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.08-185994151868530/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jvpanforkkmuwotktwmtvtoyabuahvqk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jvpanforkkmuwotktwmtvtoyabuahvqk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.08-185994151868530/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.08-185994151868530/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/edx_ansible/server-vars.yml", "gid": 0, "group": "root", "md5sum": "fa9f1cac37c83a25cc6ba6dc898771b7", "mode": "0600", "owner": "root", "size": 1401, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796137.08-185994151868530/source", "state": "file", "uid": 0} | |
TASK: [edx_ansible | create symlink for config file] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/edx_ansible/server-vars.yml dest=/edx/etc/server-vars.yml state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796137.36-143646289024288 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796137.36-143646289024288 && echo $HOME/.ansible/tmp/ansible-tmp-1410796137.36-143646289024288'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmphO7bA_ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.36-143646289024288/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ssuoqacxoklfvihofifwzptdnwssrvjr] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ssuoqacxoklfvihofifwzptdnwssrvjr; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.36-143646289024288/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.36-143646289024288/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/etc/server-vars.yml", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 36, "src": "/edx/app/edx_ansible/server-vars.yml", "state": "link", "uid": 0} | |
TASK: [edx_ansible | clean up var file, removing all version vars and internal ansible vars (anything not caps)] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command python -c "import yaml; y=yaml.load(open('/edx/app/edx_ansible/server-vars.yml')); f=open('/edx/app/edx_ansible/server-vars.yml', 'wb'); f.write(yaml.safe_dump({key:value for key,value in y.iteritems() if key.isupper()}, default_flow_style=False)); f.close();" #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796137.54-109208397416929 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796137.54-109208397416929 && echo $HOME/.ansible/tmp/ansible-tmp-1410796137.54-109208397416929'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmproMt2i TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.54-109208397416929/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qerqbpsrxqnnhdpgtywdujmcbnqtfrbc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qerqbpsrxqnnhdpgtywdujmcbnqtfrbc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.54-109208397416929/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.54-109208397416929/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "cmd": "python -c \"import yaml; y=yaml.load(open('/edx/app/edx_ansible/server-vars.yml')); f=open('/edx/app/edx_ansible/server-vars.yml', 'wb'); f.write(yaml.safe_dump({key:value for key,value in y.iteritems() if key.isupper()}, default_flow_style=False)); f.close();\"", "delta": "0:00:00.064913", "end": "2014-09-15 15:48:57.619774", "rc": 0, "start": "2014-09-15 15:48:57.554861", "stderr": "", "stdout": ""} | |
TASK: [user | debug var=user_info] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
ok: [default] => { | |
"user_info": [] | |
} | |
TASK: [user | create the edxadmin group] ************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE group name=edxadmin state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796137.76-156802016071633 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796137.76-156802016071633 && echo $HOME/.ansible/tmp/ansible-tmp-1410796137.76-156802016071633'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpGtDBr_ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.76-156802016071633/group | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zxicxtipnletyzunskivdzrmnyhowtov] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zxicxtipnletyzunskivdzrmnyhowtov; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.76-156802016071633/group; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.76-156802016071633/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "gid": 1003, "name": "edxadmin", "state": "present", "system": false} | |
TASK: [user | ensure sudoers.d is read] *************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE lineinfile dest=/etc/sudoers state=present regexp='^#includedir /etc/sudoers.d' line='#includedir /etc/sudoers.d' validate='visudo -cf %s' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796137.92-37172944565796 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796137.92-37172944565796 && echo $HOME/.ansible/tmp/ansible-tmp-1410796137.92-37172944565796'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpN3fnpU TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.92-37172944565796/lineinfile | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vemsxglfbaaaqjaidfrxtyokjwwmqulj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vemsxglfbaaaqjaidfrxtyokjwwmqulj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.92-37172944565796/lineinfile; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796137.92-37172944565796/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"backup": "", "changed": false, "msg": ""} | |
TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=fixnvgsaathqpphjbktattyaievbkova] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-fixnvgsaathqpphjbktattyaievbkova; rc=0; [ -r "/etc/sudoers.d/edxadmin" ] || rc=2; [ -f "/etc/sudoers.d/edxadmin" ] || rc=1; [ -d "/etc/sudoers.d/edxadmin" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/edxadmin 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/edxadmin 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/edxadmin 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/edxadmin 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/edxadmin 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/edxadmin 2>/dev/null) || (echo "${rc} /etc/sudoers.d/edxadmin")\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796138.1-139063845427783 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796138.1-139063845427783 && echo $HOME/.ansible/tmp/ansible-tmp-1410796138.1-139063845427783'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpC6TJBA TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.1-139063845427783/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yxeimswmklhnaxkevzcbdjrpdpwwtxlw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yxeimswmklhnaxkevzcbdjrpdpwwtxlw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.1-139063845427783/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.1-139063845427783/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "dest": "/etc/sudoers.d/edxadmin", "gid": 0, "group": "root", "md5sum": "44aadaff836d80e7cbd042bd9f07a230", "mode": "0440", "owner": "root", "path": "/etc/sudoers.d/edxadmin", "size": 32, "state": "file", "uid": 0} | |
TASK: [user | create the users] *********************************************** | |
skipping: [default] | |
TASK: [user | create .ssh directory] ****************************************** | |
skipping: [default] | |
TASK: [user | assign admin role to admin users] ******************************* | |
skipping: [default] | |
TASK: [user | copy github key[s] to .ssh/authorized_keys2] ******************** | |
skipping: [default] | |
TASK: [user | copy additional authorized keys] ******************************** | |
skipping: [default] | |
TASK: [user | create bashrc file for normal users] **************************** | |
skipping: [default] | |
TASK: [user | create .profile for all users] ********************************** | |
skipping: [default] | |
TASK: [user | modify shell for restricted users] ****************************** | |
skipping: [default] | |
TASK: [user | create bashrc file for restricted users] ************************ | |
skipping: [default] | |
TASK: [user | create sudoers file from template] ****************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796138.36-43911687144856 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796138.36-43911687144856 && echo $HOME/.ansible/tmp/ansible-tmp-1410796138.36-43911687144856'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vmftwzfuurkryblrdcpahgpxbplelftb] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vmftwzfuurkryblrdcpahgpxbplelftb; rc=0; [ -r "/etc/sudoers.d/99-restricted" ] || rc=2; [ -f "/etc/sudoers.d/99-restricted" ] || rc=1; [ -d "/etc/sudoers.d/99-restricted" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/sudoers.d/99-restricted 2>/dev/null) || (/sbin/md5sum -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/digest -a md5 /etc/sudoers.d/99-restricted 2>/dev/null) || (/sbin/md5 -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/md5 -n /etc/sudoers.d/99-restricted 2>/dev/null) || (/bin/md5 -q /etc/sudoers.d/99-restricted 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/sudoers.d/99-restricted 2>/dev/null) || (/bin/csum -h MD5 /etc/sudoers.d/99-restricted 2>/dev/null) || (echo "${rc} /etc/sudoers.d/99-restricted")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpyyuGNu TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.36-43911687144856/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=newgiulcfktnxkyenagquurwwuzfxrkx] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-newgiulcfktnxkyenagquurwwuzfxrkx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.36-43911687144856/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.36-43911687144856/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "gid": 0, "group": "root", "mode": "0440", "owner": "root", "path": "/etc/sudoers.d/99-restricted", "size": 1, "state": "file", "uid": 0} | |
TASK: [user | change home directory ownership to root for restricted users] *** | |
skipping: [default] | |
TASK: [user | create ~/bin directory] ***************************************** | |
skipping: [default] | |
TASK: [user | create allowed command links] *********************************** | |
skipping: [default] | |
TASK: [nginx | create nginx app dirs] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/nginx" state=directory owner="root" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796138.63-80877707397364 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796138.63-80877707397364 && echo $HOME/.ansible/tmp/ansible-tmp-1410796138.63-80877707397364'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpEMX84a TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.63-80877707397364/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=cjdxceszclzfcullucefkttvuhvmkooe] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-cjdxceszclzfcullucefkttvuhvmkooe; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.63-80877707397364/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.63-80877707397364/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/nginx) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/nginx", "mode": "0755", "owner": "root", "path": "/edx/app/nginx", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/nginx/sites-available" state=directory owner="root" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796138.79-195251770155753 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796138.79-195251770155753 && echo $HOME/.ansible/tmp/ansible-tmp-1410796138.79-195251770155753'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpExjJ7V TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.79-195251770155753/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xjcvfwxabexzcgmcvichgolsfiurtlsw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xjcvfwxabexzcgmcvichgolsfiurtlsw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.79-195251770155753/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.79-195251770155753/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/nginx/sites-available) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/nginx/sites-available", "mode": "0755", "owner": "root", "path": "/edx/app/nginx/sites-available", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/nginx/sites-enabled" state=directory owner="root" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796138.93-242466553946642 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796138.93-242466553946642 && echo $HOME/.ansible/tmp/ansible-tmp-1410796138.93-242466553946642'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpXZkzfW TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.93-242466553946642/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kzejflsvbnrtdokelnwfkdtjlshozgvg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kzejflsvbnrtdokelnwfkdtjlshozgvg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.93-242466553946642/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796138.93-242466553946642/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/nginx/sites-enabled) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/nginx/sites-enabled", "mode": "0755", "owner": "root", "path": "/edx/app/nginx/sites-enabled", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/nginx/conf.d" state=directory owner="root" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796139.08-279663135137987 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796139.08-279663135137987 && echo $HOME/.ansible/tmp/ansible-tmp-1410796139.08-279663135137987'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp2cA5Ib TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.08-279663135137987/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=clmqzjvgniilsnptbgkghyahbltveyuf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-clmqzjvgniilsnptbgkghyahbltveyuf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.08-279663135137987/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.08-279663135137987/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/nginx/conf.d) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/nginx/conf.d", "mode": "0755", "owner": "root", "path": "/edx/app/nginx/conf.d", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [nginx | create nginx data dirs] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/nginx" state=directory owner="www-data" group="root" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796139.24-97046883841063 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796139.24-97046883841063 && echo $HOME/.ansible/tmp/ansible-tmp-1410796139.24-97046883841063'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpMSAL0C TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.24-97046883841063/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=chdvhmwqpzzxttdbvsttwdgtgujszjmf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-chdvhmwqpzzxttdbvsttwdgtgujszjmf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.24-97046883841063/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.24-97046883841063/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/nginx) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var/nginx", "mode": "0755", "owner": "www-data", "path": "/edx/var/nginx", "size": 4096, "state": "directory", "uid": 33} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/log/nginx" state=directory owner="www-data" group="root" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796139.37-193772323491357 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796139.37-193772323491357 && echo $HOME/.ansible/tmp/ansible-tmp-1410796139.37-193772323491357'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpc7WqRH TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.37-193772323491357/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ytjrkhpijmlchbmtdrkpdzvhekoywsqj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ytjrkhpijmlchbmtdrkpdzvhekoywsqj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.37-193772323491357/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.37-193772323491357/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/log/nginx) => {"changed": true, "gid": 0, "group": "root", "item": "/edx/var/log/nginx", "mode": "0755", "owner": "www-data", "path": "/edx/var/log/nginx", "size": 4096, "state": "directory", "uid": 33} | |
TASK: [nginx | Install nginx packages] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=nginx,python-passlib state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796139.54-281198920126314 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796139.54-281198920126314 && echo $HOME/.ansible/tmp/ansible-tmp-1410796139.54-281198920126314'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpb6TSy_ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.54-281198920126314/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xdnyprdmeuehgvvvmampikafpaoevxns] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xdnyprdmeuehgvvvmampikafpaoevxns; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.54-281198920126314/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796139.54-281198920126314/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n libgd2-noxpm libjpeg-turbo8 libjpeg8 nginx-common nginx-full\nSuggested packages:\n libgd-tools\nThe following NEW packages will be installed:\n libgd2-noxpm libjpeg-turbo8 libjpeg8 nginx nginx-common nginx-full\n python-passlib\n0 upgraded, 7 newly installed, 0 to remove and 165 not upgraded.\nNeed to get 867 kB of archives.\nAfter this operation, 2,975 kB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libjpeg-turbo8 amd64 1.1.90+svn733-0ubuntu4.4 [112 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu/ precise/main libjpeg8 amd64 8c-2ubuntu7 [2,112 B]\nGet:3 http://us.archive.ubuntu.com/ubuntu/ precise/main libgd2-noxpm amd64 2.0.36~rc1~dfsg-6ubuntu2 [200 kB]\nGet:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe nginx-common all 1.1.19-1ubuntu0.6 [17.0 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe nginx-full amd64 1.1.19-1ubuntu0.6 [379 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe nginx all 1.1.19-1ubuntu0.6 [5,886 B]\nGet:7 http://us.archive.ubuntu.com/ubuntu/ precise/main python-passlib all 1.5.3-0ubuntu1 [152 kB]\nFetched 867 kB in 0s (8,545 kB/s)\nSelecting previously unselected package libjpeg-turbo8.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 75975 files and directories currently installed.)\r\nUnpacking libjpeg-turbo8 (from .../libjpeg-turbo8_1.1.90+svn733-0ubuntu4.4_amd64.deb) ...\r\nSelecting previously unselected package libjpeg8.\r\nUnpacking libjpeg8 (from .../libjpeg8_8c-2ubuntu7_amd64.deb) ...\r\nSelecting previously unselected package libgd2-noxpm.\r\nUnpacking libgd2-noxpm (from .../libgd2-noxpm_2.0.36~rc1~dfsg-6ubuntu2_amd64.deb) ...\r\nSelecting previously unselected package nginx-common.\r\nUnpacking nginx-common (from .../nginx-common_1.1.19-1ubuntu0.6_all.deb) ...\r\nSelecting previously unselected package nginx-full.\r\nUnpacking nginx-full (from .../nginx-full_1.1.19-1ubuntu0.6_amd64.deb) ...\r\nSelecting previously unselected package nginx.\r\nUnpacking nginx (from .../nginx_1.1.19-1ubuntu0.6_all.deb) ...\r\nSelecting previously unselected package python-passlib.\r\nUnpacking python-passlib (from .../python-passlib_1.5.3-0ubuntu1_all.deb) ...\r\nProcessing triggers for man-db ...\r\nProcessing triggers for ufw ...\r\nProcessing triggers for ureadahead ...\r\nSetting up libjpeg-turbo8 (1.1.90+svn733-0ubuntu4.4) ...\r\nSetting up libjpeg8 (8c-2ubuntu7) ...\r\nSetting up libgd2-noxpm (2.0.36~rc1~dfsg-6ubuntu2) ...\r\nSetting up nginx-common (1.1.19-1ubuntu0.6) ...\r\nSetting up nginx-full (1.1.19-1ubuntu0.6) ...\r\nSetting up nginx (1.1.19-1ubuntu0.6) ...\r\nSetting up python-passlib (1.5.3-0ubuntu1) ...\r\nProcessing triggers for libc-bin ...\r\nldconfig deferred processing now taking place\r\n"} | |
TASK: [nginx | Server configuration file] ************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796144.44-166189684745935 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796144.44-166189684745935 && echo $HOME/.ansible/tmp/ansible-tmp-1410796144.44-166189684745935'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zkjoobgtepljporccanpfynrncuehlve] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zkjoobgtepljporccanpfynrncuehlve; rc=0; [ -r "/etc/nginx/nginx.conf" ] || rc=2; [ -f "/etc/nginx/nginx.conf" ] || rc=1; [ -d "/etc/nginx/nginx.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/nginx/nginx.conf 2>/dev/null) || (/sbin/md5sum -q /etc/nginx/nginx.conf 2>/dev/null) || (/usr/bin/digest -a md5 /etc/nginx/nginx.conf 2>/dev/null) || (/sbin/md5 -q /etc/nginx/nginx.conf 2>/dev/null) || (/usr/bin/md5 -n /etc/nginx/nginx.conf 2>/dev/null) || (/bin/md5 -q /etc/nginx/nginx.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/nginx/nginx.conf 2>/dev/null) || (/bin/csum -h MD5 /etc/nginx/nginx.conf 2>/dev/null) || (echo "${rc} /etc/nginx/nginx.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpOJNPv7 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.44-166189684745935/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpGWx4Q6 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.44-166189684745935/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kevvfrwiglvexkahlbbfhgpuuqphnali] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kevvfrwiglvexkahlbbfhgpuuqphnali; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.44-166189684745935/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.44-166189684745935/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/nginx/nginx.conf", "gid": 33, "group": "www-data", "md5sum": "980a8a16417b1d3e10333e514f63d33e", "mode": "0644", "owner": "root", "size": 1929, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796144.44-166189684745935/source", "state": "file", "uid": 0} | |
TASK: [nginx | Creating common nginx configuration] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796144.67-231499862521097 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796144.67-231499862521097 && echo $HOME/.ansible/tmp/ansible-tmp-1410796144.67-231499862521097'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mzfqkbscwoqjdsyourbptkkwjnduoaax] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mzfqkbscwoqjdsyourbptkkwjnduoaax; rc=0; [ -r "/edx/app/nginx/sites-available/edx-release" ] || rc=2; [ -f "/edx/app/nginx/sites-available/edx-release" ] || rc=1; [ -d "/edx/app/nginx/sites-available/edx-release" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/sbin/md5sum -q /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/sbin/md5 -q /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/usr/bin/md5 -n /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/bin/md5 -q /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (/bin/csum -h MD5 /edx/app/nginx/sites-available/edx-release 2>/dev/null) || (echo "${rc} /edx/app/nginx/sites-available/edx-release")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpHOo1Ex TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.67-231499862521097/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpyYYCNN TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.67-231499862521097/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yhsvlwyuhxjdzxdtwsjizwbnifziakjo] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yhsvlwyuhxjdzxdtwsjizwbnifziakjo; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.67-231499862521097/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.67-231499862521097/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/nginx/sites-available/edx-release", "gid": 0, "group": "root", "md5sum": "1f5b4956b7c61670bd70084cc221eda6", "mode": "0600", "owner": "root", "size": 209, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796144.67-231499862521097/source", "state": "file", "uid": 0} | |
TASK: [nginx | Create robot rules] ******************************************** | |
skipping: [default] | |
TASK: [nginx | Creating link for common nginx configuration] ****************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/nginx/sites-available/edx-release dest=/edx/app/nginx/sites-enabled/edx-release state=link owner=root group=root | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796144.93-103156469808152 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796144.93-103156469808152 && echo $HOME/.ansible/tmp/ansible-tmp-1410796144.93-103156469808152'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp2ngViX TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.93-103156469808152/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=fetkrgurogwgycicbjdqfokqbygxstbk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-fetkrgurogwgycicbjdqfokqbygxstbk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.93-103156469808152/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796144.93-103156469808152/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/nginx/sites-enabled/edx-release", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 42, "src": "/edx/app/nginx/sites-available/edx-release", "state": "link", "uid": 0} | |
TASK: [nginx | Copying nginx configs for ['cms', 'lms', 'forum', 'xqueue', 'certs']] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796145.08-191169977734126 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796145.08-191169977734126 && echo $HOME/.ansible/tmp/ansible-tmp-1410796145.08-191169977734126'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wvtkwazywucrtkwoczrkrdqfmsjuquey] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wvtkwazywucrtkwoczrkrdqfmsjuquey; rc=0; [ -r "/edx/app/nginx/sites-available/cms" ] || rc=2; [ -f "/edx/app/nginx/sites-available/cms" ] || rc=1; [ -d "/edx/app/nginx/sites-available/cms" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/nginx/sites-available/cms 2>/dev/null) || (/sbin/md5sum -q /edx/app/nginx/sites-available/cms 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/nginx/sites-available/cms 2>/dev/null) || (/sbin/md5 -q /edx/app/nginx/sites-available/cms 2>/dev/null) || (/usr/bin/md5 -n /edx/app/nginx/sites-available/cms 2>/dev/null) || (/bin/md5 -q /edx/app/nginx/sites-available/cms 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/nginx/sites-available/cms 2>/dev/null) || (/bin/csum -h MD5 /edx/app/nginx/sites-available/cms 2>/dev/null) || (echo "${rc} /edx/app/nginx/sites-available/cms")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp4juT3w TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.08-191169977734126/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpFg5IFl TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.08-191169977734126/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tnomsktqkkfdbfkycggijwbzkhitacvo] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tnomsktqkkfdbfkycggijwbzkhitacvo; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.08-191169977734126/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.08-191169977734126/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=cms) => {"changed": true, "dest": "/edx/app/nginx/sites-available/cms", "gid": 33, "group": "www-data", "item": "cms", "md5sum": "2962318931d2621807ff8f388806cfd8", "mode": "0640", "owner": "root", "size": 2913, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796145.08-191169977734126/source", "state": "file", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796145.31-120051888086485 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796145.31-120051888086485 && echo $HOME/.ansible/tmp/ansible-tmp-1410796145.31-120051888086485'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zmhbfqhvhsjwyzqkxrwoztffwnmdqcbl] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zmhbfqhvhsjwyzqkxrwoztffwnmdqcbl; rc=0; [ -r "/edx/app/nginx/sites-available/lms" ] || rc=2; [ -f "/edx/app/nginx/sites-available/lms" ] || rc=1; [ -d "/edx/app/nginx/sites-available/lms" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/nginx/sites-available/lms 2>/dev/null) || (/sbin/md5sum -q /edx/app/nginx/sites-available/lms 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/nginx/sites-available/lms 2>/dev/null) || (/sbin/md5 -q /edx/app/nginx/sites-available/lms 2>/dev/null) || (/usr/bin/md5 -n /edx/app/nginx/sites-available/lms 2>/dev/null) || (/bin/md5 -q /edx/app/nginx/sites-available/lms 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/nginx/sites-available/lms 2>/dev/null) || (/bin/csum -h MD5 /edx/app/nginx/sites-available/lms 2>/dev/null) || (echo "${rc} /edx/app/nginx/sites-available/lms")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpRnCfzs TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.31-120051888086485/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpeZQVUc TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.31-120051888086485/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vbyrogcobcwxywqbplgdnajkmcduvyoa] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vbyrogcobcwxywqbplgdnajkmcduvyoa; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.31-120051888086485/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.31-120051888086485/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=lms) => {"changed": true, "dest": "/edx/app/nginx/sites-available/lms", "gid": 33, "group": "www-data", "item": "lms", "md5sum": "ffa31fad839a995b4aec1ef3d2615bc8", "mode": "0640", "owner": "root", "size": 2915, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796145.31-120051888086485/source", "state": "file", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796145.56-82507501234023 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796145.56-82507501234023 && echo $HOME/.ansible/tmp/ansible-tmp-1410796145.56-82507501234023'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ytyuawdnqbdifwohynbtbnsxqllgmczz] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ytyuawdnqbdifwohynbtbnsxqllgmczz; rc=0; [ -r "/edx/app/nginx/sites-available/forum" ] || rc=2; [ -f "/edx/app/nginx/sites-available/forum" ] || rc=1; [ -d "/edx/app/nginx/sites-available/forum" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/nginx/sites-available/forum 2>/dev/null) || (/sbin/md5sum -q /edx/app/nginx/sites-available/forum 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/nginx/sites-available/forum 2>/dev/null) || (/sbin/md5 -q /edx/app/nginx/sites-available/forum 2>/dev/null) || (/usr/bin/md5 -n /edx/app/nginx/sites-available/forum 2>/dev/null) || (/bin/md5 -q /edx/app/nginx/sites-available/forum 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/nginx/sites-available/forum 2>/dev/null) || (/bin/csum -h MD5 /edx/app/nginx/sites-available/forum 2>/dev/null) || (echo "${rc} /edx/app/nginx/sites-available/forum")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpVVrg02 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.56-82507501234023/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpHxyNSb TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.56-82507501234023/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=atpyztqufymmyyboftlmnteszuuotqeh] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-atpyztqufymmyyboftlmnteszuuotqeh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.56-82507501234023/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.56-82507501234023/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=forum) => {"changed": true, "dest": "/edx/app/nginx/sites-available/forum", "gid": 33, "group": "www-data", "item": "forum", "md5sum": "6075f1c4d623982b3f371326b9138b34", "mode": "0640", "owner": "root", "size": 754, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796145.56-82507501234023/source", "state": "file", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796145.79-124813561982260 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796145.79-124813561982260 && echo $HOME/.ansible/tmp/ansible-tmp-1410796145.79-124813561982260'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=eborllmrnhcuhawcvkzfpqdjzemvqfhl] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-eborllmrnhcuhawcvkzfpqdjzemvqfhl; rc=0; [ -r "/edx/app/nginx/sites-available/xqueue" ] || rc=2; [ -f "/edx/app/nginx/sites-available/xqueue" ] || rc=1; [ -d "/edx/app/nginx/sites-available/xqueue" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/nginx/sites-available/xqueue 2>/dev/null) || (/sbin/md5sum -q /edx/app/nginx/sites-available/xqueue 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/nginx/sites-available/xqueue 2>/dev/null) || (/sbin/md5 -q /edx/app/nginx/sites-available/xqueue 2>/dev/null) || (/usr/bin/md5 -n /edx/app/nginx/sites-available/xqueue 2>/dev/null) || (/bin/md5 -q /edx/app/nginx/sites-available/xqueue 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/nginx/sites-available/xqueue 2>/dev/null) || (/bin/csum -h MD5 /edx/app/nginx/sites-available/xqueue 2>/dev/null) || (echo "${rc} /edx/app/nginx/sites-available/xqueue")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpdkhc4E TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.79-124813561982260/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpuh2CKv TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.79-124813561982260/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=alqlrkzfppcssbhsixrogkzsvhxukvam] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-alqlrkzfppcssbhsixrogkzsvhxukvam; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.79-124813561982260/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796145.79-124813561982260/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=xqueue) => {"changed": true, "dest": "/edx/app/nginx/sites-available/xqueue", "gid": 33, "group": "www-data", "item": "xqueue", "md5sum": "c6e52cf7d989544679a9438f2054fd46", "mode": "0640", "owner": "root", "size": 649, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796145.79-124813561982260/source", "state": "file", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796146.02-139483810806687 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796146.02-139483810806687 && echo $HOME/.ansible/tmp/ansible-tmp-1410796146.02-139483810806687'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=abujmxzcjedyplfsouaasgbuouisumhe] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-abujmxzcjedyplfsouaasgbuouisumhe; rc=0; [ -r "/edx/app/nginx/sites-available/certs" ] || rc=2; [ -f "/edx/app/nginx/sites-available/certs" ] || rc=1; [ -d "/edx/app/nginx/sites-available/certs" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/nginx/sites-available/certs 2>/dev/null) || (/sbin/md5sum -q /edx/app/nginx/sites-available/certs 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/nginx/sites-available/certs 2>/dev/null) || (/sbin/md5 -q /edx/app/nginx/sites-available/certs 2>/dev/null) || (/usr/bin/md5 -n /edx/app/nginx/sites-available/certs 2>/dev/null) || (/bin/md5 -q /edx/app/nginx/sites-available/certs 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/nginx/sites-available/certs 2>/dev/null) || (/bin/csum -h MD5 /edx/app/nginx/sites-available/certs 2>/dev/null) || (echo "${rc} /edx/app/nginx/sites-available/certs")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpuX_vdu TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.02-139483810806687/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp2ieE7W TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.02-139483810806687/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=flgazoibydlppeqptyaylcaafgnqzchc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-flgazoibydlppeqptyaylcaafgnqzchc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.02-139483810806687/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.02-139483810806687/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=certs) => {"changed": true, "dest": "/edx/app/nginx/sites-available/certs", "gid": 33, "group": "www-data", "item": "certs", "md5sum": "be613c16d7f42d77cd76839684d3ae8c", "mode": "0640", "owner": "root", "size": 142, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796146.02-139483810806687/source", "state": "file", "uid": 0} | |
TASK: [nginx | Creating nginx config links for ['cms', 'lms', 'forum', 'xqueue', 'certs']] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/nginx/sites-available/cms dest=/edx/app/nginx/sites-enabled/cms state=link owner=root group=root | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796146.26-203065773124677 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796146.26-203065773124677 && echo $HOME/.ansible/tmp/ansible-tmp-1410796146.26-203065773124677'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpyJfnY6 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.26-203065773124677/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=dsnjvsxjeowvifdlguipfxeakcsbqryc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-dsnjvsxjeowvifdlguipfxeakcsbqryc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.26-203065773124677/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.26-203065773124677/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=cms) => {"changed": true, "dest": "/edx/app/nginx/sites-enabled/cms", "gid": 0, "group": "root", "item": "cms", "mode": "0777", "owner": "root", "size": 34, "src": "/edx/app/nginx/sites-available/cms", "state": "link", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/nginx/sites-available/lms dest=/edx/app/nginx/sites-enabled/lms state=link owner=root group=root | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796146.4-157960862322513 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796146.4-157960862322513 && echo $HOME/.ansible/tmp/ansible-tmp-1410796146.4-157960862322513'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpYXmtyY TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.4-157960862322513/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=fnbcirpjkhnubzkjuxuazoyybtcvazat] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-fnbcirpjkhnubzkjuxuazoyybtcvazat; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.4-157960862322513/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.4-157960862322513/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=lms) => {"changed": true, "dest": "/edx/app/nginx/sites-enabled/lms", "gid": 0, "group": "root", "item": "lms", "mode": "0777", "owner": "root", "size": 34, "src": "/edx/app/nginx/sites-available/lms", "state": "link", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/nginx/sites-available/forum dest=/edx/app/nginx/sites-enabled/forum state=link owner=root group=root | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796146.55-131249015681378 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796146.55-131249015681378 && echo $HOME/.ansible/tmp/ansible-tmp-1410796146.55-131249015681378'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpLVbhan TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.55-131249015681378/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hmtyyphfjrhfqijeyrwrhgjjoitmkiqy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hmtyyphfjrhfqijeyrwrhgjjoitmkiqy; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.55-131249015681378/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.55-131249015681378/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=forum) => {"changed": true, "dest": "/edx/app/nginx/sites-enabled/forum", "gid": 0, "group": "root", "item": "forum", "mode": "0777", "owner": "root", "size": 36, "src": "/edx/app/nginx/sites-available/forum", "state": "link", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/nginx/sites-available/xqueue dest=/edx/app/nginx/sites-enabled/xqueue state=link owner=root group=root | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796146.69-116165920821709 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796146.69-116165920821709 && echo $HOME/.ansible/tmp/ansible-tmp-1410796146.69-116165920821709'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpR9licL TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.69-116165920821709/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ulycatgeobmuvdrtwxvwomluzdpixgqy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ulycatgeobmuvdrtwxvwomluzdpixgqy; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.69-116165920821709/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.69-116165920821709/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=xqueue) => {"changed": true, "dest": "/edx/app/nginx/sites-enabled/xqueue", "gid": 0, "group": "root", "item": "xqueue", "mode": "0777", "owner": "root", "size": 37, "src": "/edx/app/nginx/sites-available/xqueue", "state": "link", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/nginx/sites-available/certs dest=/edx/app/nginx/sites-enabled/certs state=link owner=root group=root | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796146.85-103439107894712 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796146.85-103439107894712 && echo $HOME/.ansible/tmp/ansible-tmp-1410796146.85-103439107894712'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpzLkdIt TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.85-103439107894712/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rcmiqbmrueimtkyqrrlqguuzewgxnkbd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rcmiqbmrueimtkyqrrlqguuzewgxnkbd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.85-103439107894712/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796146.85-103439107894712/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=certs) => {"changed": true, "dest": "/edx/app/nginx/sites-enabled/certs", "gid": 0, "group": "root", "item": "certs", "mode": "0777", "owner": "root", "size": 36, "src": "/edx/app/nginx/sites-available/certs", "state": "link", "uid": 0} | |
TASK: [nginx | Copying nginx extra configs] *********************************** | |
skipping: [default] | |
TASK: [nginx | Creating links for nginx extra configs] ************************ | |
skipping: [default] | |
TASK: [nginx | Copying custom nginx config] *********************************** | |
skipping: [default] | |
TASK: [nginx | Copying nginx redirect configs for {{ nginx_redirects }}] ****** | |
skipping: [default] | |
TASK: [nginx | Creating nginx redirect links for {{ nginx_redirects }}] ******* | |
skipping: [default] | |
TASK: [nginx | Write out htpasswd file] *************************************** | |
skipping: [default] | |
TASK: [nginx | Create nginx log file location (just in case)] ***************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var/log/nginx state=directory owner=www-data group=www-data | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796147.09-224852444468565 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796147.09-224852444468565 && echo $HOME/.ansible/tmp/ansible-tmp-1410796147.09-224852444468565'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpA99Vzh TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.09-224852444468565/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=salwlcusximhqfxqgwlifupthjyqmhjt] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-salwlcusximhqfxqgwlifupthjyqmhjt; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.09-224852444468565/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.09-224852444468565/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "gid": 33, "group": "www-data", "mode": "0755", "owner": "www-data", "path": "/edx/var/log/nginx", "size": 4096, "state": "directory", "uid": 33} | |
TASK: [nginx | stat] ********************************************************** | |
<127.0.0.1> REMOTE_MODULE stat path=ssl-cert-snakeoil.pem | |
<127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796147.26-214475586874638 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796147.26-214475586874638 && echo $HOME/.ansible/tmp/ansible-tmp-1410796147.26-214475586874638'] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpYWyVRl TO /Users/db/.ansible/tmp/ansible-tmp-1410796147.26-214475586874638/stat | |
<127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /Users/db/.ansible/tmp/ansible-tmp-1410796147.26-214475586874638/stat; rm -rf /Users/db/.ansible/tmp/ansible-tmp-1410796147.26-214475586874638/ >/dev/null 2>&1'] | |
ok: [default -> 127.0.0.1] => {"changed": false, "stat": {"exists": false}} | |
TASK: [nginx | stat] ********************************************************** | |
<127.0.0.1> REMOTE_MODULE stat path=ssl-cert-snakeoil.key | |
<127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796147.48-227412985098278 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796147.48-227412985098278 && echo $HOME/.ansible/tmp/ansible-tmp-1410796147.48-227412985098278'] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpwGUS9m TO /Users/db/.ansible/tmp/ansible-tmp-1410796147.48-227412985098278/stat | |
<127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /Users/db/.ansible/tmp/ansible-tmp-1410796147.48-227412985098278/stat; rm -rf /Users/db/.ansible/tmp/ansible-tmp-1410796147.48-227412985098278/ >/dev/null 2>&1'] | |
ok: [default -> 127.0.0.1] => {"changed": false, "stat": {"exists": false}} | |
TASK: [nginx | copy ssl cert] ************************************************* | |
skipping: [default] | |
TASK: [nginx | copy ssl key] ************************************************** | |
skipping: [default] | |
TASK: [nginx | Removing default nginx config and restart (enabled)] *********** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/app/nginx/sites-enabled/default state=absent | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796147.66-61973829933399 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796147.66-61973829933399 && echo $HOME/.ansible/tmp/ansible-tmp-1410796147.66-61973829933399'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpAAUeyT TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.66-61973829933399/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=oivxotihsqjqvylajpblgsuxuanuvnik] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-oivxotihsqjqvylajpblgsuxuanuvnik; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.66-61973829933399/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.66-61973829933399/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "path": "/edx/app/nginx/sites-enabled/default", "state": "absent"} | |
TASK: [nginx | Set up nginx access log rotation] ****************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796147.82-128558058665194 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796147.82-128558058665194 && echo $HOME/.ansible/tmp/ansible-tmp-1410796147.82-128558058665194'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xiayumfughndebcijhqlmnnrlpoxevsk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xiayumfughndebcijhqlmnnrlpoxevsk; rc=0; [ -r "/etc/logrotate.d/nginx-access" ] || rc=2; [ -f "/etc/logrotate.d/nginx-access" ] || rc=1; [ -d "/etc/logrotate.d/nginx-access" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/logrotate.d/nginx-access 2>/dev/null) || (/sbin/md5sum -q /etc/logrotate.d/nginx-access 2>/dev/null) || (/usr/bin/digest -a md5 /etc/logrotate.d/nginx-access 2>/dev/null) || (/sbin/md5 -q /etc/logrotate.d/nginx-access 2>/dev/null) || (/usr/bin/md5 -n /etc/logrotate.d/nginx-access 2>/dev/null) || (/bin/md5 -q /etc/logrotate.d/nginx-access 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/logrotate.d/nginx-access 2>/dev/null) || (/bin/csum -h MD5 /etc/logrotate.d/nginx-access 2>/dev/null) || (echo "${rc} /etc/logrotate.d/nginx-access")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpGUvAPW TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.82-128558058665194/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpyCX9im TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.82-128558058665194/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qvzdjvfzxvitjxftptxicityvazibwam] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qvzdjvfzxvitjxftptxicityvazibwam; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.82-128558058665194/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796147.82-128558058665194/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/logrotate.d/nginx-access", "gid": 0, "group": "root", "md5sum": "0be179806b53e3147fd73e803dc265aa", "mode": "0644", "owner": "root", "size": 290, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796147.82-128558058665194/source", "state": "file", "uid": 0} | |
TASK: [nginx | Set up nginx access log rotation] ****************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796148.08-250754368316155 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796148.08-250754368316155 && echo $HOME/.ansible/tmp/ansible-tmp-1410796148.08-250754368316155'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rxpyjqcmtkayzgegckxdxxfuqtmkfxtv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rxpyjqcmtkayzgegckxdxxfuqtmkfxtv; rc=0; [ -r "/etc/logrotate.d/nginx-error" ] || rc=2; [ -f "/etc/logrotate.d/nginx-error" ] || rc=1; [ -d "/etc/logrotate.d/nginx-error" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/logrotate.d/nginx-error 2>/dev/null) || (/sbin/md5sum -q /etc/logrotate.d/nginx-error 2>/dev/null) || (/usr/bin/digest -a md5 /etc/logrotate.d/nginx-error 2>/dev/null) || (/sbin/md5 -q /etc/logrotate.d/nginx-error 2>/dev/null) || (/usr/bin/md5 -n /etc/logrotate.d/nginx-error 2>/dev/null) || (/bin/md5 -q /etc/logrotate.d/nginx-error 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/logrotate.d/nginx-error 2>/dev/null) || (/bin/csum -h MD5 /etc/logrotate.d/nginx-error 2>/dev/null) || (echo "${rc} /etc/logrotate.d/nginx-error")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp5UF4EK TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.08-250754368316155/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp4jiYGf TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.08-250754368316155/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zhosejqcraouyfrezrdpgpafnwkwtxrp] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zhosejqcraouyfrezrdpgpafnwkwtxrp; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.08-250754368316155/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.08-250754368316155/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/logrotate.d/nginx-error", "gid": 0, "group": "root", "md5sum": "01c2fac3547aceaaa98f649f3b170ea5", "mode": "0644", "owner": "root", "size": 288, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796148.08-250754368316155/source", "state": "file", "uid": 0} | |
TASK: [nginx | make sure nginx has started] *********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE service name=nginx state=started | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796148.3-131023864437672 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796148.3-131023864437672 && echo $HOME/.ansible/tmp/ansible-tmp-1410796148.3-131023864437672'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpQlNxEF TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.3-131023864437672/service | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ajhexwbvyitfxwxiyrzikkacafrhrwpn] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ajhexwbvyitfxwxiyrzikkacafrhrwpn; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.3-131023864437672/service; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.3-131023864437672/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "name": "nginx", "state": "started"} | |
TASK: [edxlocal | install packages needed for single server] ****************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=python-mysqldb,mysql-server-5.5,postfix install_recommends=yes state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796148.52-49809371978178 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796148.52-49809371978178 && echo $HOME/.ansible/tmp/ansible-tmp-1410796148.52-49809371978178'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp3qvT1b TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.52-49809371978178/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mgqaoxdcqzxavndhpravumywfldluyus] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mgqaoxdcqzxavndhpravumywfldluyus; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.52-49809371978178/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796148.52-49809371978178/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18\n libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5\n mysql-client-core-5.5 mysql-common mysql-server-core-5.5 ssl-cert\nSuggested packages:\n libipc-sharedcache-perl tinyca mailx procmail postfix-mysql postfix-pgsql\n postfix-ldap postfix-pcre sasl2-bin dovecot-common postfix-cdb mail-reader\n postfix-doc python-egenix-mxdatetime mysql-server-5.1 mysql-server\n python-mysqldb-dbg openssl-blacklist\nThe following NEW packages will be installed:\n libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18\n libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5\n mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5\n postfix python-mysqldb ssl-cert\n0 upgraded, 15 newly installed, 0 to remove and 165 not upgraded.\nNeed to get 28.7 MB of archives.\nAfter this operation, 101 MB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.38-0ubuntu0.12.04.1 [13.2 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libmysqlclient18 amd64 5.5.38-0ubuntu0.12.04.1 [949 kB]\nGet:3 http://us.archive.ubuntu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB]\nGet:4 http://us.archive.ubuntu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu/ precise/main libdbi-perl amd64 1.616-1build2 [849 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl amd64 4.020-1build2 [106 kB]\nGet:7 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 amd64 5.5.38-0ubuntu0.12.04.1 [1,941 kB]\nGet:8 http://us.archive.ubuntu.com/ubuntu/ precise/main libterm-readkey-perl amd64 2.30-4build3 [28.6 kB]\nGet:9 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-5.5 amd64 5.5.38-0ubuntu0.12.04.1 [8,342 kB]\nGet:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-core-5.5 amd64 5.5.38-0ubuntu0.12.04.1 [6,090 kB]\nGet:11 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-5.5 amd64 5.5.38-0ubuntu0.12.04.1 [8,834 kB]\nGet:12 http://us.archive.ubuntu.com/ubuntu/ precise/main libhtml-template-perl all 2.10-1 [65.0 kB]\nGet:13 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main ssl-cert all 1.0.28ubuntu0.1 [12.3 kB]\nGet:14 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main postfix amd64 2.9.6-1~12.04.2 [1,318 kB]\nGet:15 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python-mysqldb amd64 1.2.3-1ubuntu0.1 [64.0 kB]\nPreconfiguring packages ...\nFetched 28.7 MB in 1s (16.4 MB/s)\nSelecting previously unselected package mysql-common.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 76180 files and directories currently installed.)\r\nUnpacking mysql-common (from .../mysql-common_5.5.38-0ubuntu0.12.04.1_all.deb) ...\r\nSelecting previously unselected package libmysqlclient18.\r\nUnpacking libmysqlclient18 (from .../libmysqlclient18_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...\r\nSelecting previously unselected package libnet-daemon-perl.\r\nUnpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...\r\nSelecting previously unselected package libplrpc-perl.\r\nUnpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...\r\nSelecting previously unselected package libdbi-perl.\r\nUnpacking libdbi-perl (from .../libdbi-perl_1.616-1build2_amd64.deb) ...\r\nSelecting previously unselected package libdbd-mysql-perl.\r\nUnpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.020-1build2_amd64.deb) ...\r\nSelecting previously unselected package mysql-client-core-5.5.\r\nUnpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...\r\nSelecting previously unselected package libterm-readkey-perl.\r\nUnpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build3_amd64.deb) ...\r\nSelecting previously unselected package mysql-client-5.5.\r\nUnpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...\r\nSelecting previously unselected package mysql-server-core-5.5.\r\nUnpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...\r\nProcessing triggers for man-db ...\r\nSetting up mysql-common (5.5.38-0ubuntu0.12.04.1) ...\r\nSelecting previously unselected package mysql-server-5.5.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 76558 files and directories currently installed.)\r\nUnpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...\r\nSelecting previously unselected package libhtml-template-perl.\r\nUnpacking libhtml-template-perl (from .../libhtml-template-perl_2.10-1_all.deb) ...\r\nSelecting previously unselected package ssl-cert.\r\nUnpacking ssl-cert (from .../ssl-cert_1.0.28ubuntu0.1_all.deb) ...\r\nSelecting previously unselected package postfix.\r\nUnpacking postfix (from .../postfix_2.9.6-1~12.04.2_amd64.deb) ...\r\nSelecting previously unselected package python-mysqldb.\r\nUnpacking python-mysqldb (from .../python-mysqldb_1.2.3-1ubuntu0.1_amd64.deb) ...\r\nProcessing triggers for man-db ...\r\nProcessing triggers for ureadahead ...\r\nProcessing triggers for ufw ...\r\nSetting up libmysqlclient18 (5.5.38-0ubuntu0.12.04.1) ...\r\nSetting up libnet-daemon-perl (0.48-1) ...\r\nSetting up libplrpc-perl (0.2020-2) ...\r\nSetting up libdbi-perl (1.616-1build2) ...\r\nSetting up libdbd-mysql-perl (4.020-1build2) ...\r\nSetting up mysql-client-core-5.5 (5.5.38-0ubuntu0.12.04.1) ...\r\nSetting up libterm-readkey-perl (2.30-4build3) ...\r\nSetting up mysql-client-5.5 (5.5.38-0ubuntu0.12.04.1) ...\r\nSetting up mysql-server-core-5.5 (5.5.38-0ubuntu0.12.04.1) ...\r\nSetting up mysql-server-5.5 (5.5.38-0ubuntu0.12.04.1) ...\r\nmysql start/running, process 18904\r\nSetting up libhtml-template-perl (2.10-1) ...\r\nSetting up ssl-cert (1.0.28ubuntu0.1) ...\r\nSetting up postfix (2.9.6-1~12.04.2) ...\r\nAdding group `postfix' (GID 114) ...\r\nDone.\r\nAdding system user `postfix' (UID 107) ...\r\nAdding new user `postfix' (UID 107) with group `postfix' ...\r\nNot creating home directory `/var/spool/postfix'.\r\nCreating /etc/postfix/dynamicmaps.cf\r\nAdding tcp map entry to /etc/postfix/dynamicmaps.cf\r\nAdding sqlite map entry to /etc/postfix/dynamicmaps.cf\r\nAdding group `postdrop' (GID 115) ...\r\nDone.\r\nsetting myhostname: precise64\r\nsetting alias maps\r\nsetting alias database\r\nmailname is not a fully qualified domain name. Not changing /etc/mailname.\r\nsetting destinations: precise64, localhost.localdomain, , localhost\r\nsetting relayhost: \r\nsetting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128\r\nsetting mailbox_size_limit: 0\r\nsetting recipient_delimiter: +\r\nsetting inet_interfaces: all\r\n/etc/aliases does not exist, creating it.\r\nWARNING: /etc/aliases exists, but does not have a root alias.\r\n\r\nPostfix is now set up with a default configuration. If you need to make \r\nchanges, edit\r\n/etc/postfix/main.cf (and others) as needed. To view Postfix configuration\r\nvalues, see postconf(1).\r\n\r\nAfter modifying main.cf, be sure to run '/etc/init.d/postfix reload'.\r\n\r\nRunning newaliases\r\n * Stopping Postfix Mail Transport Agent postfix \u001b[80G \r\u001b[74G[ OK ]\r\n * Starting Postfix Mail Transport Agent postfix \u001b[80G \r\u001b[74G[ OK ]\r\nSetting up python-mysqldb (1.2.3-1ubuntu0.1) ...\r\nProcessing triggers for libc-bin ...\r\nldconfig deferred processing now taking place\r\n"} | |
TASK: [edxlocal | setup the edxapp db user] *********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=edxapp001 password=VALUE_HIDDEN priv='edxapp.*:ALL' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796174.09-201810096137004 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796174.09-201810096137004 && echo $HOME/.ansible/tmp/ansible-tmp-1410796174.09-201810096137004'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpt38ZmF TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.09-201810096137004/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rpvqfdviotkortftskxprhmwymviwjns] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rpvqfdviotkortftskxprhmwymviwjns; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.09-201810096137004/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.09-201810096137004/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "user": "edxapp001"} | |
TASK: [edxlocal | create a database for edxapp] ******************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_db db=edxapp state=present encoding=utf8 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796174.26-82859790494881 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796174.26-82859790494881 && echo $HOME/.ansible/tmp/ansible-tmp-1410796174.26-82859790494881'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpCzLDCV TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.26-82859790494881/mysql_db | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bfeumipyqoalhkxpidwhaysadferivjo] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bfeumipyqoalhkxpidwhaysadferivjo; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.26-82859790494881/mysql_db; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.26-82859790494881/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "db": "edxapp"} | |
TASK: [edxlocal | setup the xqueue db user] *********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=xqueue001 password=VALUE_HIDDEN priv='xqueue.*:ALL' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796174.43-171549110149467 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796174.43-171549110149467 && echo $HOME/.ansible/tmp/ansible-tmp-1410796174.43-171549110149467'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmps6D5yo TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.43-171549110149467/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=cnmhhaunnskraywzklodgeurudphzzye] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-cnmhhaunnskraywzklodgeurudphzzye; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.43-171549110149467/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.43-171549110149467/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "user": "xqueue001"} | |
TASK: [edxlocal | create a database for xqueue] ******************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_db db=xqueue state=present encoding=utf8 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796174.61-161307952584243 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796174.61-161307952584243 && echo $HOME/.ansible/tmp/ansible-tmp-1410796174.61-161307952584243'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpKlXZzo TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.61-161307952584243/mysql_db | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qnzkxhfylvzfyesypbpbxjdekopyppgf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qnzkxhfylvzfyesypbpbxjdekopyppgf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.61-161307952584243/mysql_db; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.61-161307952584243/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "db": "xqueue"} | |
TASK: [edxlocal | setup the ora db user] ************************************** | |
skipping: [default] | |
TASK: [edxlocal | create a database for ora] ********************************** | |
skipping: [default] | |
TASK: [edxlocal | create databases for analytics api] ************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_db db=analytics-api state=present encoding=utf8 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796174.83-90055696067976 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796174.83-90055696067976 && echo $HOME/.ansible/tmp/ansible-tmp-1410796174.83-90055696067976'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpajMEsY TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.83-90055696067976/mysql_db | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=uvgeatkwyrzzxvpsgoklqszqnysgcgnd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-uvgeatkwyrzzxvpsgoklqszqnysgcgnd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.83-90055696067976/mysql_db; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796174.83-90055696067976/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=analytics-api) => {"changed": true, "db": "analytics-api", "item": "analytics-api"} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_db db=reports state=present encoding=utf8 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796175.0-97185879518186 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796175.0-97185879518186 && echo $HOME/.ansible/tmp/ansible-tmp-1410796175.0-97185879518186'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpo_33PT TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.0-97185879518186/mysql_db | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yghqxqkaaphjntviytesnrupsmxekjzc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yghqxqkaaphjntviytesnrupsmxekjzc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.0-97185879518186/mysql_db; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.0-97185879518186/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=reports) => {"changed": true, "db": "reports", "item": "reports"} | |
TASK: [edxlocal | create api user for the analytics api] ********************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=api001 password=VALUE_HIDDEN priv='analytics-api.*:ALL/reports.*:SELECT' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796175.19-109881940321668 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796175.19-109881940321668 && echo $HOME/.ansible/tmp/ansible-tmp-1410796175.19-109881940321668'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpInMAZM TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.19-109881940321668/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hyplewqtqjfzaywcaujfukeixftyvsuf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hyplewqtqjfzaywcaujfukeixftyvsuf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.19-109881940321668/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.19-109881940321668/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "user": "api001"} | |
TASK: [edxlocal | create read-only reports user for the analytics-api] ******** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=reports001 password=VALUE_HIDDEN priv='reports.*:SELECT' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796175.38-129543200160967 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796175.38-129543200160967 && echo $HOME/.ansible/tmp/ansible-tmp-1410796175.38-129543200160967'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmplarxAs TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.38-129543200160967/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bwegptonhyxduqzmxeamqhqrestckpou] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bwegptonhyxduqzmxeamqhqrestckpou; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.38-129543200160967/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.38-129543200160967/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "user": "reports001"} | |
TASK: [edxlocal | setup the migration db user] ******************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=migrate password=VALUE_HIDDEN priv='edxapp.*:ALL' append_privs=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796175.56-33877347562494 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796175.56-33877347562494 && echo $HOME/.ansible/tmp/ansible-tmp-1410796175.56-33877347562494'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpFVwpbl TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.56-33877347562494/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tvytbmzavfjrmgmanekldgkmsdofxjjj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tvytbmzavfjrmgmanekldgkmsdofxjjj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.56-33877347562494/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.56-33877347562494/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=edxapp) => {"changed": true, "item": "edxapp", "user": "migrate"} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=migrate password=VALUE_HIDDEN priv='xqueue.*:ALL' append_privs=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796175.72-219185215253440 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796175.72-219185215253440 && echo $HOME/.ansible/tmp/ansible-tmp-1410796175.72-219185215253440'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpARLLbZ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.72-219185215253440/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=owqnltzzufyoalcfdsahzgfnxlrnvedg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-owqnltzzufyoalcfdsahzgfnxlrnvedg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.72-219185215253440/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.72-219185215253440/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=xqueue) => {"changed": true, "item": "xqueue", "user": "migrate"} | |
skipping: [default] => (item=None) | |
TASK: [edxlocal | setup the migration db user for analytics] ****************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=migrate password=VALUE_HIDDEN priv='analytics-api.*:ALL' append_privs=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796175.91-81181418005507 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796175.91-81181418005507 && echo $HOME/.ansible/tmp/ansible-tmp-1410796175.91-81181418005507'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmptf1cY0 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.91-81181418005507/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=uutwzowrlrxtlbmtfhxcelsacdhgevgw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-uutwzowrlrxtlbmtfhxcelsacdhgevgw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.91-81181418005507/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796175.91-81181418005507/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=analytics-api) => {"changed": true, "item": "analytics-api", "user": "migrate"} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=migrate password=VALUE_HIDDEN priv='reports.*:ALL' append_privs=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796176.08-200435502646930 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796176.08-200435502646930 && echo $HOME/.ansible/tmp/ansible-tmp-1410796176.08-200435502646930'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpGNPZYF TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.08-200435502646930/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ehtfyajbeedubrkhxfbtjanjxulxavyg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ehtfyajbeedubrkhxfbtjanjxulxavyg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.08-200435502646930/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.08-200435502646930/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=reports) => {"changed": true, "item": "reports", "user": "migrate"} | |
TASK: [edxlocal | setup the read-only db user] ******************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=read_only password=VALUE_HIDDEN priv='*.*:ALL' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796176.25-259706381217275 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796176.25-259706381217275 && echo $HOME/.ansible/tmp/ansible-tmp-1410796176.25-259706381217275'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp8_kZd0 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.25-259706381217275/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bzjknlzzhelgqvaglqmcyxgnecgxbzeb] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bzjknlzzhelgqvaglqmcyxgnecgxbzeb; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.25-259706381217275/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.25-259706381217275/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "user": "read_only"} | |
TASK: [edxlocal | setup the admin db user] ************************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE mysql_user name=admin password=VALUE_HIDDEN priv='*.*:CREATE USER' | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796176.42-99870341727313 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796176.42-99870341727313 && echo $HOME/.ansible/tmp/ansible-tmp-1410796176.42-99870341727313'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpiycNgz TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.42-99870341727313/mysql_user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ffrftznhgmfdvjsxxhpnbvdgiyjpobpt] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ffrftznhgmfdvjsxxhpnbvdgiyjpobpt; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.42-99870341727313/mysql_user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.42-99870341727313/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "user": "admin"} | |
TASK: [edxlocal | install memcached] ****************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=memcached state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796176.6-232143132565100 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796176.6-232143132565100 && echo $HOME/.ansible/tmp/ansible-tmp-1410796176.6-232143132565100'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpECrSvL TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.6-232143132565100/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=waxcceqnjgolngczjbngobpyzntfzjpr] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-waxcceqnjgolngczjbngobpyzntfzjpr; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.6-232143132565100/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796176.6-232143132565100/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSuggested packages:\n libcache-memcached-perl libmemcached\nThe following NEW packages will be installed:\n memcached\n0 upgraded, 1 newly installed, 0 to remove and 165 not upgraded.\nNeed to get 75.1 kB of archives.\nAfter this operation, 228 kB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main memcached amd64 1.4.13-0ubuntu2.1 [75.1 kB]\nFetched 75.1 kB in 0s (1,969 kB/s)\nSelecting previously unselected package memcached.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 76903 files and directories currently installed.)\r\nUnpacking memcached (from .../memcached_1.4.13-0ubuntu2.1_amd64.deb) ...\r\nProcessing triggers for man-db ...\r\nProcessing triggers for ureadahead ...\r\nSetting up memcached (1.4.13-0ubuntu2.1) ...\r\nStarting memcached: memcached.\r\n"} | |
TASK: [mongo | install python pymongo for mongo_user ansible module] ********** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name=pymongo state=present version=2.6.3 extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796180.29-125842725070874 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796180.29-125842725070874 && echo $HOME/.ansible/tmp/ansible-tmp-1410796180.29-125842725070874'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpkmXpro TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796180.29-125842725070874/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=iynojdqegnpblftdtoaexsnbmuwkmhzb] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-iynojdqegnpblftdtoaexsnbmuwkmhzb; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796180.29-125842725070874/pip; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796180.29-125842725070874/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "cmd": "/usr/local/bin/pip install -i https://pypi.python.org/simple pymongo==2.6.3", "name": "pymongo", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking pymongo==2.6.3\n Running setup.py (path:/tmp/pip_build_root/pymongo/setup.py) egg_info for package pymongo\n \nInstalling collected packages: pymongo\n Running setup.py install for pymongo\n building 'bson._cbson' extension\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c bson/_cbsonmodule.c -o build/temp.linux-x86_64-2.7/bson/_cbsonmodule.o\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c bson/time64.c -o build/temp.linux-x86_64-2.7/bson/time64.o\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c bson/buffer.c -o build/temp.linux-x86_64-2.7/bson/buffer.o\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c bson/encoding_helpers.c -o build/temp.linux-x86_64-2.7/bson/encoding_helpers.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/bson/_cbsonmodule.o build/temp.linux-x86_64-2.7/bson/time64.o build/temp.linux-x86_64-2.7/bson/buffer.o build/temp.linux-x86_64-2.7/bson/encoding_helpers.o -o build/lib.linux-x86_64-2.7/bson/_cbson.so\n building 'pymongo._cmessage' extension\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c pymongo/_cmessagemodule.c -o build/temp.linux-x86_64-2.7/pymongo/_cmessagemodule.o\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ibson -I/usr/include/python2.7 -c bson/buffer.c -o build/temp.linux-x86_64-2.7/bson/buffer.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/pymongo/_cmessagemodule.o build/temp.linux-x86_64-2.7/bson/buffer.o -o build/lib.linux-x86_64-2.7/pymongo/_cmessage.so\n \nSuccessfully installed pymongo\nCleaning up...\n", "version": "2.6.3", "virtualenv": null} | |
TASK: [mongo | add the mongodb signing key] *********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt_key id=7F0CEB10 url=http://docs.mongodb.org/10gen-gpg-key.asc state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796182.75-105900513944935 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796182.75-105900513944935 && echo $HOME/.ansible/tmp/ansible-tmp-1410796182.75-105900513944935'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmptPrpaW TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796182.75-105900513944935/apt_key | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hfdgurmzqwaekbteweozqatfdantdowi] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hfdgurmzqwaekbteweozqatfdantdowi; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796182.75-105900513944935/apt_key; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796182.75-105900513944935/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true} | |
TASK: [mongo | add the mongodb repo to the sources list] ********************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt_repository repo='deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796183.07-215775118905438 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796183.07-215775118905438 && echo $HOME/.ansible/tmp/ansible-tmp-1410796183.07-215775118905438'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpFQh63a TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796183.07-215775118905438/apt_repository | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=pvoisppqtojoshcvafrzftgkezmunayj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-pvoisppqtojoshcvafrzftgkezmunayj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796183.07-215775118905438/apt_repository; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796183.07-215775118905438/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "repo": "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen", "state": "present"} | |
TASK: [mongo | install mongo server and recommends] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=mongodb-10gen=2.4.7 state=present install_recommends=yes force=yes update_cache=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796187.98-42119125619563 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796187.98-42119125619563 && echo $HOME/.ansible/tmp/ansible-tmp-1410796187.98-42119125619563'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp_d7UMw TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796187.98-42119125619563/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=azjvkaxdarmuoihfndfevyqxkkurlcjz] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-azjvkaxdarmuoihfndfevyqxkkurlcjz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796187.98-42119125619563/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796187.98-42119125619563/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n mongodb-10gen\n0 upgraded, 1 newly installed, 0 to remove and 165 not upgraded.\nNeed to get 87.9 MB of archives.\nAfter this operation, 225 MB of additional disk space will be used.\nGet:1 http://downloads-distro.mongodb.org/repo/ubuntu-upstart/ dist/10gen mongodb-10gen amd64 2.4.7 [87.9 MB]\nFetched 87.9 MB in 14s (6,019 kB/s)\nSelecting previously unselected package mongodb-10gen.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 76921 files and directories currently installed.)\r\nUnpacking mongodb-10gen (from .../mongodb-10gen_2.4.7_amd64.deb) ...\r\nProcessing triggers for man-db ...\r\nProcessing triggers for ureadahead ...\r\nSetting up mongodb-10gen (2.4.7) ...\r\nAdding system user `mongodb' (UID 109) ...\r\nAdding new user `mongodb' (UID 109) with group `nogroup' ...\r\nNot creating home directory `/home/mongodb'.\r\nAdding group `mongodb' (GID 117) ...\r\nDone.\r\nAdding user `mongodb' to group `mongodb' ...\r\nAdding user mongodb to group mongodb\r\nDone.\r\nmongodb start/running, process 20245\r\n"} | |
TASK: [mongo | create mongo dirs] ********************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/mongo" state=directory owner="mongodb" group="mongodb" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796215.14-90607344376136 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796215.14-90607344376136 && echo $HOME/.ansible/tmp/ansible-tmp-1410796215.14-90607344376136'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpRbcm0q TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.14-90607344376136/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=uysgrqoabapjaifvxdtmmiexwoucrnsn] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-uysgrqoabapjaifvxdtmmiexwoucrnsn; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.14-90607344376136/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.14-90607344376136/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/mongo) => {"changed": true, "gid": 117, "group": "mongodb", "item": "/edx/var/mongo", "mode": "0755", "owner": "mongodb", "path": "/edx/var/mongo", "size": 4096, "state": "directory", "uid": 109} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/mongo/mongodb" state=directory owner="mongodb" group="mongodb" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796215.32-259128228425477 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796215.32-259128228425477 && echo $HOME/.ansible/tmp/ansible-tmp-1410796215.32-259128228425477'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpktGfLf TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.32-259128228425477/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=kvvpobwgnwwuxeksvflkubugkcxhyfwt] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-kvvpobwgnwwuxeksvflkubugkcxhyfwt; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.32-259128228425477/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.32-259128228425477/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/mongo/mongodb) => {"changed": true, "gid": 117, "group": "mongodb", "item": "/edx/var/mongo/mongodb", "mode": "0755", "owner": "mongodb", "path": "/edx/var/mongo/mongodb", "size": 4096, "state": "directory", "uid": 109} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/log/mongo" state=directory owner="mongodb" group="mongodb" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796215.48-27025393906440 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796215.48-27025393906440 && echo $HOME/.ansible/tmp/ansible-tmp-1410796215.48-27025393906440'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpmt4x7H TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.48-27025393906440/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=lcuzawutdffebrmjrdduzeneburtvplk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-lcuzawutdffebrmjrdduzeneburtvplk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.48-27025393906440/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.48-27025393906440/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/log/mongo) => {"changed": true, "gid": 117, "group": "mongodb", "item": "/edx/var/log/mongo", "mode": "0755", "owner": "mongodb", "path": "/edx/var/log/mongo", "size": 4096, "state": "directory", "uid": 109} | |
TASK: [mongo | stop mongo service] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE service name=mongodb state=stopped | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796215.64-53554324808481 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796215.64-53554324808481 && echo $HOME/.ansible/tmp/ansible-tmp-1410796215.64-53554324808481'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpD6NpfF TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.64-53554324808481/service | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qygavmvfgahxfcstspqzthcwerfbwkhm] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qygavmvfgahxfcstspqzthcwerfbwkhm; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.64-53554324808481/service; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.64-53554324808481/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "name": "mongodb", "state": "stopped"} | |
TASK: [mongo | move mongodb to {{ mongo_data_dir }}] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command mv /var/lib/mongodb /edx/var/mongo/. creates=/edx/var/mongo/mongodb | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796215.86-47290316891952 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796215.86-47290316891952 && echo $HOME/.ansible/tmp/ansible-tmp-1410796215.86-47290316891952'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpuE1ntt TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.86-47290316891952/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=nejloiooojvjuemxqymluuoioputbwof] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-nejloiooojvjuemxqymluuoioputbwof; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.86-47290316891952/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796215.86-47290316891952/ >/dev/null 2>&1\'"\'"\'\''] | |
skipping: [default] | |
TASK: [mongo | copy mongodb key file] ***************************************** | |
skipping: [default] | |
TASK: [mongo | copy configuration template] *********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796216.02-241906738004610 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796216.02-241906738004610 && echo $HOME/.ansible/tmp/ansible-tmp-1410796216.02-241906738004610'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bbyrxthvyduskvllkwxbjpgdwjcgyrdl] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bbyrxthvyduskvllkwxbjpgdwjcgyrdl; rc=0; [ -r "/etc/mongodb.conf" ] || rc=2; [ -f "/etc/mongodb.conf" ] || rc=1; [ -d "/etc/mongodb.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/mongodb.conf 2>/dev/null) || (/sbin/md5sum -q /etc/mongodb.conf 2>/dev/null) || (/usr/bin/digest -a md5 /etc/mongodb.conf 2>/dev/null) || (/sbin/md5 -q /etc/mongodb.conf 2>/dev/null) || (/usr/bin/md5 -n /etc/mongodb.conf 2>/dev/null) || (/bin/md5 -q /etc/mongodb.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/mongodb.conf 2>/dev/null) || (/bin/csum -h MD5 /etc/mongodb.conf 2>/dev/null) || (echo "${rc} /etc/mongodb.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpwKZRst TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.02-241906738004610/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpKtQoQs TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.02-241906738004610/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=cnapoevcqssnizmsjkiotrtezvtpnipi] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-cnapoevcqssnizmsjkiotrtezvtpnipi; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.02-241906738004610/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.02-241906738004610/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"backup_file": "/etc/mongodb.conf.2014-09-15@15:50~", "changed": true, "dest": "/etc/mongodb.conf", "gid": 0, "group": "root", "md5sum": "82c40c11a76724c5241603dee5c5745d", "mode": "0644", "owner": "root", "size": 2034, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796216.02-241906738004610/source", "state": "file", "uid": 0} | |
TASK: [mongo | start mongo service] ******************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE service name=mongodb state=started | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796216.31-52149683911633 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796216.31-52149683911633 && echo $HOME/.ansible/tmp/ansible-tmp-1410796216.31-52149683911633'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpk2FpoP TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.31-52149683911633/service | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=nkvltmsdruunsbuzjrkjjunnjlkugggw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-nkvltmsdruunsbuzjrkjjunnjlkugggw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.31-52149683911633/service; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.31-52149683911633/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "name": "mongodb", "state": "started"} | |
TASK: [mongo | wait for mongo server to start] ******************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE wait_for port=27017 delay=2 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796216.57-54074399752888 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796216.57-54074399752888 && echo $HOME/.ansible/tmp/ansible-tmp-1410796216.57-54074399752888'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpqIiHk4 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.57-54074399752888/wait_for | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mjvdotrxmneymrzxktvcandumjgplciy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mjvdotrxmneymrzxktvcandumjgplciy; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.57-54074399752888/wait_for; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796216.57-54074399752888/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "elapsed": 17, "path": null, "port": 27017, "search_regex": null, "state": "started"} | |
TASK: [mongo | Create the file to initialize the mongod replica set] ********** | |
skipping: [default] | |
TASK: [mongo | Initialize the replication set] ******************************** | |
skipping: [default] | |
TASK: [mongo | create a mongodb user] ***************************************** | |
skipping: [default] => (item={'password': 'password', 'user': 'cs_comments_service', 'database': 'cs_comments_service'}) | |
skipping: [default] => (item={'password': 'password', 'user': 'edxapp', 'database': 'edxapp'}) | |
TASK: [mongo | install s3cmd] ************************************************* | |
skipping: [default] | |
TASK: [mongo | configure s3cmd] *********************************************** | |
skipping: [default] | |
TASK: [mongo | install backup-mongo-to-s3 script] ***************************** | |
skipping: [default] | |
TASK: [mongo | schedule backup-mongo-to-3s crontab] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE cron name="backup-mongo-to-s3" job="/edx/bin/backup-mongo-to-s3.sh" backup=yes cron_file=backup-mongo-to-s3 user=root hour="*/12" minute="0" day="*" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796234.88-83730574425307 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796234.88-83730574425307 && echo $HOME/.ansible/tmp/ansible-tmp-1410796234.88-83730574425307'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpd7Gzxl TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796234.88-83730574425307/cron | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xyfkeompppxxrzbqarpvbfixspzwpdrj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xyfkeompppxxrzbqarpvbfixspzwpdrj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796234.88-83730574425307/cron; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796234.88-83730574425307/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"backup_file": "/tmp/crontab2O_snF", "changed": true, "cron_file": "backup-mongo-to-s3", "jobs": ["backup-mongo-to-s3"]} | |
TASK: [supervisor | create application user] ********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name="supervisor" createhome=no shell=/bin/false | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796235.19-51807807437126 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796235.19-51807807437126 && echo $HOME/.ansible/tmp/ansible-tmp-1410796235.19-51807807437126'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpe_5nF4 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796235.19-51807807437126/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=dddbkjyrpkyqwzwbtqztpbtfovhkpbqd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-dddbkjyrpkyqwzwbtqztpbtfovhkpbqd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796235.19-51807807437126/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796235.19-51807807437126/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "comment": "", "createhome": false, "group": 1005, "home": "/home/supervisor", "name": "supervisor", "shell": "/bin/false", "state": "present", "system": false, "uid": 1002} | |
TASK: [supervisor | create supervisor service user] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name="www-data" createhome=no shell=/bin/false | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796235.54-215094457700496 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796235.54-215094457700496 && echo $HOME/.ansible/tmp/ansible-tmp-1410796235.54-215094457700496'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpCcpYOy TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796235.54-215094457700496/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wuikdmwemkkonqkphcxhnswbcekkakry] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wuikdmwemkkonqkphcxhnswbcekkakry; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796235.54-215094457700496/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796235.54-215094457700496/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"append": false, "changed": false, "comment": "www-data", "group": 33, "home": "/var/www", "move_home": false, "name": "www-data", "shell": "/bin/false", "state": "present", "uid": 33} | |
TASK: [supervisor | create supervisor directories] **************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/app/supervisor state=directory owner=supervisor group=www-data mode="755" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796235.82-46093305145405 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796235.82-46093305145405 && echo $HOME/.ansible/tmp/ansible-tmp-1410796235.82-46093305145405'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpl4VFrB TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796235.82-46093305145405/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zqsmpnoccrvaqzzzpfiwmfogmkrdshvl] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zqsmpnoccrvaqzzzpfiwmfogmkrdshvl; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796235.82-46093305145405/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796235.82-46093305145405/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/supervisor) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/supervisor", "mode": "0755", "owner": "supervisor", "path": "/edx/app/supervisor", "size": 4096, "state": "directory", "uid": 1002} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/app/supervisor/venvs/supervisor state=directory owner=supervisor group=www-data mode="755" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796236.33-129191675494248 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796236.33-129191675494248 && echo $HOME/.ansible/tmp/ansible-tmp-1410796236.33-129191675494248'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp7gB0_e TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796236.33-129191675494248/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zlgrqiapnlnssvwmmcqpmslohxsgbada] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zlgrqiapnlnssvwmmcqpmslohxsgbada; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796236.33-129191675494248/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796236.33-129191675494248/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/supervisor/venvs/supervisor) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/supervisor/venvs/supervisor", "mode": "0755", "owner": "supervisor", "path": "/edx/app/supervisor/venvs/supervisor", "size": 4096, "state": "directory", "uid": 1002} | |
TASK: [supervisor | create service user accessible dirs] ********************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/app/supervisor/conf.d state=directory owner=supervisor group=www-data mode="775" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796236.95-43852408902047 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796236.95-43852408902047 && echo $HOME/.ansible/tmp/ansible-tmp-1410796236.95-43852408902047'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp78ywdC TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796236.95-43852408902047/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jwalyswwjepmfqwozqawvntuorynkcsc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jwalyswwjepmfqwozqawvntuorynkcsc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796236.95-43852408902047/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796236.95-43852408902047/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/supervisor/conf.d) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/supervisor/conf.d", "mode": "0775", "owner": "supervisor", "path": "/edx/app/supervisor/conf.d", "size": 4096, "state": "directory", "uid": 1002} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/app/supervisor/conf.available.d state=directory owner=supervisor group=www-data mode="775" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796237.22-143036778556869 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796237.22-143036778556869 && echo $HOME/.ansible/tmp/ansible-tmp-1410796237.22-143036778556869'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpDEnV73 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796237.22-143036778556869/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zfonpsikboionllgaamsdrrfkvrpzldo] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zfonpsikboionllgaamsdrrfkvrpzldo; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796237.22-143036778556869/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796237.22-143036778556869/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/supervisor/conf.available.d) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/supervisor/conf.available.d", "mode": "0775", "owner": "supervisor", "path": "/edx/app/supervisor/conf.available.d", "size": 4096, "state": "directory", "uid": 1002} | |
TASK: [supervisor | create supervisor directories] **************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/var/supervisor state=directory owner=www-data group=supervisor | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796237.43-239473357104240 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796237.43-239473357104240 && echo $HOME/.ansible/tmp/ansible-tmp-1410796237.43-239473357104240'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpZZzDYO TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796237.43-239473357104240/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vmvrxtcctzvnocxwfwvlbgxcpamewafq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vmvrxtcctzvnocxwfwvlbgxcpamewafq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796237.43-239473357104240/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796237.43-239473357104240/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/supervisor) => {"changed": true, "gid": 1005, "group": "supervisor", "item": "/edx/var/supervisor", "mode": "0755", "owner": "www-data", "path": "/edx/var/supervisor", "size": 4096, "state": "directory", "uid": 33} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/var/log/supervisor state=directory owner=www-data group=supervisor | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796237.69-252676329437891 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796237.69-252676329437891 && echo $HOME/.ansible/tmp/ansible-tmp-1410796237.69-252676329437891'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpITzimr TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796237.69-252676329437891/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tmkhhmirdwmtkbidniigaymuibcvamcu] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tmkhhmirdwmtkbidniigaymuibcvamcu; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796237.69-252676329437891/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796237.69-252676329437891/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/log/supervisor) => {"changed": true, "gid": 1005, "group": "supervisor", "item": "/edx/var/log/supervisor", "mode": "0755", "owner": "www-data", "path": "/edx/var/log/supervisor", "size": 4096, "state": "directory", "uid": 33} | |
TASK: [supervisor | install supervisor in its venv] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name=supervisor virtualenv="/edx/app/supervisor/venvs/supervisor" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796238.2-197453283523688 && chmod a+rx /tmp/ansible-tmp-1410796238.2-197453283523688 && echo /tmp/ansible-tmp-1410796238.2-197453283523688'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpgFCNG_ TO /tmp/ansible-tmp-1410796238.2-197453283523688/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796238.2-197453283523688/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=fvczeylueqkxloekzssjhsgooyrqcror] password: " -u supervisor /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-fvczeylueqkxloekzssjhsgooyrqcror; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796238.2-197453283523688/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796238.2-197453283523688/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": "/edx/app/supervisor/venvs/supervisor/bin/pip install -i https://pypi.python.org/simple supervisor", "name": "supervisor", "requirements": null, "state": "present", "stderr": "", "stdout": "New python executable in /edx/app/supervisor/venvs/supervisor/bin/python\nInstalling setuptools, pip...done.\nDownloading/unpacking supervisor\n Running setup.py (path:/edx/app/supervisor/venvs/supervisor/build/supervisor/setup.py) egg_info for package supervisor\n \n warning: no previously-included files matching '*' found under directory 'docs/.build'\nDownloading/unpacking meld3>=0.6.5 (from supervisor)\n Downloading meld3-1.0.0.tar.gz\n Running setup.py (path:/edx/app/supervisor/venvs/supervisor/build/meld3/setup.py) egg_info for package meld3\n \nInstalling collected packages: supervisor, meld3\n Running setup.py install for supervisor\n \n warning: no previously-included files matching '*' found under directory 'docs/.build'\n Skipping installation of /edx/app/supervisor/venvs/supervisor/lib/python2.7/site-packages/supervisor/__init__.py (namespace package)\n Installing /edx/app/supervisor/venvs/supervisor/lib/python2.7/site-packages/supervisor-3.1.2-py2.7-nspkg.pth\n Installing echo_supervisord_conf script to /edx/app/supervisor/venvs/supervisor/bin\n Installing pidproxy script to /edx/app/supervisor/venvs/supervisor/bin\n Installing supervisorctl script to /edx/app/supervisor/venvs/supervisor/bin\n Installing supervisord script to /edx/app/supervisor/venvs/supervisor/bin\n Running setup.py install for meld3\n \nSuccessfully installed supervisor meld3\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/supervisor/venvs/supervisor"} | |
TASK: [supervisor | install supervisor in its venv] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name=boto virtualenv="/edx/app/supervisor/venvs/supervisor" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796242.87-6158929479713 && chmod a+rx /tmp/ansible-tmp-1410796242.87-6158929479713 && echo /tmp/ansible-tmp-1410796242.87-6158929479713'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpMRt73Q TO /tmp/ansible-tmp-1410796242.87-6158929479713/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796242.87-6158929479713/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=opxzupnlrtbnvahyvlmvwnepvqyaevst] password: " -u supervisor /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-opxzupnlrtbnvahyvlmvwnepvqyaevst; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796242.87-6158929479713/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796242.87-6158929479713/ >/dev/null 2>&1'"] | |
changed: [default] => (item=boto) => {"changed": true, "cmd": "/edx/app/supervisor/venvs/supervisor/bin/pip install -i https://pypi.python.org/simple boto", "item": "boto", "name": "boto", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking boto\nInstalling collected packages: boto\nSuccessfully installed boto\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/supervisor/venvs/supervisor"} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name=python-simple-hipchat virtualenv="/edx/app/supervisor/venvs/supervisor" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796250.64-180479182375083 && chmod a+rx /tmp/ansible-tmp-1410796250.64-180479182375083 && echo /tmp/ansible-tmp-1410796250.64-180479182375083'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpICQHWu TO /tmp/ansible-tmp-1410796250.64-180479182375083/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796250.64-180479182375083/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=peczodorgcwgdnicezxtbdabukgxyfbg] password: " -u supervisor /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-peczodorgcwgdnicezxtbdabukgxyfbg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796250.64-180479182375083/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796250.64-180479182375083/ >/dev/null 2>&1'"] | |
changed: [default] => (item=python-simple-hipchat) => {"changed": true, "cmd": "/edx/app/supervisor/venvs/supervisor/bin/pip install -i https://pypi.python.org/simple python-simple-hipchat", "item": "python-simple-hipchat", "name": "python-simple-hipchat", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking python-simple-hipchat\n Downloading python-simple-hipchat-0.3.3.tar.gz\n Running setup.py (path:/edx/app/supervisor/venvs/supervisor/build/python-simple-hipchat/setup.py) egg_info for package python-simple-hipchat\n \nInstalling collected packages: python-simple-hipchat\n Running setup.py install for python-simple-hipchat\n \nSuccessfully installed python-simple-hipchat\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/supervisor/venvs/supervisor"} | |
TASK: [supervisor | create supervisor upstart job] **************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796251.5-239308321850019 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796251.5-239308321850019 && echo $HOME/.ansible/tmp/ansible-tmp-1410796251.5-239308321850019'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wlslivmokxxgzwfgimsatvvfhanllkuv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wlslivmokxxgzwfgimsatvvfhanllkuv; rc=0; [ -r "/etc/init/supervisor.conf" ] || rc=2; [ -f "/etc/init/supervisor.conf" ] || rc=1; [ -d "/etc/init/supervisor.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/init/supervisor.conf 2>/dev/null) || (/sbin/md5sum -q /etc/init/supervisor.conf 2>/dev/null) || (/usr/bin/digest -a md5 /etc/init/supervisor.conf 2>/dev/null) || (/sbin/md5 -q /etc/init/supervisor.conf 2>/dev/null) || (/usr/bin/md5 -n /etc/init/supervisor.conf 2>/dev/null) || (/bin/md5 -q /etc/init/supervisor.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/init/supervisor.conf 2>/dev/null) || (/bin/csum -h MD5 /etc/init/supervisor.conf 2>/dev/null) || (echo "${rc} /etc/init/supervisor.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp8C_vO4 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796251.5-239308321850019/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpRUWtcT TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796251.5-239308321850019/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ouooedfuydwawuhevzkbjgkebeummdcx] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ouooedfuydwawuhevzkbjgkebeummdcx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796251.5-239308321850019/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796251.5-239308321850019/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/init/supervisor.conf", "gid": 0, "group": "root", "md5sum": "8ce1d9b635c2b3389b203ad45dd20986", "mode": "0644", "owner": "root", "size": 233, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796251.5-239308321850019/source", "state": "file", "uid": 0} | |
TASK: [supervisor | create pre_supervisor upstart job] ************************ | |
skipping: [default] | |
TASK: [supervisor | write the pre_suprevisor python script] ******************* | |
skipping: [default] | |
TASK: [supervisor | create supervisor master config] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796251.81-162007464409972 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796251.81-162007464409972 && echo $HOME/.ansible/tmp/ansible-tmp-1410796251.81-162007464409972'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qhhplmhmbqyeqdowsyiadlmycakqllct] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qhhplmhmbqyeqdowsyiadlmycakqllct; rc=0; [ -r "/edx/app/supervisor/supervisord.conf" ] || rc=2; [ -f "/edx/app/supervisor/supervisord.conf" ] || rc=1; [ -d "/edx/app/supervisor/supervisord.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/supervisor/supervisord.conf 2>/dev/null) || (/sbin/md5sum -q /edx/app/supervisor/supervisord.conf 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/supervisor/supervisord.conf 2>/dev/null) || (/sbin/md5 -q /edx/app/supervisor/supervisord.conf 2>/dev/null) || (/usr/bin/md5 -n /edx/app/supervisor/supervisord.conf 2>/dev/null) || (/bin/md5 -q /edx/app/supervisor/supervisord.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/supervisor/supervisord.conf 2>/dev/null) || (/bin/csum -h MD5 /edx/app/supervisor/supervisord.conf 2>/dev/null) || (echo "${rc} /edx/app/supervisor/supervisord.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpsnlcZ2 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796251.81-162007464409972/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpiGCTRz TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796251.81-162007464409972/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=acacuclpgwcqrwwehywneopieynunhmg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-acacuclpgwcqrwwehywneopieynunhmg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796251.81-162007464409972/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796251.81-162007464409972/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/supervisor/supervisord.conf", "gid": 33, "group": "www-data", "md5sum": "299cda89ff8be858fef605c804734d40", "mode": "0644", "owner": "supervisor", "size": 1266, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796251.81-162007464409972/source", "state": "file", "uid": 1002} | |
TASK: [supervisor | create a symlink for supervisortctl] ********************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/supervisor/venvs/supervisor/bin/supervisorctl dest=/edx/bin/supervisorctl state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796252.09-34596404204220 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796252.09-34596404204220 && echo $HOME/.ansible/tmp/ansible-tmp-1410796252.09-34596404204220'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpUloe8T TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.09-34596404204220/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=iqywatyonmpodfkqtnzrvsndahsbiuvp] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-iqywatyonmpodfkqtnzrvsndahsbiuvp; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.09-34596404204220/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.09-34596404204220/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/bin/supervisorctl", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 54, "src": "/edx/app/supervisor/venvs/supervisor/bin/supervisorctl", "state": "link", "uid": 0} | |
TASK: [supervisor | create a symlink for supervisor cfg] ********************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/supervisor/supervisord.conf dest=/edx/etc/supervisord.conf state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796252.3-177892905036124 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796252.3-177892905036124 && echo $HOME/.ansible/tmp/ansible-tmp-1410796252.3-177892905036124'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpM6A5Mc TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.3-177892905036124/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ukgaxotopnjizktanukbuzquvztaibhp] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ukgaxotopnjizktanukbuzquvztaibhp; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.3-177892905036124/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.3-177892905036124/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/supervisor/supervisord.conf) => {"changed": true, "dest": "/edx/etc/supervisord.conf", "gid": 0, "group": "root", "item": "/edx/app/supervisor/supervisord.conf", "mode": "0777", "owner": "root", "size": 36, "src": "/edx/app/supervisor/supervisord.conf", "state": "link", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src=/edx/app/supervisor/conf.d dest=/edx/etc/conf.d state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796252.46-31745843933533 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796252.46-31745843933533 && echo $HOME/.ansible/tmp/ansible-tmp-1410796252.46-31745843933533'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpkFi8g7 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.46-31745843933533/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=funwefkifzgrsorjensvuxuzfuyeefqf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-funwefkifzgrsorjensvuxuzfuyeefqf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.46-31745843933533/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.46-31745843933533/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/supervisor/conf.d) => {"changed": true, "dest": "/edx/etc/conf.d", "gid": 0, "group": "root", "item": "/edx/app/supervisor/conf.d", "mode": "0777", "owner": "root", "size": 26, "src": "/edx/app/supervisor/conf.d", "state": "link", "uid": 0} | |
TASK: [supervisor | start supervisor] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE service name=supervisor state=started | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796252.65-9082175706522 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796252.65-9082175706522 && echo $HOME/.ansible/tmp/ansible-tmp-1410796252.65-9082175706522'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpp3fr9w TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.65-9082175706522/service | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jurdnmzflvxshyiotqxnhbdyjfhbntvr] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jurdnmzflvxshyiotqxnhbdyjfhbntvr; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.65-9082175706522/service; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.65-9082175706522/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "name": "supervisor", "state": "started"} | |
TASK: [supervisor | wait for web port to be available] ************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE wait_for port=9001 timeout=5 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796252.9-72739457879493 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796252.9-72739457879493 && echo $HOME/.ansible/tmp/ansible-tmp-1410796252.9-72739457879493'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpZWPaN5 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.9-72739457879493/wait_for | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=uvjlrrutcvyzwxqcsocjrirklgaenpzt] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-uvjlrrutcvyzwxqcsocjrirklgaenpzt; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.9-72739457879493/wait_for; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796252.9-72739457879493/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "elapsed": 0, "path": null, "port": 9001, "search_regex": null, "state": "started"} | |
TASK: [supervisor | update supervisor configuration] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command /edx/app/supervisor/venvs/supervisor/bin/supervisorctl -c /edx/app/supervisor/supervisord.conf update #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796253.11-189197171312323 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796253.11-189197171312323 && echo $HOME/.ansible/tmp/ansible-tmp-1410796253.11-189197171312323'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpSZdcWF TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.11-189197171312323/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ojkurgzioiwcqnavfmoalxjobayjsirf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ojkurgzioiwcqnavfmoalxjobayjsirf; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.11-189197171312323/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.11-189197171312323/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "cmd": "/edx/app/supervisor/venvs/supervisor/bin/supervisorctl -c /edx/app/supervisor/supervisord.conf update", "delta": "0:00:00.094790", "end": "2014-09-15 15:50:53.291547", "rc": 0, "start": "2014-09-15 15:50:53.196757", "stderr": "", "stdout": "", "stdout_lines": []} | |
TASK: [rbenv | fail rbenv_user required for role] ***************************** | |
skipping: [default] | |
TASK: [rbenv | fail rbenv_dir required for role] ****************************** | |
skipping: [default] | |
TASK: [rbenv | fail rbenv_ruby_version required for role] ********************* | |
skipping: [default] | |
TASK: [rbenv | create rbenv user {{ edxapp_user }}] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name=edxapp home=/edx/app/edxapp shell=/bin/false createhome=no | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796253.49-190688292049511 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796253.49-190688292049511 && echo $HOME/.ansible/tmp/ansible-tmp-1410796253.49-190688292049511'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpCIch6E TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.49-190688292049511/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=goxjlwjhhnsuhikdxnbcmtuyxsonzqrn] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-goxjlwjhhnsuhikdxnbcmtuyxsonzqrn; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.49-190688292049511/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.49-190688292049511/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "comment": "", "createhome": false, "group": 1006, "home": "/edx/app/edxapp", "name": "edxapp", "shell": "/bin/false", "state": "present", "system": false, "uid": 1003} | |
TASK: [rbenv | create rbenv dir if it does not exist] ************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/edxapp" owner="edxapp" state=directory | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796253.76-252111803031519 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796253.76-252111803031519 && echo $HOME/.ansible/tmp/ansible-tmp-1410796253.76-252111803031519'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpyF06ZY TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.76-252111803031519/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xbaywtuhpolpyjkgeonbusiyebibuier] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xbaywtuhpolpyjkgeonbusiyebibuier; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.76-252111803031519/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.76-252111803031519/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "edxapp", "path": "/edx/app/edxapp", "size": 4096, "state": "directory", "uid": 1003} | |
TASK: [rbenv | install build depends] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=curl,build-essential,libcurl4-openssl-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev state=present install_recommends=no | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796253.98-68495480851399 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796253.98-68495480851399 && echo $HOME/.ansible/tmp/ansible-tmp-1410796253.98-68495480851399'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpMRi_nn TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.98-68495480851399/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hjkebansdqbmhiawduqzppnbinvnduds] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hjkebansdqbmhiawduqzppnbinvnduds; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.98-68495480851399/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796253.98-68495480851399/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=curl,build-essential,libcurl4-openssl-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev) => {"changed": true, "item": "curl,build-essential,libcurl4-openssl-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev", "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n comerr-dev krb5-multidev libgcrypt11 libgcrypt11-dev libgnutls-dev\n libgnutls-openssl27 libgnutls26 libgnutlsxx27 libgpg-error-dev\n libgssapi-krb5-2 libgssrpc4 libidn11-dev libk5crypto3 libkadm5clnt-mit8\n libkadm5srv-mit8 libkdb5-6 libkrb5-3 libkrb5-dev libkrb5support0\n libldap-2.4-2 libldap2-dev libp11-kit-dev librtmp-dev libtasn1-3\n libtasn1-3-dev pkg-config\nSuggested packages:\n doc-base krb5-doc libcurl3-dbg rng-tools libgcrypt11-doc gnutls-doc\n gnutls-bin krb5-user\nThe following NEW packages will be installed:\n comerr-dev krb5-multidev libcurl4-openssl-dev libgcrypt11-dev libgnutls-dev\n libgnutls-openssl27 libgnutlsxx27 libgpg-error-dev libgssrpc4 libidn11-dev\n libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap2-dev\n libp11-kit-dev librtmp-dev libtasn1-3-dev pkg-config\nThe following packages will be upgraded:\n libgcrypt11 libgnutls26 libgssapi-krb5-2 libk5crypto3 libkrb5-3\n libkrb5support0 libldap-2.4-2 libtasn1-3\n8 upgraded, 19 newly installed, 0 to remove and 158 not upgraded.\nNeed to get 5,608 kB of archives.\nAfter this operation, 12.2 MB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libgcrypt11 amd64 1.5.0-3ubuntu0.3 [281 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libtasn1-3 amd64 2.10-1ubuntu1.2 [43.7 kB]\nGet:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutls26 amd64 2.12.14-5ubuntu3.8 [459 kB]\nGet:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libk5crypto3 amd64 1.10+dfsg~beta1-2ubuntu0.5 [79.9 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libgssapi-krb5-2 amd64 1.10+dfsg~beta1-2ubuntu0.5 [118 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libkrb5-3 amd64 1.10+dfsg~beta1-2ubuntu0.5 [354 kB]\nGet:7 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libkrb5support0 amd64 1.10+dfsg~beta1-2ubuntu0.5 [24.2 kB]\nGet:8 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libgssrpc4 amd64 1.10+dfsg~beta1-2ubuntu0.5 [57.5 kB]\nGet:9 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libkadm5clnt-mit8 amd64 1.10+dfsg~beta1-2ubuntu0.5 [38.4 kB]\nGet:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libkdb5-6 amd64 1.10+dfsg~beta1-2ubuntu0.5 [37.3 kB]\nGet:11 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libkadm5srv-mit8 amd64 1.10+dfsg~beta1-2ubuntu0.5 [54.3 kB]\nGet:12 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libldap-2.4-2 amd64 2.4.28-1.1ubuntu4.4 [185 kB]\nGet:13 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutls-openssl27 amd64 2.12.14-5ubuntu3.8 [21.6 kB]\nGet:14 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutlsxx27 amd64 2.12.14-5ubuntu3.8 [22.6 kB]\nGet:15 http://us.archive.ubuntu.com/ubuntu/ precise/main comerr-dev amd64 2.1-1.42-1ubuntu2 [42.7 kB]\nGet:16 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main krb5-multidev amd64 1.10+dfsg~beta1-2ubuntu0.5 [124 kB]\nGet:17 http://us.archive.ubuntu.com/ubuntu/ precise/main pkg-config amd64 0.26-1ubuntu1 [40.9 kB]\nGet:18 http://us.archive.ubuntu.com/ubuntu/ precise/main libidn11-dev amd64 1.23-2 [636 kB]\nGet:19 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libkrb5-dev amd64 1.10+dfsg~beta1-2ubuntu0.5 [11.0 kB]\nGet:20 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libldap2-dev amd64 2.4.28-1.1ubuntu4.4 [492 kB]\nGet:21 http://us.archive.ubuntu.com/ubuntu/ precise/main libgpg-error-dev amd64 1.10-2ubuntu1 [23.3 kB]\nGet:22 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libgcrypt11-dev amd64 1.5.0-3ubuntu0.3 [364 kB]\nGet:23 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libtasn1-3-dev amd64 2.10-1ubuntu1.2 [357 kB]\nGet:24 http://us.archive.ubuntu.com/ubuntu/ precise/main libp11-kit-dev amd64 0.12-2ubuntu1 [45.6 kB]\nGet:25 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutls-dev amd64 2.12.14-5ubuntu3.8 [546 kB]\nGet:26 http://us.archive.ubuntu.com/ubuntu/ precise/main librtmp-dev amd64 2.4~20110711.gitc28f1bab-1 [67.3 kB]\nGet:27 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libcurl4-openssl-dev amd64 7.22.0-3ubuntu4.10 [1,080 kB]\nFetched 5,608 kB in 0s (12.1 MB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 76956 files and directories currently installed.)\r\nPreparing to replace libgcrypt11 1.5.0-3 (using .../libgcrypt11_1.5.0-3ubuntu0.3_amd64.deb) ...\r\nUnpacking replacement libgcrypt11 ...\r\nPreparing to replace libtasn1-3 2.10-1ubuntu1 (using .../libtasn1-3_2.10-1ubuntu1.2_amd64.deb) ...\r\nUnpacking replacement libtasn1-3 ...\r\nPreparing to replace libgnutls26 2.12.14-5ubuntu3 (using .../libgnutls26_2.12.14-5ubuntu3.8_amd64.deb) ...\r\nUnpacking replacement libgnutls26 ...\r\nPreparing to replace libk5crypto3 1.10+dfsg~beta1-2 (using .../libk5crypto3_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nUnpacking replacement libk5crypto3 ...\r\nPreparing to replace libgssapi-krb5-2 1.10+dfsg~beta1-2 (using .../libgssapi-krb5-2_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nUnpacking replacement libgssapi-krb5-2 ...\r\nPreparing to replace libkrb5-3 1.10+dfsg~beta1-2 (using .../libkrb5-3_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nUnpacking replacement libkrb5-3 ...\r\nPreparing to replace libkrb5support0 1.10+dfsg~beta1-2 (using .../libkrb5support0_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nUnpacking replacement libkrb5support0 ...\r\nSelecting previously unselected package libgssrpc4.\r\nUnpacking libgssrpc4 (from .../libgssrpc4_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nSelecting previously unselected package libkadm5clnt-mit8.\r\nUnpacking libkadm5clnt-mit8 (from .../libkadm5clnt-mit8_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nSelecting previously unselected package libkdb5-6.\r\nUnpacking libkdb5-6 (from .../libkdb5-6_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nSelecting previously unselected package libkadm5srv-mit8.\r\nUnpacking libkadm5srv-mit8 (from .../libkadm5srv-mit8_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nPreparing to replace libldap-2.4-2 2.4.28-1.1ubuntu4 (using .../libldap-2.4-2_2.4.28-1.1ubuntu4.4_amd64.deb) ...\r\nUnpacking replacement libldap-2.4-2 ...\r\nSelecting previously unselected package libgnutls-openssl27.\r\nUnpacking libgnutls-openssl27 (from .../libgnutls-openssl27_2.12.14-5ubuntu3.8_amd64.deb) ...\r\nSelecting previously unselected package libgnutlsxx27.\r\nUnpacking libgnutlsxx27 (from .../libgnutlsxx27_2.12.14-5ubuntu3.8_amd64.deb) ...\r\nSelecting previously unselected package comerr-dev.\r\nUnpacking comerr-dev (from .../comerr-dev_2.1-1.42-1ubuntu2_amd64.deb) ...\r\nSelecting previously unselected package krb5-multidev.\r\nUnpacking krb5-multidev (from .../krb5-multidev_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nSelecting previously unselected package pkg-config.\r\nUnpacking pkg-config (from .../pkg-config_0.26-1ubuntu1_amd64.deb) ...\r\nSelecting previously unselected package libidn11-dev.\r\nUnpacking libidn11-dev (from .../libidn11-dev_1.23-2_amd64.deb) ...\r\nSelecting previously unselected package libkrb5-dev.\r\nUnpacking libkrb5-dev (from .../libkrb5-dev_1.10+dfsg~beta1-2ubuntu0.5_amd64.deb) ...\r\nSelecting previously unselected package libldap2-dev.\r\nUnpacking libldap2-dev (from .../libldap2-dev_2.4.28-1.1ubuntu4.4_amd64.deb) ...\r\nSelecting previously unselected package libgpg-error-dev.\r\nUnpacking libgpg-error-dev (from .../libgpg-error-dev_1.10-2ubuntu1_amd64.deb) ...\r\nSelecting previously unselected package libgcrypt11-dev.\r\nUnpacking libgcrypt11-dev (from .../libgcrypt11-dev_1.5.0-3ubuntu0.3_amd64.deb) ...\r\nSelecting previously unselected package libtasn1-3-dev.\r\nUnpacking libtasn1-3-dev (from .../libtasn1-3-dev_2.10-1ubuntu1.2_amd64.deb) ...\r\nSelecting previously unselected package libp11-kit-dev.\r\nUnpacking libp11-kit-dev (from .../libp11-kit-dev_0.12-2ubuntu1_amd64.deb) ...\r\nSelecting previously unselected package libgnutls-dev.\r\nUnpacking libgnutls-dev (from .../libgnutls-dev_2.12.14-5ubuntu3.8_amd64.deb) ...\r\nSelecting previously unselected package librtmp-dev.\r\nUnpacking librtmp-dev (from .../librtmp-dev_2.4~20110711.gitc28f1bab-1_amd64.deb) ...\r\nSelecting previously unselected package libcurl4-openssl-dev.\r\nUnpacking libcurl4-openssl-dev (from .../libcurl4-openssl-dev_7.22.0-3ubuntu4.10_amd64.deb) ...\r\nProcessing triggers for man-db ...\r\nProcessing triggers for install-info ...\r\nSetting up libgcrypt11 (1.5.0-3ubuntu0.3) ...\r\nSetting up libtasn1-3 (2.10-1ubuntu1.2) ...\r\nSetting up libgnutls26 (2.12.14-5ubuntu3.8) ...\r\nSetting up libkrb5support0 (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up libk5crypto3 (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up libkrb5-3 (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up libgssapi-krb5-2 (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up libgssrpc4 (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up libkadm5clnt-mit8 (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up libkdb5-6 (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up libkadm5srv-mit8 (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up libldap-2.4-2 (2.4.28-1.1ubuntu4.4) ...\r\nSetting up libgnutls-openssl27 (2.12.14-5ubuntu3.8) ...\r\nSetting up libgnutlsxx27 (2.12.14-5ubuntu3.8) ...\r\nSetting up comerr-dev (2.1-1.42-1ubuntu2) ...\r\nSetting up krb5-multidev (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up pkg-config (0.26-1ubuntu1) ...\r\nSetting up libidn11-dev (1.23-2) ...\r\nSetting up libkrb5-dev (1.10+dfsg~beta1-2ubuntu0.5) ...\r\nSetting up libldap2-dev (2.4.28-1.1ubuntu4.4) ...\r\nSetting up libgpg-error-dev (1.10-2ubuntu1) ...\r\nSetting up libgcrypt11-dev (1.5.0-3ubuntu0.3) ...\r\nSetting up libtasn1-3-dev (2.10-1ubuntu1.2) ...\r\nSetting up libp11-kit-dev (0.12-2ubuntu1) ...\r\nSetting up libgnutls-dev (2.12.14-5ubuntu3.8) ...\r\nSetting up librtmp-dev (2.4~20110711.gitc28f1bab-1) ...\r\nSetting up libcurl4-openssl-dev (7.22.0-3ubuntu4.10) ...\r\nProcessing triggers for libc-bin ...\r\nldconfig deferred processing now taking place\r\n"} | |
TASK: [rbenv | update rbenv repo] ********************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE git repo=https://github.com/sstephenson/rbenv.git dest=/edx/app/edxapp/.rbenv version=v0.4.0 accept_hostkey=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796265.32-59350674021287 && chmod a+rx /tmp/ansible-tmp-1410796265.32-59350674021287 && echo /tmp/ansible-tmp-1410796265.32-59350674021287'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpk2oEVF TO /tmp/ansible-tmp-1410796265.32-59350674021287/git | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796265.32-59350674021287/git'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=fygvqicffmlufysemgjmupwkeucdsoun] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-fygvqicffmlufysemgjmupwkeucdsoun; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796265.32-59350674021287/git\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796265.32-59350674021287/ >/dev/null 2>&1'"] | |
changed: [default] => {"after": "9375e99f921f428849f19efe2a2e500b3295d1a7", "before": null, "changed": true} | |
TASK: [rbenv | ensure ruby_env exists] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796266.86-194240559989550 && chmod a+rx /tmp/ansible-tmp-1410796266.86-194240559989550 && echo /tmp/ansible-tmp-1410796266.86-194240559989550'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=leigzteckjuxqvzbmoqwplyrzogexpeb] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-leigzteckjuxqvzbmoqwplyrzogexpeb; rc=0; [ -r "/edx/app/edxapp/ruby_env" ] || rc=2; [ -f "/edx/app/edxapp/ruby_env" ] || rc=1; [ -d "/edx/app/edxapp/ruby_env" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/edxapp/ruby_env 2>/dev/null) || (/sbin/md5sum -q /edx/app/edxapp/ruby_env 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/edxapp/ruby_env 2>/dev/null) || (/sbin/md5 -q /edx/app/edxapp/ruby_env 2>/dev/null) || (/usr/bin/md5 -n /edx/app/edxapp/ruby_env 2>/dev/null) || (/bin/md5 -q /edx/app/edxapp/ruby_env 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/edxapp/ruby_env 2>/dev/null) || (/bin/csum -h MD5 /edx/app/edxapp/ruby_env 2>/dev/null) || (echo "${rc} /edx/app/edxapp/ruby_env")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpBHugc0 TO /tmp/ansible-tmp-1410796266.86-194240559989550/source | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796266.86-194240559989550/source'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpXzVUYn TO /tmp/ansible-tmp-1410796266.86-194240559989550/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796266.86-194240559989550/copy'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rnratstutyccprbzgxhnjmzrbbinqotc] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rnratstutyccprbzgxhnjmzrbbinqotc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796266.86-194240559989550/copy\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796266.86-194240559989550/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "dest": "/edx/app/edxapp/ruby_env", "gid": 1006, "group": "edxapp", "md5sum": "9a641b43540e97505d4c6647d1780457", "mode": "0644", "owner": "edxapp", "size": 575, "src": "/tmp/ansible-tmp-1410796266.86-194240559989550/source", "state": "file", "uid": 1003} | |
TASK: [rbenv | check ruby-build installed] ************************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command test -x /usr/local/bin/ruby-build | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796267.25-152108457705809 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796267.25-152108457705809 && echo $HOME/.ansible/tmp/ansible-tmp-1410796267.25-152108457705809'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpKzn8uM TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796267.25-152108457705809/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xxsdsytxutvfgbailgrhaxgfxptlrwgn] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xxsdsytxutvfgbailgrhaxgfxptlrwgn; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796267.25-152108457705809/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796267.25-152108457705809/ >/dev/null 2>&1\'"\'"\'\''] | |
failed: [default] => {"changed": true, "cmd": ["test", "-x", "/usr/local/bin/ruby-build"], "delta": "0:00:00.005021", "end": "2014-09-15 15:51:07.349723", "rc": 1, "start": "2014-09-15 15:51:07.344702"} | |
...ignoring | |
TASK: [rbenv | if ruby-build exists, which versions we can install] *********** | |
skipping: [default] | |
TASK: [rbenv | create temporary directory] ************************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command mktemp -d | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796267.47-141103800070456 && chmod a+rx /tmp/ansible-tmp-1410796267.47-141103800070456 && echo /tmp/ansible-tmp-1410796267.47-141103800070456'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpbK0Pjc TO /tmp/ansible-tmp-1410796267.47-141103800070456/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796267.47-141103800070456/command'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=clecitumrvmvqiwvudwbapxszxgqrkgq] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-clecitumrvmvqiwvudwbapxszxgqrkgq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796267.47-141103800070456/command\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796267.47-141103800070456/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": ["mktemp", "-d"], "delta": "0:00:00.004769", "end": "2014-09-15 15:51:07.572079", "rc": 0, "start": "2014-09-15 15:51:07.567310", "stderr": "", "stdout": "/tmp/tmp.jgJtwVxmUZ"} | |
TASK: [rbenv | clone ruby-build repo] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE git repo=https://github.com/sstephenson/ruby-build.git dest=/tmp/tmp.jgJtwVxmUZ/ruby-build accept_hostkey=yes | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796267.69-184030972414140 && chmod a+rx /tmp/ansible-tmp-1410796267.69-184030972414140 && echo /tmp/ansible-tmp-1410796267.69-184030972414140'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpFwPoqA TO /tmp/ansible-tmp-1410796267.69-184030972414140/git | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796267.69-184030972414140/git'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=oxnobztcwniuijwqjaabvgidlklqlfbi] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-oxnobztcwniuijwqjaabvgidlklqlfbi; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796267.69-184030972414140/git\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796267.69-184030972414140/ >/dev/null 2>&1'"] | |
changed: [default] => {"after": "4ef4ed4cd15e9722527e96f782b79b4a20025965", "before": null, "changed": true} | |
TASK: [rbenv | install ruby-build] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command ./install.sh chdir=/tmp/tmp.jgJtwVxmUZ/ruby-build | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796269.45-260519523050673 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796269.45-260519523050673 && echo $HOME/.ansible/tmp/ansible-tmp-1410796269.45-260519523050673'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpT18NTo TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796269.45-260519523050673/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yweymtxeofpolsrjgaemuswcklxlekho] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yweymtxeofpolsrjgaemuswcklxlekho; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796269.45-260519523050673/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796269.45-260519523050673/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "cmd": ["./install.sh"], "delta": "0:00:00.018370", "end": "2014-09-15 15:51:09.549285", "rc": 0, "start": "2014-09-15 15:51:09.530915", "stderr": "", "stdout": ""} | |
TASK: [rbenv | remove temporary directory] ************************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/tmp/tmp.jgJtwVxmUZ state=absent | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796269.64-199422009121448 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796269.64-199422009121448 && echo $HOME/.ansible/tmp/ansible-tmp-1410796269.64-199422009121448'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpEiZ2wz TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796269.64-199422009121448/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vitmcekfbtmnopdflwffawlutrkzpebh] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vitmcekfbtmnopdflwffawlutrkzpebh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796269.64-199422009121448/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796269.64-199422009121448/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "path": "/tmp/tmp.jgJtwVxmUZ", "state": "absent"} | |
TASK: [rbenv | check ruby {{ edxapp_ruby_version }} installed] **************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command rbenv versions | grep 1.9.3-p374 #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796269.81-162146693880896 && chmod a+rx /tmp/ansible-tmp-1410796269.81-162146693880896 && echo /tmp/ansible-tmp-1410796269.81-162146693880896'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpEFF8Tu TO /tmp/ansible-tmp-1410796269.81-162146693880896/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796269.81-162146693880896/command'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ggfdzyixoungtvffrmbxerwffdwrhunj] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ggfdzyixoungtvffrmbxerwffdwrhunj; LANG=en_US.UTF-8 HOME=/edx/app/edxapp/.rbenv GEM_ROOT=/edx/app/edxapp/.gem PATH=/edx/app/edxapp/.rbenv/bin:/edx/app/edxapp/.rbenv/shims:/edx/app/edxapp/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LC_CTYPE=en_US.UTF-8 RBENV_ROOT=/edx/app/edxapp/.rbenv GEM_HOME=/edx/app/edxapp/.gem /usr/bin/python /tmp/ansible-tmp-1410796269.81-162146693880896/command\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796269.81-162146693880896/ >/dev/null 2>&1'"] | |
failed: [default] => {"changed": true, "cmd": "rbenv versions | grep 1.9.3-p374", "delta": "0:00:00.069682", "end": "2014-09-15 15:51:10.039103", "rc": 1, "start": "2014-09-15 15:51:09.969421"} | |
...ignoring | |
TASK: [rbenv | install ruby {{ edxapp_ruby_version }}] ************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command rbenv install 1.9.3-p374 creates=/edx/app/edxapp/.rbenv/versions/1.9.3-p374 #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796270.15-261740738971060 && chmod a+rx /tmp/ansible-tmp-1410796270.15-261740738971060 && echo /tmp/ansible-tmp-1410796270.15-261740738971060'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpgCTbHx TO /tmp/ansible-tmp-1410796270.15-261740738971060/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796270.15-261740738971060/command'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ribhpdhmpshzedpeurumygknqqvdcfrx] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ribhpdhmpshzedpeurumygknqqvdcfrx; LANG=en_US.UTF-8 HOME=/edx/app/edxapp/.rbenv GEM_ROOT=/edx/app/edxapp/.gem PATH=/edx/app/edxapp/.rbenv/bin:/edx/app/edxapp/.rbenv/shims:/edx/app/edxapp/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LC_CTYPE=en_US.UTF-8 RBENV_ROOT=/edx/app/edxapp/.rbenv GEM_HOME=/edx/app/edxapp/.gem /usr/bin/python /tmp/ansible-tmp-1410796270.15-261740738971060/command\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796270.15-261740738971060/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": "rbenv install 1.9.3-p374", "delta": "0:04:13.460884", "end": "2014-09-15 15:55:23.755025", "rc": 0, "start": "2014-09-15 15:51:10.294141", "stderr": "Downloading yaml-0.1.6.tar.gz...\n-> http://dqw8nmjcqpjn7.cloudfront.net/7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749\nInstalling yaml-0.1.6...\nInstalled yaml-0.1.6 to /edx/app/edxapp/.rbenv/versions/1.9.3-p374\n\nDownloading ruby-1.9.3-p374.tar.gz...\n-> http://dqw8nmjcqpjn7.cloudfront.net/0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574\nInstalling ruby-1.9.3-p374...\nInstalled ruby-1.9.3-p374 to /edx/app/edxapp/.rbenv/versions/1.9.3-p374", "stdout": ""} | |
TASK: [rbenv | set global ruby {{ edxapp_ruby_version }}] ********************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command rbenv global 1.9.3-p374 #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796523.91-161926042864330 && chmod a+rx /tmp/ansible-tmp-1410796523.91-161926042864330 && echo /tmp/ansible-tmp-1410796523.91-161926042864330'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpdO9D7R TO /tmp/ansible-tmp-1410796523.91-161926042864330/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796523.91-161926042864330/command'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gvczfdysxttdvzockwisqkelwestbkbn] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gvczfdysxttdvzockwisqkelwestbkbn; LANG=en_US.UTF-8 HOME=/edx/app/edxapp/.rbenv GEM_ROOT=/edx/app/edxapp/.gem PATH=/edx/app/edxapp/.rbenv/bin:/edx/app/edxapp/.rbenv/shims:/edx/app/edxapp/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LC_CTYPE=en_US.UTF-8 RBENV_ROOT=/edx/app/edxapp/.rbenv GEM_HOME=/edx/app/edxapp/.gem /usr/bin/python /tmp/ansible-tmp-1410796523.91-161926042864330/command\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796523.91-161926042864330/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": "rbenv global 1.9.3-p374", "delta": "0:00:00.022579", "end": "2014-09-15 15:55:24.053206", "rc": 0, "start": "2014-09-15 15:55:24.030627", "stderr": "", "stdout": ""} | |
TASK: [rbenv | install bundler] *********************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command gem install bundler -v 1.3.2 #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796524.18-100264145866254 && chmod a+rx /tmp/ansible-tmp-1410796524.18-100264145866254 && echo /tmp/ansible-tmp-1410796524.18-100264145866254'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpl3jQyx TO /tmp/ansible-tmp-1410796524.18-100264145866254/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796524.18-100264145866254/command'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hxfpgcrxgfgjaodolndqghoaztbmjwwk] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hxfpgcrxgfgjaodolndqghoaztbmjwwk; LANG=en_US.UTF-8 HOME=/edx/app/edxapp/.rbenv GEM_ROOT=/edx/app/edxapp/.gem PATH=/edx/app/edxapp/.rbenv/bin:/edx/app/edxapp/.rbenv/shims:/edx/app/edxapp/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LC_CTYPE=en_US.UTF-8 RBENV_ROOT=/edx/app/edxapp/.rbenv GEM_HOME=/edx/app/edxapp/.gem /usr/bin/python /tmp/ansible-tmp-1410796524.18-100264145866254/command\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796524.18-100264145866254/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": "gem install bundler -v 1.3.2", "delta": "0:00:09.652481", "end": "2014-09-15 15:55:33.972769", "rc": 0, "start": "2014-09-15 15:55:24.320288", "stderr": "", "stdout": "Successfully installed bundler-1.3.2\n1 gem installed\nInstalling ri documentation for bundler-1.3.2...\nInstalling RDoc documentation for bundler-1.3.2..."} | |
TASK: [rbenv | remove rbenv version of rake] ********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/edxapp/.rbenv/versions/1.9.3-p374/bin/rake" state=absent | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796534.1-149507912673161 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796534.1-149507912673161 && echo $HOME/.ansible/tmp/ansible-tmp-1410796534.1-149507912673161'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpUJ_sOd TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796534.1-149507912673161/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=eflxuqmgrfzimvwudwqwwrhtwqulifll] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-eflxuqmgrfzimvwudwqwwrhtwqulifll; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796534.1-149507912673161/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796534.1-149507912673161/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "path": "/edx/app/edxapp/.rbenv/versions/1.9.3-p374/bin/rake", "state": "absent"} | |
TASK: [rbenv | install rake gem] ********************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command gem install rake -v 10.0.3 #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796534.25-198418149115752 && chmod a+rx /tmp/ansible-tmp-1410796534.25-198418149115752 && echo /tmp/ansible-tmp-1410796534.25-198418149115752'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmptYb_up TO /tmp/ansible-tmp-1410796534.25-198418149115752/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796534.25-198418149115752/command'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yzvgzhtrjroafmouflmatoenjmpanoec] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yzvgzhtrjroafmouflmatoenjmpanoec; LANG=en_US.UTF-8 HOME=/edx/app/edxapp/.rbenv GEM_ROOT=/edx/app/edxapp/.gem PATH=/edx/app/edxapp/.rbenv/bin:/edx/app/edxapp/.rbenv/shims:/edx/app/edxapp/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LC_CTYPE=en_US.UTF-8 RBENV_ROOT=/edx/app/edxapp/.rbenv GEM_HOME=/edx/app/edxapp/.gem /usr/bin/python /tmp/ansible-tmp-1410796534.25-198418149115752/command\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796534.25-198418149115752/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": "gem install rake -v 10.0.3", "delta": "0:00:05.240295", "end": "2014-09-15 15:55:39.587869", "rc": 0, "start": "2014-09-15 15:55:34.347574", "stderr": "", "stdout": "Successfully installed rake-10.0.3\n1 gem installed\nInstalling ri documentation for rake-10.0.3...\nInstalling RDoc documentation for rake-10.0.3..."} | |
TASK: [rbenv | rehash] ******************************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command rbenv rehash #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796539.71-68721340075264 && chmod a+rx /tmp/ansible-tmp-1410796539.71-68721340075264 && echo /tmp/ansible-tmp-1410796539.71-68721340075264'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp3QMTTV TO /tmp/ansible-tmp-1410796539.71-68721340075264/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796539.71-68721340075264/command'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qnkncxmhlfnjdckusrmvwlbyzkgrbnoe] password: " -u edxapp /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qnkncxmhlfnjdckusrmvwlbyzkgrbnoe; LANG=en_US.UTF-8 HOME=/edx/app/edxapp/.rbenv GEM_ROOT=/edx/app/edxapp/.gem PATH=/edx/app/edxapp/.rbenv/bin:/edx/app/edxapp/.rbenv/shims:/edx/app/edxapp/.gem/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LC_CTYPE=en_US.UTF-8 RBENV_ROOT=/edx/app/edxapp/.rbenv GEM_HOME=/edx/app/edxapp/.gem /usr/bin/python /tmp/ansible-tmp-1410796539.71-68721340075264/command\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796539.71-68721340075264/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": "rbenv rehash", "delta": "0:00:00.033348", "end": "2014-09-15 15:55:39.830335", "rc": 0, "start": "2014-09-15 15:55:39.796987", "stderr": "", "stdout": ""} | |
TASK: [supervisor | create application user] ********************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name="supervisor" createhome=no shell=/bin/false | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796539.97-220902418037865 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796539.97-220902418037865 && echo $HOME/.ansible/tmp/ansible-tmp-1410796539.97-220902418037865'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpfPwa6d TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796539.97-220902418037865/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vsxgdeexawtvojyxazhwrjbdzvhugwtq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vsxgdeexawtvojyxazhwrjbdzvhugwtq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796539.97-220902418037865/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796539.97-220902418037865/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"append": false, "changed": false, "comment": "", "group": 1005, "home": "/home/supervisor", "move_home": false, "name": "supervisor", "shell": "/bin/false", "state": "present", "uid": 1002} | |
TASK: [supervisor | create supervisor service user] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name="devpi.supervisor" createhome=no shell=/bin/false | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796540.14-196862928011873 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796540.14-196862928011873 && echo $HOME/.ansible/tmp/ansible-tmp-1410796540.14-196862928011873'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmppuAdPD TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.14-196862928011873/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=uunqznfblkhfbwiyihxagbtlvosafpvl] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-uunqznfblkhfbwiyihxagbtlvosafpvl; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.14-196862928011873/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.14-196862928011873/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "comment": "", "createhome": false, "group": 1007, "home": "/home/devpi.supervisor", "name": "devpi.supervisor", "shell": "/bin/false", "state": "present", "system": false, "uid": 1004} | |
TASK: [supervisor | create supervisor directories] **************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/app/devpi/supervisor state=directory owner=supervisor group=devpi.supervisor mode="755" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796540.35-210384864355625 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796540.35-210384864355625 && echo $HOME/.ansible/tmp/ansible-tmp-1410796540.35-210384864355625'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpV2bRtc TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.35-210384864355625/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xuatbbfwvqzsmvfgwqjbveupekfaeuug] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xuatbbfwvqzsmvfgwqjbveupekfaeuug; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.35-210384864355625/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.35-210384864355625/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/devpi/supervisor) => {"changed": true, "gid": 1007, "group": "devpi.supervisor", "item": "/edx/app/devpi/supervisor", "mode": "0755", "owner": "supervisor", "path": "/edx/app/devpi/supervisor", "size": 4096, "state": "directory", "uid": 1002} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/app/devpi/venvs/supervisor state=directory owner=supervisor group=devpi.supervisor mode="755" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796540.48-154864443175815 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796540.48-154864443175815 && echo $HOME/.ansible/tmp/ansible-tmp-1410796540.48-154864443175815'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpiJyELe TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.48-154864443175815/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=soaugbzossmidrezzdurmkjpudujdiee] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-soaugbzossmidrezzdurmkjpudujdiee; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.48-154864443175815/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.48-154864443175815/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/devpi/venvs/supervisor) => {"changed": true, "gid": 1007, "group": "devpi.supervisor", "item": "/edx/app/devpi/venvs/supervisor", "mode": "0755", "owner": "supervisor", "path": "/edx/app/devpi/venvs/supervisor", "size": 4096, "state": "directory", "uid": 1002} | |
TASK: [supervisor | create service user accessible dirs] ********************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/app/devpi/supervisor/conf.d state=directory owner=supervisor group=devpi.supervisor mode="775" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796540.65-177777987638862 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796540.65-177777987638862 && echo $HOME/.ansible/tmp/ansible-tmp-1410796540.65-177777987638862'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpsOkRgR TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.65-177777987638862/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wndqbpkmuinldfqrxtbnfuooekhgxhkd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wndqbpkmuinldfqrxtbnfuooekhgxhkd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.65-177777987638862/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.65-177777987638862/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/devpi/supervisor/conf.d) => {"changed": true, "gid": 1007, "group": "devpi.supervisor", "item": "/edx/app/devpi/supervisor/conf.d", "mode": "0775", "owner": "supervisor", "path": "/edx/app/devpi/supervisor/conf.d", "size": 4096, "state": "directory", "uid": 1002} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/app/devpi/supervisor/conf.available.d state=directory owner=supervisor group=devpi.supervisor mode="775" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796540.78-144984939836060 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796540.78-144984939836060 && echo $HOME/.ansible/tmp/ansible-tmp-1410796540.78-144984939836060'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpz20ntz TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.78-144984939836060/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=duejvnshhfongdbotatfkjdnidckdptd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-duejvnshhfongdbotatfkjdnidckdptd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.78-144984939836060/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.78-144984939836060/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/devpi/supervisor/conf.available.d) => {"changed": true, "gid": 1007, "group": "devpi.supervisor", "item": "/edx/app/devpi/supervisor/conf.available.d", "mode": "0775", "owner": "supervisor", "path": "/edx/app/devpi/supervisor/conf.available.d", "size": 4096, "state": "directory", "uid": 1002} | |
TASK: [supervisor | create supervisor directories] **************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/var/devpi/supervisor state=directory owner=devpi.supervisor group=supervisor | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796540.94-138500685645648 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796540.94-138500685645648 && echo $HOME/.ansible/tmp/ansible-tmp-1410796540.94-138500685645648'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp4RQrJv TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.94-138500685645648/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=awkcpzhxqclamjwjhpcdouwufrgvbgan] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-awkcpzhxqclamjwjhpcdouwufrgvbgan; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.94-138500685645648/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796540.94-138500685645648/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/devpi/supervisor) => {"changed": true, "gid": 1005, "group": "supervisor", "item": "/edx/var/devpi/supervisor", "mode": "0755", "owner": "devpi.supervisor", "path": "/edx/var/devpi/supervisor", "size": 4096, "state": "directory", "uid": 1004} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file name=/edx/var/log/devpi/supervisor state=directory owner=devpi.supervisor group=supervisor | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796541.07-207128359705746 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796541.07-207128359705746 && echo $HOME/.ansible/tmp/ansible-tmp-1410796541.07-207128359705746'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpLl8LCs TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796541.07-207128359705746/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bopdyncdxnucuzgknuujcxavcugnaavk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bopdyncdxnucuzgknuujcxavcugnaavk; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796541.07-207128359705746/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796541.07-207128359705746/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/log/devpi/supervisor) => {"changed": true, "gid": 1005, "group": "supervisor", "item": "/edx/var/log/devpi/supervisor", "mode": "0755", "owner": "devpi.supervisor", "path": "/edx/var/log/devpi/supervisor", "size": 4096, "state": "directory", "uid": 1004} | |
TASK: [supervisor | install supervisor in its venv] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name=supervisor virtualenv="/edx/app/devpi/venvs/supervisor" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796541.22-95280472069989 && chmod a+rx /tmp/ansible-tmp-1410796541.22-95280472069989 && echo /tmp/ansible-tmp-1410796541.22-95280472069989'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpZv12wZ TO /tmp/ansible-tmp-1410796541.22-95280472069989/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796541.22-95280472069989/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=cpmjyfsrfgcmyfdkfkrmseepbpnckazw] password: " -u supervisor /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-cpmjyfsrfgcmyfdkfkrmseepbpnckazw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796541.22-95280472069989/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796541.22-95280472069989/ >/dev/null 2>&1'"] | |
changed: [default] => {"changed": true, "cmd": "/edx/app/devpi/venvs/supervisor/bin/pip install -i https://pypi.python.org/simple supervisor", "name": "supervisor", "requirements": null, "state": "present", "stderr": "", "stdout": "New python executable in /edx/app/devpi/venvs/supervisor/bin/python\nInstalling setuptools, pip...done.\nDownloading/unpacking supervisor\n Running setup.py (path:/edx/app/devpi/venvs/supervisor/build/supervisor/setup.py) egg_info for package supervisor\n \n warning: no previously-included files matching '*' found under directory 'docs/.build'\nDownloading/unpacking meld3>=0.6.5 (from supervisor)\n Downloading meld3-1.0.0.tar.gz\n Running setup.py (path:/edx/app/devpi/venvs/supervisor/build/meld3/setup.py) egg_info for package meld3\n \nInstalling collected packages: supervisor, meld3\n Running setup.py install for supervisor\n \n warning: no previously-included files matching '*' found under directory 'docs/.build'\n Skipping installation of /edx/app/devpi/venvs/supervisor/lib/python2.7/site-packages/supervisor/__init__.py (namespace package)\n Installing /edx/app/devpi/venvs/supervisor/lib/python2.7/site-packages/supervisor-3.1.2-py2.7-nspkg.pth\n Installing echo_supervisord_conf script to /edx/app/devpi/venvs/supervisor/bin\n Installing pidproxy script to /edx/app/devpi/venvs/supervisor/bin\n Installing supervisorctl script to /edx/app/devpi/venvs/supervisor/bin\n Installing supervisord script to /edx/app/devpi/venvs/supervisor/bin\n Running setup.py install for meld3\n \nSuccessfully installed supervisor meld3\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/devpi/venvs/supervisor"} | |
TASK: [supervisor | install supervisor in its venv] *************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name=boto virtualenv="/edx/app/devpi/venvs/supervisor" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796544.27-110009844633717 && chmod a+rx /tmp/ansible-tmp-1410796544.27-110009844633717 && echo /tmp/ansible-tmp-1410796544.27-110009844633717'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp4gYjIA TO /tmp/ansible-tmp-1410796544.27-110009844633717/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796544.27-110009844633717/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hwzmamissccfvzckcqpkjjhnuvvrdxbb] password: " -u supervisor /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hwzmamissccfvzckcqpkjjhnuvvrdxbb; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796544.27-110009844633717/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796544.27-110009844633717/ >/dev/null 2>&1'"] | |
changed: [default] => (item=boto) => {"changed": true, "cmd": "/edx/app/devpi/venvs/supervisor/bin/pip install -i https://pypi.python.org/simple boto", "item": "boto", "name": "boto", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking boto\nInstalling collected packages: boto\nSuccessfully installed boto\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/devpi/venvs/supervisor"} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name=python-simple-hipchat virtualenv="/edx/app/devpi/venvs/supervisor" state=present extra_args="-i https://pypi.python.org/simple" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796545.69-281270413091399 && chmod a+rx /tmp/ansible-tmp-1410796545.69-281270413091399 && echo /tmp/ansible-tmp-1410796545.69-281270413091399'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp2IcmEo TO /tmp/ansible-tmp-1410796545.69-281270413091399/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796545.69-281270413091399/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bopanwdfeezzssqelaornvttdxnfazgi] password: " -u supervisor /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bopanwdfeezzssqelaornvttdxnfazgi; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796545.69-281270413091399/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796545.69-281270413091399/ >/dev/null 2>&1'"] | |
changed: [default] => (item=python-simple-hipchat) => {"changed": true, "cmd": "/edx/app/devpi/venvs/supervisor/bin/pip install -i https://pypi.python.org/simple python-simple-hipchat", "item": "python-simple-hipchat", "name": "python-simple-hipchat", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking python-simple-hipchat\n Downloading python-simple-hipchat-0.3.3.tar.gz\n Running setup.py (path:/edx/app/devpi/venvs/supervisor/build/python-simple-hipchat/setup.py) egg_info for package python-simple-hipchat\n \nInstalling collected packages: python-simple-hipchat\n Running setup.py install for python-simple-hipchat\n \nSuccessfully installed python-simple-hipchat\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/devpi/venvs/supervisor"} | |
TASK: [supervisor | create supervisor upstart job] **************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796546.51-111527135488662 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796546.51-111527135488662 && echo $HOME/.ansible/tmp/ansible-tmp-1410796546.51-111527135488662'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vtjoyvvavtlaxcgyrgyltmstiltqomog] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vtjoyvvavtlaxcgyrgyltmstiltqomog; rc=0; [ -r "/etc/init/supervisor.devpi.conf" ] || rc=2; [ -f "/etc/init/supervisor.devpi.conf" ] || rc=1; [ -d "/etc/init/supervisor.devpi.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /etc/init/supervisor.devpi.conf 2>/dev/null) || (/sbin/md5sum -q /etc/init/supervisor.devpi.conf 2>/dev/null) || (/usr/bin/digest -a md5 /etc/init/supervisor.devpi.conf 2>/dev/null) || (/sbin/md5 -q /etc/init/supervisor.devpi.conf 2>/dev/null) || (/usr/bin/md5 -n /etc/init/supervisor.devpi.conf 2>/dev/null) || (/bin/md5 -q /etc/init/supervisor.devpi.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /etc/init/supervisor.devpi.conf 2>/dev/null) || (/bin/csum -h MD5 /etc/init/supervisor.devpi.conf 2>/dev/null) || (echo "${rc} /etc/init/supervisor.devpi.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpUxHMhC TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796546.51-111527135488662/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpvc6uRJ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796546.51-111527135488662/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mpemeowjrnzeqebltctjexfljycwxpud] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mpemeowjrnzeqebltctjexfljycwxpud; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796546.51-111527135488662/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796546.51-111527135488662/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/init/supervisor.devpi.conf", "gid": 0, "group": "root", "md5sum": "37923b72553624571f2a4ea867b32de5", "mode": "0644", "owner": "root", "size": 242, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796546.51-111527135488662/source", "state": "file", "uid": 0} | |
TASK: [supervisor | create pre_supervisor upstart job] ************************ | |
skipping: [default] | |
TASK: [supervisor | write the pre_suprevisor python script] ******************* | |
skipping: [default] | |
TASK: [supervisor | create supervisor master config] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796546.76-279381641796997 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796546.76-279381641796997 && echo $HOME/.ansible/tmp/ansible-tmp-1410796546.76-279381641796997'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vnthgzbwaokstzsszmipvrscjtxxfgxz] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vnthgzbwaokstzsszmipvrscjtxxfgxz; rc=0; [ -r "/edx/app/devpi/supervisor/supervisord.conf" ] || rc=2; [ -f "/edx/app/devpi/supervisor/supervisord.conf" ] || rc=1; [ -d "/edx/app/devpi/supervisor/supervisord.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/devpi/supervisor/supervisord.conf 2>/dev/null) || (/sbin/md5sum -q /edx/app/devpi/supervisor/supervisord.conf 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/devpi/supervisor/supervisord.conf 2>/dev/null) || (/sbin/md5 -q /edx/app/devpi/supervisor/supervisord.conf 2>/dev/null) || (/usr/bin/md5 -n /edx/app/devpi/supervisor/supervisord.conf 2>/dev/null) || (/bin/md5 -q /edx/app/devpi/supervisor/supervisord.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/devpi/supervisor/supervisord.conf 2>/dev/null) || (/bin/csum -h MD5 /edx/app/devpi/supervisor/supervisord.conf 2>/dev/null) || (echo "${rc} /edx/app/devpi/supervisor/supervisord.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpidDnxu TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796546.76-279381641796997/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpO7HFrt TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796546.76-279381641796997/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rjzopwuylzpmlkwwlhqakalpvmchnefi] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rjzopwuylzpmlkwwlhqakalpvmchnefi; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796546.76-279381641796997/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796546.76-279381641796997/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/devpi/supervisor/supervisord.conf", "gid": 1007, "group": "devpi.supervisor", "md5sum": "ffef92e4d3cbf4bcef4579e5fe7de905", "mode": "0644", "owner": "supervisor", "size": 1302, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796546.76-279381641796997/source", "state": "file", "uid": 1002} | |
TASK: [supervisor | create a symlink for supervisortctl] ********************** | |
skipping: [default] | |
TASK: [supervisor | create a symlink for supervisor cfg] ********************** | |
skipping: [default] => (item=/edx/app/devpi/supervisor/supervisord.conf) | |
skipping: [default] => (item=/edx/app/devpi/supervisor/conf.d) | |
TASK: [supervisor | start supervisor] ***************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE service name=supervisor.devpi state=started | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796547.04-103182432242586 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796547.04-103182432242586 && echo $HOME/.ansible/tmp/ansible-tmp-1410796547.04-103182432242586'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp6LMo1V TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.04-103182432242586/service | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vvwamlrasttwlbnntdyeclvzzbclsshq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vvwamlrasttwlbnntdyeclvzzbclsshq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.04-103182432242586/service; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.04-103182432242586/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "name": "supervisor.devpi", "state": "started"} | |
TASK: [supervisor | wait for web port to be available] ************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE wait_for port=9002 timeout=5 | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796547.24-27908925335504 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796547.24-27908925335504 && echo $HOME/.ansible/tmp/ansible-tmp-1410796547.24-27908925335504'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpaPWGRF TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.24-27908925335504/wait_for | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gnrsdxzdyypofthulfcfphmuzdddcbdd] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gnrsdxzdyypofthulfcfphmuzdddcbdd; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.24-27908925335504/wait_for; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.24-27908925335504/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "elapsed": 0, "path": null, "port": 9002, "search_regex": null, "state": "started"} | |
TASK: [supervisor | update supervisor configuration] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command /edx/app/devpi/venvs/supervisor/bin/supervisorctl -c /edx/app/devpi/supervisor/supervisord.conf update #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796547.41-133790309145912 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796547.41-133790309145912 && echo $HOME/.ansible/tmp/ansible-tmp-1410796547.41-133790309145912'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmptxS0VD TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.41-133790309145912/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=saerjayptzbsooriwhcrnktuozazoemg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-saerjayptzbsooriwhcrnktuozazoemg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.41-133790309145912/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.41-133790309145912/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "cmd": "/edx/app/devpi/venvs/supervisor/bin/supervisorctl -c /edx/app/devpi/supervisor/supervisord.conf update", "delta": "0:00:00.068751", "end": "2014-09-15 15:55:47.510802", "rc": 0, "start": "2014-09-15 15:55:47.442051", "stderr": "", "stdout": "", "stdout_lines": []} | |
TASK: [devpi | create devpi user] ********************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name=devpi shell=/bin/false createhome=no | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796547.63-245180464050747 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796547.63-245180464050747 && echo $HOME/.ansible/tmp/ansible-tmp-1410796547.63-245180464050747'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpRKwwRt TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.63-245180464050747/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yeuantzgajqaujgofkzawoummaaxkchq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yeuantzgajqaujgofkzawoummaaxkchq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.63-245180464050747/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.63-245180464050747/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "comment": "", "createhome": false, "group": 1008, "home": "/home/devpi", "name": "devpi", "shell": "/bin/false", "state": "present", "system": false, "uid": 1005} | |
TASK: [devpi | create devpi application directories] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/app/devpi state=directory owner=devpi group=devpi.supervisor | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796547.83-38393366996744 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796547.83-38393366996744 && echo $HOME/.ansible/tmp/ansible-tmp-1410796547.83-38393366996744'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmphPzHyI TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.83-38393366996744/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=lsdmndgsfgmotsudcequwksatcnqusmc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-lsdmndgsfgmotsudcequwksatcnqusmc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.83-38393366996744/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.83-38393366996744/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/devpi) => {"changed": true, "gid": 1007, "group": "devpi.supervisor", "item": "/edx/app/devpi", "mode": "0755", "owner": "devpi", "path": "/edx/app/devpi", "size": 4096, "state": "directory", "uid": 1005} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/app/devpi/venvs/devpi state=directory owner=devpi group=devpi.supervisor | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796547.96-214754195356104 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796547.96-214754195356104 && echo $HOME/.ansible/tmp/ansible-tmp-1410796547.96-214754195356104'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpmwPopA TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.96-214754195356104/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tepesngofyzzoxrdhgbhufjtukhtyiut] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tepesngofyzzoxrdhgbhufjtukhtyiut; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.96-214754195356104/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796547.96-214754195356104/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/devpi/venvs/devpi) => {"changed": true, "gid": 1007, "group": "devpi.supervisor", "item": "/edx/app/devpi/venvs/devpi", "mode": "0755", "owner": "devpi", "path": "/edx/app/devpi/venvs/devpi", "size": 4096, "state": "directory", "uid": 1005} | |
TASK: [devpi | create the devpi data directory, needs write access by the service user] *** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var/devpi state=directory owner=devpi.supervisor group=devpi | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796548.11-233247573954936 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796548.11-233247573954936 && echo $HOME/.ansible/tmp/ansible-tmp-1410796548.11-233247573954936'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp9P5Nbh TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796548.11-233247573954936/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jpyhdzexjydorskljdxtzodbrqrwntap] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jpyhdzexjydorskljdxtzodbrqrwntap; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796548.11-233247573954936/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796548.11-233247573954936/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/devpi) => {"changed": true, "gid": 1008, "group": "devpi", "item": "/edx/var/devpi", "mode": "0755", "owner": "devpi.supervisor", "path": "/edx/var/devpi", "size": 4096, "state": "directory", "uid": 1004} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/edx/var/devpi/data state=directory owner=devpi.supervisor group=devpi | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796548.25-165704213256948 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796548.25-165704213256948 && echo $HOME/.ansible/tmp/ansible-tmp-1410796548.25-165704213256948'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpB7u5EI TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796548.25-165704213256948/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ruuzsxxymxjoitgfdbwgqgyarufpvlej] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ruuzsxxymxjoitgfdbwgqgyarufpvlej; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796548.25-165704213256948/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796548.25-165704213256948/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/devpi/data) => {"changed": true, "gid": 1008, "group": "devpi", "item": "/edx/var/devpi/data", "mode": "0755", "owner": "devpi.supervisor", "path": "/edx/var/devpi/data", "size": 4096, "state": "directory", "uid": 1004} | |
TASK: [devpi | install devpi pip pkgs] **************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name=devpi-server state=present virtualenv=/edx/app/devpi/venvs/devpi | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796548.42-14451342399286 && chmod a+rx /tmp/ansible-tmp-1410796548.42-14451342399286 && echo /tmp/ansible-tmp-1410796548.42-14451342399286'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpBIZFQl TO /tmp/ansible-tmp-1410796548.42-14451342399286/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796548.42-14451342399286/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xiocqwsktdquddlpwboqhuqjdhwczndb] password: " -u devpi /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xiocqwsktdquddlpwboqhuqjdhwczndb; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796548.42-14451342399286/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796548.42-14451342399286/ >/dev/null 2>&1'"] | |
changed: [default] => (item=devpi-server) => {"changed": true, "cmd": "/edx/app/devpi/venvs/devpi/bin/pip install devpi-server", "item": "devpi-server", "name": "devpi-server", "requirements": null, "state": "present", "stderr": "", "stdout": "New python executable in /edx/app/devpi/venvs/devpi/bin/python\nInstalling setuptools, pip...done.\nDownloading/unpacking devpi-server\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/devpi-server/setup.py) egg_info for package devpi-server\n \nDownloading/unpacking py>=1.4.23 (from devpi-server)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/py/setup.py) egg_info for package py\n \nDownloading/unpacking devpi-common>=2.0.2,<2.1 (from devpi-server)\n Downloading devpi-common-2.0.2.tar.gz\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/devpi-common/setup.py) egg_info for package devpi-common\n \nDownloading/unpacking itsdangerous>=0.24 (from devpi-server)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/itsdangerous/setup.py) egg_info for package itsdangerous\n \n warning: no previously-included files matching '*' found under directory 'docs/_build'\nDownloading/unpacking execnet>=1.2 (from devpi-server)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/execnet/setup.py) egg_info for package execnet\n \n warning: no files found matching 'conftest.py'\nDownloading/unpacking pyramid>=1.5.1 (from devpi-server)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/pyramid/setup.py) egg_info for package pyramid\n \nDownloading/unpacking waitress>=0.8.9 (from devpi-server)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/waitress/setup.py) egg_info for package waitress\n \nDownloading/unpacking repoze.lru>=0.6 (from devpi-server)\n Downloading repoze.lru-0.6.tar.gz\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/repoze.lru/setup.py) egg_info for package repoze.lru\n \nDownloading/unpacking requests>=2.3.0 (from devpi-common>=2.0.2,<2.1->devpi-server)\nRequirement already satisfied (use --upgrade to upgrade): setuptools in /edx/app/devpi/venvs/devpi/lib/python2.7/site-packages (from pyramid>=1.5.1->devpi-server)\nDownloading/unpacking WebOb>=1.3.1 (from pyramid>=1.5.1->devpi-server)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/WebOb/setup.py) egg_info for package WebOb\n \n no previously-included directories found matching '*.pyc'\n no previously-included directories found matching '*.pyo'\nDownloading/unpacking zope.interface>=3.8.0 (from pyramid>=1.5.1->devpi-server)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/zope.interface/setup.py) egg_info for package zope.interface\n \n warning: no previously-included files matching '*.dll' found anywhere in distribution\n warning: no previously-included files matching '*.pyc' found anywhere in distribution\n warning: no previously-included files matching '*.pyo' found anywhere in distribution\n warning: no previously-included files matching '*.so' found anywhere in distribution\nDownloading/unpacking zope.deprecation>=3.5.0 (from pyramid>=1.5.1->devpi-server)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/zope.deprecation/setup.py) egg_info for package zope.deprecation\n \n warning: no previously-included files matching '*.dll' found anywhere in distribution\n warning: no previously-included files matching '*.pyc' found anywhere in distribution\n warning: no previously-included files matching '*.pyo' found anywhere in distribution\n warning: no previously-included files matching '*.so' found anywhere in distribution\nDownloading/unpacking venusian>=1.0a3 (from pyramid>=1.5.1->devpi-server)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/venusian/setup.py) egg_info for package venusian\n \nDownloading/unpacking translationstring>=0.4 (from pyramid>=1.5.1->devpi-server)\n Downloading translationstring-1.1.tar.gz\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/translationstring/setup.py) egg_info for package translationstring\n \n no previously-included directories found matching 'docs/_build'\nDownloading/unpacking PasteDeploy>=1.5.0 (from pyramid>=1.5.1->devpi-server)\n Downloading PasteDeploy-1.5.2-py2.py3-none-any.whl\nInstalling collected packages: devpi-server, py, devpi-common, itsdangerous, execnet, pyramid, waitress, repoze.lru, requests, WebOb, zope.interface, zope.deprecation, venusian, translationstring, PasteDeploy\n Running setup.py install for devpi-server\n \n Installing devpi-server script to /edx/app/devpi/venvs/devpi/bin\n Running setup.py install for py\n \n Running setup.py install for devpi-common\n \n Running setup.py install for itsdangerous\n \n warning: no previously-included files matching '*' found under directory 'docs/_build'\n Running setup.py install for execnet\n \n warning: no files found matching 'conftest.py'\n Running setup.py install for pyramid\n \n Installing ptweens script to /edx/app/devpi/venvs/devpi/bin\n Installing pdistreport script to /edx/app/devpi/venvs/devpi/bin\n Installing proutes script to /edx/app/devpi/venvs/devpi/bin\n Installing pshell script to /edx/app/devpi/venvs/devpi/bin\n Installing prequest script to /edx/app/devpi/venvs/devpi/bin\n Installing pviews script to /edx/app/devpi/venvs/devpi/bin\n Installing pcreate script to /edx/app/devpi/venvs/devpi/bin\n Installing pserve script to /edx/app/devpi/venvs/devpi/bin\n Running setup.py install for waitress\n \n Installing waitress-serve script to /edx/app/devpi/venvs/devpi/bin\n Running setup.py install for repoze.lru\n \n Skipping installation of /edx/app/devpi/venvs/devpi/lib/python2.7/site-packages/repoze/__init__.py (namespace package)\n Installing /edx/app/devpi/venvs/devpi/lib/python2.7/site-packages/repoze.lru-0.6-py2.7-nspkg.pth\n Running setup.py install for WebOb\n \n no previously-included directories found matching '*.pyc'\n no previously-included directories found matching '*.pyo'\n Running setup.py install for zope.interface\n \n warning: no previously-included files matching '*.dll' found anywhere in distribution\n warning: no previously-included files matching '*.pyc' found anywhere in distribution\n warning: no previously-included files matching '*.pyo' found anywhere in distribution\n warning: no previously-included files matching '*.so' found anywhere in distribution\n building 'zope.interface._zope_interface_coptimizations' extension\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/zope/interface/_zope_interface_coptimizations.c -o build/temp.linux-x86_64-2.7/src/zope/interface/_zope_interface_coptimizations.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/zope/interface/_zope_interface_coptimizations.o -o build/lib.linux-x86_64-2.7/zope/interface/_zope_interface_coptimizations.so\n Skipping installation of /edx/app/devpi/venvs/devpi/lib/python2.7/site-packages/zope/__init__.py (namespace package)\n Installing /edx/app/devpi/venvs/devpi/lib/python2.7/site-packages/zope.interface-4.1.1-py2.7-nspkg.pth\n Running setup.py install for zope.deprecation\n \n warning: no previously-included files matching '*.dll' found anywhere in distribution\n warning: no previously-included files matching '*.pyc' found anywhere in distribution\n warning: no previously-included files matching '*.pyo' found anywhere in distribution\n warning: no previously-included files matching '*.so' found anywhere in distribution\n Skipping installation of /edx/app/devpi/venvs/devpi/lib/python2.7/site-packages/zope/__init__.py (namespace package)\n Installing /edx/app/devpi/venvs/devpi/lib/python2.7/site-packages/zope.deprecation-4.1.1-py2.7-nspkg.pth\n Running setup.py install for venusian\n \n Running setup.py install for translationstring\n \n no previously-included directories found matching 'docs/_build'\nSuccessfully installed devpi-server py devpi-common itsdangerous execnet pyramid waitress repoze.lru requests WebOb zope.interface zope.deprecation venusian translationstring PasteDeploy\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/devpi/venvs/devpi"} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE pip name=eventlet state=present virtualenv=/edx/app/devpi/venvs/devpi | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796557.74-279184434948032 && chmod a+rx /tmp/ansible-tmp-1410796557.74-279184434948032 && echo /tmp/ansible-tmp-1410796557.74-279184434948032'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpMxP4Yl TO /tmp/ansible-tmp-1410796557.74-279184434948032/pip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796557.74-279184434948032/pip'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tivsewvphdlqyyyfamcpyhhtmvspzimz] password: " -u devpi /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tivsewvphdlqyyyfamcpyhhtmvspzimz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796557.74-279184434948032/pip\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796557.74-279184434948032/ >/dev/null 2>&1'"] | |
changed: [default] => (item=eventlet) => {"changed": true, "cmd": "/edx/app/devpi/venvs/devpi/bin/pip install eventlet", "item": "eventlet", "name": "eventlet", "requirements": null, "state": "present", "stderr": "", "stdout": "Downloading/unpacking eventlet\nDownloading/unpacking greenlet>=0.3 (from eventlet)\n Running setup.py (path:/edx/app/devpi/venvs/devpi/build/greenlet/setup.py) egg_info for package greenlet\n \nInstalling collected packages: eventlet, greenlet\n Running setup.py install for greenlet\n building 'greenlet' extension\n gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-x86_64-2.7/greenlet.o\n gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/greenlet.o -o build/lib.linux-x86_64-2.7/greenlet.so\n \nSuccessfully installed eventlet greenlet\nCleaning up...\n", "version": null, "virtualenv": "/edx/app/devpi/venvs/devpi"} | |
TASK: [devpi | writing supervisor script] ************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796559.36-280366893031079 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796559.36-280366893031079 && echo $HOME/.ansible/tmp/ansible-tmp-1410796559.36-280366893031079'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=vwecooepnxfxqeenklpyfqlenbgcrghv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-vwecooepnxfxqeenklpyfqlenbgcrghv; rc=0; [ -r "/edx/app/devpi/supervisor/conf.d/devpi.conf" ] || rc=2; [ -f "/edx/app/devpi/supervisor/conf.d/devpi.conf" ] || rc=1; [ -d "/edx/app/devpi/supervisor/conf.d/devpi.conf" ] && echo 3 && exit 0; (/usr/bin/md5sum /edx/app/devpi/supervisor/conf.d/devpi.conf 2>/dev/null) || (/sbin/md5sum -q /edx/app/devpi/supervisor/conf.d/devpi.conf 2>/dev/null) || (/usr/bin/digest -a md5 /edx/app/devpi/supervisor/conf.d/devpi.conf 2>/dev/null) || (/sbin/md5 -q /edx/app/devpi/supervisor/conf.d/devpi.conf 2>/dev/null) || (/usr/bin/md5 -n /edx/app/devpi/supervisor/conf.d/devpi.conf 2>/dev/null) || (/bin/md5 -q /edx/app/devpi/supervisor/conf.d/devpi.conf 2>/dev/null) || (/usr/bin/csum -h MD5 /edx/app/devpi/supervisor/conf.d/devpi.conf 2>/dev/null) || (/bin/csum -h MD5 /edx/app/devpi/supervisor/conf.d/devpi.conf 2>/dev/null) || (echo "${rc} /edx/app/devpi/supervisor/conf.d/devpi.conf")\'"\'"\'\''] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpjr0KY0 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.36-280366893031079/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpwpMSRY TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.36-280366893031079/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=pdxfxbgccepnixavjdiaavbdvndhxjeo] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-pdxfxbgccepnixavjdiaavbdvndhxjeo; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.36-280366893031079/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.36-280366893031079/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/app/devpi/supervisor/conf.d/devpi.conf", "gid": 1008, "group": "devpi", "md5sum": "bd085ed7ed7ce5da015e8ddd37dfd747", "mode": "0644", "owner": "devpi", "size": 347, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1410796559.36-280366893031079/source", "state": "file", "uid": 1005} | |
TASK: [devpi | create a symlink for venv python, pip] ************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src="/edx/app/devpi/venvs/devpi/bin/python" dest=/edx/bin/python.devpi state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796559.58-114424692459086 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796559.58-114424692459086 && echo $HOME/.ansible/tmp/ansible-tmp-1410796559.58-114424692459086'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpMbhrvB TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.58-114424692459086/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yrsorscevnjjmezhhpdobuogskollitb] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yrsorscevnjjmezhhpdobuogskollitb; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.58-114424692459086/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.58-114424692459086/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=python) => {"changed": true, "dest": "/edx/bin/python.devpi", "gid": 0, "group": "root", "item": "python", "mode": "0777", "owner": "root", "size": 37, "src": "/edx/app/devpi/venvs/devpi/bin/python", "state": "link", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src="/edx/app/devpi/venvs/devpi/bin/pip" dest=/edx/bin/pip.devpi state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796559.72-24526027243913 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796559.72-24526027243913 && echo $HOME/.ansible/tmp/ansible-tmp-1410796559.72-24526027243913'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp3QK4WH TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.72-24526027243913/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gkcqtdphczgzcvlynkpqnfkionfdefcr] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gkcqtdphczgzcvlynkpqnfkionfdefcr; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.72-24526027243913/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.72-24526027243913/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=pip) => {"changed": true, "dest": "/edx/bin/pip.devpi", "gid": 0, "group": "root", "item": "pip", "mode": "0777", "owner": "root", "size": 34, "src": "/edx/app/devpi/venvs/devpi/bin/pip", "state": "link", "uid": 0} | |
TASK: [devpi | create a symlink for venv supervisor] ************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src="/edx/app/devpi/venvs/supervisor/bin/supervisorctl" dest=/edx/bin/supervisorctl.devpi state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796559.87-161619694392636 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796559.87-161619694392636 && echo $HOME/.ansible/tmp/ansible-tmp-1410796559.87-161619694392636'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpBgyDKt TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.87-161619694392636/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=cyckegsloalenhqluxturueavptiqdst] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-cyckegsloalenhqluxturueavptiqdst; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.87-161619694392636/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796559.87-161619694392636/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/bin/supervisorctl.devpi", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 49, "src": "/edx/app/devpi/venvs/supervisor/bin/supervisorctl", "state": "link", "uid": 0} | |
TASK: [devpi | create a symlink for supervisor config] ************************ | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src="/edx/app/devpi/supervisor/supervisord.conf" dest=/edx/etc/supervisord.conf.devpi state=link | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796560.01-174240179977575 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796560.01-174240179977575 && echo $HOME/.ansible/tmp/ansible-tmp-1410796560.01-174240179977575'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpM6IMJd TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796560.01-174240179977575/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mgityhnahbrockkgkcewlbvmcfctztis] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mgityhnahbrockkgkcewlbvmcfctztis; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796560.01-174240179977575/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796560.01-174240179977575/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/edx/etc/supervisord.conf.devpi", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 42, "src": "/edx/app/devpi/supervisor/supervisord.conf", "state": "link", "uid": 0} | |
TASK: [devpi | update devpi supervisor configuration] ************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command /edx/app/devpi/venvs/supervisor/bin/supervisorctl -c /edx/app/devpi/supervisor/supervisord.conf update #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796560.15-4799807545542 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796560.15-4799807545542 && echo $HOME/.ansible/tmp/ansible-tmp-1410796560.15-4799807545542'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpB26FZt TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796560.15-4799807545542/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zbctgxzggczwuhlrfytchipuauezlssp] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zbctgxzggczwuhlrfytchipuauezlssp; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796560.15-4799807545542/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796560.15-4799807545542/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "cmd": "/edx/app/devpi/venvs/supervisor/bin/supervisorctl -c /edx/app/devpi/supervisor/supervisord.conf update", "delta": "0:00:00.073358", "end": "2014-09-15 15:56:00.265478", "rc": 0, "start": "2014-09-15 15:56:00.192120", "stderr": "", "stdout": "devpi-server: added process group", "stdout_lines": ["devpi-server: added process group"]} | |
TASK: [devpi | ensure devpi is started] *************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE supervisorctl_local state=started supervisorctl_path=/edx/app/devpi/venvs/supervisor/bin/supervisorctl config=/edx/app/devpi/supervisor/supervisord.conf name=devpi-server | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1410796560.39-206802026723447 && chmod a+rx /tmp/ansible-tmp-1410796560.39-206802026723447 && echo /tmp/ansible-tmp-1410796560.39-206802026723447'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpA3tNgw TO /tmp/ansible-tmp-1410796560.39-206802026723447/supervisorctl_local | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u"/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1410796560.39-206802026723447/supervisorctl_local'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hxhjzddtafhnoopbcgwmyqvmklsbyhya] password: " -u devpi.supervisor /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hxhjzddtafhnoopbcgwmyqvmklsbyhya; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1410796560.39-206802026723447/supervisorctl_local\'"\'"\'\''] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'rm -rf /tmp/ansible-tmp-1410796560.39-206802026723447/ >/dev/null 2>&1'"] | |
ok: [default] => {"changed": false, "name": "devpi-server", "state": "started"} | |
TASK: [nltk | Install unzip] ************************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE apt pkg=unzip state=present | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796560.85-274800733490275 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796560.85-274800733490275 && echo $HOME/.ansible/tmp/ansible-tmp-1410796560.85-274800733490275'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmppicdTZ TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796560.85-274800733490275/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=aimtyobvwmhsntvylmtyewtuwxahvaoa] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-aimtyobvwmhsntvylmtyewtuwxahvaoa; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796560.85-274800733490275/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796560.85-274800733490275/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false} | |
TASK: [nltk | create the nltk data directory and subdirectories] ************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/usr/local/share/nltk_data/taggers state=directory | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796561.56-245304992641014 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796561.56-245304992641014 && echo $HOME/.ansible/tmp/ansible-tmp-1410796561.56-245304992641014'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpu0c35G TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796561.56-245304992641014/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=rwhuduziwbfxoangqitvmqyjmjpcsvnj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-rwhuduziwbfxoangqitvmqyjmjpcsvnj; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796561.56-245304992641014/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796561.56-245304992641014/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'}) => {"changed": true, "gid": 0, "group": "root", "item": {"path": "taggers/maxent_treebank_pos_tagger", "url": "http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip"}, "mode": "0755", "owner": "root", "path": "/usr/local/share/nltk_data/taggers", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/usr/local/share/nltk_data/corpora state=directory | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796561.7-56074080417152 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796561.7-56074080417152 && echo $HOME/.ansible/tmp/ansible-tmp-1410796561.7-56074080417152'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp_OUrPy TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796561.7-56074080417152/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=jspklkyvqvdhppzcplzidvimgphdkpzx] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-jspklkyvqvdhppzcplzidvimgphdkpzx; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796561.7-56074080417152/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796561.7-56074080417152/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'}) => {"changed": true, "gid": 0, "group": "root", "item": {"path": "corpora/stopwords", "url": "http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip"}, "mode": "0755", "owner": "root", "path": "/usr/local/share/nltk_data/corpora", "size": 4096, "state": "directory", "uid": 0} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path=/usr/local/share/nltk_data/corpora state=directory | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796561.86-139031296867903 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796561.86-139031296867903 && echo $HOME/.ansible/tmp/ansible-tmp-1410796561.86-139031296867903'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpPhjQRY TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796561.86-139031296867903/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=fkwyvjlotcmscupissqjcieujiesrpwz] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-fkwyvjlotcmscupissqjcieujiesrpwz; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796561.86-139031296867903/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796561.86-139031296867903/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'}) => {"changed": false, "gid": 0, "group": "root", "item": {"path": "corpora/wordnet", "url": "http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip"}, "mode": "0755", "owner": "root", "path": "/usr/local/share/nltk_data/corpora", "size": 4096, "state": "directory", "uid": 0} | |
TASK: [nltk | download nltk data] ********************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE get_url dest=/usr/local/share/nltk_data/maxent_treebank_pos_tagger.zip url=http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796562.03-243535048353937 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796562.03-243535048353937 && echo $HOME/.ansible/tmp/ansible-tmp-1410796562.03-243535048353937'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpnfc41u TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796562.03-243535048353937/get_url | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=cakfvpqmmdrmuksxbtepjrehyxzcjjke] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-cakfvpqmmdrmuksxbtepjrehyxzcjjke; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796562.03-243535048353937/get_url; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796562.03-243535048353937/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'}) => {"changed": true, "dest": "/usr/local/share/nltk_data/maxent_treebank_pos_tagger.zip", "gid": 0, "group": "root", "item": {"path": "taggers/maxent_treebank_pos_tagger", "url": "http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip"}, "md5sum": "e3b8a5353056073e164c5b06d0cc1fa7", "mode": "0644", "msg": "OK (10156853 bytes)", "owner": "root", "sha256sum": "", "size": 10156853, "src": "/tmp/tmpBSxJT1", "state": "file", "uid": 0, "url": "http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip"} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE get_url dest=/usr/local/share/nltk_data/stopwords.zip url=http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796562.77-188105618690228 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796562.77-188105618690228 && echo $HOME/.ansible/tmp/ansible-tmp-1410796562.77-188105618690228'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpbnuxxs TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796562.77-188105618690228/get_url | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=arxortsbbqxlcqnxbzwanokpknwnqmyq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-arxortsbbqxlcqnxbzwanokpknwnqmyq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796562.77-188105618690228/get_url; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796562.77-188105618690228/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'}) => {"changed": true, "dest": "/usr/local/share/nltk_data/stopwords.zip", "gid": 0, "group": "root", "item": {"path": "corpora/stopwords", "url": "http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip"}, "md5sum": "0669147c05593d0be78501b159561307", "mode": "0644", "msg": "OK (8684 bytes)", "owner": "root", "sha256sum": "", "size": 8684, "src": "/tmp/tmp_0P5lk", "state": "file", "uid": 0, "url": "http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip"} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE get_url dest=/usr/local/share/nltk_data/wordnet.zip url=http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796563.01-219818168615437 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796563.01-219818168615437 && echo $HOME/.ansible/tmp/ansible-tmp-1410796563.01-219818168615437'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpiKR3hW TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796563.01-219818168615437/get_url | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yjzchfyymsgjoimivnsbtjzghqqahtjq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yjzchfyymsgjoimivnsbtjzghqqahtjq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796563.01-219818168615437/get_url; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796563.01-219818168615437/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'}) => {"changed": true, "dest": "/usr/local/share/nltk_data/wordnet.zip", "gid": 0, "group": "root", "item": {"path": "corpora/wordnet", "url": "http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip"}, "md5sum": "da4ca27db8350b38729dc89de4d5a4e1", "mode": "0644", "msg": "OK (10771928 bytes)", "owner": "root", "sha256sum": "", "size": 10771928, "src": "/tmp/tmp9o3WVw", "state": "file", "uid": 0, "url": "http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip"} | |
TASK: [nltk | unarchive nltk data] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command unzip /usr/local/share/nltk_data/maxent_treebank_pos_tagger.zip chdir="/usr/local/share/nltk_data/taggers" #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796563.93-183621742907505 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796563.93-183621742907505 && echo $HOME/.ansible/tmp/ansible-tmp-1410796563.93-183621742907505'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpA33nio TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796563.93-183621742907505/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=asjiwcjssxmlrotarocjxmjuihetdojg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-asjiwcjssxmlrotarocjxmjuihetdojg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796563.93-183621742907505/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796563.93-183621742907505/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'}) => {"changed": true, "cmd": "unzip /usr/local/share/nltk_data/maxent_treebank_pos_tagger.zip", "delta": "0:00:00.204113", "end": "2014-09-15 15:56:04.172087", "item": {"path": "taggers/maxent_treebank_pos_tagger", "url": "http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip"}, "rc": 0, "start": "2014-09-15 15:56:03.967974", "stderr": "", "stdout": "Archive: /usr/local/share/nltk_data/maxent_treebank_pos_tagger.zip\n creating: maxent_treebank_pos_tagger/\n inflating: maxent_treebank_pos_tagger/english.pickle \n creating: maxent_treebank_pos_tagger/PY3/\n inflating: maxent_treebank_pos_tagger/PY3/english.pickle "} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command unzip /usr/local/share/nltk_data/stopwords.zip chdir="/usr/local/share/nltk_data/corpora" #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796564.28-225332367730322 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796564.28-225332367730322 && echo $HOME/.ansible/tmp/ansible-tmp-1410796564.28-225332367730322'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpRZT5qs TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796564.28-225332367730322/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=sfmwwzcevyhoesfuzzydpetcjjvbnjzy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-sfmwwzcevyhoesfuzzydpetcjjvbnjzy; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796564.28-225332367730322/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796564.28-225332367730322/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'}) => {"changed": true, "cmd": "unzip /usr/local/share/nltk_data/stopwords.zip", "delta": "0:00:00.006815", "end": "2014-09-15 15:56:04.318040", "item": {"path": "corpora/stopwords", "url": "http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip"}, "rc": 0, "start": "2014-09-15 15:56:04.311225", "stderr": "", "stdout": "Archive: /usr/local/share/nltk_data/stopwords.zip\n creating: stopwords/\n inflating: stopwords/danish \n inflating: stopwords/dutch \n inflating: stopwords/english \n inflating: stopwords/finnish \n inflating: stopwords/french \n inflating: stopwords/german \n inflating: stopwords/hungarian \n inflating: stopwords/italian \n inflating: stopwords/norwegian \n inflating: stopwords/portuguese \n inflating: stopwords/README \n inflating: stopwords/russian \n inflating: stopwords/spanish \n inflating: stopwords/swedish \n inflating: stopwords/turkish "} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE command unzip /usr/local/share/nltk_data/wordnet.zip chdir="/usr/local/share/nltk_data/corpora" #USE_SHELL | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796564.42-272718874046435 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796564.42-272718874046435 && echo $HOME/.ansible/tmp/ansible-tmp-1410796564.42-272718874046435'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmptGW3DN TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796564.42-272718874046435/command | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=orcfotltmuzbpydertpzjgispsfrpvka] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-orcfotltmuzbpydertpzjgispsfrpvka; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796564.42-272718874046435/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796564.42-272718874046435/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'}) => {"changed": true, "cmd": "unzip /usr/local/share/nltk_data/wordnet.zip", "delta": "0:00:00.308958", "end": "2014-09-15 15:56:04.767283", "item": {"path": "corpora/wordnet", "url": "http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip"}, "rc": 0, "start": "2014-09-15 15:56:04.458325", "stderr": "", "stdout": "Archive: /usr/local/share/nltk_data/wordnet.zip\n creating: wordnet/\n inflating: wordnet/adj.exc \n inflating: wordnet/adv.exc \n inflating: wordnet/cntlist.rev \n inflating: wordnet/data.adj \n inflating: wordnet/data.adv \n inflating: wordnet/data.noun \n inflating: wordnet/data.verb \n inflating: wordnet/index.adj \n inflating: wordnet/index.adv \n inflating: wordnet/index.noun \n inflating: wordnet/index.sense \n inflating: wordnet/index.verb \n inflating: wordnet/lexnames \n inflating: wordnet/noun.exc \n inflating: wordnet/verb.exc "} | |
TASK: [user | debug var=user_info] ******************************************** | |
skipping: [default] | |
TASK: [user | create the edxadmin group] ************************************** | |
skipping: [default] | |
TASK: [user | ensure sudoers.d is read] *************************************** | |
skipping: [default] | |
TASK: [user | grant full sudo access to the edxadmin group] ******************* | |
skipping: [default] | |
TASK: [user | create the users] *********************************************** | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create .ssh directory] ****************************************** | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | assign admin role to admin users] ******************************* | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | copy github key[s] to .ssh/authorized_keys2] ******************** | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | copy additional authorized keys] ******************************** | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create bashrc file for normal users] **************************** | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create .profile for all users] ********************************** | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | modify shell for restricted users] ****************************** | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create bashrc file for restricted users] ************************ | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create sudoers file from template] ****************************** | |
skipping: [default] | |
TASK: [user | change home directory ownership to root for restricted users] *** | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create ~/bin directory] ***************************************** | |
skipping: [default] => (item={'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}) | |
TASK: [user | create allowed command links] *********************************** | |
skipping: [default] => (item=[{'type': 'restricted', 'sudo_cmds': [u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms migrate *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp cms syncdb *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms seed_permissions_roles *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms set_staff *', u'ALL=(www-data) NOPASSWD:SETENV:/edx/bin/python.edxapp /edx/bin/manage.edxapp lms transfer_students *'], 'name': u'automator', 'authorized_keys': []}, '/usr/bin/sudo']) | |
TASK: [edxapp | create application user] ************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE user name="edxapp" home="/edx/app/edxapp" createhome=no shell=/bin/false | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796565.42-135072345131478 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796565.42-135072345131478 && echo $HOME/.ansible/tmp/ansible-tmp-1410796565.42-135072345131478'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpfzLVfx TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.42-135072345131478/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=yccwpiummfjebtdgrtfxsugwjvezrjpr] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-yccwpiummfjebtdgrtfxsugwjvezrjpr; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.42-135072345131478/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.42-135072345131478/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"append": false, "changed": false, "comment": "", "group": 1006, "home": "/edx/app/edxapp", "move_home": false, "name": "edxapp", "shell": "/bin/false", "state": "present", "uid": 1003} | |
TASK: [edxapp | create edxapp user dirs] ************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/edxapp" state=directory owner="edxapp" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796565.62-209301343143287 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796565.62-209301343143287 && echo $HOME/.ansible/tmp/ansible-tmp-1410796565.62-209301343143287'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpoKH8Vl TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.62-209301343143287/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=gnfsxdntyhadtfykmgkmbxqngwxtwzdc] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-gnfsxdntyhadtfykmgkmbxqngwxtwzdc; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.62-209301343143287/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.62-209301343143287/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/edxapp) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/edxapp", "mode": "0755", "owner": "edxapp", "path": "/edx/app/edxapp", "size": 4096, "state": "directory", "uid": 1003} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/edxapp/.ssh" state=directory owner="edxapp" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796565.74-15648394264003 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796565.74-15648394264003 && echo $HOME/.ansible/tmp/ansible-tmp-1410796565.74-15648394264003'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpRCx1Kz TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.74-15648394264003/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ibitadlkwuinpyghsckxccllxpwlhuiy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ibitadlkwuinpyghsckxccllxpwlhuiy; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.74-15648394264003/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.74-15648394264003/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/edxapp/.ssh) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/edxapp/.ssh", "mode": "0755", "owner": "edxapp", "path": "/edx/app/edxapp/.ssh", "size": 4096, "state": "directory", "uid": 1003} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/edxapp" state=directory owner="edxapp" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796565.88-192714586542892 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796565.88-192714586542892 && echo $HOME/.ansible/tmp/ansible-tmp-1410796565.88-192714586542892'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpYy3LZ3 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.88-192714586542892/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=lckujqdplecqqlkixtnyeheuoytjebda] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-lckujqdplecqqlkixtnyeheuoytjebda; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.88-192714586542892/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796565.88-192714586542892/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/edxapp) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/var/edxapp", "mode": "0755", "owner": "edxapp", "path": "/edx/var/edxapp", "size": 4096, "state": "directory", "uid": 1003} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/app/edxapp/venvs" state=directory owner="edxapp" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796566.02-210848141344314 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796566.02-210848141344314 && echo $HOME/.ansible/tmp/ansible-tmp-1410796566.02-210848141344314'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpURC6J1 TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.02-210848141344314/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=dfwfavrzqvumblyegglnricvhwknqzas] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-dfwfavrzqvumblyegglnricvhwknqzas; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.02-210848141344314/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.02-210848141344314/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/app/edxapp/venvs) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/app/edxapp/venvs", "mode": "0755", "owner": "edxapp", "path": "/edx/app/edxapp/venvs", "size": 4096, "state": "directory", "uid": 1003} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/edxapp/themes" state=directory owner="edxapp" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796566.16-15658232004137 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796566.16-15658232004137 && echo $HOME/.ansible/tmp/ansible-tmp-1410796566.16-15658232004137'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpph_PxG TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.16-15658232004137/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=bxgeuxkzxrschkklisaybzkejbqntace] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-bxgeuxkzxrschkklisaybzkejbqntace; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.16-15658232004137/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.16-15658232004137/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/edxapp/themes) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/var/edxapp/themes", "mode": "0755", "owner": "edxapp", "path": "/edx/var/edxapp/themes", "size": 4096, "state": "directory", "uid": 1003} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/edxapp/staticfiles" state=directory owner="edxapp" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796566.28-268367091030436 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796566.28-268367091030436 && echo $HOME/.ansible/tmp/ansible-tmp-1410796566.28-268367091030436'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpsO0uuX TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.28-268367091030436/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=iahkhcrsnityeyfrnzzstmgrueisbmvw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-iahkhcrsnityeyfrnzzstmgrueisbmvw; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.28-268367091030436/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.28-268367091030436/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/edxapp/staticfiles) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/var/edxapp/staticfiles", "mode": "0755", "owner": "edxapp", "path": "/edx/var/edxapp/staticfiles", "size": 4096, "state": "directory", "uid": 1003} | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file path="/edx/var/edxapp/course_static" state=directory owner="edxapp" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796566.41-211787378040519 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796566.41-211787378040519 && echo $HOME/.ansible/tmp/ansible-tmp-1410796566.41-211787378040519'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpk5B1Vv TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.41-211787378040519/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=umgpkkmjbuduffmktgzfucrmungnqlrh] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-umgpkkmjbuduffmktgzfucrmungnqlrh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.41-211787378040519/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.41-211787378040519/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => (item=/edx/var/edxapp/course_static) => {"changed": true, "gid": 33, "group": "www-data", "item": "/edx/var/edxapp/course_static", "mode": "0755", "owner": "edxapp", "path": "/edx/var/edxapp/course_static", "size": 4096, "state": "directory", "uid": 1003} | |
TASK: [edxapp | make the course data dir] ************************************* | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
<127.0.0.1> REMOTE_MODULE file src="/edx/var/edxapp/data" dest="/edx/app/edxapp/data" state=link owner="edxapp" group="www-data" | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1410796566.56-28084325139621 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1410796566.56-28084325139621 && echo $HOME/.ansible/tmp/ansible-tmp-1410796566.56-28084325139621'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpyJrONV TO /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.56-28084325139621/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2200', '-o', 'IdentityFile="/Users/db/.vagrant.d/insecure_private_key"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=cznegqnckvxgoikmfvmhuijudlfpmvps] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-cznegqnckvxgoikmfvmhuijudlfpmvps; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.56-28084325139621/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1410796566.56-28084325139621/ >/dev/null 2>&1\'"\'"\'\''] | |
failed: [default] => {"failed": true, "path": "/edx/app/edxapp/data", "src": "/edx/var/edxapp/data", "state": "absent"} | |
msg: src file does not exist, use "force=yes" if you really want to create the link: /edx/app/edxapp/data | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/Users/db/vagrant-aspen.retry | |
default : ok=159 changed=121 unreachable=0 failed=1 | |
Ansible failed to complete successfully. Any error output should be | |
visible above. Please fix these errors and try again. | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% git log | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% git reset --hard HEAD^^ | |
HEAD is now at 7e8d167 Added vagrant-aspen playbook and vagrant conf | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% git remote -v | |
origin [email protected]:edx/configuration.git (fetch) | |
origin [email protected]:edx/configuration.git (push) | |
trungpham git://github.com/trungpham/configuration.git (fetch) | |
trungpham git://github.com/trungpham/configuration.git (push) | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% git fetch origin | |
remote: Counting objects: 8, done. | |
remote: Compressing objects: 100% (7/7), done. | |
remote: Total 8 (delta 0), reused 0 (delta 0) | |
Unpacking objects: 100% (8/8), done. | |
From github.com:edx/configuration | |
* [new branch] han/libfreetype6-dev -> origin/han/libfreetype6-dev | |
99c0fe5..c0456d2 master -> origin/master | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% git rebase origin/master | |
First, rewinding head to replay your work on top of it... | |
Applying: Added vagrant-aspen playbook and vagrant conf | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% git push -f | |
Counting objects: 3, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (3/3), done. | |
Writing objects: 100% (3/3), 372 bytes | 0 bytes/s, done. | |
Total 3 (delta 2), reused 0 (delta 0) | |
To [email protected]:edx/configuration.git | |
+ 7e8d167...2c9490c vagrant-aspen -> vagrant-aspen (forced update) | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% vagrant ssh | |
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
New release '14.04.1 LTS' available. | |
Run 'do-release-upgrade' to upgrade to it. | |
******************************************************************* | |
* _ __ __ * | |
* _ _| |\ \/ / This system is for the use of authorized * | |
* / -_) _` | > < users only. Usage of this system may be * | |
* \___\__,_|/_/\_\ monitored and recorded by system personnel. * | |
* * | |
* Anyone using this system expressly consents to such monitoring * | |
* and is advised that if such monitoring reveals possible * | |
* evidence of criminal activity, system personnel may provide the * | |
* evidence from such monitoring to law enforcement officials. * | |
* * | |
******************************************************************* | |
Last login: Mon Sep 15 15:56:06 2014 from 10.0.2.2 | |
vagrant@precise64:~$ ls /edx/app/edxapp/ | |
ruby_env venvs | |
vagrant@precise64:~$ ls /edx/app/edxapp/data | |
ls: cannot access /edx/app/edxapp/data: No such file or directory | |
vagrant@precise64:~$ exit | |
logout | |
Connection to 127.0.0.1 closed. | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% vagrant destroy | |
default: Are you sure you want to destroy the 'default' VM? [y/N] y | |
==> default: Forcing shutdown of VM... | |
==> default: Destroying VM and associated drives... | |
==> default: Removing hosts | |
==> default: Running cleanup tasks for 'shell' provisioner... | |
==> default: Running cleanup tasks for 'ansible' provisioner... | |
db ~/dev/configuration/vagrant/release/aspen (git)-[vagrant-aspen] mastodon | |
% cd ../../.. | |
db ~/dev/configuration (git)-[vagrant-aspen] mastodon | |
% mkvirtualenv configuration | |
New python executable in configuration/bin/python2.7 | |
Also creating executable in configuration/bin/python | |
Installing setuptools, pip...done. | |
(configuration)db ~/dev/configuration (git)-[vagrant-aspen] mastodon | |
% ls | |
AUTHORS LICENSE.TXT cloud_migrations doc playbooks util | |
CHANGELOG.md README.md cloudformation_templates git-hooks requirements.txt vagrant | |
(configuration)db ~/dev/configuration (git)-[vagrant-aspen] mastodon | |
% less requirements.txt | |
(configuration)db ~/dev/configuration (git)-[vagrant-aspen] mastodon | |
% which pip | |
/Users/db/.virtualenvs/configuration/bin/pip | |
(configuration)db ~/dev/configuration (git)-[vagrant-aspen] mastodon | |
% pip install -r requirements.txt | |
Downloading/unpacking ansible==1.5.5 (from -r requirements.txt (line 1)) | |
Downloading ansible-1.5.5.tar.gz (543kB): 543kB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/ansible/setup.py) egg_info for package ansible | |
Downloading/unpacking PyYAML==3.11 (from -r requirements.txt (line 2)) | |
Downloading PyYAML-3.11.tar.gz (248kB): 248kB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/PyYAML/setup.py) egg_info for package PyYAML | |
Downloading/unpacking Jinja2==2.7.2 (from -r requirements.txt (line 3)) | |
Downloading Jinja2-2.7.2.tar.gz (378kB): 378kB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/Jinja2/setup.py) egg_info for package Jinja2 | |
warning: no files found matching '*' under directory 'custom_fixers' | |
warning: no previously-included files matching '*' found under directory 'docs/_build' | |
warning: no previously-included files matching '*.pyc' found under directory 'jinja2' | |
warning: no previously-included files matching '*.pyc' found under directory 'docs' | |
warning: no previously-included files matching '*.pyo' found under directory 'jinja2' | |
warning: no previously-included files matching '*.pyo' found under directory 'docs' | |
Downloading/unpacking MarkupSafe==0.23 (from -r requirements.txt (line 4)) | |
Downloading MarkupSafe-0.23.tar.gz | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/MarkupSafe/setup.py) egg_info for package MarkupSafe | |
Downloading/unpacking argparse==1.2.1 (from -r requirements.txt (line 5)) | |
Downloading argparse-1.2.1.tar.gz (69kB): 69kB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/argparse/setup.py) egg_info for package argparse | |
warning: no previously-included files matching '*.pyc' found anywhere in distribution | |
warning: no previously-included files matching '*.pyo' found anywhere in distribution | |
warning: no previously-included files matching '*.orig' found anywhere in distribution | |
warning: no previously-included files matching '*.rej' found anywhere in distribution | |
no previously-included directories found matching 'doc/_build' | |
no previously-included directories found matching 'env24' | |
no previously-included directories found matching 'env25' | |
no previously-included directories found matching 'env26' | |
no previously-included directories found matching 'env27' | |
Downloading/unpacking boto==2.29.1 (from -r requirements.txt (line 6)) | |
Downloading boto-2.29.1-py2-none-any.whl (1.2MB): 1.2MB downloaded | |
Downloading/unpacking ecdsa==0.11 (from -r requirements.txt (line 7)) | |
Downloading ecdsa-0.11.tar.gz (45kB): 45kB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/ecdsa/setup.py) egg_info for package ecdsa | |
Downloading/unpacking paramiko==1.14.0 (from -r requirements.txt (line 8)) | |
Downloading paramiko-1.14.0-py2.py3-none-any.whl (148kB): 148kB downloaded | |
Downloading/unpacking pycrypto==2.6.1 (from -r requirements.txt (line 9)) | |
Downloading pycrypto-2.6.1.tar.gz (446kB): 446kB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/pycrypto/setup.py) egg_info for package pycrypto | |
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7 (from -r requirements.txt (line 10)) | |
Downloading/unpacking docopt==0.6.1 (from -r requirements.txt (line 11)) | |
Downloading docopt-0.6.1.tar.gz | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/docopt/setup.py) egg_info for package docopt | |
Downloading/unpacking python-simple-hipchat==0.2 (from -r requirements.txt (line 12)) | |
Downloading python-simple-hipchat-0.2.tar.gz | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/python-simple-hipchat/setup.py) egg_info for package python-simple-hipchat | |
Downloading/unpacking prettytable==0.7.2 (from -r requirements.txt (line 13)) | |
Downloading prettytable-0.7.2.tar.bz2 | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/prettytable/setup.py) egg_info for package prettytable | |
Downloading/unpacking awscli==1.4.2 (from -r requirements.txt (line 14)) | |
Downloading awscli-1.4.2.tar.gz (239kB): 239kB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/awscli/setup.py) egg_info for package awscli | |
Downloading/unpacking botocore>=0.62.0,<0.63.0 (from awscli==1.4.2->-r requirements.txt (line 14)) | |
Downloading botocore-0.62.0.tar.gz (2.9MB): 2.9MB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/botocore/setup.py) egg_info for package botocore | |
Downloading/unpacking bcdoc>=0.12.0,<0.13.0 (from awscli==1.4.2->-r requirements.txt (line 14)) | |
Downloading bcdoc-0.12.2.tar.gz | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/bcdoc/setup.py) egg_info for package bcdoc | |
warning: no files found matching 'README.md' | |
Downloading/unpacking six>=1.1.0 (from awscli==1.4.2->-r requirements.txt (line 14)) | |
Downloading six-1.8.0-py2.py3-none-any.whl | |
Downloading/unpacking colorama==0.2.5 (from awscli==1.4.2->-r requirements.txt (line 14)) | |
Downloading colorama-0.2.5.tar.gz | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/colorama/setup.py) egg_info for package colorama | |
Downloading/unpacking docutils>=0.10 (from awscli==1.4.2->-r requirements.txt (line 14)) | |
Downloading docutils-0.12.tar.gz (1.6MB): 1.6MB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/docutils/setup.py) egg_info for package docutils | |
warning: no files found matching 'MANIFEST' | |
warning: no files found matching '*' under directory 'extras' | |
warning: no previously-included files matching '.cvsignore' found under directory '*' | |
warning: no previously-included files matching '*.pyc' found under directory '*' | |
warning: no previously-included files matching '*~' found under directory '*' | |
warning: no previously-included files matching '.DS_Store' found under directory '*' | |
Downloading/unpacking rsa==3.1.2 (from awscli==1.4.2->-r requirements.txt (line 14)) | |
Downloading rsa-3.1.2.tar.gz | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/rsa/setup.py) egg_info for package rsa | |
warning: no files found matching 'README' | |
Downloading/unpacking jmespath==0.4.1 (from botocore>=0.62.0,<0.63.0->awscli==1.4.2->-r requirements.txt (line 14)) | |
Downloading jmespath-0.4.1.tar.gz | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/jmespath/setup.py) egg_info for package jmespath | |
Downloading/unpacking python-dateutil>=2.1 (from botocore>=0.62.0,<0.63.0->awscli==1.4.2->-r requirements.txt (line 14)) | |
Downloading python-dateutil-2.2.tar.gz (259kB): 259kB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/python-dateutil/setup.py) egg_info for package python-dateutil | |
Downloading/unpacking pyasn1>=0.1.3 (from rsa==3.1.2->awscli==1.4.2->-r requirements.txt (line 14)) | |
Downloading pyasn1-0.1.7.tar.gz (68kB): 68kB downloaded | |
Running setup.py (path:/Users/db/.virtualenvs/configuration/build/pyasn1/setup.py) egg_info for package pyasn1 | |
Installing collected packages: ansible, PyYAML, Jinja2, MarkupSafe, argparse, boto, ecdsa, paramiko, pycrypto, docopt, python-simple-hipchat, prettytable, awscli, botocore, bcdoc, six, colorama, docutils, rsa, jmespath, python-dateutil, pyasn1 | |
Running setup.py install for ansible | |
changing mode of build/scripts-2.7/ansible from 644 to 755 | |
changing mode of build/scripts-2.7/ansible-playbook from 644 to 755 | |
changing mode of build/scripts-2.7/ansible-pull from 644 to 755 | |
changing mode of build/scripts-2.7/ansible-doc from 644 to 755 | |
changing mode of build/scripts-2.7/ansible-galaxy from 644 to 755 | |
changing mode of build/scripts-2.7/ansible-vault from 644 to 755 | |
changing mode of /Users/db/.virtualenvs/configuration/bin/ansible to 755 | |
changing mode of /Users/db/.virtualenvs/configuration/bin/ansible-doc to 755 | |
changing mode of /Users/db/.virtualenvs/configuration/bin/ansible-galaxy to 755 | |
changing mode of /Users/db/.virtualenvs/configuration/bin/ansible-playbook to 755 | |
changing mode of /Users/db/.virtualenvs/configuration/bin/ansible-pull to 755 | |
changing mode of /Users/db/.virtualenvs/configuration/bin/ansible-vault to 755 | |
Running setup.py install for PyYAML | |
checking if libyaml is compilable | |
clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.9-x86_64-2.7/check_libyaml.c -o build/temp.macosx-10.9-x86_64-2.7/check_libyaml.o | |
checking if libyaml is linkable | |
clang build/temp.macosx-10.9-x86_64-2.7/check_libyaml.o -lyaml -o build/temp.macosx-10.9-x86_64-2.7/check_libyaml | |
building '_yaml' extension | |
clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ext/_yaml.c -o build/temp.macosx-10.9-x86_64-2.7/ext/_yaml.o | |
In file included from ext/_yaml.c:343: | |
ext/_yaml.h:6:9: warning: 'PyUnicode_FromString' macro redefined | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:194:10: note: previous definition is here | |
# define PyUnicode_FromString PyUnicodeUCS2_FromString | |
^ | |
ext/_yaml.c:1346:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
__pyx_v_value = yaml_get_version_string(); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.c:2471:52: warning: incompatible pointer types passing 'int (void *, char *, int, int *)' to parameter of type 'yaml_read_handler_t *' (aka 'int (*)(void *, unsigned char *, size_t, size_t *)') [-Wincompatible-pointer-types] | |
yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/yaml.h:1368:30: note: passing argument to parameter 'handler' here | |
yaml_read_handler_t *handler, void *data); | |
^ | |
ext/_yaml.c:2664:59: warning: passing 'char [1]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:91:32: note: expanded from macro 'PyString_AS_STRING' | |
#define PyString_AS_STRING(op) (((PyStringObject *)(op))->ob_sval) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/yaml.h:1342:30: note: passing argument to parameter 'input' here | |
const unsigned char *input, size_t size); | |
^ | |
ext/_yaml.c:4183:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:4183:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:4195:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:4195:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:4741:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:4741:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:4792:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_4 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:4792:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_4 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:4843:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:4843:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:4855:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:4855:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_3 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:4938:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, __pyx_k_strict); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:6435:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 574; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:6435:21: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 574; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:6447:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:6447:21: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:6616:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_2 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:6616:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_2 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^~~ | |
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here | |
const char *string, /* UTF-8 encoded string */ | |
^ | |
ext/_yaml.c:6687:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_1 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | |
^ | |
/usr/include/string.h:82:28: note: passing argument to parameter here | |
size_t strlen(const char *); | |
^ | |
ext/_yaml.c:6687:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
__pyx_t_1 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString' | |
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment