Created
October 28, 2014 15:27
-
-
Save singingwolfboy/cbe2d5a416b46d8d30ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ansible --version | |
ansible 1.5.5 | |
(configuration)db ~/dev/configuration (git)-[tags/aspen.1] mastodon | |
% cd vagrant/base/fullstack | |
(configuration)db ~/dev/configuration/vagrant/base/fullstack (git)-[tags/aspen.1] mastodon | |
% ls | |
Vagrantfile ansible.cfg | |
(configuration)db ~/dev/configuration/vagrant/base/fullstack (git)-[tags/aspen.1] mastodon | |
% vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Pruning invalid NFS exports. Administrator privileges will be required... | |
Password: | |
==> 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 => 2222 (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:2222 | |
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.16) 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 (14.5 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.16 - guest version is 4.2.0 | |
stdin: is not a tty | |
Verifying archive integrity... All good. | |
Uncompressing VirtualBox 4.3.16 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.16. 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/base/fullstack/.vagrant/provisioners/ansible/inventory --extra-vars={"edx_platform_version":"aspen.1","ora2_version":"aspen.1","certs_version":"aspen.1","forum_version":"aspen.1","xqueue_version":"aspen.1"} -vvv ../../../playbooks/vagrant-fullstack.yml | |
[WARNING]: It is unneccessary 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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509935.97-251874097178650 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509935.97-251874097178650 && echo $HOME/.ansible/tmp/ansible-tmp-1414509935.97-251874097178650'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp_0gBpr TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509935.97-251874097178650/setup | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=dhyejvlbokjysyklqojvgqtkczcqcnva] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-dhyejvlbokjysyklqojvgqtkczcqcnva; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509935.97-251874097178650/setup; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509935.97-251874097178650/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] | |
TASK: [user | debug var=user_info] ******************************************** | |
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant | |
ok: [default] => { | |
"item": "", | |
"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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509937.6-250719032490973 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509937.6-250719032490973 && echo $HOME/.ansible/tmp/ansible-tmp-1414509937.6-250719032490973'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpfOEFdz TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.6-250719032490973/group | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hijwjobbahvfvjcwmxbdmaoqveirfigu] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hijwjobbahvfvjcwmxbdmaoqveirfigu; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.6-250719032490973/group; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.6-250719032490973/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "gid": 1003, "item": "", "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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509937.78-87016183147967 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509937.78-87016183147967 && echo $HOME/.ansible/tmp/ansible-tmp-1414509937.78-87016183147967'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpsJN2QE TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.78-87016183147967/lineinfile | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=xuarontopvoikpnnxdimgbfzrgvgergv] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-xuarontopvoikpnnxdimgbfzrgvgergv; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.78-87016183147967/lineinfile; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.78-87016183147967/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"backup": "", "changed": false, "item": "", "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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hvqxbjixljkladuwgvzfcomodtphsxjq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hvqxbjixljkladuwgvzfcomodtphsxjq; 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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509937.94-115795575138132 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509937.94-115795575138132 && echo $HOME/.ansible/tmp/ansible-tmp-1414509937.94-115795575138132'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpoAR48N TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.94-115795575138132/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp2z5hgg TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.94-115795575138132/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=lpddqrubqmlybbsqxcimrphbyeeclrmy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-lpddqrubqmlybbsqxcimrphbyeeclrmy; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.94-115795575138132/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509937.94-115795575138132/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/sudoers.d/edxadmin", "gid": 0, "group": "root", "item": "", "md5sum": "44aadaff836d80e7cbd042bd9f07a230", "mode": "0440", "owner": "root", "size": 32, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1414509937.94-115795575138132/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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509938.28-261692497129611 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509938.28-261692497129611 && echo $HOME/.ansible/tmp/ansible-tmp-1414509938.28-261692497129611'"] | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ilzhzphftmhsnjntuihsupnizkkrdbmj] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ilzhzphftmhsnjntuihsupnizkkrdbmj; 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/tmpiD7NM9 TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.28-261692497129611/source | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpGw7Fp7 TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.28-261692497129611/copy | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ampwvpbfcjycfyowkjlbsjtsvalbangf] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ampwvpbfcjycfyowkjlbsjtsvalbangf; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.28-261692497129611/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.28-261692497129611/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "dest": "/etc/sudoers.d/99-restricted", "gid": 0, "group": "root", "item": "", "md5sum": "68b329da9893e34099c7d8ad5cb9c940", "mode": "0440", "owner": "root", "size": 1, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1414509938.28-261692497129611/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: [security | install security packages] ********************************** | |
skipping: [default] | |
TASK: [security | update all system packages] ********************************* | |
skipping: [default] | |
TASK: [security | configure periodic unattended-upgrades] ********************* | |
skipping: [default] | |
TASK: [security | disable unattended-upgrades] ******************************** | |
skipping: [default] | |
TASK: [security | only unattended-upgrade from security repo] ***************** | |
skipping: [default] | |
TASK: [security | disable security only updates on unattended-upgrades] ******* | |
skipping: [default] | |
TASK: [security | Check if we are vulnerable] ********************************* | |
skipping: [default] | |
TASK: [security | Apply bash security update if we are vulnerable] ************ | |
skipping: [default] | |
TASK: [security | Check again and fail if we are still vulnerable] ************ | |
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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509938.7-149950709273731 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509938.7-149950709273731 && echo $HOME/.ansible/tmp/ansible-tmp-1414509938.7-149950709273731'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpvdTxlQ TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.7-149950709273731/user | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ykwsyajokkjumctsznfjupwiajgqoluk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ykwsyajokkjumctsznfjupwiajgqoluk; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.7-149950709273731/user; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.7-149950709273731/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"append": false, "changed": true, "comment": "www-data", "group": 33, "home": "/var/www", "item": "", "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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509938.89-42775089938272 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509938.89-42775089938272 && echo $HOME/.ansible/tmp/ansible-tmp-1414509938.89-42775089938272'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpTY0lIj TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.89-42775089938272/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=tultmcikpubjgcztxchjnpignvkpbnop] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-tultmcikpubjgcztxchjnpignvkpbnop; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.89-42775089938272/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509938.89-42775089938272/ >/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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509939.02-200401845801889 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509939.02-200401845801889 && echo $HOME/.ansible/tmp/ansible-tmp-1414509939.02-200401845801889'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpvhQYeW TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.02-200401845801889/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ztqcywkgtcvheuzpnhpdjhpbwvvpgaij] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ztqcywkgtcvheuzpnhpdjhpbwvvpgaij; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.02-200401845801889/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.02-200401845801889/ >/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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509939.15-4157941116369 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509939.15-4157941116369 && echo $HOME/.ansible/tmp/ansible-tmp-1414509939.15-4157941116369'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp5mRh5u TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.15-4157941116369/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zbrptpkhcadzcmwvwosdwafmaftpitsq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zbrptpkhcadzcmwvwosdwafmaftpitsq; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.15-4157941116369/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.15-4157941116369/ >/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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509939.28-178600482385339 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509939.28-178600482385339 && echo $HOME/.ansible/tmp/ansible-tmp-1414509939.28-178600482385339'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmp6oMrAM TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.28-178600482385339/file | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=wjzeyoebaemtxtyiqbgsvhjwjxisgjdt] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-wjzeyoebaemtxtyiqbgsvhjwjxisgjdt; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.28-178600482385339/file; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.28-178600482385339/ >/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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509939.43-31336745553703 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509939.43-31336745553703 && echo $HOME/.ansible/tmp/ansible-tmp-1414509939.43-31336745553703'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpGhiKss TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.43-31336745553703/stat | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=qszjlhupijibcdvintmfwdxuriwcqsvk] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-qszjlhupijibcdvintmfwdxuriwcqsvk; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.43-31336745553703/stat; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.43-31336745553703/ >/dev/null 2>&1\'"\'"\'\''] | |
ok: [default] => {"changed": false, "item": "", "stat": {"atime": 1347603168.2010481, "ctime": 1414509936.072712, "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": 1414509936.072712, "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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509939.57-270154586764184 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509939.57-270154586764184 && echo $HOME/.ansible/tmp/ansible-tmp-1414509939.57-270154586764184'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpDh3mYb TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.57-270154586764184/apt | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=cvoomtkvtjuuovmyqrgngpsuruipigys] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-cvoomtkvtjuuovmyqrgngpsuruipigys; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.57-270154586764184/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509939.57-270154586764184/ >/dev/null 2>&1\'"\'"\'\''] | |
changed: [default] => {"changed": true, "item": "", "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,572 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', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-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-1414509948.33-206109092043139 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1414509948.33-206109092043139 && echo $HOME/.ansible/tmp/ansible-tmp-1414509948.33-206109092043139'"] | |
<127.0.0.1> PUT /var/folders/rh/s23w23pn4tn37py2x01zd2nw0000gp/T/tmpgRQwPg TO /home/vagrant/.ansible/tmp/ansible-tmp-1414509948.33-206109092043139/apt_repository | |
<127.0.0.1> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/db/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/db/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ovlpppvyknwvlbzhpvklsaxphyobbpsw] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ovlpppvyknwvlbzhpvklsaxphyobbpsw; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1414509948.33-206109092043139/apt_repository; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1414509948.33-206109092043139/ >/dev/null 2>&1\'"\'"\'\''] | |
failed: [default] => {"failed": true, "item": ""} | |
msg: Failed to validate the SSL certificate for launchpad.net:443. Use validate_certs=no or make sure your managed systems have a valid CA certificate installed. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/Users/db/vagrant-fullstack.retry | |
default : ok=10 changed=6 unreachable=0 failed=1 | |
Ansible failed to complete successfully. Any error output should be | |
visible above. Please fix these errors and try again. | |
(configuration)db ~/dev/configuration/vagrant/base/fullstack (git)-[tags/aspen.1] mastodon | |
% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment