Last active
August 29, 2015 14:24
-
-
Save svpernova09/ec17d6a3c9f746bf9e1e to your computer and use it in GitHub Desktop.
Vagrant up Log
This file contains 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
--- | |
- name: Prep and configure | |
hosts: all | |
user: "vagrant" | |
sudo: yes | |
roles: | |
- geerlingguy.php | |
- geerlingguy.nginx | |
# - geerlingguy.firewall | |
# - geerlingguy.php-mysql | |
# - geerlingguy.php-memcached | |
# - geerlingguy.mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant destroy -f && vagrant up ─(07/10/15)─┘ | |
==> default: Forcing shutdown of VM... | |
==> default: Destroying VM and associated drives... | |
==> default: Running cleanup tasks for 'ansible' provisioner... | |
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: ansible-octane_default_1436561486014_32479 | |
==> 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: 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: | |
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: Mounting shared folders... | |
default: /vagrant => /Users/halo/PhpstormProjects/ansible-octane | |
==> default: Running provisioner: ansible... | |
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-key=/Users/halo/PhpstormProjects/ansible-octane/.vagrant/machines/default/virtualbox/private_key --user=vagrant --connection=ssh --limit='default' --inventory-file=inventory/vagrant vagrant.yml | |
___________________________________ | |
< PLAY [Prep and configure magento] > | |
----------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
_________________ | |
< GATHERING FACTS > | |
----------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
________________________________________________________ | |
< TASK: geerlingguy.php | Include OS-specific variables. > | |
-------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
______________________________________________ | |
< TASK: geerlingguy.php | Define php_packages. > | |
---------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
______________________________________________________ | |
< TASK: geerlingguy.php | Define php_webserver_daemon. > | |
------------------------------------------------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
_______________________________________________ | |
< TASK: geerlingguy.php | Define php_conf_path. > | |
----------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
_________________________________________________________ | |
< TASK: geerlingguy.php | Define php_extension_conf_path. > | |
--------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
____________________________________________________________ | |
< TASK: geerlingguy.php | Ensure PHP packages are installed. > | |
------------------------------------------------------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
___________________________________________ | |
< TASK: geerlingguy.php | Update apt cache. > | |
------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
____________________________________________________________ | |
< TASK: geerlingguy.php | Ensure PHP packages are installed. > | |
------------------------------------------------------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
changed: [default] => (item=php5,libapache2-mod-php5,php5-mcrypt,php5-cli,php5-common,php5-curl,php5-dev,php5-fpm,php5-gd,php-pear,php-apc,libpcre3-dev) | |
__________________________________________________________ | |
/ TASK: geerlingguy.php | Ensure dependencies for building \ | |
\ from source are installed (RedHat). / | |
---------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
____________________________________________________ | |
< TASK: geerlingguy.php | Update apt cache (Debian). > | |
---------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
__________________________________________________________ | |
/ TASK: geerlingguy.php | Ensure dependencies for building \ | |
\ from source are installed (Debian). / | |
---------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
________________________________________________________ | |
/ TASK: geerlingguy.php | Check if gmp.h is already in a \ | |
\ location accessible to gcc. / | |
-------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
__________________________________________________________ | |
/ TASK: geerlingguy.php | Ensure gmp.h is symlinked into a \ | |
\ location accessible to gcc. / | |
---------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
____________________________________________________ | |
< TASK: geerlingguy.php | Check if PHP is installed. > | |
---------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
___________________________________________________ | |
< TASK: geerlingguy.php | Clone the PHP repository. > | |
--------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
______________________________________________________ | |
/ TASK: geerlingguy.php | Ensure PHP installation path \ | |
\ exists. / | |
------------------------------------------------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
_________________________________________________ | |
< TASK: geerlingguy.php | Build configure script. > | |
------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
_______________________________________________ | |
< TASK: geerlingguy.php | Run configure script. > | |
----------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
_______________________________________________ | |
< TASK: geerlingguy.php | Make and install PHP. > | |
----------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] => (item=make) | |
skipping: [default] => (item=make install) | |
____________________________________________________________ | |
/ TASK: geerlingguy.php | Ensure php executable is symlinked \ | |
\ into a standard path. / | |
------------------------------------------------------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
______________________________________________________ | |
/ TASK: geerlingguy.php | Ensure php-fpm executable is \ | |
\ symlinked into a standard path. / | |
------------------------------------------------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
_______________________________________________________ | |
/ TASK: geerlingguy.php | Ensure php-fpm init script is \ | |
\ installed. / | |
------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
_________________________________________________________ | |
/ TASK: geerlingguy.php | Ensure php-fpm config directory \ | |
\ exists. / | |
--------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
_______________________________________________________ | |
/ TASK: geerlingguy.php | Ensure php-fpm config file is \ | |
\ installed. / | |
------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
_____________________________________________________________ | |
< TASK: geerlingguy.php | Check the installed version of PHP. > | |
------------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
_____________________________________________________________ | |
/ TASK: geerlingguy.php | Disable opcache if PHP version is < \ | |
\ 5.5. / | |
------------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
__________________________________________________________ | |
/ TASK: geerlingguy.php | Ensure configuration directories \ | |
\ exist. / | |
---------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] => (item=/etc/php5) | |
changed: [default] => (item=/etc/php5/conf.d) | |
_________________________________________________________ | |
/ TASK: geerlingguy.php | Place PHP configuration file in \ | |
\ place. / | |
--------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
changed: [default] | |
_________________________________________________________ | |
/ TASK: geerlingguy.php | Place APC configuration file in \ | |
\ place. / | |
--------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
changed: [default] | |
_____________________________________________________________ | |
/ TASK: geerlingguy.php | Place OpCache configuration file in \ | |
\ place. / | |
------------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
changed: [default] | |
_______________________________________________________ | |
/ TASK: geerlingguy.php | Ensure php-fpm is started and \ | |
\ enabled at boot (if configured). / | |
------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
__________________________________________________________ | |
< TASK: geerlingguy.nginx | Include OS-specific variables. > | |
---------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
______________________________________________ | |
< TASK: geerlingguy.nginx | Define nginx_user. > | |
---------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
______________________________________________ | |
< TASK: geerlingguy.nginx | Enable nginx repo. > | |
---------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
______________________________________________________ | |
< TASK: geerlingguy.nginx | Ensure nginx is installed. > | |
------------------------------------------------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
______________________________________________________ | |
< TASK: geerlingguy.nginx | Ensure nginx is installed. > | |
------------------------------------------------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
changed: [default] | |
_______________________________________________________ | |
/ TASK: geerlingguy.nginx | Copy nginx configuration in \ | |
\ place. / | |
------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
changed: [default] | |
_______________________________________________________ | |
/ TASK: geerlingguy.nginx | Ensure nginx is started and \ | |
\ enabled to start at boot. / | |
------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
changed: [default] | |
_____________________________________________________________ | |
/ TASK: geerlingguy.nginx | Remove default nginx vhost config \ | |
\ file (if configured). / | |
------------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
_____________________________________________________________ | |
/ TASK: geerlingguy.nginx | Add managed vhost config file (if \ | |
\ any vhosts are configured). / | |
------------------------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
skipping: [default] | |
____________________________________________________________ | |
/ TASK: geerlingguy.nginx | Remove managed vhost config file \ | |
\ (if no vhosts are configured). / | |
------------------------------------------------------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
ok: [default] | |
_______________________________________________ | |
< NOTIFIED: geerlingguy.php | restart webserver > | |
----------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
changed: [default] | |
_____________________________________________ | |
< NOTIFIED: geerlingguy.php | restart php-fpm > | |
--------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
failed: [default] => {"failed": true} | |
FATAL: all hosts have already failed -- aborting | |
_____________________________________________ | |
< NOTIFIED: geerlingguy.php | restart php-fpm > | |
--------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
FATAL: no hosts matched or all hosts have already failed -- aborting | |
FATAL: all hosts have already failed -- aborting | |
_____________________________________________ | |
< NOTIFIED: geerlingguy.php | restart php-fpm > | |
--------------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
FATAL: no hosts matched or all hosts have already failed -- aborting | |
FATAL: all hosts have already failed -- aborting | |
____________ | |
< PLAY RECAP > | |
------------ | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || | |
to retry, use: --limit @/Users/halo/vagrant.retry | |
default : ok=22 changed=9 unreachable=0 failed=1 | |
Ansible failed to complete successfully. Any error output should be | |
visible above. Please fix these errors and try again. | |
vagrant destroy -f && vagrant up: 05:03 |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
# config.vm.network "forwarded_port", guest: 80, host: 8080 | |
config.vm.network "private_network", ip: "192.168.33.10" | |
# config.vm.network "public_network" | |
# config.vm.synced_folder "../data", "/vagrant_data" | |
config.ssh.pty = true | |
# make sure the box has ansible installed | |
# needing this depends on config.vm.box | |
config.vm.provision "ansible" do |ansible| | |
ansible.playbook = "vagrant.yml" | |
ansible.inventory_path = "inventory/vagrant" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment