Skip to content

Instantly share code, notes, and snippets.

@emodric
Created January 27, 2015 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emodric/1ddcff3fd4a5083f0705 to your computer and use it in GitHub Desktop.
Save emodric/1ddcff3fd4a5083f0705 to your computer and use it in GitHub Desktop.
eddie@abyss: ~/www/vagrant-ansible-symfony [feature/ez-setup] $ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/trusty64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Setting the name of the VM: vagrant-ansible-symfony_default_1422349667711_72214
==> default: Clearing any previously set forwarded ports...
==> 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: Warning: Remote connection disconnect. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if its present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
nfsd running
==> default: Mounting NFS shared folders...
==> default: Mounting shared folders...
default: /vagrant => /var/www/html/vagrant-ansible-symfony
==> default: Running provisioner: ansible...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-key=/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key --user=vagrant --connection=ssh --limit='default' --inventory-file=/var/www/html/vagrant-ansible-symfony/.vagrant/provisioners/ansible/inventory --sudo -vvvv provisioning/vagrant.yml
PLAY [all] ********************************************************************
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 UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-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-1422349699.59-64280379024592 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1422349699.59-64280379024592 && echo $HOME/.ansible/tmp/ansible-tmp-1422349699.59-64280379024592'
<127.0.0.1> PUT /tmp/tmpbT2EhW TO /home/vagrant/.ansible/tmp/ansible-tmp-1422349699.59-64280379024592/setup
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o 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=chrkujnpswsrgikhjugvgesvzmvjgmwn] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-chrkujnpswsrgikhjugvgesvzmvjgmwn; LANG=C LC_CTYPE=C /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1422349699.59-64280379024592/setup; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1422349699.59-64280379024592/ >/dev/null 2>&1'"'"''
ok: [default]
TASK: [check apt last update] *************************************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
<127.0.0.1> REMOTE_MODULE stat path=/var/cache/apt
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-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-1422349702.51-217191025310875 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1422349702.51-217191025310875 && echo $HOME/.ansible/tmp/ansible-tmp-1422349702.51-217191025310875'
<127.0.0.1> PUT /tmp/tmplOW0nD TO /home/vagrant/.ansible/tmp/ansible-tmp-1422349702.51-217191025310875/stat
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o 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=vauhfyttkfpeccoeduilrquflblfkyry] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-vauhfyttkfpeccoeduilrquflblfkyry; LANG=C LC_CTYPE=C /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1422349702.51-217191025310875/stat; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1422349702.51-217191025310875/ >/dev/null 2>&1'"'"''
ok: [default] => {"changed": false, "stat": {"atime": 1418723192.78307, "ctime": 1422349713.311192, "dev": 2049, "exists": true, "gid": 0, "inode": 57878, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mode": "0755", "mtime": 1422349713.311192, "nlink": 3, "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
TASK: [update apt if needed] **************************************************
skipping: [default]
TASK: [install python-pycurl] *************************************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
<127.0.0.1> REMOTE_MODULE apt pkg=python-pycurl state=latest
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-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-1422349702.69-26772305753597 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1422349702.69-26772305753597 && echo $HOME/.ansible/tmp/ansible-tmp-1422349702.69-26772305753597'
<127.0.0.1> PUT /tmp/tmp0yFcCQ TO /home/vagrant/.ansible/tmp/ansible-tmp-1422349702.69-26772305753597/apt
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o 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=watiwddvxmpkeosvhbyyegsfvwxdymrz] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-watiwddvxmpkeosvhbyyegsfvwxdymrz; LANG=C LC_CTYPE=C /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1422349702.69-26772305753597/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1422349702.69-26772305753597/ >/dev/null 2>&1'"'"''
ok: [default] => {"changed": false}
TASK: [common | Add the OS specific varibles] *********************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
ok: [default] => {"ansible_facts": {"timezone_destination_path": "/etc/timezone"}}
TASK: [common | Install the common tools (APT)] *******************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
<127.0.0.1> REMOTE_MODULE apt name=gcc,curl,make,git-core,vim,ack-grep,htop,build-essential,wget,python-software-properties,software-properties-common,unzip,tmux,ntp,python-psycopg2,python-setuptools,libreadline6,libreadline6-dev,ncurses-dev,python-dev,libpq-dev state=present update_cache=yes
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-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-1422349703.06-16064527713953 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1422349703.06-16064527713953 && echo $HOME/.ansible/tmp/ansible-tmp-1422349703.06-16064527713953'
<127.0.0.1> PUT /tmp/tmpiCLpx5 TO /home/vagrant/.ansible/tmp/ansible-tmp-1422349703.06-16064527713953/apt
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o 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=sqczieehbkqofuvlqrbgukaeaszyzemb] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-sqczieehbkqofuvlqrbgukaeaszyzemb; LANG=C LC_CTYPE=C RUNLEVEL=1 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1422349703.06-16064527713953/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1422349703.06-16064527713953/ >/dev/null 2>&1'"'"''
changed: [default] => (item=gcc,curl,make,git-core,vim,ack-grep,htop,build-essential,wget,python-software-properties,software-properties-common,unzip,tmux,ntp,python-psycopg2,python-setuptools,libreadline6,libreadline6-dev,ncurses-dev,python-dev,libpq-dev) => {"changed": true, "item": "gcc,curl,make,git-core,vim,ack-grep,htop,build-essential,wget,python-software-properties,software-properties-common,unzip,tmux,ntp,python-psycopg2,python-setuptools,libreadline6,libreadline6-dev,ncurses-dev,python-dev,libpq-dev", "stderr": "perl: warning: Setting locale failed.\nperl: warning: Please check that your locale settings:\n\tLANGUAGE = (unset),\n\tLC_ALL = (unset),\n\tLC_TIME = \"hr_HR.UTF-8\",\n\tLC_MONETARY = \"hr_HR.UTF-8\",\n\tLC_CTYPE = \"C\",\n\tLC_ADDRESS = \"hr_HR.UTF-8\",\n\tLC_TELEPHONE = \"hr_HR.UTF-8\",\n\tLC_NAME = \"hr_HR.UTF-8\",\n\tLC_MEASUREMENT = \"hr_HR.UTF-8\",\n\tLC_IDENTIFICATION = \"hr_HR.UTF-8\",\n\tLC_NUMERIC = \"hr_HR.UTF-8\",\n\tLC_PAPER = \"hr_HR.UTF-8\",\n\tLANG = \"C\"\n are supported and installed on your system.\nperl: warning: Falling back to the standard locale (\"C\").\nlocale: Cannot set LC_ALL to default locale: No such file or directory\n\rExtracting templates from packages: 66%\rExtracting templates from packages: 100%\nlocale: Cannot set LC_ALL to default locale: No such file or directory\n", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n comerr-dev dpkg-dev g++ g++-4.8 git git-man krb5-multidev\n libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl\n libdpkg-perl liberror-perl libexpat1-dev libfile-fcntllock-perl\n libfile-next-perl libgssrpc4 libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-7\n libopts25 libpq5 libpython-dev libpython2.7-dev libssl-dev libssl-doc\n libssl1.0.0 libstdc++-4.8-dev libtinfo-dev python-egenix-mxdatetime\n python-egenix-mxtools python2.7-dev zlib1g-dev\nSuggested packages:\n doc-base debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc\n libstdc++6-4.8-dbg git-daemon-run git-daemon-sysvinit git-doc git-el\n git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn\n krb5-doc krb5-user ncurses-doc postgresql-doc-9.3 libstdc++-4.8-doc ntp-doc\n python-egenix-mxdatetime-dbg python-egenix-mxdatetime-doc\n python-egenix-mxtools-dbg python-egenix-mxtools-doc python-psycopg2-doc zip\nThe following NEW packages will be installed:\n ack-grep build-essential comerr-dev dpkg-dev g++ g++-4.8 git git-core\n git-man htop krb5-multidev libalgorithm-diff-perl libalgorithm-diff-xs-perl\n libalgorithm-merge-perl libdpkg-perl liberror-perl libexpat1-dev\n libfile-fcntllock-perl libfile-next-perl libgssrpc4 libkadm5clnt-mit9\n libkadm5srv-mit9 libkdb5-7 libncurses5-dev libopts25 libpq-dev libpq5\n libpython-dev libpython2.7-dev libreadline6-dev libssl-dev libssl-doc\n libstdc++-4.8-dev libtinfo-dev ntp python-dev python-egenix-mxdatetime\n python-egenix-mxtools python-psycopg2 python-setuptools\n python-software-properties python2.7-dev unzip zlib1g-dev\nThe following packages will be upgraded:\n libssl1.0.0\n1 upgraded, 44 newly installed, 0 to remove and 39 not upgraded.\nNeed to get 40.2 MB of archives.\nAfter this operation, 108 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libssl1.0.0 amd64 1.0.1f-1ubuntu2.8 [826 kB]\nGet:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgssrpc4 amd64 1.12+dfsg-2ubuntu4.2 [53.1 kB]\nGet:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libkadm5clnt-mit9 amd64 1.12+dfsg-2ubuntu4.2 [36.2 kB]\nGet:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libkdb5-7 amd64 1.12+dfsg-2ubuntu4.2 [36.2 kB]\nGet:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libkadm5srv-mit9 amd64 1.12+dfsg-2ubuntu4.2 [50.3 kB]\nGet:6 http://archive.ubuntu.com/ubuntu/ trusty/main libopts25 amd64 1:5.18-2ubuntu2 [55.3 kB]\nGet:7 http://archive.ubuntu.com/ubuntu/ trusty/main libexpat1-dev amd64 2.1.0-4ubuntu1 [115 kB]\nGet:8 http://archive.ubuntu.com/ubuntu/ trusty/main libpython2.7-dev amd64 2.7.6-8 [22.0 MB]\nGet:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main ntp amd64 1:4.2.6.p5+dfsg-3ubuntu2.14.04.1 [417 kB]\nGet:10 http://archive.ubuntu.com/ubuntu/ trusty/universe libfile-next-perl all 1.12-1 [18.5 kB]\nGet:11 http://archive.ubuntu.com/ubuntu/ trusty/universe ack-grep all 2.12-1 [59.5 kB]\nGet:12 http://archive.ubuntu.com/ubuntu/ trusty/main libstdc++-4.8-dev amd64 4.8.2-19ubuntu1 [1050 kB]\nGet:13 http://archive.ubuntu.com/ubuntu/ trusty/main g++-4.8 amd64 4.8.2-19ubuntu1 [7038 kB]\nGet:14 http://archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1490 B]\nGet:15 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.3 [179 kB]\nGet:16 http://archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.3 [726 kB]\nGet:17 http://archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4838 B]\nGet:18 http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]\nGet:19 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.1 [698 kB]\nGet:20 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.1 [2627 kB]\nGet:21 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git-core all 1:1.9.1-1ubuntu0.1 [1458 B]\nGet:22 http://archive.ubuntu.com/ubuntu/ trusty/universe htop amd64 1.0.2-3 [68.0 kB]\nGet:23 http://archive.ubuntu.com/ubuntu/ trusty/main comerr-dev amd64 2.1-1.42.9-3ubuntu1 [38.3 kB]\nGet:24 http://archive.ubuntu.com/ubuntu/ trusty-updates/main krb5-multidev amd64 1.12+dfsg-2ubuntu4.2 [111 kB]\nGet:25 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]\nGet:26 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]\nGet:27 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]\nGet:28 http://archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]\nGet:29 http://archive.ubuntu.com/ubuntu/ trusty/main libtinfo-dev amd64 5.9+20140118-1ubuntu1 [76.3 kB]\nGet:30 http://archive.ubuntu.com/ubuntu/ trusty/main libncurses5-dev amd64 5.9+20140118-1ubuntu1 [170 kB]\nGet:31 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpq5 amd64 9.3.5-0ubuntu0.14.04.1 [80.6 kB]\nGet:32 http://archive.ubuntu.com/ubuntu/ trusty/main zlib1g-dev amd64 1:1.2.8.dfsg-1ubuntu1 [183 kB]\nGet:33 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libssl-dev amd64 1.0.1f-1ubuntu2.8 [1071 kB]\nGet:34 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpq-dev amd64 9.3.5-0ubuntu0.14.04.1 [140 kB]\nGet:35 http://archive.ubuntu.com/ubuntu/ trusty/main libpython-dev amd64 2.7.5-5ubuntu3 [7078 B]\nGet:36 http://archive.ubuntu.com/ubuntu/ trusty/main libreadline6-dev amd64 6.3-4ubuntu2 [213 kB]\nGet:37 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libssl-doc all 1.0.1f-1ubuntu2.8 [967 kB]\nGet:38 http://archive.ubuntu.com/ubuntu/ trusty/main python2.7-dev amd64 2.7.6-8 [269 kB]\nGet:39 http://archive.ubuntu.com/ubuntu/ trusty/main python-dev amd64 2.7.5-5ubuntu3 [1166 B]\nGet:40 http://archive.ubuntu.com/ubuntu/ trusty/main python-egenix-mxtools amd64 3.2.7-1build1 [75.1 kB]\nGet:41 http://archive.ubuntu.com/ubuntu/ trusty/main python-egenix-mxdatetime amd64 3.2.7-1build1 [66.7 kB]\nGet:42 http://archive.ubuntu.com/ubuntu/ trusty/main python-psycopg2 amd64 2.4.5-1build5 [126 kB]\nGet:43 http://archive.ubuntu.com/ubuntu/ trusty/main python-setuptools all 3.3-1ubuntu1 [230 kB]\nGet:44 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-software-properties all 0.92.37.2 [19.6 kB]\nGet:45 http://archive.ubuntu.com/ubuntu/ trusty-updates/main unzip amd64 6.0-9ubuntu1.1 [157 kB]\nPreconfiguring packages ...\nFetched 40.2 MB in 6min 3s (110 kB/s)\n(Reading database ... 60964 files and directories currently installed.)\nPreparing to unpack .../libssl1.0.0_1.0.1f-1ubuntu2.8_amd64.deb ...\nUnpacking libssl1.0.0:amd64 (1.0.1f-1ubuntu2.8) over (1.0.1f-1ubuntu2.7) ...\nSelecting previously unselected package libgssrpc4:amd64.\nPreparing to unpack .../libgssrpc4_1.12+dfsg-2ubuntu4.2_amd64.deb ...\nUnpacking libgssrpc4:amd64 (1.12+dfsg-2ubuntu4.2) ...\nSelecting previously unselected package libkadm5clnt-mit9:amd64.\nPreparing to unpack .../libkadm5clnt-mit9_1.12+dfsg-2ubuntu4.2_amd64.deb ...\nUnpacking libkadm5clnt-mit9:amd64 (1.12+dfsg-2ubuntu4.2) ...\nSelecting previously unselected package libkdb5-7:amd64.\nPreparing to unpack .../libkdb5-7_1.12+dfsg-2ubuntu4.2_amd64.deb ...\nUnpacking libkdb5-7:amd64 (1.12+dfsg-2ubuntu4.2) ...\nSelecting previously unselected package libkadm5srv-mit9:amd64.\nPreparing to unpack .../libkadm5srv-mit9_1.12+dfsg-2ubuntu4.2_amd64.deb ...\nUnpacking libkadm5srv-mit9:amd64 (1.12+dfsg-2ubuntu4.2) ...\nSelecting previously unselected package libopts25:amd64.\nPreparing to unpack .../libopts25_1%3a5.18-2ubuntu2_amd64.deb ...\nUnpacking libopts25:amd64 (1:5.18-2ubuntu2) ...\nSelecting previously unselected package libexpat1-dev:amd64.\nPreparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1_amd64.deb ...\nUnpacking libexpat1-dev:amd64 (2.1.0-4ubuntu1) ...\nSelecting previously unselected package libpython2.7-dev:amd64.\nPreparing to unpack .../libpython2.7-dev_2.7.6-8_amd64.deb ...\nUnpacking libpython2.7-dev:amd64 (2.7.6-8) ...\nSelecting previously unselected package ntp.\nPreparing to unpack .../ntp_1%3a4.2.6.p5+dfsg-3ubuntu2.14.04.1_amd64.deb ...\nUnpacking ntp (1:4.2.6.p5+dfsg-3ubuntu2.14.04.1) ...\nSelecting previously unselected package libfile-next-perl.\nPreparing to unpack .../libfile-next-perl_1.12-1_all.deb ...\nUnpacking libfile-next-perl (1.12-1) ...\nSelecting previously unselected package ack-grep.\nPreparing to unpack .../ack-grep_2.12-1_all.deb ...\nUnpacking ack-grep (2.12-1) ...\nSelecting previously unselected package libstdc++-4.8-dev:amd64.\nPreparing to unpack .../libstdc++-4.8-dev_4.8.2-19ubuntu1_amd64.deb ...\nUnpacking libstdc++-4.8-dev:amd64 (4.8.2-19ubuntu1) ...\nSelecting previously unselected package g++-4.8.\nPreparing to unpack .../g++-4.8_4.8.2-19ubuntu1_amd64.deb ...\nUnpacking g++-4.8 (4.8.2-19ubuntu1) ...\nSelecting previously unselected package g++.\nPreparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...\nUnpacking g++ (4:4.8.2-1ubuntu6) ...\nSelecting previously unselected package libdpkg-perl.\nPreparing to unpack .../libdpkg-perl_1.17.5ubuntu5.3_all.deb ...\nUnpacking libdpkg-perl (1.17.5ubuntu5.3) ...\nSelecting previously unselected package dpkg-dev.\nPreparing to unpack .../dpkg-dev_1.17.5ubuntu5.3_all.deb ...\nUnpacking dpkg-dev (1.17.5ubuntu5.3) ...\nSelecting previously unselected package build-essential.\nPreparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...\nUnpacking build-essential (11.6ubuntu6) ...\nSelecting previously unselected package liberror-perl.\nPreparing to unpack .../liberror-perl_0.17-1.1_all.deb ...\nUnpacking liberror-perl (0.17-1.1) ...\nSelecting previously unselected package git-man.\nPreparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.1_all.deb ...\nUnpacking git-man (1:1.9.1-1ubuntu0.1) ...\nSelecting previously unselected package git.\nPreparing to unpack .../git_1%3a1.9.1-1ubuntu0.1_amd64.deb ...\nUnpacking git (1:1.9.1-1ubuntu0.1) ...\nSelecting previously unselected package git-core.\nPreparing to unpack .../git-core_1%3a1.9.1-1ubuntu0.1_all.deb ...\nUnpacking git-core (1:1.9.1-1ubuntu0.1) ...\nSelecting previously unselected package htop.\nPreparing to unpack .../htop_1.0.2-3_amd64.deb ...\nUnpacking htop (1.0.2-3) ...\nSelecting previously unselected package comerr-dev.\nPreparing to unpack .../comerr-dev_2.1-1.42.9-3ubuntu1_amd64.deb ...\nUnpacking comerr-dev (2.1-1.42.9-3ubuntu1) ...\nSelecting previously unselected package krb5-multidev.\nPreparing to unpack .../krb5-multidev_1.12+dfsg-2ubuntu4.2_amd64.deb ...\nUnpacking krb5-multidev (1.12+dfsg-2ubuntu4.2) ...\nSelecting previously unselected package libalgorithm-diff-perl.\nPreparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...\nUnpacking libalgorithm-diff-perl (1.19.02-3) ...\nSelecting previously unselected package libalgorithm-diff-xs-perl.\nPreparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...\nUnpacking libalgorithm-diff-xs-perl (0.04-2build4) ...\nSelecting previously unselected package libalgorithm-merge-perl.\nPreparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...\nUnpacking libalgorithm-merge-perl (0.08-2) ...\nSelecting previously unselected package libfile-fcntllock-perl.\nPreparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...\nUnpacking libfile-fcntllock-perl (0.14-2build1) ...\nSelecting previously unselected package libtinfo-dev:amd64.\nPreparing to unpack .../libtinfo-dev_5.9+20140118-1ubuntu1_amd64.deb ...\nUnpacking libtinfo-dev:amd64 (5.9+20140118-1ubuntu1) ...\nSelecting previously unselected package libncurses5-dev:amd64.\nPreparing to unpack .../libncurses5-dev_5.9+20140118-1ubuntu1_amd64.deb ...\nUnpacking libncurses5-dev:amd64 (5.9+20140118-1ubuntu1) ...\nSelecting previously unselected package libpq5.\nPreparing to unpack .../libpq5_9.3.5-0ubuntu0.14.04.1_amd64.deb ...\nUnpacking libpq5 (9.3.5-0ubuntu0.14.04.1) ...\nSelecting previously unselected package zlib1g-dev:amd64.\nPreparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-1ubuntu1_amd64.deb ...\nUnpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ...\nSelecting previously unselected package libssl-dev:amd64.\nPreparing to unpack .../libssl-dev_1.0.1f-1ubuntu2.8_amd64.deb ...\nUnpacking libssl-dev:amd64 (1.0.1f-1ubuntu2.8) ...\nSelecting previously unselected package libpq-dev.\nPreparing to unpack .../libpq-dev_9.3.5-0ubuntu0.14.04.1_amd64.deb ...\nUnpacking libpq-dev (9.3.5-0ubuntu0.14.04.1) ...\nSelecting previously unselected package libpython-dev:amd64.\nPreparing to unpack .../libpython-dev_2.7.5-5ubuntu3_amd64.deb ...\nUnpacking libpython-dev:amd64 (2.7.5-5ubuntu3) ...\nSelecting previously unselected package libreadline6-dev:amd64.\nPreparing to unpack .../libreadline6-dev_6.3-4ubuntu2_amd64.deb ...\nUnpacking libreadline6-dev:amd64 (6.3-4ubuntu2) ...\nSelecting previously unselected package libssl-doc.\nPreparing to unpack .../libssl-doc_1.0.1f-1ubuntu2.8_all.deb ...\nUnpacking libssl-doc (1.0.1f-1ubuntu2.8) ...\nSelecting previously unselected package python2.7-dev.\nPreparing to unpack .../python2.7-dev_2.7.6-8_amd64.deb ...\nUnpacking python2.7-dev (2.7.6-8) ...\nSelecting previously unselected package python-dev.\nPreparing to unpack .../python-dev_2.7.5-5ubuntu3_amd64.deb ...\nUnpacking python-dev (2.7.5-5ubuntu3) ...\nSelecting previously unselected package python-egenix-mxtools.\nPreparing to unpack .../python-egenix-mxtools_3.2.7-1build1_amd64.deb ...\nUnpacking python-egenix-mxtools (3.2.7-1build1) ...\nSelecting previously unselected package python-egenix-mxdatetime.\nPreparing to unpack .../python-egenix-mxdatetime_3.2.7-1build1_amd64.deb ...\nUnpacking python-egenix-mxdatetime (3.2.7-1build1) ...\nSelecting previously unselected package python-psycopg2.\nPreparing to unpack .../python-psycopg2_2.4.5-1build5_amd64.deb ...\nUnpacking python-psycopg2 (2.4.5-1build5) ...\nSelecting previously unselected package python-setuptools.\nPreparing to unpack .../python-setuptools_3.3-1ubuntu1_all.deb ...\nUnpacking python-setuptools (3.3-1ubuntu1) ...\nSelecting previously unselected package python-software-properties.\nPreparing to unpack .../python-software-properties_0.92.37.2_all.deb ...\nUnpacking python-software-properties (0.92.37.2) ...\nSelecting previously unselected package unzip.\nPreparing to unpack .../unzip_6.0-9ubuntu1.1_amd64.deb ...\nUnpacking unzip (6.0-9ubuntu1.1) ...\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\nProcessing triggers for ureadahead (0.100.0-16) ...\nProcessing triggers for mime-support (3.54ubuntu1) ...\nProcessing triggers for install-info (5.2.0.dfsg.1-2) ...\nSetting up libssl1.0.0:amd64 (1.0.1f-1ubuntu2.8) ...\nSetting up libgssrpc4:amd64 (1.12+dfsg-2ubuntu4.2) ...\nSetting up libkadm5clnt-mit9:amd64 (1.12+dfsg-2ubuntu4.2) ...\nSetting up libkdb5-7:amd64 (1.12+dfsg-2ubuntu4.2) ...\nSetting up libkadm5srv-mit9:amd64 (1.12+dfsg-2ubuntu4.2) ...\nSetting up libopts25:amd64 (1:5.18-2ubuntu2) ...\nSetting up libexpat1-dev:amd64 (2.1.0-4ubuntu1) ...\nSetting up libpython2.7-dev:amd64 (2.7.6-8) ...\nSetting up ntp (1:4.2.6.p5+dfsg-3ubuntu2.14.04.1) ...\nSetting up libfile-next-perl (1.12-1) ...\nSetting up ack-grep (2.12-1) ...\nSetting up libstdc++-4.8-dev:amd64 (4.8.2-19ubuntu1) ...\nSetting up g++-4.8 (4.8.2-19ubuntu1) ...\nSetting up g++ (4:4.8.2-1ubuntu6) ...\nupdate-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode\nSetting up libdpkg-perl (1.17.5ubuntu5.3) ...\nSetting up dpkg-dev (1.17.5ubuntu5.3) ...\nSetting up build-essential (11.6ubuntu6) ...\nSetting up liberror-perl (0.17-1.1) ...\nSetting up git-man (1:1.9.1-1ubuntu0.1) ...\nSetting up git (1:1.9.1-1ubuntu0.1) ...\nSetting up git-core (1:1.9.1-1ubuntu0.1) ...\nSetting up htop (1.0.2-3) ...\nSetting up comerr-dev (2.1-1.42.9-3ubuntu1) ...\nSetting up krb5-multidev (1.12+dfsg-2ubuntu4.2) ...\nSetting up libalgorithm-diff-perl (1.19.02-3) ...\nSetting up libalgorithm-diff-xs-perl (0.04-2build4) ...\nSetting up libalgorithm-merge-perl (0.08-2) ...\nSetting up libfile-fcntllock-perl (0.14-2build1) ...\nSetting up libtinfo-dev:amd64 (5.9+20140118-1ubuntu1) ...\nSetting up libncurses5-dev:amd64 (5.9+20140118-1ubuntu1) ...\nSetting up libpq5 (9.3.5-0ubuntu0.14.04.1) ...\nSetting up zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ...\nSetting up libssl-dev:amd64 (1.0.1f-1ubuntu2.8) ...\nSetting up libpq-dev (9.3.5-0ubuntu0.14.04.1) ...\nSetting up libpython-dev:amd64 (2.7.5-5ubuntu3) ...\nSetting up libreadline6-dev:amd64 (6.3-4ubuntu2) ...\nSetting up libssl-doc (1.0.1f-1ubuntu2.8) ...\nSetting up python2.7-dev (2.7.6-8) ...\nSetting up python-dev (2.7.5-5ubuntu3) ...\nSetting up python-egenix-mxtools (3.2.7-1build1) ...\nSetting up python-egenix-mxdatetime (3.2.7-1build1) ...\nSetting up python-psycopg2 (2.4.5-1build5) ...\nSetting up python-setuptools (3.3-1ubuntu1) ...\nSetting up python-software-properties (0.92.37.2) ...\nSetting up unzip (6.0-9ubuntu1.1) ...\nProcessing triggers for libc-bin (2.19-0ubuntu6.4) ...\nProcessing triggers for ureadahead (0.100.0-16) ...\n"}
TASK: [common | Set timezone variables] ***************************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o 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=fdmeflzvocdeqsyfgnctwzhitvrxibus] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-fdmeflzvocdeqsyfgnctwzhitvrxibus; rc=flag; [ -r "/etc/timezone" ] || rc=2; [ -f "/etc/timezone" ] || rc=1; [ -d "/etc/timezone" ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} /etc/timezone" && exit 0; (python -c '"'"'"'"'"'"'"'"'import hashlib; print(hashlib.sha1(open("/etc/timezone", "rb").read()).hexdigest())'"'"'"'"'"'"'"'"' 2>/dev/null) || (python -c '"'"'"'"'"'"'"'"'import sha; print(sha.sha(open("/etc/timezone", "rb").read()).hexdigest())'"'"'"'"'"'"'"'"' 2>/dev/null) || (echo "0 /etc/timezone")'"'"''
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-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-1422350091.09-191078269258383 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1422350091.09-191078269258383 && echo $HOME/.ansible/tmp/ansible-tmp-1422350091.09-191078269258383'
<127.0.0.1> PUT /tmp/tmpLT3Dmu TO /home/vagrant/.ansible/tmp/ansible-tmp-1422350091.09-191078269258383/source
<127.0.0.1> PUT /tmp/tmpXiAu9x TO /home/vagrant/.ansible/tmp/ansible-tmp-1422350091.09-191078269258383/copy
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o 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=fookbuokpmjwjsuawbxhdevmwasaiqfe] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-fookbuokpmjwjsuawbxhdevmwasaiqfe; LANG=C LC_CTYPE=C /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1422350091.09-191078269258383/copy; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1422350091.09-191078269258383/ >/dev/null 2>&1'"'"''
changed: [default] => {"backup_file": "/etc/timezone.2015-01-27@09:15~", "changed": true, "checksum": "91a5e4a639ea1d19fe47cb47488e3a8f462caa56", "dest": "/etc/timezone", "gid": 0, "group": "root", "md5sum": "786bd9a79768dd61da6fdc8b2e3fa3e1", "mode": "0644", "owner": "root", "size": 16, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1422350091.09-191078269258383/source", "state": "file", "uid": 0}
TASK: [apache | Install Apache] ***********************************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
<127.0.0.1> REMOTE_MODULE apt name=apache2 state=present update_cache=yes
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-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-1422350091.25-223746835700331 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1422350091.25-223746835700331 && echo $HOME/.ansible/tmp/ansible-tmp-1422350091.25-223746835700331'
<127.0.0.1> PUT /tmp/tmpHSdtB2 TO /home/vagrant/.ansible/tmp/ansible-tmp-1422350091.25-223746835700331/apt
<127.0.0.1> EXEC ssh -C -tt -vvv -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/eddie/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o Port=2222 -o IdentityFile="/var/www/html/vagrant-ansible-symfony/.vagrant/machines/default/virtualbox/private_key" -o KbdInteractiveAuthentication=no -o 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=jbdeqxlzjeclbfesdwwtonilbzuhogbl] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-jbdeqxlzjeclbfesdwwtonilbzuhogbl; LANG=C LC_CTYPE=C RUNLEVEL=1 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1422350091.25-223746835700331/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1422350091.25-223746835700331/ >/dev/null 2>&1'"'"''
failed: [default] => {"failed": true}
stderr: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "hr_HR.UTF-8",
LC_MONETARY = "hr_HR.UTF-8",
LC_CTYPE = "C",
LC_ADDRESS = "hr_HR.UTF-8",
LC_TELEPHONE = "hr_HR.UTF-8",
LC_NAME = "hr_HR.UTF-8",
LC_MEASUREMENT = "hr_HR.UTF-8",
LC_IDENTIFICATION = "hr_HR.UTF-8",
LC_NUMERIC = "hr_HR.UTF-8",
LC_PAPER = "hr_HR.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
dpkg: error processing archive /var/cache/apt/archives/apache2_2.4.7-1ubuntu4.1_amd64.deb (--unpack):
error setting ownership of `/var/www/html.dpkg-new': Operation not permitted
Errors were encountered while processing:
/var/cache/apt/archives/apache2_2.4.7-1ubuntu4.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
stdout: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap ssl-cert
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap ssl-cert
0 upgraded, 8 newly installed, 0 to remove and 39 not upgraded.
Need to get 1284 kB of archives.
After this operation, 5342 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libapr1 amd64 1.5.0-1 [85.1 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1 amd64 1.5.3-1 [76.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1-dbd-sqlite3 amd64 1.5.3-1 [10.5 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1-ldap amd64 1.5.3-1 [8634 B]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-bin amd64 2.4.7-1ubuntu4.1 [839 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-data all 2.4.7-1ubuntu4.1 [160 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2 amd64 2.4.7-1ubuntu4.1 [87.5 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB]
Preconfiguring packages ...
Fetched 1284 kB in 8s (160 kB/s)
Selecting previously unselected package libapr1:amd64.
(Reading database ... 65031 files and directories currently installed.)
Preparing to unpack .../libapr1_1.5.0-1_amd64.deb ...
Unpacking libapr1:amd64 (1.5.0-1) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../libaprutil1_1.5.3-1_amd64.deb ...
Unpacking libaprutil1:amd64 (1.5.3-1) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
Preparing to unpack .../libaprutil1-dbd-sqlite3_1.5.3-1_amd64.deb ...
Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) ...
Selecting previously unselected package libaprutil1-ldap:amd64.
Preparing to unpack .../libaprutil1-ldap_1.5.3-1_amd64.deb ...
Unpacking libaprutil1-ldap:amd64 (1.5.3-1) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../apache2-bin_2.4.7-1ubuntu4.1_amd64.deb ...
Unpacking apache2-bin (2.4.7-1ubuntu4.1) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../apache2-data_2.4.7-1ubuntu4.1_all.deb ...
Unpacking apache2-data (2.4.7-1ubuntu4.1) ...
Selecting previously unselected package apache2.
Preparing to unpack .../apache2_2.4.7-1ubuntu4.1_amd64.deb ...
Unpacking apache2 (2.4.7-1ubuntu4.1) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.0.33_all.deb ...
Unpacking ssl-cert (1.0.33) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
msg: 'apt-get install 'apache2'' failed: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "hr_HR.UTF-8",
LC_MONETARY = "hr_HR.UTF-8",
LC_CTYPE = "C",
LC_ADDRESS = "hr_HR.UTF-8",
LC_TELEPHONE = "hr_HR.UTF-8",
LC_NAME = "hr_HR.UTF-8",
LC_MEASUREMENT = "hr_HR.UTF-8",
LC_IDENTIFICATION = "hr_HR.UTF-8",
LC_NUMERIC = "hr_HR.UTF-8",
LC_PAPER = "hr_HR.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
dpkg: error processing archive /var/cache/apt/archives/apache2_2.4.7-1ubuntu4.1_amd64.deb (--unpack):
error setting ownership of `/var/www/html.dpkg-new': Operation not permitted
Errors were encountered while processing:
/var/cache/apt/archives/apache2_2.4.7-1ubuntu4.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/eddie/vagrant.retry
default : ok=6 changed=2 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
eddie@abyss: ~/www/vagrant-ansible-symfony [feature/ez-setup] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment