Skip to content

Instantly share code, notes, and snippets.

@JasonReading
Created May 9, 2014 21:58
Show Gist options
  • Save JasonReading/747e4ca94dc5f7efe69b to your computer and use it in GitHub Desktop.
Save JasonReading/747e4ca94dc5f7efe69b to your computer and use it in GitHub Desktop.
Apache not installing
protobox:
version: 0.0.1
build: custom
document: 7lO4
description: 'A custom build from getprotobox.com/share/7lO4'
dashboard:
install: 0
path: /srv/www/web/protobox
vagrant:
vm:
box: precise64
box_url: 'http://files.vagrantup.com/precise64.box'
hostname: binky
network:
private_network: 192.168.56.116
forwarded_port:
port2:
host: '8116'
guest: '80'
provider:
virtualbox:
modifyvm:
name: binky
memory: 512
setextradata:
VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root: 1
provision:
ansible:
playbook: ansible/site.yml
synced_folder:
root:
id: vagrant-root
source: ../
target: /srv/www
nfs: false
owner: vagrant
group: www-data
mount_options:
- dmode=775
- fmode=775
usable_port_range: 2200..2250
ssh:
host: null
port: null
private_key_path: null
public_key_path: null
username: vagrant
guest_port: null
keep_alive: true
forward_agent: false
forward_x11: false
shell: 'bash -l'
vagrant:
host: ':detect'
server:
packages: [ ]
ssh:
authorized_keys: [ ]
private_keys: [ ]
config: [ ]
dotfiles:
install: 0
repo: ''
files: [ ]
bash_aliases: null
apache:
install: 1
modules:
- rewrite
user: vagrant
group: www-data
default_vhost: false
mpm_module: prefork
vhosts:
-
name: app
servername: binky.dev
serveraliases: [ ]
docroot: /srv/www/web
port: 80
setenv:
- 'APP_ENV dev'
override:
- All
nginx:
install: 0
mpm_module: fpm
vhosts:
-
name: app
server_name: app.dev
server_aliases:
- www.app.dev
www_root: /srv/www/web/protobox
listen_port: 80
index_files:
- index.html
- index.htm
- index.php
envvars:
- 'APP_ENV dev'
php:
install: 1
version: '54'
modules:
- php5-cli
- php5-curl
- php5-gd
- php5-intl
- php5-mcrypt
pear:
install: 0
modules: [ ]
pecl:
install: 0
modules: [ ]
composer:
install: 1
mailcatcher:
install: 1
phpmyadmin:
install: 0
xdebug:
install: 1
webgrind: 0
settings:
default_enable: '1'
remote_autostart: '0'
remote_connect_back: '1'
remote_enable: '1'
remote_handler: dbgp
remote_port: '9000'
xhprof:
install: 0
xhgui: 0
ini:
display_errors: On
display_startup_errors: On
error_reporting: '-1'
short_open_tag: On
timezone: Europe/London
hhvm:
install: 0
nightly: 0
composer:
install: 1
use_hhvm: 1
ruby:
install: 0
gems: [ ]
mysql:
install: 1
root_password: root
databases:
-
name: db
host: localhost
user: db
password: db
grant:
- All
sql_file: /srv/www/data/sql/binky.sql
mariadb:
install: 0
version: '5.5'
root_password: root
databases:
-
name: app
host: localhost
user: user
password: user
grant:
- All
sql_file: ''
rabbitmq:
install: 0
ngrok:
install: 0
port: 80
newrelic:
install: 0
license: ''
php: 0
node: 0
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'precise64'...
Progress: 40%
Progress: 50%
Progress: 60%
Progress: 70%
Progress: 80%
Progress: 90%
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: protobox_default_1399666413053_47273
==> 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: 80 => 8116 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> 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.2.0
default: VirtualBox Version: 4.3
==> default: Setting hostname...
==> 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 => /home/workaccount/projects/binky/protobox
==> default: Running provisioner: shell...
default: Running: /tmp/vagrant-shell20140509-19621-19bqt2d.sh
==> default: stdin: is not a tty
==> default: Created directory /.protobox
==> default: Running initial-setup apt-get update
==> default: Finished running initial-setup apt-get update
==> default: Installing basic curl packages (Ubuntu only)
==> default: Finished installing basic curl packages (Ubuntu only)
==> default: Running python-software-properties
==> default: Finished python-software-properties
==> default: Installing python-pip
==> default: Finished python-pip
==> default: Running pip install ansible
==> default: Finished pip install ansible
==> default: Installing ansible hosts
==> default: Running ansible-playbook /vagrant/.protobox/playbook --connection=local --extra-vars="protobox_env=vagrant protobox_config=/vagrant/data/config/common.yml"
==> default:
==> default: PLAY [Core] *******************************************************************
==> default:
==> default: GATHERING FACTS ***************************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | main | add vars] **********************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | ntp | install debian ntp] *************************************
==> default: ok: [localhost] => (item=ntp)
==> default:
==> default: TASK: [common | ntp | install rpm ntp] ****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [common | debian | configure ntp] ***************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [common | debian | ntp is running] **************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | dependencies | install debian packages] ***********************
==> default: changed: [localhost] => (item=git-core,curl)
==> default:
==> default: TASK: [common | dependencies | install rpm packages] **************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | compatibility | check for multiple web servers] ***************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | compatibility | check for multiple php] ***********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | compatibility | check for multiple mysql] *********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | packages | installs server packages] **************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | set config] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | ensure directory exists] ****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | ensure config exists] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | add authorized keys from files] *********************
==> default: skipping: [localhost] => (item=server.ssh.authorized_keys)
==> default:
==> default: TASK: [server | sshkeys | add authorized key entries] *************************
==> default: skipping: [localhost] => (item=server.ssh.authorized_keys)
==> default:
==> default: TASK: [server | sshkeys | add private keys from files] ************************
==> default: skipping: [localhost] => (item=server.ssh.private_keys)
==> default:
==> default: TASK: [server | sshkeys | add private keys entries] ***************************
==> default: skipping: [localhost] => (item=server.ssh.private_keys)
==> default:
==> default: TASK: [server | sshkeys | ensure config exists] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | add keyscan] ****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | copy custom ssh keys] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | check if config exists] *****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | install config entries] *****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | check if authorized_keys exists] ********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | install authorized_keys entries] ********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | fix folder permissions] *****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | sshkeys | fix file permission] ********************************
==> default: skipping: [localhost] => (item=/home/vagrant/.ssh/authorized_keys)
==> default:
==> default: TASK: [server | dotfiles | install dotfiles] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [server | dotfiles | copy dot files] ************************************
==> default: skipping: [localhost] => (item=/vagrant/data/dot/.gitignore)
==> default:
==> default: TASK: [mysql | main | add vars] ***********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | mysql | set facts] *********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | mysql | install debian dependencies] ***************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | mysql | install rpm dependencies] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | mysql | install debian mysql] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | mysql | install rpm mysql] *************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | mysql | create mysql configuration] ****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | users | update root password for all hosts] ********************
==> default: skipping: [localhost] => (item=binky)
==> default: skipping: [localhost] => (item=127.0.0.1)
==> default: skipping: [localhost] => (item=::1)
==> default: skipping: [localhost] => (item=localhost)
==> default:
==> default: TASK: [mysql | users | add root credentials] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | users | add user credentials] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | users | remove anonymous user] *********************************
==> default: skipping: [localhost] => (item=binky)
==> default: skipping: [localhost] => (item=localhost)
==> default:
==> default: TASK: [mysql | users | install all users] *************************************
==> default: skipping: [localhost] => (item=mysql.databases)
==> default:
==> default: TASK: [mysql | databases | remove the test database] **************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [mysql | databases | check for db existence] ****************************
==> default: skipping: [localhost] => (item=mysql.databases)
==> default:
==> default: TASK: [mysql | databases | create mysql databases] ****************************
==> default: skipping: [localhost] => (item=mysql.databases)
==> default:
==> default: TASK: [mysql | databases | check for mysql files] *****************************
==> default: skipping: [localhost] => (item=mysql.databases)
==> default:
==> default: TASK: [mysql | databases | import stored mysql databases] *********************
==> default: skipping: [localhost] => (item=['mysql.databases', {u'skipped': True, u'changed': False}, {u'skipped': True, u'changed': False}])
==> default:
==> default: TASK: [mysql | databases | import custom mysql databases] *********************
==> default: skipping: [localhost] => (item=['mysql.databases', {u'skipped': True, u'changed': False}])
==> default:
==> default: TASK: [php | main | add vars] *************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | php | add php 5.4 repository] ************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | php | install debian php] ****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | php | install rpm php] *******************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | php | install debian php packages] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | php | install rpm php packages] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | main | check version] ********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | main | set facts] ************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | ini | ensure directory exists] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | mysql | install debian php mysql] ********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | mysql | install rpm php mysql] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | mariadb | install debian php mariadb] ****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | mariadb | install rpm php mariadb] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | apache | install debian php apache] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | apache | install rpm php apache] *********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | apache | set apache ini] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | nginx | install debian php fpm] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | nginx | install rpm php fpm] *************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | nginx | set nginx ini] *******************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | pear | install pear packages] ************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | pear | install rpm php] ******************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | pear | update pear packages] *************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | pear | set pear auto-discover] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | pear | install channels] *****************************************
==> default: skipping: [localhost] => (item=php.pear.channels)
==> default:
==> default: TASK: [php | pear | install packages] *****************************************
==> default: skipping: [localhost] => (item=php.pear.modules)
==> default:
==> default: TASK: [php | pecl | require pear] *********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | pecl | install packages] *****************************************
==> default: skipping: [localhost] => (item=php.pecl.modules)
==> default:
==> default: TASK: [php | apc | require pecl] **********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | apc | install packages] ******************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | apc | set ini] ***************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | apc | enable apc config] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | apc | enable apc config on php 5.3] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | composer | install debian dependencies] **************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | composer | install rpm dependencies] *****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | composer | install composer] *************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | phpmyadmin | intall debian packages] *****************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | phpmyadmin | intall rpm packages] ********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | phpmyadmin | install apache conf] ********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | mailcatcher | install dependencies] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | mailcatcher | install packages] **********************************
==> default: skipping: [localhost] => (item=rdoc)
==> default: skipping: [localhost] => (item=mailcatcher)
==> default:
==> default: TASK: [php | mailcatcher | set facts] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | mailcatcher | start service] *************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xdebug | install debian php xdebug] ******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xdebug | install rpm php xdebug] *********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xdebug | add xdebug cli] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xdebug | set ini] ************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xdebug | enable xdebug config] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xdebug | enable xdebug config on php 5.3] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xhprof | require pecl] *******************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xhprof | install packages] ***************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xhprof | set ini] ************************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xhprof | enable xhprof config] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [php | xhprof | enable xhprof config on php 5.3] ************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | main | add vars] **********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | apache | install debian apache] *******************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | apache | install rpm apache] **********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | apache | set httpd.conf] **************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | apache | install apache modules] ******************************
==> default: skipping: [localhost] => (item=apache.modules)
==> default:
==> default: TASK: [apache | virtualhosts | add apache configurations] *********************
==> default: skipping: [localhost] => (item=apache.vhosts)
==> default:
==> default: TASK: [apache | virtualhosts | activates our virtualhost] *********************
==> default: skipping: [localhost] => (item=apache.vhosts)
==> default:
==> default: TASK: [apache | virtualhosts | check that our config is valid] ****************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | virtualhosts | rolling back - Restoring old default virtualhost] ***
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | virtualhosts | rolling back - Removing our virtualhost] *******
==> default: skipping: [localhost] => (item=apache.vhosts)
==> default:
==> default: TASK: [apache | virtualhosts | rolling back - Ending playbook] ****************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | virtualhosts | deactivates the default virtualhost] ***********
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | virtualhosts | deactivates the default ssl virtualhost] *******
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | protobox | set facts] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [apache | protobox | add apache configurations] *************************
==> default: skipping: [localhost] => (item=apache.vhosts)
==> default:
==> default: TASK: [apache | protobox | activates our virtualhost] *************************
==> default: skipping: [localhost]
==> default:
==> default: NOTIFIED: [common | ntp-restart] **********************************************
==> default: changed: [localhost]
==> default:
==> default: PLAY RECAP ********************************************************************
==> default: localhost : ok=30 changed=3 unreachable=0 failed=0
==> default: Finished ansible-playbook
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: __ __
==> default: .-----.----.-----| |_.-----| |--.-----.--.--.
==> default: | _ | _| _ | _| _ | _ | _ |_ _|
==> default: | __|__| |_____|____|_____|_____|_____|__.__|
==> default: |__|
==> default: Dashboard: http://192.168.56.116/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment