Hi, zach,
I have set up brand new Digital Ocean Ubuntu 14.04 droplet to implement your Hgv-deploy-full code.
I did this from the brand start, Nothing is on the server, and No other installs or software running on the server.
But Every time, I have the same problems.
I think there might be some problems in installing Percona server. Because Every time, it takes forever to execute on Task of install Percona Server, by end of the exectution.
It prompt the same problem again and again,
TASK [wordpress : Provision WP Database] ***************************************
fatal: [ifengshuo.com]: FAILED! => {"changed": false, "failed": true, "msg": "unable to find /root/.my.cnf. Exception message: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")"}
Can you tell me the problems?
PS: I am attaching the command i am running from the SSH:
RingsedeMacBook-Pro:~ ringse$ ssh [email protected]
[email protected]'s password:
You are required to change your password immediately (root enforced)
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-85-generic x86_64)
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Changing password for root.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
WARNING! Your environment specifies an invalid locale.
This can affect your user experience significantly, including the
ability to manage packages. You may install the locales by running:
sudo apt-get install language-pack-UTF-8
or
sudo locale-gen UTF-8
To see all available language packs, run:
apt-cache search "^language-pack-[a-z][a-z]$"
To disable this message for all users, run:
sudo touch /var/lib/cloud/instance/locale-check.skip
root@HGV:# sudo locale-gen UTF-8
root@HGV:# sudo apt-get install software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@HGV:~# sudo add-apt-repository ppa:ansible/ansible
Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.
http://ansible.com/
More info: https://launchpad.net/~ansible/+archive/ubuntu/ansible
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring /tmp/tmpp5m4aram/secring.gpg' created gpg: keyring
/tmp/tmpp5m4aram/pubring.gpg' created
gpg: requesting key 7BB9C367 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpp5m4aram/trustdb.gpg: trustdb created
gpg: key 7BB9C367: public key "Launchpad PPA for Ansible, Inc." imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
root@HGV:# sudo apt-get update && sudo apt-get upgrade
Get:1 http://ppa.launchpad.net trusty InRelease [16.0 kB]
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://mirrors.digitalocean.com trusty InRelease
Get:3 http://mirrors.digitalocean.com trusty-updates InRelease [65.9 kB]
Get:4 http://ppa.launchpad.net trusty/main amd64 Packages [524 B]
Get:5 http://security.ubuntu.com trusty-security/main Sources [116 kB]
Get:6 http://ppa.launchpad.net trusty/main i386 Packages [524 B]
Get:7 http://ppa.launchpad.net trusty/main Translation-en [322 B]
Get:8 http://mirrors.digitalocean.com trusty-backports InRelease [65.9 kB]
Get:9 http://security.ubuntu.com trusty-security/universe Sources [37.3 kB]
Get:10 http://security.ubuntu.com trusty-security/main amd64 Packages [483 kB]
Hit http://mirrors.digitalocean.com trusty Release.gpg
Get:11 http://mirrors.digitalocean.com trusty-updates/main Sources [275 kB]
Get:12 http://security.ubuntu.com trusty-security/universe amd64 Packages [130 kB]
Get:13 http://security.ubuntu.com trusty-security/main i386 Packages [456 kB]
Get:14 http://security.ubuntu.com trusty-security/universe i386 Packages [130 kB]
Get:15 http://security.ubuntu.com trusty-security/main Translation-en [265 kB]
Get:16 http://security.ubuntu.com trusty-security/universe Translation-en [76.6 kB]
Get:17 http://mirrors.digitalocean.com trusty-updates/restricted Sources [5352 B]
Get:18 http://mirrors.digitalocean.com trusty-updates/universe Sources [156 kB]
Get:19 http://mirrors.digitalocean.com trusty-updates/multiverse Sources [5939 B]
Get:20 http://mirrors.digitalocean.com trusty-updates/main amd64 Packages [769 kB]
Get:21 http://mirrors.digitalocean.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:22 http://mirrors.digitalocean.com trusty-updates/universe amd64 Packages [361 kB]
Get:23 http://mirrors.digitalocean.com trusty-updates/multiverse amd64 Packages [13.2 kB]
Get:24 http://mirrors.digitalocean.com trusty-updates/main i386 Packages [737 kB]
Get:25 http://mirrors.digitalocean.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:26 http://mirrors.digitalocean.com trusty-updates/universe i386 Packages [363 kB]
Get:27 http://mirrors.digitalocean.com trusty-updates/multiverse i386 Packages [13.6 kB]
Get:28 http://mirrors.digitalocean.com trusty-updates/main Translation-en [385 kB]
Get:29 http://mirrors.digitalocean.com trusty-updates/multiverse Translation-en [7227 B]
Get:30 http://mirrors.digitalocean.com trusty-updates/restricted Translation-en [3699 B]
Get:31 http://mirrors.digitalocean.com trusty-updates/universe Translation-en [189 kB]
Get:32 http://mirrors.digitalocean.com trusty-backports/main Sources [9544 B]
Get:33 http://mirrors.digitalocean.com trusty-backports/restricted Sources [28 B]
Get:34 http://mirrors.digitalocean.com trusty-backports/universe Sources [35.2 kB]
Get:35 http://mirrors.digitalocean.com trusty-backports/multiverse Sources [1898 B]
Get:36 http://mirrors.digitalocean.com trusty-backports/main amd64 Packages [13.0 kB]
Get:37 http://mirrors.digitalocean.com trusty-backports/restricted amd64 Packages [28 B]
Get:38 http://mirrors.digitalocean.com trusty-backports/universe amd64 Packages [43.1 kB]
Get:39 http://mirrors.digitalocean.com trusty-backports/multiverse amd64 Packages [1571 B]
Get:40 http://mirrors.digitalocean.com trusty-backports/main i386 Packages [13.1 kB]
Get:41 http://mirrors.digitalocean.com trusty-backports/restricted i386 Packages [28 B]
Get:42 http://mirrors.digitalocean.com trusty-backports/universe i386 Packages [43.2 kB]
Get:43 http://mirrors.digitalocean.com trusty-backports/multiverse i386 Packages [1552 B]
Get:44 http://mirrors.digitalocean.com trusty-backports/main Translation-en [7370 B]
Get:45 http://mirrors.digitalocean.com trusty-backports/multiverse Translation-en [1215 B]
Get:46 http://mirrors.digitalocean.com trusty-backports/restricted Translation-en [28 B]
Get:47 http://mirrors.digitalocean.com trusty-backports/universe Translation-en [36.8 kB]
Hit http://mirrors.digitalocean.com trusty Release
Hit http://mirrors.digitalocean.com trusty/main Sources
Hit http://mirrors.digitalocean.com trusty/restricted Sources
Hit http://mirrors.digitalocean.com trusty/universe Sources
Hit http://mirrors.digitalocean.com trusty/multiverse Sources
Hit http://mirrors.digitalocean.com trusty/main amd64 Packages
Hit http://mirrors.digitalocean.com trusty/restricted amd64 Packages
Hit http://mirrors.digitalocean.com trusty/universe amd64 Packages
Hit http://mirrors.digitalocean.com trusty/multiverse amd64 Packages
Hit http://mirrors.digitalocean.com trusty/main i386 Packages
Hit http://mirrors.digitalocean.com trusty/restricted i386 Packages
Hit http://mirrors.digitalocean.com trusty/universe i386 Packages
Hit http://mirrors.digitalocean.com trusty/multiverse i386 Packages
Hit http://mirrors.digitalocean.com trusty/main Translation-en
Hit http://mirrors.digitalocean.com trusty/multiverse Translation-en
Hit http://mirrors.digitalocean.com trusty/restricted Translation-en
Hit http://mirrors.digitalocean.com trusty/universe Translation-en
Fetched 5432 kB in 8s (653 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
apport apt apt-transport-https apt-utils bash-completion cpp-4.8 dosfstools
gcc-4.8-base klibc-utils libapt-inst1.5 libapt-pkg4.12 libc-bin libc6
libexpat1 libklibc libnl-3-200 libnl-genl-3-200 libstdc++6 lsb-base
lsb-release multiarch-support openssh-client openssh-server
openssh-sftp-server python3-apport python3-problem-report
26 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 14.3 MB of archives.
After this operation, 17.4 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://security.ubuntu.com/ubuntu/ trusty-security/main dosfstools amd64 3.0.26-1ubuntu0.1 [60.1 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libc-bin amd64 2.19-0ubuntu6.9 [1165 kB]
Get:3 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libc6 amd64 2.19-0ubuntu6.9 [4717 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main cpp-4.8 amd64 4.8.4-2ubuntu114.04.3 [4595 kB]
Get:5 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main gcc-4.8-base amd64 4.8.4-2ubuntu114.04.3 [16.2 kB]
Get:6 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libstdc++6 amd64 4.8.4-2ubuntu114.04.3 [259 kB]
Get:7 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libapt-pkg4.12 amd64 1.0.1ubuntu2.14 [638 kB]
Get:8 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main apt amd64 1.0.1ubuntu2.14 [955 kB]
Get:9 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libapt-inst1.5 amd64 1.0.1ubuntu2.14 [58.6 kB]
Get:10 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libexpat1 amd64 2.1.0-4ubuntu1.2 [71.1 kB]
Get:11 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main bash-completion all 1:2.1-4ubuntu0.2 [153 kB]
Get:12 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libnl-genl-3-200 amd64 3.2.21-1ubuntu1.1 [10.2 kB]
Get:13 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libnl-3-200 amd64 3.2.21-1ubuntu1.1 [44.7 kB]
Get:14 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main lsb-base all 4.1+Debian11ubuntu6.1 [13.0 kB]
Get:15 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main multiarch-support amd64 2.19-0ubuntu6.9 [4484 B]
Get:16 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main apt-utils amd64 1.0.1ubuntu2.14 [172 kB]
Get:17 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main lsb-release all 4.1+Debian11ubuntu6.1 [11.5 kB]
Get:18 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main klibc-utils amd64 2.0.3-0ubuntu1.14.04.1 [107 kB]
Get:19 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libklibc amd64 2.0.3-0ubuntu1.14.04.1 [40.8 kB]
Get:20 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main apt-transport-https amd64 1.0.1ubuntu2.14 [25.0 kB]
Get:21 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main openssh-sftp-server amd64 1:6.6p1-2ubuntu2.7 [34.2 kB]
Get:22 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main openssh-server amd64 1:6.6p1-2ubuntu2.7 [322 kB]
Get:23 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main openssh-client amd64 1:6.6p1-2ubuntu2.7 [564 kB]
Get:24 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main python3-problem-report all 2.14.1-0ubuntu3.21 [9710 B]
Get:25 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main python3-apport all 2.14.1-0ubuntu3.21 [75.3 kB]
Get:26 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main apport all 2.14.1-0ubuntu3.21 [182 kB]
Fetched 14.3 MB in 4s (3154 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
(Reading database ... 57380 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc-bin (2.19-0ubuntu6.9) over (2.19-0ubuntu6.7) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libc-bin (2.19-0ubuntu6.9) ...
(Reading database ... 57379 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc6:amd64 (2.19-0ubuntu6.9) over (2.19-0ubuntu6.7) ...
Setting up libc6:amd64 (2.19-0ubuntu6.9) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
(Reading database ... 57379 files and directories currently installed.)
Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu114.04.3_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-2ubuntu114.04.3) over (4.8.4-2ubuntu114.04.1) ...
Preparing to unpack .../gcc-4.8-base_4.8.4-2ubuntu114.04.3_amd64.deb ...
Unpacking gcc-4.8-base:amd64 (4.8.4-2ubuntu114.04.3) over (4.8.4-2ubuntu114.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up gcc-4.8-base:amd64 (4.8.4-2ubuntu114.04.3) ...
(Reading database ... 57379 files and directories currently installed.)
Preparing to unpack .../libstdc++6_4.8.4-2ubuntu114.04.3_amd64.deb ...
Unpacking libstdc++6:amd64 (4.8.4-2ubuntu114.04.3) over (4.8.4-2ubuntu114.04.1) ...
Setting up libstdc++6:amd64 (4.8.4-2ubuntu114.04.3) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
(Reading database ... 57379 files and directories currently installed.)
Preparing to unpack .../libapt-pkg4.12_1.0.1ubuntu2.14_amd64.deb ...
Unpacking libapt-pkg4.12:amd64 (1.0.1ubuntu2.14) over (1.0.1ubuntu2.13) ...
Setting up libapt-pkg4.12:amd64 (1.0.1ubuntu2.14) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
(Reading database ... 57379 files and directories currently installed.)
Preparing to unpack .../apt_1.0.1ubuntu2.14_amd64.deb ...
Unpacking apt (1.0.1ubuntu2.14) over (1.0.1ubuntu2.13) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up apt (1.0.1ubuntu2.14) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
(Reading database ... 57379 files and directories currently installed.)
Preparing to unpack .../libapt-inst1.5_1.0.1ubuntu2.14_amd64.deb ...
Unpacking libapt-inst1.5:amd64 (1.0.1ubuntu2.14) over (1.0.1ubuntu2.13) ...
Preparing to unpack .../libexpat1_2.1.0-4ubuntu1.2_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-4ubuntu1.2) over (2.1.0-4ubuntu1.1) ...
Preparing to unpack .../bash-completion_1%3a2.1-4ubuntu0.2_all.deb ...
Unpacking bash-completion (1:2.1-4ubuntu0.2) over (1:2.1-4ubuntu0.1) ...
Preparing to unpack .../libnl-genl-3-200_3.2.21-1ubuntu1.1_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.2.21-1ubuntu1.1) over (3.2.21-1) ...
Preparing to unpack .../libnl-3-200_3.2.21-1ubuntu1.1_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.2.21-1ubuntu1.1) over (3.2.21-1) ...
Preparing to unpack .../lsb-base_4.1+Debian11ubuntu6.1_all.deb ...
Unpacking lsb-base (4.1+Debian11ubuntu6.1) over (4.1+Debian11ubuntu6) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up lsb-base (4.1+Debian11ubuntu6.1) ...
(Reading database ... 57380 files and directories currently installed.)
Preparing to unpack .../multiarch-support_2.19-0ubuntu6.9_amd64.deb ...
Unpacking multiarch-support (2.19-0ubuntu6.9) over (2.19-0ubuntu6.7) ...
Setting up multiarch-support (2.19-0ubuntu6.9) ...
(Reading database ... 57380 files and directories currently installed.)
Preparing to unpack .../apt-utils_1.0.1ubuntu2.14_amd64.deb ...
Unpacking apt-utils (1.0.1ubuntu2.14) over (1.0.1ubuntu2.13) ...
Preparing to unpack .../lsb-release_4.1+Debian11ubuntu6.1_all.deb ...
Unpacking lsb-release (4.1+Debian11ubuntu6.1) over (4.1+Debian11ubuntu6) ...
Preparing to unpack .../klibc-utils_2.0.3-0ubuntu1.14.04.1_amd64.deb ...
Unpacking klibc-utils (2.0.3-0ubuntu1.14.04.1) over (2.0.3-0ubuntu1) ...
Preparing to unpack .../libklibc_2.0.3-0ubuntu1.14.04.1_amd64.deb ...
Unpacking libklibc (2.0.3-0ubuntu1.14.04.1) over (2.0.3-0ubuntu1) ...
Preparing to unpack .../apt-transport-https_1.0.1ubuntu2.14_amd64.deb ...
Unpacking apt-transport-https (1.0.1ubuntu2.14) over (1.0.1ubuntu2.13) ...
Preparing to unpack .../dosfstools_3.0.26-1ubuntu0.1_amd64.deb ...
Unpacking dosfstools (3.0.26-1ubuntu0.1) over (3.0.26-1) ...
Preparing to unpack .../openssh-sftp-server_1%3a6.6p1-2ubuntu2.7_amd64.deb ...
Unpacking openssh-sftp-server (1:6.6p1-2ubuntu2.7) over (1:6.6p1-2ubuntu2.6) ...
Preparing to unpack .../openssh-server_1%3a6.6p1-2ubuntu2.7_amd64.deb ...
Unpacking openssh-server (1:6.6p1-2ubuntu2.7) over (1:6.6p1-2ubuntu2.6) ...
Preparing to unpack .../openssh-client_1%3a6.6p1-2ubuntu2.7_amd64.deb ...
Unpacking openssh-client (1:6.6p1-2ubuntu2.7) over (1:6.6p1-2ubuntu2.6) ...
Preparing to unpack .../python3-problem-report_2.14.1-0ubuntu3.21_all.deb ...
Unpacking python3-problem-report (2.14.1-0ubuntu3.21) over (2.14.1-0ubuntu3.19) ...
Preparing to unpack .../python3-apport_2.14.1-0ubuntu3.21_all.deb ...
Unpacking python3-apport (2.14.1-0ubuntu3.21) over (2.14.1-0ubuntu3.19) ...
Preparing to unpack .../apport_2.14.1-0ubuntu3.21_all.deb ...
apport stop/waiting
Unpacking apport (2.14.1-0ubuntu3.21) over (2.14.1-0ubuntu3.19) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34rc-0ubuntu2) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Setting up cpp-4.8 (4.8.4-2ubuntu114.04.3) ...
Setting up libapt-inst1.5:amd64 (1.0.1ubuntu2.14) ...
Setting up libexpat1:amd64 (2.1.0-4ubuntu1.2) ...
Setting up bash-completion (1:2.1-4ubuntu0.2) ...
Setting up libnl-3-200:amd64 (3.2.21-1ubuntu1.1) ...
Setting up libnl-genl-3-200:amd64 (3.2.21-1ubuntu1.1) ...
Setting up apt-utils (1.0.1ubuntu2.14) ...
Setting up lsb-release (4.1+Debian11ubuntu6.1) ...
Setting up libklibc (2.0.3-0ubuntu1.14.04.1) ...
Setting up klibc-utils (2.0.3-0ubuntu1.14.04.1) ...
Setting up apt-transport-https (1.0.1ubuntu2.14) ...
Setting up dosfstools (3.0.26-1ubuntu0.1) ...
Setting up openssh-client (1:6.6p1-2ubuntu2.7) ...
Setting up openssh-sftp-server (1:6.6p1-2ubuntu2.7) ...
Setting up openssh-server (1:6.6p1-2ubuntu2.7) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ssh stop/waiting
ssh start/running, process 5425
Setting up python3-problem-report (2.14.1-0ubuntu3.21) ...
Setting up python3-apport (2.14.1-0ubuntu3.21) ...
Setting up apport (2.14.1-0ubuntu3.21) ...
apport start/running
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
root@HGV:# sudo apt-get install ansible git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
git-man liberror-perl python-crypto python-httplib2 python-jinja2
python-markupsafe python-paramiko python-setuptools sshpass
Suggested packages:
git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-bzr git-cvs git-mediawiki git-svn python-crypto-dbg
python-crypto-doc python-jinja2-doc
The following NEW packages will be installed:
ansible git git-man liberror-perl python-crypto python-httplib2
python-jinja2 python-markupsafe python-paramiko python-setuptools sshpass
0 upgraded, 11 newly installed, 0 to remove and 3 not upgraded.
Need to get 5335 kB of archives.
After this operation, 35.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/ansible/ansible/ubuntu/ trusty/main ansible all 2.1.0.0-1ppatrusty [1233 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty/main python-markupsafe amd64 0.18-1build2 [14.3 kB]
Get:3 http://mirrors.digitalocean.com/ubuntu/ trusty/main python-jinja2 all 2.7.2-2 [161 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu/ trusty/main python-crypto amd64 2.6.1-4build1 [239 kB]
Get:5 http://mirrors.digitalocean.com/ubuntu/ trusty/main python-paramiko all 1.10.1-1git1build1 [106 kB]
Get:6 http://mirrors.digitalocean.com/ubuntu/ trusty/main python-httplib2 all 0.8-2build1 [35.4 kB]
Get:7 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
Get:8 http://mirrors.digitalocean.com/ubuntu/ trusty/universe sshpass amd64 1.05-1 [10.5 kB]
Get:9 http://mirrors.digitalocean.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:10 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.3 [699 kB]
Get:11 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.3 [2586 kB]
Fetched 5335 kB in 7s (683 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package python-markupsafe.
(Reading database ... 57380 files and directories currently installed.)
Preparing to unpack .../python-markupsafe_0.18-1build2_amd64.deb ...
Unpacking python-markupsafe (0.18-1build2) ...
Selecting previously unselected package python-jinja2.
Preparing to unpack .../python-jinja2_2.7.2-2_all.deb ...
Unpacking python-jinja2 (2.7.2-2) ...
Selecting previously unselected package python-crypto.
Preparing to unpack .../python-crypto_2.6.1-4build1_amd64.deb ...
Unpacking python-crypto (2.6.1-4build1) ...
Selecting previously unselected package python-paramiko.
Preparing to unpack .../python-paramiko_1.10.1-1git1build1_all.deb ...
Unpacking python-paramiko (1.10.1-1git1build1) ...
Selecting previously unselected package python-httplib2.
Preparing to unpack .../python-httplib2_0.8-2build1_all.deb ...
Unpacking python-httplib2 (0.8-2build1) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package sshpass.
Preparing to unpack .../sshpass_1.05-1_amd64.deb ...
Unpacking sshpass (1.05-1) ...
Selecting previously unselected package ansible.
Preparing to unpack .../ansible_2.1.0.0-1ppatrusty_all.deb ...
Unpacking ansible (2.1.0.0-1ppatrusty) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.3_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.3_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up python-markupsafe (0.18-1build2) ...
Setting up python-jinja2 (2.7.2-2) ...
Setting up python-crypto (2.6.1-4build1) ...
Setting up python-paramiko (1.10.1-1git1build1) ...
Setting up python-httplib2 (0.8-2build1) ...
Setting up python-setuptools (3.3-1ubuntu2) ...
Setting up sshpass (1.05-1) ...
Setting up ansible (2.1.0.0-1ppatrusty) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.3) ...
Setting up git (1:1.9.1-1ubuntu0.3) ...
root@HGV:# git clone https://github.com/zach-adams/hgv-deploy-full/
Cloning into 'hgv-deploy-full'...
remote: Counting objects: 508, done.
remote: Total 508 (delta 0), reused 0 (delta 0), pack-reused 508
Receiving objects: 100% (508/508), 86.48 KiB | 0 bytes/s, done.
Resolving deltas: 100% (161/161), done.
Checking connectivity... done.
root@HGV:# cd hgv-deploy-full
root@HGV:~/hgv-deploy-full# sudo ansible-playbook -i hosts playbook.yml -c local[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and
make sure become_method is 'sudo' (default).
This feature will be removed in a
future release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
ok: [yourhostname.com]
TASK [common : Install necessary packages for proper system state] *************
changed: [yourhostname.com] => (item=[u'sysv-rc-conf', u'python-apt', u'python-pycurl', u'python-mysqldb', u'git', u'curl', u'unzip', u'php5-mysql', u'traceroute', u'ack-grep', u'subversion', u'autojump', u'siege'])
TASK [common : Get Composer] ***************************************************
changed: [yourhostname.com]
TASK [common : Install PsySH] **************************************************
changed: [yourhostname.com]
TASK [common : Install Boris] **************************************************
changed: [yourhostname.com]
TASK [common : Fix the stdin bug, step 1] **************************************
ok: [yourhostname.com]
TASK [common : Fix the stdin bug, step 2] **************************************
changed: [yourhostname.com]
TASK [hhvm : Enable HHVM repo key] *********************************************
changed: [yourhostname.com]
TASK [hhvm : Enable HHVM repo] *************************************************
changed: [yourhostname.com]
TASK [hhvm : Install HHVM] *****************************************************
changed: [yourhostname.com]
TASK [hhvm : Do /etc/hhvm/server.ini] ******************************************
changed: [yourhostname.com]
TASK [hhvm : Do /etc/hhvm/php.ini] *********************************************
changed: [yourhostname.com]
TASK [hhvm : Ensure HHVM is running] *******************************************
changed: [yourhostname.com]
TASK [php-fpm : Install PHP packages] ******************************************
changed: [yourhostname.com] => (item=[u'php5', u'php5-cli', u'php5-imagick', u'php5-curl', u'php5-gd', u'php5-fpm', u'php5-memcache', u'php5-memcached', u'php5-xdebug', u'phpunit'])
TASK [memcached : Install memcached server] ************************************
changed: [yourhostname.com]
TASK [memcached : Do memcached config] *****************************************
changed: [yourhostname.com]
TASK [percona : ensure /etc/mysql] *********************************************
ok: [yourhostname.com]
TASK [percona : Install Percona GPG key] ***************************************
changed: [yourhostname.com]
TASK [percona : Enable Percona repo] *******************************************
changed: [yourhostname.com]
TASK [percona : Install Percona server] ****************************************