Skip to content

Instantly share code, notes, and snippets.

@svpernova09
Created September 17, 2016 02:56
Show Gist options
  • Save svpernova09/45d3f4c3d59096aee872525a19a6b29b to your computer and use it in GitHub Desktop.
Save svpernova09/45d3f4c3d59096aee872525a19a6b29b to your computer and use it in GitHub Desktop.
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'asgrim/rmq-vm'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: rmq-vm
==> 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 (guest) => 2222 (host) (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: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.3.36
default: VirtualBox Version: 5.0
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
Password:
The nfsd service does not appear to be running.
Starting the nfsd service
==> default: Mounting NFS shared folders...
==> default: Running provisioner: ansible...
default: Running ansible-playbook...
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
ok: [192.168.33.99]
TASK [init : Update apt] *******************************************************
ok: [192.168.33.99]
TASK [init : Install System Packages] ******************************************
ok: [192.168.33.99] => (item=[u'curl', u'wget', u'python-software-properties'])
TASK [init : Add ppa Repository] ***********************************************
ok: [192.168.33.99]
TASK [init : Update apt] *******************************************************
ok: [192.168.33.99]
TASK [init : Install Extra Packages] *******************************************
TASK [init : Configure the timezone] *******************************************
changed: [192.168.33.99]
TASK [init : More Configure the timezone] **************************************
changed: [192.168.33.99]
TASK [init : Set the hostname in /etc/hostname] ********************************
changed: [192.168.33.99]
TASK [init : Set the hostname] *************************************************
changed: [192.168.33.99]
TASK [init : Update /etc/hosts] ************************************************
ok: [192.168.33.99]
TASK [php5-cli : Install php5-cli] *********************************************
ok: [192.168.33.99]
TASK [php5-cli : ensure timezone is set in cli php.ini] ************************
ok: [192.168.33.99]
TASK [apache : Install Apache] *************************************************
ok: [192.168.33.99]
TASK [apache : Install Apache Modules] *****************************************
ok: [192.168.33.99] => (item=rewrite)
ok: [192.168.33.99] => (item=vhost_alias)
ok: [192.168.33.99] => (item=headers)
ok: [192.168.33.99] => (item=expires)
ok: [192.168.33.99] => (item=filter)
TASK [apache : command] ********************************************************
changed: [192.168.33.99]
TASK [apache : Change default apache2.4 site] **********************************
ok: [192.168.33.99]
TASK [apache : Change default apache2.2 site] **********************************
skipping: [192.168.33.99]
TASK [php5 : Install php5] *****************************************************
ok: [192.168.33.99]
TASK [php5 : ensure timezone is set in apache2 php.ini] ************************
ok: [192.168.33.99]
TASK [composer : Install Composer] *********************************************
ok: [192.168.33.99]
TASK [phpcommon : Install PHP Packages] ****************************************
ok: [192.168.33.99] => (item=[u'php5-cli'])
TASK [rabbitmq : add rabbitmq key] *********************************************
ok: [192.168.33.99]
TASK [rabbitmq : add rabbitmq repo] ********************************************
ok: [192.168.33.99]
TASK [rabbitmq : Update apt] ***************************************************
ok: [192.168.33.99]
TASK [rabbitmq : Install rabbitmq] *********************************************
ok: [192.168.33.99]
TASK [rabbitmq : create /etc/rabbitmq] *****************************************
ok: [192.168.33.99]
TASK [rabbitmq : create rabbitmq config] ***************************************
ok: [192.168.33.99]
TASK [rabbitmq : fetch delayed messages plugin] ********************************
ok: [192.168.33.99]
TASK [rabbitmq : enable rabbit plugins] ****************************************
ok: [192.168.33.99]
TASK [app : install app deps] **************************************************
fatal: [192.168.33.99]: FAILED! => {"changed": false, "failed": true, "msg": "Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted Composer could not find a composer.json file in /vagrant To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section", "stdout": "Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted\nComposer could not find a composer.json file in /vagrant\nTo initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section\n", "stdout_lines": ["Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted", "Composer could not find a composer.json file in /vagrant", "To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section"]}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @ansible/playbook.retry
PLAY RECAP *********************************************************************
192.168.33.99 : ok=28 changed=5 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
vagrant up: 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment