Closed itsazzad closed 8 years ago
Depends on how long they take.
$ time vagrant suspend
==> default: Saving VM state and suspending execution...
vagrant suspend 1.80s user 0.47s system 37% cpu 5.966 total
Pretty fast on my end. Trellis/Ansible doesn't even get run during either vagrant resume
or vagrant suspend
so if this is taking a long time it's not Trellis.
$ time vagrant resume
==> default: Resuming suspended VM...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2200
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
vagrant resume 2.55s user 0.90s system 21% cpu 16.154 total
$ time vagrant suspend
==> default: Saving VM state and suspending execution...
real 0m44.719s
user 0m2.688s
sys 0m0.670s
I've seen it take a long-ish time on my coworker's Windows machine compared to my Mac. Are you on Windows?
$ time vagrant resume
==> default: Resuming suspended VM...
==> 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: Machine booted and ready!
==> default: Running provisioner: ansible...
default: Running ansible-playbook...
PLAY [WordPress Server: Install LEMP Stack with PHP 5.6 and MariaDB MySQL] ****
GATHERING FACTS ***************************************************************
ok: [default]
TASK: [common | Validate Ansible version] *************************************
ok: [default]
TASK: [common | Update Apt] ***************************************************
ok: [default]
TASK: [common | Checking essentials] ******************************************
ok: [default] => (item=python-software-properties,python-pycurl,build-essential,python-mysqldb,curl,git-core)
TASK: [common | Validate timezone variable] ***********************************
ok: [default]
TASK: [common | Explain timezone error] ***************************************
skipping: [default]
TASK: [common | Get current timezone] *****************************************
ok: [default]
TASK: [common | Set timezone] *************************************************
skipping: [default]
TASK: [fail2ban | ensure fail2ban is installed] *******************************
ok: [default]
TASK: [fail2ban | ensure fail2ban is configured] ******************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 2 0 0:00:07 0:00:05 0:00:02 2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 8 0 0:00:01 0:00:01 --:--:-- 8
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
ok: [default] => (item=jail.local)
ok: [default] => (item=fail2ban.local)
TASK: [fail2ban | ensure fail2ban starts on a fresh reboot] *******************
ok: [default]
TASK: [ferm | ensure ferm status is in debconf] *******************************
ok: [default]
TASK: [ferm | ensure ferm is installed] ***************************************
ok: [default]
TASK: [ferm | ensure configuration directories exist] *************************
ok: [default] => (item=/etc/ferm/ferm.d)
ok: [default] => (item=/etc/ferm/filter-input.d)
TASK: [ferm | ensure firewall is configured] **********************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
ok: [default] => (item=etc/default/ferm)
ok: [default] => (item=etc/ferm/ferm.conf)
TASK: [ferm | ensure iptables INPUT rules are removed] ************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
skipping: [default] => (item={'dport': ['http', 'https'], 'type': 'dport_accept', 'filename': 'nginx_accept'})
skipping: [default] => (item={'dport': ['ssh'], 'type': 'dport_accept', 'saddr': [u'202.126.124.130']})
skipping: [default] => (item={'dport': ['ssh'], 'seconds': 300, 'hits': 20, 'type': 'dport_limit'})
TASK: [ferm | ensure iptables INPUT rules are added] **************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 6 0 0:00:02 0:00:02 --:--:-- 6
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 4 0 0:00:03 0:00:03 --:--:-- 4
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 8 0 0:00:01 0:00:01 --:--:-- 8
ok: [default] => (item={'dport': ['http', 'https'], 'type': 'dport_accept', 'filename': 'nginx_accept'})
ok: [default] => (item={'dport': ['ssh'], 'type': 'dport_accept', 'saddr': [u'202.126.124.130']})
ok: [default] => (item={'dport': ['ssh'], 'seconds': 300, 'hits': 20, 'type': 'dport_limit'})
TASK: [ferm | ensure iptables rules are enabled] ******************************
skipping: [default]
TASK: [ferm | ensure iptables rules are disabled] *****************************
ok: [default]
TASK: [ntp | Add the OS specific variables] ***********************************
ok: [default]
TASK: [ntp | Install the required packages in Redhat derivatives] *************
skipping: [default]
TASK: [ntp | Install the required packages in Debian derivatives] *************
ok: [default]
TASK: [ntp | Copy the ntp.conf template file] *********************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
ok: [default]
TASK: [ntp | Start/stop ntp service] ******************************************
ok: [default]
TASK: [sshd | ensure ssh server is installed] *********************************
ok: [default]
TASK: [sshd | ensure sshd is configured] **************************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 4 0 0:00:03 0:00:03 --:--:-- 4
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 8 0 0:00:01 0:00:01 --:--:-- 8
ok: [default]
TASK: [mariadb | Add MariaDB MySQL apt-key] ***********************************
ok: [default]
TASK: [mariadb | Add MariaDB MySQL deb and deb-src] ***************************
ok: [default] => (item=deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main)
ok: [default] => (item=deb-src http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main)
TASK: [mariadb | Install MariaDB MySQL server] ********************************
ok: [default]
TASK: [mariadb | Start MariaDB MySQL Server] **********************************
ok: [default]
TASK: [mariadb | Set root user password] **************************************
ok: [default] => (item=default)
ok: [default] => (item=127.0.0.1)
ok: [default] => (item=::1)
ok: [default] => (item=localhost)
TASK: [mariadb | Copy .my.cnf file with root password credentials.] ***********
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 4 0 0:00:03 0:00:03 --:--:-- 4
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
ok: [default]
TASK: [mariadb | Delete anonymous MySQL server users] *************************
ok: [default] => (item=localhost)
ok: [default] => (item=default)
ok: [default] => (item=example)
TASK: [mariadb | Remove the test database] ************************************
ok: [default]
TASK: [ssmtp | Install ssmtp] *************************************************
ok: [default]
TASK: [ssmtp | ssmtp configuration] *******************************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 1 0 0:00:15 0:00:10 0:00:05 2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 7 0 0:00:02 0:00:01 0:00:01 7
ok: [default]
TASK: [geerlingguy.daemonize | Download daemonize archive.] *******************
ok: [default]
TASK: [geerlingguy.daemonize | Expand daemonize archive.] *********************
ok: [default]
TASK: [geerlingguy.daemonize | Check if daemonize is installed.] **************
ok: [default]
TASK: [geerlingguy.daemonize | Build daemonize.] ******************************
skipping: [default] => (item=./configure)
skipping: [default] => (item=make prefix=/usr)
skipping: [default] => (item=make prefix=/usr install)
TASK: [mailhog | Ensure mailhog install directory exists.] ********************
ok: [default]
TASK: [mailhog | Download MailHog binary.] ************************************
ok: [default]
TASK: [mailhog | Copy mailhog init script into place.] ************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 5 0 0:00:03 0:00:02 0:00:01 5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 6 0 0:00:02 0:00:02 --:--:-- 6
ok: [default]
TASK: [mailhog | Ensure mailhog is enabled and will start on boot.] ***********
ok: [default]
TASK: [mailhog | Install sSMTP.] **********************************************
skipping: [default]
TASK: [mailhog | Install sSMTP.] **********************************************
skipping: [default]
TASK: [mailhog | Copy sSMTP configuration.] ***********************************
skipping: [default]
TASK: [php | Add PHP 5.6 PPA] *************************************************
ok: [default]
TASK: [php | Install PHP 5.6] *************************************************
ok: [default] => (item=php5-common,php5-fpm,php5-mysqlnd,php5-xmlrpc,php5-mcrypt,php5-curl,php5-gd,php5-cli,php-pear,php5-dev,php5-imap)
TASK: [php | Start php5-fpm service] ******************************************
ok: [default]
TASK: [php | Create socket directory] *****************************************
ok: [default]
TASK: [php | Disable default pool] ********************************************
ok: [default]
TASK: [php | Add php.ini template] ********************************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
ok: [default]
TASK: [php | Copy php-fpm configuration] **************************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 5 0 0:00:03 0:00:02 0:00:01 5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 5 0 0:00:03 0:00:02 0:00:01 5
ok: [default]
TASK: [hhvm | Add HHVM apt-key] ***********************************************
skipping: [default]
TASK: [hhvm | Add HHVM deb] ***************************************************
skipping: [default]
TASK: [hhvm | Install HHVM] ***************************************************
skipping: [default]
TASK: [hhvm | Get HHVM path] **************************************************
skipping: [default]
TASK: [hhvm | Symlink HHVM as php] ********************************************
skipping: [default]
TASK: [hhvm | HHVM server.ini] ************************************************
skipping: [default]
TASK: [hhvm | HHVM php.ini] ***************************************************
skipping: [default]
TASK: [hhvm | Symlink mysql.sock for HHVM] ************************************
skipping: [default]
TASK: [hhvm | Start HHVM service] *********************************************
skipping: [default]
TASK: [hhvm | HHVM server.ini] ************************************************
skipping: [default]
TASK: [hhvm | Create cron job to restart HHVM service daily] ******************
skipping: [default]
TASK: [php5-xdebug | php5 - install xdebug] ***********************************
ok: [default]
TASK: [php5-xdebug | Copy xdebug INI into mods-available folder.] *************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 5 0 0:00:03 0:00:02 0:00:01 5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 8 0 0:00:01 0:00:01 --:--:-- 8
ok: [default]
TASK: [php5-xdebug | Copy xdebug INI into conf.d folder.] *********************
skipping: [default]
TASK: [nginx | Add Nginx PPA] *************************************************
ok: [default]
TASK: [nginx | Install Nginx] *************************************************
ok: [default]
TASK: [nginx | Create SSL directory] ******************************************
ok: [default]
TASK: [nginx | Generate strong unique Diffie-Hellman group.] ******************
ok: [default]
TASK: [nginx | Grab h5bp/server-configs-nginx] ********************************
ok: [default]
TASK: [nginx | Move h5bp configs] *********************************************
ok: [default]
TASK: [nginx | Create nginx.conf] *********************************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 5 0 0:00:03 0:00:02 0:00:01 5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 4 0 0:00:03 0:00:03 --:--:-- 4
ok: [default]
TASK: [nginx | Disable default server] ****************************************
ok: [default]
TASK: [nginx | Enable better default site to drop unknown requests] ***********
ok: [default]
TASK: [nginx | Create base WordPress config] **********************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 8 0 0:00:01 0:00:01 --:--:-- 8
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
ok: [default]
TASK: [nginx | Create base WordPress subdirectory Multisite config] ***********
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 4 0 0:00:03 0:00:03 --:--:-- 4
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 8 0 0:00:01 0:00:01 --:--:-- 8
ok: [default]
TASK: [logrotate | nickhammond.logrotate | Install logrotate] *****************
ok: [default]
TASK: [logrotate | nickhammond.logrotate | Setup logrotate.d scripts] *********
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 8 0 0:00:01 0:00:01 --:--:-- 8
ok: [default] => (item={'path': u'/srv/www/**/logs/*.log', 'scripts': {'postrotate': 'service nginx rotate', 'prerotate': 'if [ -d /etc/logrotate.d/httpd-prerotate ]; then \\\n run-parts /etc/logrotate.d/httpd-prerotate; \\\n fi \\\n'}, 'options': ['weekly', 'maxsize 50M', 'missingok', 'rotate 8', 'compress', 'delaycompress', 'notifempty', u'create 0640 vagrant www-data', 'sharedscripts'], 'name': 'wordpress-sites'})
TASK: [memcached | Install memcached] *****************************************
ok: [default] => (item=python-selinux,memcached,php5-memcached,libmemcached-tools)
TASK: [memcached | Copy the client configuration file] ************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 5 0 0:00:03 0:00:02 0:00:01 5
ok: [default]
TASK: [memcached | Set the max open file descriptors] *************************
ok: [default]
TASK: [memcached | Start the memcached service] *******************************
ok: [default]
TASK: [composer | Add Composer PPA] *******************************************
ok: [default]
TASK: [composer | Install Composer] *******************************************
ok: [default]
TASK: [composer | Composer self update] ***************************************
ok: [default]
TASK: [composer | Composer config github-oauth] *******************************
skipping: [default]
TASK: [wp-cli | Install WP-CLI] ***********************************************
ok: [default]
TASK: [wp-cli | Install WP-CLI tab completions] *******************************
ok: [default]
TASK: [wordpress-setup | Create database of sites] ****************************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Create/assign database user to db and grant permissions] ***
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Copy database dump] **********************************
skipping: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Import database] *************************************
skipping: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Get existing self-signed certificates] ***************
ok: [default]
TASK: [wordpress-setup | Get self-signed certificates domains] ****************
skipping: [default]
TASK: [wordpress-setup | Generate self-signed certificates] *******************
skipping: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Copy SSL cert] ***************************************
skipping: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Copy SSL key] ****************************************
skipping: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Create includes.d directories] ***********************
ok: [default] => (item=example.com)
TASK: [wordpress-setup | Template files out to includes.d] ********************
/bin/sh: line 0: cd: ../templates/includes.d: No such file or directory
skipping: [default]
TASK: [wordpress-setup | Retrieve list of existing files in includes.d] *******
ok: [default]
TASK: [wordpress-setup | Remove unmanaged files from includes.d] **************
skipping: [default]
TASK: [wordpress-setup | Create WordPress configuration for Nginx] ************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Enable WordPress site] *******************************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Create web root] *************************************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Create logs folder of sites] *************************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-setup | Setup WP system cron] ********************************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Create web root of sites] **************************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Create shared folder of sites] *********************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Change site owner to user] *************************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Create .env file] **********************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 9 0 0:00:01 0:00:01 --:--:-- 9
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 5 0 0:00:03 0:00:02 0:00:01 5
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Copy .env file into web root] **********************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Install Dependencies with Composer] ****************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Install WP] ****************************************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Check Existing Permalink Structure] ****************
ok: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Setup Permalink Structure] *************************
skipping: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Install WP Multisite] ******************************
skipping: [default] => (item={'key': 'example.com', 'value': {'site_install': True, 'permalink_structure': '/%postname%/', 'admin_user': 'admin', 'local_path': '../site', 'cache': {'duration': '30s', 'enabled': False}, 'ssl': {'enabled': False}, 'multisite': {'enabled': False, 'subdomains': False}, 'site_title': 'example', 'env': {'db_name': 'example_dev', 'db_user': 'example_dbuser', 'wp_env': 'development', 'disable_wp_cron': True, 'wp_home': 'http://example.dev', 'wp_siteurl': 'http://example.dev/wp'}, 'site_hosts': ['example.dev'], 'admin_email': 'admin@example.dev'}})
TASK: [wordpress-install | Restart HHVM] **************************************
skipping: [default]
PLAY RECAP ********************************************************************
default : ok=96 changed=0 unreachable=0 failed=0
real 4m55.443s
user 0m12.027s
sys 0m5.644s
I am in Mac. Slow may be because it has only 4GB RAM.
However its running ansible-playbook
again during resuming. Should it be so?
@itsazzad no, it shoudn't be running it in my experience. What version of Vagrant?
Very latest one.
Vagrant 1.8.1
Got it! Others also facing the issue. https://github.com/mitchellh/vagrant/issues/6787
vagrant resume
aftervagrant suspend
takes so long time ... is it normal?